/* Emplacement : /assets/css/global.css */
/* Thème : « Fresh Lime » — vert citron #C9EE3C, menthe #8ED6C5, gris clair #F3F4F6, noir #0F1012, typographie Inter.
   Inspiré d'une interface d'application e-commerce : cartes grises très arrondies, pastilles, boutons citron. */

:root {
  /* Palette principale */
  --afl-primary: #C9EE3C;          /* vert citron (fonds, boutons) */
  --afl-primary-dark: #B5DC22;     /* citron foncé (survol) */
  --afl-primary-soft: #F2FBD3;     /* citron très clair (fonds doux) */
  --afl-primary-text: #4D6A00;     /* citron lisible sur fond blanc (textes, icônes) */
  --afl-on-primary: #0F1012;       /* texte posé sur le citron */
  --afl-mint: #8ED6C5;             /* menthe (pastilles, cases cochées) */
  --afl-mint-dark: #5FBFA9;
  --afl-mint-soft: #E3F4EF;
  --afl-dark: #0F1012;             /* noir des titres */
  --afl-dark-soft: #1E2024;
  --afl-text: #4D5158;             /* texte courant */
  --afl-muted: #8E9198;            /* texte secondaire */
  --afl-light: #F3F4F6;            /* gris des cartes et sections */
  --afl-light-2: #ECEDF0;
  --afl-line: #E6E7EA;
  --afl-white: #FFFFFF;
  --afl-sale: #FF4D5A;             /* rouge promo / favori */
  --afl-new: #8ED6C5;
  --afl-star: #F5B50A;
  --afl-success: #1FA971;
  --afl-danger: #E5484D;
  --afl-warning: #F59E0B;

  /* Formes */
  --afl-radius: 20px;
  --afl-radius-sm: 14px;
  --afl-radius-xs: 10px;
  --afl-radius-lg: 30px;
  --afl-radius-pill: 999px;
  --afl-shadow: 0 10px 30px rgba(15, 16, 18, 0.06);
  --afl-shadow-lg: 0 24px 60px rgba(15, 16, 18, 0.12);
  --afl-shadow-lime: 0 14px 30px rgba(181, 220, 34, 0.45);
  --afl-transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  --font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --afl-header-h: 76px;

  /* Compatibilité avec les anciennes variables utilisées dans certaines feuilles de page */
  --afl-secondary: var(--afl-mint);
  --afl-accent: var(--afl-sale);
  --afl-flame: var(--afl-sale);
  --afl-gray: var(--afl-text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--afl-text);
  background-color: var(--afl-white);
  line-height: 1.65;
  font-size: 0.97rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 800; color: var(--afl-dark); letter-spacing: -0.025em; }
a { text-decoration: none; color: inherit; transition: var(--afl-transition); }
img { max-width: 100%; height: auto; }
::selection { background: var(--afl-primary); color: var(--afl-on-primary); }
:focus-visible { outline: 3px solid var(--afl-primary); outline-offset: 2px; }

.container { max-width: 1280px; }

/* ===================== Boutons ===================== */
.afl-btn-primary, .btn.afl-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--afl-primary); color: var(--afl-on-primary); border: 1px solid var(--afl-primary);
  border-radius: var(--afl-radius-sm); padding: 0.85rem 1.7rem; font-weight: 700; font-size: 0.95rem;
  transition: var(--afl-transition);
}
.afl-btn-primary:hover, .btn.afl-btn-primary:hover, .afl-btn-primary:focus { background: var(--afl-primary-dark); border-color: var(--afl-primary-dark); color: var(--afl-on-primary); transform: translateY(-2px); box-shadow: var(--afl-shadow-lime); }
.afl-btn-primary:disabled, .btn.afl-btn-primary:disabled { background: var(--afl-light-2); border-color: var(--afl-light-2); color: var(--afl-muted); transform: none; box-shadow: none; }

.afl-btn-outline, .btn.afl-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--afl-white); border: 1px solid var(--afl-line); color: var(--afl-dark);
  border-radius: var(--afl-radius-sm); padding: 0.83rem 1.6rem; font-weight: 600; font-size: 0.95rem;
  transition: var(--afl-transition);
}
.afl-btn-outline:hover, .btn.afl-btn-outline:hover { border-color: var(--afl-dark); color: var(--afl-dark); background: var(--afl-white); transform: translateY(-2px); }

.afl-btn-dark, .btn.afl-btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--afl-dark); color: var(--afl-white); border: 1px solid var(--afl-dark);
  border-radius: var(--afl-radius-sm); padding: 0.85rem 1.7rem; font-weight: 700;
}
.afl-btn-dark:hover, .btn.afl-btn-dark:hover { background: var(--afl-primary); border-color: var(--afl-primary); color: var(--afl-on-primary); transform: translateY(-2px); }

.afl-btn-light, .btn.afl-btn-light, .afl-btn-outline-light, .btn.afl-btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--afl-white); color: var(--afl-dark); border: 1px solid var(--afl-white);
  border-radius: var(--afl-radius-sm); padding: 0.85rem 1.7rem; font-weight: 700;
}
.afl-btn-outline-light, .btn.afl-btn-outline-light { background: rgba(255, 255, 255, 0.12); color: var(--afl-white); border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.afl-btn-light:hover, .btn.afl-btn-light:hover, .afl-btn-outline-light:hover, .btn.afl-btn-outline-light:hover { background: var(--afl-primary); border-color: var(--afl-primary); color: var(--afl-on-primary); }

.afl-btn-mint, .btn.afl-btn-mint { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; background: var(--afl-mint); color: var(--afl-dark); border: 1px solid var(--afl-mint); border-radius: var(--afl-radius-sm); padding: 0.85rem 1.7rem; font-weight: 700; }
.afl-btn-mint:hover, .btn.afl-btn-mint:hover { background: var(--afl-mint-dark); border-color: var(--afl-mint-dark); color: var(--afl-dark); }

.btn-lg.afl-btn-primary, .btn-lg.afl-btn-dark { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm.afl-btn-primary, .btn-sm.afl-btn-outline, .btn-sm.afl-btn-dark { padding: 0.45rem 0.95rem; font-size: 0.82rem; border-radius: var(--afl-radius-xs); }

.afl-link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--afl-dark); font-size: 0.92rem; }
.afl-link-arrow i { width: 28px; height: 28px; border-radius: 50%; background: var(--afl-light); display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; transition: var(--afl-transition); }
.afl-link-arrow:hover { color: var(--afl-dark); }
.afl-link-arrow:hover i { background: var(--afl-primary); transform: translateX(3px); }

/* Pastilles et puces (inspirées de la maquette : « 02:59:23 », « 50% », « 4.8 ») */
.afl-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius-xs); padding: 0.35rem 0.7rem; font-size: 0.82rem; font-weight: 600; color: var(--afl-dark); line-height: 1.2; }
.afl-chip i { color: var(--afl-mint-dark); }
.afl-chip--lime { background: var(--afl-primary); border-color: var(--afl-primary); color: var(--afl-on-primary); }
.afl-chip--mint { background: var(--afl-mint-soft); border-color: var(--afl-mint-soft); color: #1F6B5A; }
.afl-chip--dark { background: var(--afl-dark); border-color: var(--afl-dark); color: var(--afl-white); }
.afl-chip--dark i { color: var(--afl-primary); }
.afl-chip--ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); color: var(--afl-white); backdrop-filter: blur(8px); }
.afl-chip--ghost i { color: var(--afl-primary); }
.afl-timer { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--afl-primary); color: var(--afl-on-primary); font-weight: 700; font-size: 0.88rem; border-radius: 8px; padding: 0.28rem 0.6rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.afl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--afl-primary); display: inline-block; box-shadow: 0 0 0 4px rgba(201, 238, 60, 0.25); }

/* ===================== Formulaires ===================== */
.form-control, .form-select {
  border: 1px solid transparent; border-radius: var(--afl-radius-sm); padding: 0.8rem 1rem;
  color: var(--afl-dark); font-size: 0.94rem; background-color: var(--afl-light);
  transition: var(--afl-transition);
}
.form-control:hover, .form-select:hover { background-color: var(--afl-light-2); }
.form-control:focus, .form-select:focus { border-color: var(--afl-dark); background-color: var(--afl-white); box-shadow: 0 0 0 4px rgba(201, 238, 60, 0.35); }
.form-control::placeholder { color: var(--afl-muted); }
.form-control:disabled, .form-control[readonly] { background-color: var(--afl-light-2); }
label { font-weight: 600; font-size: 0.86rem; color: var(--afl-dark); margin-bottom: 0.4rem; }
.form-check-input { border-color: #C9CBD0; }
.form-check-input:checked { background-color: var(--afl-mint); border-color: var(--afl-mint); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(142, 214, 197, 0.35); border-color: var(--afl-mint); }
.form-text { color: var(--afl-muted); }

.alert { border-radius: var(--afl-radius-sm); border: none; padding: 1rem 1.2rem; }
.alert-success { background: #E3F7EE; color: #0E6B45; }
.alert-danger { background: #FDECEC; color: #A2272B; }
.alert-warning { background: #FEF4E2; color: #8A5300; }
.alert-info { background: var(--afl-mint-soft); color: #1F6B5A; }

/* ===================== Barre supérieure ===================== */
.afl-topbar { background: var(--afl-dark); color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; padding: 0.55rem 0; }
.afl-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem; flex-wrap: wrap; }
.afl-topbar__msg { display: inline-flex; align-items: center; gap: 0.6rem; }
.afl-topbar__msg i { color: var(--afl-primary); }
.afl-topbar__links { display: flex; align-items: center; gap: 1.4rem; }
.afl-topbar__links a { color: rgba(255, 255, 255, 0.78); display: inline-flex; align-items: center; gap: 0.4rem; }
.afl-topbar__links a i { color: var(--afl-primary); }
.afl-topbar__links a:hover { color: var(--afl-white); }

/* Sélecteur de langue GTranslate (includes/translation_widget.php) — styles du widget adaptés à la barre sombre.
   Sélecteurs à 4 classes pour primer sur la feuille injectée par le widget. Le menu s'ouvre par-dessus la page. */
.afl-lang { position: relative; z-index: 1060; display: flex; align-items: center; min-height: 28px; min-width: 128px; justify-content: flex-end; }
.afl-topbar .afl-lang .gt_switcher { width: auto; font-family: inherit; line-height: 1; overflow: visible; }
.afl-topbar .afl-lang .gt_switcher a { font-size: 0.78rem; font-weight: 600; line-height: 1.2; display: flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.afl-topbar .afl-lang .gt_switcher a img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; opacity: 1; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.afl-topbar .afl-lang .gt_switcher .gt_selected { background: transparent; }
.afl-topbar .afl-lang .gt_switcher .gt_selected a { width: auto; padding: 0.3rem 1.9rem 0.3rem 0.4rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; color: rgba(255, 255, 255, 0.88); position: relative; transition: background-color 0.2s ease, border-color 0.2s ease; }
.afl-topbar .afl-lang .gt_switcher .gt_selected a:hover,
.afl-topbar .afl-lang .gt_switcher .gt_selected a.open { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); color: var(--afl-white); }
.afl-topbar .afl-lang .gt_switcher .gt_selected a:after { content: ''; position: absolute; top: 50%; right: 0.6rem; width: 12px; height: 12px; transform: translateY(-50%); background-repeat: no-repeat; background-position: center; background-size: 12px; transition: transform 0.2s ease; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23E2F46C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.afl-topbar .afl-lang .gt_switcher .gt_selected a.open:after { transform: translateY(-50%) rotate(-180deg); }
.afl-topbar .afl-lang .gt_switcher .gt_option { position: absolute; top: calc(100% + 6px); right: 0; width: auto; min-width: 100%; height: auto !important; max-height: none; overflow: hidden !important; background: var(--afl-white); border: 1px solid rgba(14, 26, 47, 0.08); border-radius: 14px; padding: 0.3rem; box-shadow: 0 16px 36px rgba(14, 26, 47, 0.22); box-sizing: border-box; transition: none; }
.afl-topbar .afl-lang .gt_switcher .gt_option a { color: #0E1A2F; padding: 0.5rem 0.7rem; border-radius: 10px; }
.afl-topbar .afl-lang .gt_switcher .gt_option a:hover { background: #F1F5F9; }
.afl-topbar .afl-lang .gt_switcher .gt_option a.gt_current { background: #EEF6FA; font-weight: 800; }

/* ===================== En-tête « application » (marque, adresse de livraison, recherche, actions) ===================== */
.afl-header { background: var(--afl-white); padding: 1rem 0; }
.afl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.afl-header__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.afl-header__mark { width: 50px; height: 50px; border-radius: 50%; background: var(--afl-primary); color: var(--afl-on-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; transition: var(--afl-transition); }
.afl-header__brand:hover .afl-header__mark { transform: rotate(-12deg) scale(1.05); }
.afl-header__logo { height: clamp(34px, 4.5vw, 44px); width: auto; display: block; }
.afl-header__address { display: flex; flex-direction: column; line-height: 1.25; padding-left: 1.2rem; border-left: 1px solid var(--afl-line); flex-shrink: 0; }
.afl-header__address small { font-size: 0.74rem; color: var(--afl-muted); }
.afl-header__address strong { font-size: 0.92rem; color: var(--afl-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 0.35rem; }
.afl-header__address strong i { color: var(--afl-mint-dark); font-size: 0.8rem; }
.afl-header__search { flex: 1; max-width: 520px; position: relative; }
.afl-header__search input {
  width: 100%; border: 1px solid transparent; background: var(--afl-light); border-radius: var(--afl-radius-sm);
  padding: 0.85rem 1.1rem 0.85rem 3rem; font-size: 0.92rem; color: var(--afl-dark); outline: none;
  transition: var(--afl-transition);
}
.afl-header__search input::placeholder { color: var(--afl-muted); }
.afl-header__search input:focus { background: var(--afl-white); border-color: var(--afl-dark); box-shadow: 0 0 0 4px rgba(201, 238, 60, 0.35); }
.afl-header__search button { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: var(--afl-dark); width: 40px; height: 40px; border-radius: 50%; }
.afl-header__search button:hover { background: var(--afl-primary); }
.afl-header__actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.afl-header__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; height: 48px; min-width: 48px;
  padding: 0 1.1rem; background: var(--afl-light); border-radius: var(--afl-radius-pill); color: var(--afl-dark);
  font-weight: 600; font-size: 0.9rem; border: none; position: relative;
}
.afl-header__btn:hover { background: var(--afl-light-2); color: var(--afl-dark); }
.afl-header__btn--icon { padding: 0; width: 48px; }
.afl-header__btn--cart { background: var(--afl-dark); color: var(--afl-white); padding: 0 1.2rem 0 1rem; }
.afl-header__btn--cart:hover { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-cart-link .afl-cart-badge, .afl-header__btn .afl-cart-badge {
  background: var(--afl-primary); color: var(--afl-on-primary); font-size: 0.7rem; font-weight: 800;
  min-width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; padding: 0 5px;
}
.afl-header__btn--icon .afl-notif-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--afl-mint); border: 2px solid var(--afl-light); }

/* ===================== Barre de navigation ===================== */
.afl-navbar { background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--afl-line); position: sticky; top: 0; z-index: 1030; transition: box-shadow 0.3s ease; }
.afl-navbar.is-scrolled { box-shadow: 0 8px 30px rgba(15, 16, 18, 0.07); }
.afl-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 66px; }
.afl-navbar__left { display: flex; align-items: center; gap: 1.4rem; min-width: 0; }
.afl-navbar__mini-logo { display: none; align-items: center; gap: 0.55rem; }
.afl-navbar__mini-logo .afl-header__mark { width: 40px; height: 40px; font-size: 0.95rem; }
.afl-navbar__mini-logo img { height: 32px; width: auto; }

.afl-allcat { position: relative; }
.afl-allcat > button {
  display: inline-flex; align-items: center; gap: 0.65rem; border: none; background: var(--afl-primary);
  border-radius: var(--afl-radius-pill); padding: 0.62rem 1.15rem; font-weight: 700; font-size: 0.88rem; color: var(--afl-on-primary);
}
.afl-allcat > button:hover, .afl-allcat > button[aria-expanded="true"] { background: var(--afl-dark); color: var(--afl-white); }

.afl-nav-desktop { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0.2rem; white-space: nowrap; }
.afl-nav-desktop > li > a { display: flex; align-items: center; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; color: var(--afl-text); padding: 0.55rem 0.95rem; border-radius: var(--afl-radius-pill); }
.afl-nav-desktop > li > a:hover { color: var(--afl-dark); background: var(--afl-light); }
.afl-nav-desktop > li > a.is-active { color: var(--afl-dark); background: var(--afl-light); box-shadow: inset 0 -2px 0 var(--afl-primary); }
.afl-nav-desktop > li > a i.fa-chevron-down { font-size: 0.62rem; }
.afl-navbar__contact { font-size: 0.88rem; color: var(--afl-text); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.6rem; }
.afl-navbar__contact i { width: 34px; height: 34px; border-radius: 50%; background: var(--afl-mint-soft); color: #1F6B5A; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.afl-navbar__contact a { color: var(--afl-dark); font-weight: 700; }
.afl-navbar__contact a:hover { color: var(--afl-primary-text); }

.afl-dropdown { border: 1px solid var(--afl-line); border-radius: var(--afl-radius); box-shadow: var(--afl-shadow-lg); padding: 0.5rem; min-width: 260px; margin-top: 0.6rem !important; }
.afl-dropdown .dropdown-item { border-radius: var(--afl-radius-xs); padding: 0.62rem 0.8rem; font-size: 0.92rem; color: var(--afl-dark); display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }
.afl-dropdown .dropdown-item:hover, .afl-dropdown .dropdown-item:focus { background: var(--afl-light); color: var(--afl-dark); }
.afl-dropdown .dropdown-item i { width: 30px; height: 30px; border-radius: 50%; background: var(--afl-light); color: var(--afl-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.afl-dropdown .dropdown-item:hover i { background: var(--afl-primary); }
.afl-dropdown .dropdown-item .afl-dropdown__count { margin-left: auto; font-size: 0.72rem; color: var(--afl-muted); background: var(--afl-light); border-radius: var(--afl-radius-pill); padding: 0.1rem 0.5rem; }

.afl-hamburger { display: none; border: none; background: var(--afl-light); padding: 0; width: 46px; height: 46px; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.afl-hamburger__bar { display: block; width: 18px; height: 2px; background: var(--afl-dark); border-radius: 2px; transition: var(--afl-transition); }
.afl-hamburger[aria-expanded="true"] .afl-hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.afl-hamburger[aria-expanded="true"] .afl-hamburger__bar:nth-child(2) { opacity: 0; }
.afl-hamburger[aria-expanded="true"] .afl-hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Barre d'onglets mobile (style application) ===================== */
.afl-tabbar { display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 1040; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--afl-line); border-radius: 24px; box-shadow: 0 12px 40px rgba(15, 16, 18, 0.14); padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom)); }
.afl-tabbar__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.afl-tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.4rem 0.2rem; font-size: 0.68rem; font-weight: 600; color: var(--afl-muted); border-radius: 18px; }
.afl-tabbar a i { font-size: 1.1rem; width: 38px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: var(--afl-radius-pill); transition: var(--afl-transition); }
.afl-tabbar a.is-active { color: var(--afl-dark); }
.afl-tabbar a.is-active i { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-tabbar__badge { position: absolute; top: 0; left: calc(50% + 6px); min-width: 18px; height: 18px; line-height: 18px; text-align: center; font-size: 0.64rem; font-weight: 800; border-radius: 50%; background: var(--afl-dark); color: var(--afl-white); padding: 0 4px; }

/* ===================== Menu mobile ===================== */
.afl-offcanvas { position: fixed; inset: 0; z-index: 1200; visibility: hidden; pointer-events: none; }
.afl-offcanvas.is-open { visibility: visible; pointer-events: auto; }
.afl-offcanvas__backdrop { position: absolute; inset: 0; background: rgba(15, 16, 18, 0.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.35s ease; }
.afl-offcanvas.is-open .afl-offcanvas__backdrop { opacity: 1; }
.afl-offcanvas__panel { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(380px, calc(100vw - 20px)); background: var(--afl-white); border-radius: 28px; display: flex; flex-direction: column; transform: translateX(110%); transition: transform 0.45s cubic-bezier(.4, 0, .2, 1); overflow: hidden; }
.afl-offcanvas.is-open .afl-offcanvas__panel { transform: translateX(0); }
.afl-offcanvas__header { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 1.1rem 1.2rem; }
.afl-offcanvas__header img { height: 34px; width: auto; }
.afl-offcanvas__close { border: none; background: var(--afl-light); color: var(--afl-dark); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.afl-offcanvas__close:hover { background: var(--afl-primary); }
.afl-offcanvas__search { padding: 0 1.2rem 0.4rem; position: relative; }
.afl-offcanvas__search input { width: 100%; border: 1px solid transparent; background: var(--afl-light); border-radius: var(--afl-radius-sm); padding: 0.8rem 1rem 0.8rem 2.8rem; font-size: 0.9rem; outline: none; }
.afl-offcanvas__search input:focus { border-color: var(--afl-dark); background: var(--afl-white); }
.afl-offcanvas__search button { position: absolute; left: 2rem; top: 0.75rem; border: none; background: none; color: var(--afl-dark); }
.afl-offcanvas__cart { display: flex; align-items: center; gap: 0.6rem; margin: 0.6rem 1.2rem 0; padding: 0.85rem 1.1rem; border-radius: var(--afl-radius-sm); background: var(--afl-primary); color: var(--afl-on-primary); font-weight: 700; }
.afl-offcanvas__cart:hover { background: var(--afl-primary-dark); color: var(--afl-on-primary); }
.afl-offcanvas__cart .afl-cart-badge { margin-left: auto; background: var(--afl-dark); color: var(--afl-white); min-width: 24px; height: 24px; line-height: 24px; border-radius: 50%; text-align: center; font-size: 0.75rem; font-weight: 700; }
.afl-offcanvas__user { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--afl-dark); padding: 0.9rem 1.2rem 0; }
.afl-offcanvas__user i { color: var(--afl-mint-dark); font-size: 1.3rem; }
.afl-offcanvas__nav { display: flex; flex-direction: column; padding: 0.6rem 0.8rem 1.5rem; overflow-y: auto; flex: 1; }
.afl-offcanvas__nav a { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0.7rem; border-radius: var(--afl-radius-sm); color: var(--afl-dark); font-weight: 600; font-size: 0.93rem; }
.afl-offcanvas__nav a i { width: 34px; height: 34px; border-radius: 50%; background: var(--afl-light); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--afl-dark); flex-shrink: 0; }
.afl-offcanvas__nav a:hover { background: var(--afl-light); }
.afl-offcanvas__nav a:hover i { background: var(--afl-primary); }
.afl-offcanvas__group-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--afl-muted); padding: 1rem 0.7rem 0.35rem; }
body.afl-offcanvas-open { overflow: hidden; }

/* ===================== En-tête de page (bannière photo arrondie) ===================== */
.afl-page-hero { padding: 1.2rem 0 0; }
.afl-page-hero__box {
  position: relative; border-radius: var(--afl-radius-lg); overflow: hidden; min-height: 360px;
  display: flex; align-items: flex-end; padding: 3.2rem;
  background: linear-gradient(180deg, rgba(15, 16, 18, 0.05) 0%, rgba(15, 16, 18, 0.35) 45%, rgba(15, 16, 18, 0.85) 100%), var(--afl-hero-img) center / cover no-repeat;
}
.afl-page-hero__box::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 238, 60, 0.55), rgba(201, 238, 60, 0) 70%); pointer-events: none; }
.afl-page-hero__content { max-width: 720px; position: relative; z-index: 1; }
.afl-page-hero h1 { color: var(--afl-white); font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; margin-bottom: 0.7rem; line-height: 1.08; letter-spacing: -0.035em; }
.afl-page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 1.4rem; max-width: 600px; }
.afl-breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); border-radius: var(--afl-radius-pill); padding: 0.45rem 1rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.85); }
.afl-breadcrumb a { color: var(--afl-white); font-weight: 600; }
.afl-breadcrumb a:hover { color: var(--afl-primary); }
.afl-breadcrumb > i { font-size: 0.55rem; opacity: 0.7; }
.afl-breadcrumb span { color: var(--afl-primary); font-weight: 600; }

/* Ancien en-tête simple (conservé pour compatibilité) */
.afl-page-header { background: var(--afl-light); padding: 3rem 1.5rem; text-align: center; border-radius: var(--afl-radius-lg); }
.afl-page-header h1 { margin-bottom: 0.5rem; }
.afl-page-header p { color: var(--afl-text); max-width: 640px; margin: 0 auto; }

/* ===================== Sections génériques ===================== */
.afl-section { padding: 5.5rem 0; }
.afl-section--sm { padding: 3.2rem 0; }
.afl-section--alt, .afl-section--gray { background: var(--afl-light); }
.afl-section--rounded { border-radius: var(--afl-radius-lg) var(--afl-radius-lg) 0 0; }
.afl-section--dark { background: var(--afl-dark); color: rgba(255, 255, 255, 0.72); }
.afl-section--dark h2, .afl-section--dark h3, .afl-section--dark h4, .afl-section--dark h5 { color: var(--afl-white); }
.afl-section--dark .afl-eyebrow { color: var(--afl-primary); }
.afl-section--dark .afl-eyebrow::before { background: var(--afl-primary); }
.afl-section--lime { background: var(--afl-primary); }
.afl-section--lime .afl-eyebrow { color: var(--afl-dark); }
.afl-section--mint { background: linear-gradient(135deg, #DCEFEA 0%, #EAF6F2 55%, #F4FAE0 100%); }
.afl-section__header { text-align: center; margin: 0 auto 3.2rem; max-width: 740px; }
.afl-section__header h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 0.7rem; line-height: 1.12; }
.afl-section__header p { color: var(--afl-text); margin: 0; font-size: 1.02rem; }
.afl-section__eyebrow, .afl-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--afl-primary-text); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.4px; margin-bottom: 0.7rem; }
.afl-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--afl-primary); box-shadow: 0 0 0 4px rgba(201, 238, 60, 0.28); }
.afl-eyebrow--light { color: var(--afl-white); }

.afl-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.afl-head > div:first-child { display: flex; flex-direction: column; }
.afl-head__title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; font-weight: 800; line-height: 1.15; }
.afl-head__actions { display: flex; align-items: center; gap: 0.6rem; }
.afl-head__actions .afl-link-arrow { color: var(--afl-muted); font-weight: 600; margin-right: 0.4rem; }
.afl-head__actions .afl-link-arrow:hover { color: var(--afl-dark); }
.afl-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--afl-line); background: var(--afl-white); color: var(--afl-dark); display: inline-flex; align-items: center; justify-content: center; transition: var(--afl-transition); }
.afl-arrow:hover { background: var(--afl-primary); border-color: var(--afl-primary); color: var(--afl-on-primary); }
.afl-arrow--next { background: var(--afl-dark); border-color: var(--afl-dark); color: var(--afl-white); }
.afl-section--dark .afl-arrow { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: var(--afl-white); }

/* Carrousel horizontal générique (défilement natif) */
.afl-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.4rem) / 4); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.5rem; scrollbar-width: none; }
.afl-track::-webkit-scrollbar { display: none; }
.afl-track > * { scroll-snap-align: start; min-width: 0; }
.afl-track--cats { grid-auto-columns: calc((100% - 2 * 1.4rem) / 3); }

/* ===================== Carte produit (fond gris arrondi, cœur, prix gras) ===================== */
.afl-pcard { display: flex; flex-direction: column; height: 100%; container-type: inline-size; container-name: afl-pcard; }
.afl-pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--afl-light); border-radius: var(--afl-radius); overflow: hidden; }
.afl-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); mix-blend-mode: multiply; }
.afl-pcard:hover .afl-pcard__media img { transform: scale(1.06); }
.afl-pcard__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #C3C6CC; font-size: 2.6rem; }
.afl-tag { position: absolute; top: 12px; left: 12px; color: var(--afl-dark); font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.62rem; border-radius: 8px; z-index: 1; line-height: 1.2; background: var(--afl-white); }
.afl-tag--new { background: var(--afl-mint); color: var(--afl-dark); }
.afl-tag--sale { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-tag--hot { background: var(--afl-dark); color: var(--afl-white); }
.afl-tag--out { background: var(--afl-white); color: var(--afl-muted); }
.afl-pcard__fav { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--afl-white); color: var(--afl-dark); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; box-shadow: 0 4px 12px rgba(15, 16, 18, 0.08); transition: var(--afl-transition); z-index: 2; cursor: pointer; }
.afl-pcard__fav:hover { transform: scale(1.1); }
.afl-pcard__fav.is-fav { background: var(--afl-sale); color: var(--afl-white); }
.afl-pcard__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.9rem 0.2rem 0; flex: 1; }
.afl-pcard__info { min-width: 0; }
/* Ligne prix + bouton « Acheter », toujours alignée en bas de la carte */
.afl-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 0.6rem; margin-top: auto; min-width: 0; }
.afl-pcard__foot .afl-pcard__price { min-width: 0; }
.afl-pcard__cat { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--afl-muted); margin-bottom: 0.2rem; font-weight: 600; }
.afl-pcard__title { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.afl-pcard__title a { color: var(--afl-dark); }
.afl-pcard__title a:hover { color: var(--afl-dark); text-decoration: underline; text-underline-offset: 3px; }
.afl-pcard__price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.afl-pcard__price strong { color: var(--afl-dark); font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; }
.afl-pcard__price del { color: var(--afl-muted); font-size: 0.85rem; }
/* Bouton « Acheter » : pilule à hauteur fixe, largeur selon le texte ; pleine largeur sous le prix si la carte est étroite */
.afl-pcard__cart { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; height: 40px; padding: 0 1.05rem; border-radius: 999px; border: none; background: var(--afl-light); color: var(--afl-dark); font-size: 0.86rem; font-weight: 700; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; flex-shrink: 0; transition: var(--afl-transition); cursor: pointer; }
.afl-pcard__cart i { font-size: 0.82rem; }
.afl-pcard:hover .afl-pcard__cart, .afl-pcard__cart:hover { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-pcard__cart:focus-visible { outline: 2px solid var(--afl-primary); outline-offset: 2px; }
.afl-pcard__cart:disabled { opacity: 0.55; cursor: not-allowed; background: var(--afl-light) !important; color: var(--afl-muted) !important; }
.afl-quick-add { margin: 0; flex-shrink: 0; }
@container afl-pcard (max-width: 230px) {
  .afl-pcard__foot { flex-direction: column; align-items: stretch; }
  .afl-quick-add, .afl-pcard__cart { width: 100%; }
  .afl-pcard__cart { height: 38px; padding: 0 0.6rem; }
}
.afl-section--alt .afl-pcard__media { background: var(--afl-white); }

/* Prix réutilisés (fiche produit, panier) */
.afl-price { font-weight: 800; color: var(--afl-dark); font-size: 1.12rem; }
.afl-price-old { text-decoration: line-through; color: var(--afl-muted); font-size: 0.88rem; }
.afl-badge-promo { background: var(--afl-primary); color: var(--afl-on-primary); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 8px; }

/* ===================== Carte catégorie (image + pastille) ===================== */
.afl-catcard { position: relative; display: block; border-radius: var(--afl-radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--afl-light); }
.afl-catcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.afl-catcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 16, 18, 0) 45%, rgba(15, 16, 18, 0.55) 100%); z-index: 1; }
.afl-catcard:hover img { transform: scale(1.07); }
.afl-catcard__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); color: var(--afl-dark); border-radius: var(--afl-radius-sm); padding: 0.85rem 0.9rem 0.85rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; transition: var(--afl-transition); }
.afl-catcard:hover .afl-catcard__bar { background: var(--afl-primary); }
.afl-catcard__bar h3 { color: var(--afl-dark); font-size: 1.02rem; font-weight: 800; margin: 0; }
.afl-catcard__bar span { font-size: 0.8rem; color: var(--afl-text); }
.afl-catcard__bar i { width: 38px; height: 38px; border-radius: 50%; background: var(--afl-dark); color: var(--afl-white); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; flex-shrink: 0; transition: var(--afl-transition); }
.afl-catcard:hover .afl-catcard__bar i { transform: rotate(-45deg); }

/* Catégories en pastilles rondes (comme la maquette : Phones, Consoles, Laptops…) */
.afl-catcircles { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; padding: 0.3rem 0.2rem 0.6rem; scroll-snap-type: x proximity; }
.afl-catcircles::-webkit-scrollbar { display: none; }
.afl-catcircle { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; flex: 0 0 auto; width: 112px; text-align: center; scroll-snap-align: start; }
.afl-catcircle__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--afl-light); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: var(--afl-dark); overflow: hidden; position: relative; transition: var(--afl-transition); }
.afl-catcircle__icon img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.afl-catcircle:hover .afl-catcircle__icon { background: var(--afl-primary); transform: translateY(-4px); }
.afl-catcircle:hover .afl-catcircle__icon img { opacity: 1; }
.afl-catcircle span { font-size: 0.86rem; font-weight: 600; color: var(--afl-dark); line-height: 1.25; }
.afl-catcircle small { display: block; font-size: 0.72rem; color: var(--afl-muted); font-weight: 500; }
.afl-catcircle.is-active .afl-catcircle__icon { background: var(--afl-primary); box-shadow: 0 0 0 4px var(--afl-white), 0 0 0 6px var(--afl-primary); }

/* Ancienne carte catégorie icône (compatibilité) */
.afl-category-card { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; background: var(--afl-light); border-radius: var(--afl-radius); padding: 1.8rem 1rem; text-align: center; transition: var(--afl-transition); }
.afl-category-card i { font-size: 1.8rem; color: var(--afl-dark); }
.afl-category-card h6 { margin: 0; }
.afl-category-card:hover { background: var(--afl-primary); }

/* ===================== Bandeau d'avantages ===================== */
.afl-features { background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius-lg); box-shadow: var(--afl-shadow); padding: 1.6rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; position: relative; z-index: 2; }
.afl-feature { display: flex; align-items: center; gap: 0.95rem; padding: 0.4rem 0.6rem; }
.afl-feature + .afl-feature { border-left: 1px solid var(--afl-line); }
.afl-feature__icon { font-size: 1.15rem; color: var(--afl-dark); flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--afl-light); display: flex; align-items: center; justify-content: center; transition: var(--afl-transition); }
.afl-feature:hover .afl-feature__icon { background: var(--afl-primary); transform: translateY(-3px); }
.afl-feature h3 { font-size: 0.98rem; font-weight: 700; margin: 0 0 0.1rem; }
.afl-feature p { font-size: 0.83rem; color: var(--afl-muted); margin: 0; line-height: 1.45; }

.afl-features-wrap { padding: 2.5rem 0 0; }
.afl-features-wrap--overlap { padding: 0; margin-top: -3.6rem; }
.afl-track--quotes { grid-auto-columns: calc((100% - 2 * 1.4rem) / 3); padding: 0.5rem 0.2rem 1.5rem; }

/* Carte d'aide (FAQ / contact) */
.afl-help-card { margin-top: 1.6rem; border-radius: var(--afl-radius); overflow: hidden; background: var(--afl-light); }
.afl-help-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.afl-help-card > div { padding: 1.4rem 1.5rem; }
.afl-help-card strong { display: block; color: var(--afl-dark); font-size: 1.05rem; }
.afl-help-card span a { color: var(--afl-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--afl-primary); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ===================== Bande de labels / certifications (défilement continu) ===================== */
.afl-labels { border-top: 1px solid var(--afl-line); border-bottom: 1px solid var(--afl-line); overflow: hidden; }
.afl-logos { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2rem 0; }
.afl-logo-item { display: inline-flex; align-items: center; gap: 0.55rem; color: #A6A9AF; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; transition: var(--afl-transition); white-space: nowrap; }
.afl-logo-item i { font-size: 1.3rem; }
.afl-logo-item:hover { color: var(--afl-dark); }
.afl-logo-item:hover i { color: var(--afl-primary-text); }

.afl-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.afl-marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: afl-marquee 32s linear infinite; padding: 1.8rem 0; }
.afl-marquee:hover .afl-marquee__track { animation-play-state: paused; }
@keyframes afl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.afl-marquee--lime { background: var(--afl-primary); }
.afl-marquee--lime .afl-marquee__track { padding: 1rem 0; gap: 2.5rem; animation-duration: 40s; }
.afl-marquee--lime .afl-marquee__item { color: var(--afl-dark); font-weight: 800; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; }
.afl-marquee--lime .afl-marquee__item::after { content: '✺'; font-size: 0.9rem; }

/* ===================== Onglets de filtres (pastilles) ===================== */
.afl-tabs-pills { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 auto 2.4rem; list-style: none; padding: 0.35rem; background: var(--afl-light); border-radius: var(--afl-radius-pill); }
.afl-tabs-pills button { border: none; background: none; padding: 0.6rem 1.25rem; font-size: 0.88rem; font-weight: 600; color: var(--afl-text); border-radius: var(--afl-radius-pill); transition: var(--afl-transition); }
.afl-tabs-pills button:hover { color: var(--afl-dark); background: rgba(255, 255, 255, 0.7); }
.afl-tabs-pills button.active { color: var(--afl-dark); background: var(--afl-white); box-shadow: 0 4px 14px rgba(15, 16, 18, 0.08); }
.afl-section--alt .afl-tabs-pills { background: var(--afl-white); }
.afl-section--alt .afl-tabs-pills button.active { background: var(--afl-primary); box-shadow: none; }
.afl-tabs-center { display: flex; justify-content: center; }
.afl-tab-panel { display: none; }
.afl-tab-panel.active { display: block; animation: afl-fade-in-up 0.5s ease both; }

/* ===================== Témoignages ===================== */
.afl-quote { background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius); padding: 2rem; position: relative; height: 100%; display: flex; flex-direction: column; transition: var(--afl-transition); }
.afl-quote:hover { transform: translateY(-5px); box-shadow: var(--afl-shadow-lg); border-color: transparent; }
.afl-section--alt .afl-quote { border-color: transparent; }
.afl-quote__stars { color: var(--afl-star); font-size: 0.82rem; display: inline-flex; gap: 0.2rem; margin-bottom: 1rem; }
.afl-quote__stars .afl-star-empty { color: var(--afl-line); }
.afl-quote p { font-size: 0.98rem; color: var(--afl-dark); line-height: 1.7; flex: 1; font-weight: 500; }
.afl-quote__author { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--afl-line); }
.afl-quote__avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--afl-primary); color: var(--afl-on-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.afl-quote__author strong { display: block; color: var(--afl-dark); font-weight: 700; }
.afl-quote__author span { font-size: 0.83rem; color: var(--afl-muted); }
.afl-quote__mark { position: absolute; right: 1.6rem; top: 1.6rem; width: 42px; height: 42px; border-radius: 50%; background: var(--afl-primary); color: var(--afl-on-primary); display: flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1; }
.afl-quote__verified { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.74rem; font-weight: 600; color: #1F6B5A; background: var(--afl-mint-soft); padding: 0.15rem 0.5rem; border-radius: 6px; margin-left: 0.4rem; }

/* ===================== Bannières CTA ===================== */
.afl-banner { position: relative; border-radius: var(--afl-radius-lg); overflow: hidden; padding: 4.2rem 3.6rem; background: var(--afl-dark) var(--afl-banner-img) center / cover no-repeat; color: var(--afl-white); }
.afl-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 16, 18, 0.92) 0%, rgba(15, 16, 18, 0.62) 55%, rgba(15, 16, 18, 0.1) 100%); }
.afl-banner::after { content: ''; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 238, 60, 0.4), rgba(201, 238, 60, 0) 70%); }
.afl-banner > * { position: relative; z-index: 1; }
.afl-banner .afl-eyebrow { color: var(--afl-primary); }
.afl-banner h2 { color: var(--afl-white); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; max-width: 600px; line-height: 1.1; }
.afl-banner p { color: rgba(255, 255, 255, 0.8); max-width: 520px; margin-bottom: 1.8rem; }
.afl-banner--teal { background: var(--afl-primary); color: var(--afl-dark); }
.afl-banner--teal::before { background: linear-gradient(90deg, rgba(201, 238, 60, 0.97) 0%, rgba(201, 238, 60, 0.85) 50%, rgba(201, 238, 60, 0.2) 100%); }
.afl-banner--teal h2 { color: var(--afl-dark); }
.afl-banner--teal p { color: rgba(15, 16, 18, 0.75); }
.afl-banner--teal .afl-eyebrow { color: var(--afl-dark); }
.afl-banner--teal .afl-btn-primary { background: var(--afl-dark); border-color: var(--afl-dark); color: var(--afl-white); }
.afl-banner__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Bandeau promo « menthe » (comme « Delivery is 50% cheaper ») */
.afl-promo-strip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; overflow: hidden; border-radius: var(--afl-radius); padding: 1.15rem 1.5rem; background: linear-gradient(100deg, #BFDFD9 0%, #D6ECE7 45%, #E7F3EF 100%); color: var(--afl-dark); }
.afl-promo-strip__text { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-weight: 700; font-size: 1.02rem; position: relative; z-index: 1; }
.afl-promo-strip__text .afl-chip { font-size: 0.92rem; }
.afl-promo-strip__deco { position: absolute; right: 18%; top: 50%; transform: translateY(-50%); width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), rgba(142, 214, 197, 0.35) 60%, transparent 70%); filter: blur(2px); }
.afl-promo-strip .afl-link-arrow { position: relative; z-index: 1; }
.afl-promo-strip .afl-link-arrow i { background: var(--afl-white); }

/* Promo duo (tuiles photo) */
.afl-promo { position: relative; display: flex; align-items: flex-end; min-height: 300px; border-radius: var(--afl-radius-lg); overflow: hidden; padding: 2rem; background: var(--afl-dark) var(--afl-promo-img) center / cover no-repeat; color: var(--afl-white); }
.afl-promo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 16, 18, 0.85) 0%, rgba(15, 16, 18, 0.05) 65%); transition: var(--afl-transition); }
.afl-promo:hover::before { background: linear-gradient(0deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.15) 75%); }
.afl-promo > div { position: relative; z-index: 1; }
.afl-promo > div > span:first-child { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; background: var(--afl-primary); color: var(--afl-on-primary); padding: 0.32rem 0.7rem; border-radius: var(--afl-radius-pill); }
.afl-promo h3 { color: var(--afl-white); font-size: 1.65rem; margin: 0.8rem 0 0.9rem; line-height: 1.15; }
.afl-promo .afl-link-arrow { color: var(--afl-white); }
.afl-promo .afl-link-arrow i { background: rgba(255, 255, 255, 0.18); color: var(--afl-white); }
.afl-promo:hover .afl-link-arrow i { background: var(--afl-primary); color: var(--afl-on-primary); }

/* ===================== Statistiques ===================== */
.afl-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.afl-stat { text-align: left; padding: 1.8rem 1.6rem; border-radius: var(--afl-radius); background: var(--afl-light); position: relative; overflow: hidden; }
.afl-section--alt .afl-stat { background: var(--afl-white); }
.afl-section--dark .afl-stat { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.afl-stat:nth-child(1) { background: var(--afl-primary); }
.afl-section--dark .afl-stat:nth-child(1) { background: var(--afl-primary); border-color: var(--afl-primary); }
.afl-section--dark .afl-stat:nth-child(1) .afl-stat__number, .afl-section--dark .afl-stat:nth-child(1) .afl-stat__label { color: var(--afl-dark); }
.afl-stat__icon { width: 50px; height: 50px; border-radius: 50%; background: var(--afl-white); color: var(--afl-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 1.6rem; }
.afl-section--dark .afl-stat__icon { background: rgba(255, 255, 255, 0.08); color: var(--afl-primary); }
.afl-section--dark .afl-stat:nth-child(1) .afl-stat__icon { background: var(--afl-dark); color: var(--afl-primary); }
.afl-stat__number { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--afl-dark); line-height: 1; letter-spacing: -0.04em; }
.afl-section--dark .afl-stat__number { color: var(--afl-white); }
.afl-stat__label { font-size: 0.9rem; color: var(--afl-text); margin-top: 0.5rem; font-weight: 500; }
.afl-section--dark .afl-stat__label { color: rgba(255, 255, 255, 0.6); }

/* ===================== Étapes ===================== */
.afl-steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: aflstep; }
.afl-step-card { position: relative; background: var(--afl-light); border-radius: var(--afl-radius); padding: 2rem 1.6rem; transition: var(--afl-transition); height: 100%; }
.afl-section--alt .afl-step-card { background: var(--afl-white); }
.afl-step-card:hover { background: var(--afl-primary); transform: translateY(-6px); }
.afl-step-card__num { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 0.78rem; font-weight: 800; color: var(--afl-dark); background: var(--afl-white); border-radius: var(--afl-radius-pill); padding: 0.25rem 0.65rem; line-height: 1.2; }
.afl-step-card:hover .afl-step-card__num { background: var(--afl-dark); color: var(--afl-primary); }
.afl-step-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--afl-dark); color: var(--afl-primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 2.2rem; transition: var(--afl-transition); }
.afl-step-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 0.5rem; }
.afl-step-card p { font-size: 0.9rem; margin: 0; }
.afl-step-card:hover p { color: rgba(15, 16, 18, 0.8); }

/* ===================== Bloc image + texte ===================== */
.afl-split__media { position: relative; border-radius: var(--afl-radius-lg); overflow: hidden; }
.afl-split__media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; display: block; }
.afl-split__badge { position: absolute; left: 1.2rem; bottom: 1.2rem; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: var(--afl-radius); padding: 0.9rem 1.2rem 0.9rem 0.9rem; display: flex; align-items: center; gap: 0.9rem; box-shadow: var(--afl-shadow-lg); }
.afl-split__badge strong { display: block; font-size: 1.45rem; color: var(--afl-dark); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.afl-split__badge span { font-size: 0.8rem; color: var(--afl-text); }
.afl-split__badge i { width: 48px; height: 48px; border-radius: 50%; background: var(--afl-primary); color: var(--afl-on-primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.afl-split h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.12; }
.afl-checklist { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.75rem; }
.afl-checklist li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--afl-dark); font-weight: 500; }
.afl-checklist li i { color: var(--afl-dark); background: var(--afl-mint); width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; margin-top: 0.15rem; }
.afl-section--dark .afl-checklist li { color: rgba(255, 255, 255, 0.85); }
.afl-checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Cartes d'information (icône + texte) */
.afl-icon-card { background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius); padding: 1.9rem 1.7rem; height: 100%; transition: var(--afl-transition); color: var(--afl-text); }
.afl-icon-card:hover { border-color: transparent; box-shadow: var(--afl-shadow-lg); transform: translateY(-6px); }
.afl-icon-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--afl-light); color: var(--afl-dark); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1.3rem; transition: var(--afl-transition); }
.afl-icon-card:hover .afl-icon-card__icon { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-icon-card h3, .afl-icon-card h5 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.55rem; }
.afl-icon-card p { font-size: 0.92rem; margin: 0; }
.afl-section--alt .afl-icon-card { border-color: transparent; }

/* ===================== Articles / conseils ===================== */
.afl-post { display: flex; flex-direction: column; height: 100%; border-radius: var(--afl-radius); overflow: hidden; background: var(--afl-white); transition: var(--afl-transition); color: var(--afl-text); }
.afl-post:hover { transform: translateY(-6px); }
.afl-post__media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; border-radius: var(--afl-radius); }
.afl-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.afl-post:hover .afl-post__media img { transform: scale(1.06); }
.afl-post__media span { position: absolute; top: 12px; left: 12px; background: var(--afl-white); color: var(--afl-dark); font-size: 0.74rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: var(--afl-radius-pill); }
.afl-post__body { padding: 1.2rem 0.3rem 0.4rem; display: flex; flex-direction: column; flex: 1; }
.afl-section--alt .afl-post { background: transparent; }
.afl-post__meta { font-size: 0.8rem; color: var(--afl-muted); display: flex; gap: 1rem; margin-bottom: 0.6rem; }
.afl-post__meta i { color: var(--afl-mint-dark); margin-right: 0.3rem; }
.afl-post h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.35; margin-bottom: 0.6rem; }
.afl-post p { font-size: 0.9rem; flex: 1; }

/* ===================== Accordéon (FAQ) ===================== */
.afl-accordion .accordion-item { border: none; border-radius: var(--afl-radius-sm) !important; margin-bottom: 0.7rem; overflow: hidden; background: var(--afl-light); transition: var(--afl-transition); }
.afl-section--alt .afl-accordion .accordion-item { background: var(--afl-white); }
.afl-accordion .accordion-button { font-weight: 700; color: var(--afl-dark); padding: 1.15rem 1.3rem; font-size: 0.98rem; background: transparent; box-shadow: none; gap: 1rem; }
.afl-accordion .accordion-button:not(.collapsed) { color: var(--afl-dark); background: transparent; }
.afl-accordion .accordion-item:has(.accordion-button:not(.collapsed)) { background: var(--afl-white); box-shadow: 0 0 0 2px var(--afl-dark) inset; }
.afl-accordion .accordion-button:focus { box-shadow: none; }
.afl-accordion .accordion-button::after { background-image: none; content: '\2b'; font-family: 'Font Awesome 6 Free'; font-weight: 900; width: 32px; height: 32px; border-radius: 50%; background: var(--afl-white); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transform: none; flex-shrink: 0; }
.afl-section--alt .afl-accordion .accordion-button::after { background: var(--afl-light); }
.afl-accordion .accordion-button:not(.collapsed)::after { content: '\f068'; background: var(--afl-primary); color: var(--afl-on-primary); transform: none; }
.afl-accordion .accordion-body { padding: 0 1.3rem 1.3rem; font-size: 0.93rem; }

/* ===================== Galerie / mur d'images ===================== */
.afl-gallery-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.8rem; }
.afl-gallery-strip a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--afl-radius); }
.afl-gallery-strip a:nth-child(even) { transform: translateY(1.6rem); }
.afl-gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.afl-gallery-strip a::after { content: '\f16d'; font-family: 'Font Awesome 6 Brands'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--afl-dark); background: rgba(201, 238, 60, 0.85); opacity: 0; transition: var(--afl-transition); }
.afl-gallery-strip a:hover::after { opacity: 1; }
.afl-gallery-strip a:hover img { transform: scale(1.08); }

/* ===================== Newsletter (section) ===================== */
.afl-newsletter-box { background: var(--afl-dark); color: rgba(255, 255, 255, 0.75); border-radius: var(--afl-radius-lg); padding: 3.6rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; overflow: hidden; position: relative; }
.afl-newsletter-box::before { content: ''; position: absolute; right: -90px; top: -110px; width: 320px; height: 320px; border-radius: 50%; background: var(--afl-primary); opacity: 0.95; }
.afl-newsletter-box::after { content: ''; position: absolute; right: 140px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: var(--afl-mint); opacity: 0.9; }
.afl-newsletter-box > * { position: relative; z-index: 1; }
.afl-newsletter-box h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.6rem; color: var(--afl-white); line-height: 1.12; }
.afl-newsletter-box .afl-eyebrow { color: var(--afl-primary); }
.afl-newsletter-box form { display: flex; gap: 0.5rem; background: var(--afl-white); padding: 0.45rem; border-radius: var(--afl-radius); box-shadow: var(--afl-shadow-lg); }
.afl-newsletter-box input { border: none; flex: 1; padding: 0.6rem 0.9rem; outline: none; min-width: 0; background: transparent; color: var(--afl-dark); }
.afl-newsletter-box small { display: block; margin-top: 0.9rem; color: rgba(255, 255, 255, 0.85); font-size: 0.8rem; }
.afl-newsletter-box small a { color: var(--afl-white); }

/* ===================== Pied de page ===================== */
.afl-footer { background: var(--afl-dark); padding: 0 0 0; margin-top: 4rem; color: rgba(255, 255, 255, 0.65); border-radius: var(--afl-radius-lg) var(--afl-radius-lg) 0 0; position: relative; overflow: hidden; }
.afl-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 3rem 0 2.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 3.2rem; }
.afl-footer__cta h3 { color: var(--afl-white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; max-width: 620px; line-height: 1.12; }
.afl-footer__cta h3 em { font-style: normal; color: var(--afl-primary); }
.afl-footer__logo { height: clamp(38px, 6vw, 48px); width: auto; display: block; margin-bottom: 1.2rem; background: var(--afl-white); border-radius: 12px; padding: 6px 10px; }
.afl-footer__desc { font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); max-width: 340px; }
.afl-footer__social { display: flex; gap: 0.5rem; margin-top: 1.3rem; }
.afl-footer__social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); color: var(--afl-white); display: inline-flex; align-items: center; justify-content: center; }
.afl-footer__social a:hover { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-footer__title { color: var(--afl-white); font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1.2rem; }
.afl-footer__links { list-style: none; padding: 0; margin: 0; }
.afl-footer__links li { margin-bottom: 0.65rem; }
.afl-footer__links a { color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; }
.afl-footer__links a:hover { color: var(--afl-primary); }
.afl-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.afl-footer__contact li { display: flex; gap: 0.7rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); align-items: flex-start; }
.afl-footer__contact i { color: var(--afl-primary); margin-top: 0.3rem; width: 16px; }
.afl-footer__contact a:hover { color: var(--afl-primary); }
.afl-newsletter { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; background: rgba(255, 255, 255, 0.07); padding: 0.35rem; border-radius: var(--afl-radius-sm); }
.afl-newsletter input, .afl-newsletter .form-control { flex: 1; min-width: 0; background: transparent; border: none; color: var(--afl-white); }
.afl-newsletter .form-control:focus { background: transparent; box-shadow: none; color: var(--afl-white); }
.afl-newsletter .form-control::placeholder { color: rgba(255, 255, 255, 0.45); }
.afl-newsletter button { background: var(--afl-primary); color: var(--afl-on-primary); border: none; border-radius: var(--afl-radius-xs); padding: 0 1.2rem; font-weight: 700; font-size: 0.88rem; }
.afl-newsletter button:hover { background: var(--afl-white); }
.afl-footer__legal { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); margin: 0.6rem 0 0; }
.afl-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 3.5rem; padding: 1.4rem 0 1.6rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }
.afl-footer__bottom a { color: var(--afl-white); }
.afl-footer__bottom a:hover { color: var(--afl-primary); }
.afl-footer__payments { display: flex; align-items: center; gap: 0.45rem; }
.afl-footer__payments span { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 0.7rem; background: rgba(255, 255, 255, 0.07); border-radius: 8px; font-size: 1.15rem; color: var(--afl-white); }
.afl-footer__company { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); }
/* Taille calculée d'après le nombre de caractères du nom (--afl-bigword-len, fixé dans footer.php) : le mot tient toujours dans la largeur. */
.afl-footer__bigword { font-size: min(13rem, calc(94vw / (var(--afl-bigword-len, 13) * 0.6))); font-weight: 900; letter-spacing: -0.06em; line-height: 0.8; color: rgba(255, 255, 255, 0.04); text-align: center; white-space: nowrap; margin: 1rem 0 -0.12em; user-select: none; pointer-events: none; }
/* Badge Trustpilot (couleurs officielles : vert #00B67A, étoile vide #DCDCE6) */
.afl-trustpilot { display: inline-flex; flex-direction: column; gap: 0.45rem; margin-top: 1.4rem; padding: 0.85rem 1rem; max-width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--afl-radius-sm, 12px); color: var(--afl-white); text-decoration: none; transition: var(--afl-transition); }
a.afl-trustpilot:hover { background: rgba(255, 255, 255, 0.09); border-color: #00B67A; color: var(--afl-white); }
.afl-trustpilot__head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.7rem; }
.afl-trustpilot__label { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; color: var(--afl-white); }
.afl-trustpilot__stars { display: inline-flex; gap: 3px; }
.afl-trustpilot__star { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; color: #fff; background: linear-gradient(90deg, #00B67A var(--afl-tp-fill, 0%), #DCDCE6 var(--afl-tp-fill, 0%)); }
.afl-trustpilot__meta { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }
.afl-trustpilot__brand { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.95rem; font-weight: 700; color: var(--afl-white); letter-spacing: -0.01em; }
.afl-trustpilot__brand i { color: #00B67A; font-size: 1rem; }
@media (max-width: 575.98px) { .afl-trustpilot__star { width: 22px; height: 22px; font-size: 0.72rem; } }
.afl-footer__cookie-link { background: none; border: none; padding: 0; color: rgba(255, 255, 255, 0.62); font: inherit; font-size: 0.9rem; cursor: pointer; }
.afl-footer__cookie-link:hover { color: var(--afl-primary); }

/* ===================== Boutons flottants & cookies ===================== */
.afl-float-btn { position: fixed; right: 24px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--afl-white); box-shadow: 0 10px 26px rgba(15, 16, 18, 0.22); z-index: 1050; transition: var(--afl-transition); opacity: 0; visibility: hidden; transform: translateY(20px); }
.afl-float-btn--whatsapp { bottom: 24px; background: #25D366; opacity: 1; visibility: visible; transform: translateY(0); animation: afl-pulse 2.4s infinite; }
.afl-float-btn--whatsapp:hover { transform: scale(1.08); color: var(--afl-white); }
.afl-float-btn--cart { bottom: 96px; background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-float-btn--cart:hover { background: var(--afl-primary-dark); color: var(--afl-on-primary); }
.afl-float-btn--cart.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.afl-float-btn--cart.afl-bump { animation: afl-cart-bump 0.6s ease; }
.afl-float-btn--top { bottom: 168px; background: var(--afl-dark); font-size: 0.95rem; width: 46px; height: 46px; right: 29px; }
.afl-float-btn--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.afl-float-btn--top:hover { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-float-btn__badge { position: absolute; top: -4px; right: -4px; background: var(--afl-dark); color: var(--afl-white); font-size: 0.7rem; font-weight: 700; min-width: 20px; height: 20px; line-height: 20px; border-radius: 50%; text-align: center; }
@keyframes afl-cart-bump { 0% { transform: scale(1); } 30% { transform: scale(1.22) rotate(-8deg); } 55% { transform: scale(0.94) rotate(5deg); } 100% { transform: scale(1); } }
@keyframes afl-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); } }

.afl-cookies { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 780px; margin: 0 auto; background: var(--afl-dark); color: rgba(255, 255, 255, 0.8); padding: 1.2rem 1.4rem; z-index: 1100; border-radius: var(--afl-radius); box-shadow: var(--afl-shadow-lg); transform: translateY(160%); transition: transform 0.45s ease; }
.afl-cookies.is-visible { transform: translateY(0); }
.afl-cookies__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.afl-cookies a { color: var(--afl-primary); text-decoration: underline; }
.afl-cookies__actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.afl-cookies .afl-btn-primary, .afl-cookies .afl-btn-outline { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.afl-cookies .afl-btn-outline { color: var(--afl-white); border-color: rgba(255, 255, 255, 0.25); background: transparent; }
.afl-cookies .afl-btn-outline:hover { border-color: var(--afl-white); color: var(--afl-white); }

.afl-toasts { position: fixed; top: 24px; right: 24px; z-index: 1300; display: grid; gap: 0.6rem; max-width: min(420px, calc(100vw - 48px)); }
.afl-toast { display: flex; align-items: flex-start; gap: 0.7rem; background: var(--afl-dark); color: var(--afl-white); border-radius: var(--afl-radius-sm); box-shadow: var(--afl-shadow-lg); padding: 0.95rem 1.1rem; font-size: 0.92rem; animation: afl-fade-in-up 0.4s ease both; }
.afl-toast i { color: var(--afl-primary); margin-top: 0.2rem; }
.afl-toast--success i { color: var(--afl-primary); }
.afl-toast--danger i { color: #FF8A8F; }
.afl-toast--warning i { color: #FFC857; }
.afl-flash-message { transition: opacity 0.5s ease; }
.afl-flash-message--hide { opacity: 0; }

/* ===================== Contenu légal (sommaire + texte) ===================== */
.afl-legal-layout { display: grid; grid-template-columns: 290px 1fr; gap: 3rem; align-items: start; }
.afl-legal-toc { position: sticky; top: 90px; background: var(--afl-light); border-radius: var(--afl-radius); padding: 1.5rem; }
.afl-legal-toc h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.3px; color: var(--afl-muted); margin-bottom: 1rem; }
.afl-legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; max-height: 60vh; overflow-y: auto; }
.afl-legal-toc a { display: block; padding: 0.5rem 0.75rem; border-radius: var(--afl-radius-xs); font-size: 0.87rem; color: var(--afl-dark); font-weight: 500; }
.afl-legal-toc a:hover { background: var(--afl-white); }
.afl-legal-toc a.is-active { background: var(--afl-primary); color: var(--afl-on-primary); font-weight: 700; }
.afl-legal-toc__help { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--afl-line); font-size: 0.86rem; }
.afl-legal-toc__help a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--afl-dark); font-weight: 700; padding: 0; text-decoration: underline; text-decoration-color: var(--afl-primary); text-decoration-thickness: 3px; }
.afl-legal-content { background: var(--afl-white); }
.afl-legal-content h2 { font-size: 1.35rem; font-weight: 800; margin: 2.4rem 0 0.9rem; padding-top: 0.4rem; scroll-margin-top: 100px; display: flex; align-items: center; gap: 0.7rem; }
.afl-legal-content h2:first-child { margin-top: 0; }
.afl-legal-content h2::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--afl-primary); box-shadow: 0 0 0 5px rgba(201, 238, 60, 0.3); flex-shrink: 0; }
.afl-legal-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
.afl-legal-content p, .afl-legal-content li { font-size: 0.95rem; line-height: 1.8; }
.afl-legal-content a { color: var(--afl-dark); font-weight: 600; text-decoration: underline; text-decoration-color: var(--afl-primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.afl-legal-list { padding-left: 0; list-style: none; display: grid; gap: 0.45rem; }
.afl-legal-list li { position: relative; padding-left: 1.4rem; }
.afl-legal-list li::before { content: ''; position: absolute; left: 0.2rem; top: 0.72rem; width: 7px; height: 7px; border-radius: 50%; background: var(--afl-mint-dark); }
ol.afl-legal-list { counter-reset: afllegal; }
ol.afl-legal-list li { padding-left: 2.1rem; counter-increment: afllegal; }
ol.afl-legal-list li::before { content: counter(afllegal); width: 24px; height: 24px; top: 0.2rem; left: 0; background: var(--afl-primary); color: var(--afl-on-primary); font-size: 0.75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.afl-legal-note { background: var(--afl-mint-soft); border-left: 4px solid var(--afl-mint-dark); border-radius: var(--afl-radius-sm); padding: 1rem 1.2rem; color: var(--afl-dark); }

/* ===================== Divers ===================== */
.afl-empty-state { text-align: center; padding: 4rem 1rem; }
.afl-empty-state i { font-size: 2.2rem; color: var(--afl-dark); margin-bottom: 1.2rem; width: 96px; height: 96px; border-radius: 50%; background: var(--afl-light); display: inline-flex; align-items: center; justify-content: center; }
.afl-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.45rem; margin-top: 3rem; }
.afl-pagination a { min-width: 44px; height: 44px; padding: 0 0.6rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--afl-light); color: var(--afl-dark); font-weight: 700; }
.afl-pagination a:hover { background: var(--afl-light-2); }
.afl-pagination a.active { background: var(--afl-dark); color: var(--afl-primary); }
.afl-checkbox { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; font-size: 0.88rem; }
.afl-checkbox input { margin-top: 0.25rem; accent-color: var(--afl-mint-dark); }
.afl-checkbox a { color: var(--afl-dark); text-decoration: underline; text-decoration-color: var(--afl-primary); text-decoration-thickness: 2px; }
.afl-star-empty { color: var(--afl-line) !important; }
.text-primary-afl { color: var(--afl-primary-text) !important; }
.afl-text-lime { color: var(--afl-primary) !important; }
.afl-highlight { background: linear-gradient(transparent 58%, rgba(201, 238, 60, 0.85) 58%, rgba(201, 238, 60, 0.85) 92%, transparent 92%); padding: 0 0.1em; }

.afl-mini-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.7rem; }
.afl-mini-feature { display: flex; align-items: center; gap: 0.7rem; background: var(--afl-light); border-radius: var(--afl-radius-sm); padding: 0.8rem 1rem; font-size: 0.87rem; color: var(--afl-dark); font-weight: 600; }
.afl-mini-feature i { color: var(--afl-dark); width: 32px; height: 32px; border-radius: 50%; background: var(--afl-white); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }

/* Bloc coordonnées bancaires (paiement par virement) */
.afl-bank-details { margin: 1.4rem auto 0; max-width: 760px; background: var(--afl-light); border: 2px dashed var(--afl-mint); border-radius: var(--afl-radius); padding: 1.4rem 1.6rem; text-align: left; }
.afl-bank-details__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }
.afl-bank-details__head .afl-bank-details__title { margin: 0; }
.afl-bank-details__title { font-weight: 800; color: var(--afl-dark); margin-bottom: 1rem; }
.afl-bank-details__title i { color: var(--afl-mint-dark); margin-right: 0.4rem; }
.afl-bank-details__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.9rem 1.5rem; }
.afl-bank-details__grid span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--afl-muted); font-weight: 600; }
.afl-bank-details__grid strong { font-size: 0.96rem; color: var(--afl-dark); word-break: break-word; }
.afl-bank-details__note { margin: 1rem 0 0; font-size: 0.85rem; }
.afl-bank-details__note i { color: var(--afl-mint-dark); margin-right: 0.3rem; }
.afl-copy-field strong { display: flex; align-items: center; gap: 0.5rem; min-width: 0; overflow-wrap: anywhere; }
.afl-copy-btn { border: none; background: var(--afl-white); color: var(--afl-dark); width: 30px; height: 30px; border-radius: 50%; font-size: 0.75rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.afl-copy-btn:hover { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-copy-btn.is-copied, .afl-copy-all.is-copied { background: var(--afl-mint) !important; color: var(--afl-dark) !important; border-color: var(--afl-mint) !important; }

/* Bloc « preuve de paiement » */
.afl-payment-proof { margin-top: 1.5rem; background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius); padding: 1.5rem 1.7rem; text-align: left; }
.afl-payment-proof h6 { margin-bottom: 0.8rem; }
.afl-payment-proof h6 i { color: var(--afl-mint-dark); margin-right: 0.4rem; }
.afl-payment-proof__status { font-size: 0.9rem; }
.afl-payment-proof__hint { font-size: 0.85rem; margin-bottom: 0.6rem; }
.afl-payment-proof__notice { display: flex; align-items: flex-start; gap: 0.7rem; background: #FEF4E2; border-radius: var(--afl-radius-sm); padding: 0.85rem 1rem; margin-bottom: 1rem; }
.afl-payment-proof__notice i { color: var(--afl-warning); font-size: 1.05rem; margin-top: 0.1rem; flex-shrink: 0; }
.afl-payment-proof__notice p { margin: 0; font-size: 0.86rem; color: #7A4A00; min-width: 0; overflow-wrap: anywhere; }

/* ===================== Nouveaux blocs (sections enrichies) ===================== */

/* Bento : grille de tuiles mixtes */
.afl-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 1.2rem; }
.afl-bento__tile { position: relative; border-radius: var(--afl-radius-lg); overflow: hidden; padding: 1.8rem; background: var(--afl-light); display: flex; flex-direction: column; justify-content: space-between; color: var(--afl-text); min-height: 210px; transition: var(--afl-transition); }
.afl-bento__tile:hover { transform: translateY(-4px); }
.afl-bento__tile h3 { font-size: 1.35rem; margin: 0 0 0.4rem; line-height: 1.15; }
.afl-bento__tile p { font-size: 0.9rem; margin: 0; }
.afl-bento__tile--wide { grid-column: span 2; }
.afl-bento__tile--tall { grid-row: span 2; }
.afl-bento__tile--lime { background: var(--afl-primary); color: rgba(15, 16, 18, 0.75); }
.afl-bento__tile--mint { background: var(--afl-mint-soft); }
.afl-bento__tile--dark { background: var(--afl-dark); color: rgba(255, 255, 255, 0.7); }
.afl-bento__tile--dark h3 { color: var(--afl-white); }
.afl-bento__tile--photo { color: rgba(255, 255, 255, 0.85); background: var(--afl-dark) var(--afl-tile-img) center / cover no-repeat; }
.afl-bento__tile--photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 16, 18, 0.05) 30%, rgba(15, 16, 18, 0.82) 100%); }
.afl-bento__tile--photo > * { position: relative; z-index: 1; }
.afl-bento__tile--photo h3 { color: var(--afl-white); }
.afl-bento__big { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; color: var(--afl-dark); letter-spacing: -0.05em; line-height: 1; }
.afl-bento__tile--dark .afl-bento__big { color: var(--afl-primary); }
.afl-bento__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--afl-white); color: var(--afl-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 1rem; }
.afl-bento__tile--dark .afl-bento__icon { background: rgba(255, 255, 255, 0.08); color: var(--afl-primary); }
.afl-bento__tile--lime .afl-bento__icon { background: var(--afl-dark); color: var(--afl-primary); }

/* Tableau comparatif */
.afl-cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--afl-white); border-radius: var(--afl-radius); overflow: hidden; border: 1px solid var(--afl-line); font-size: 0.92rem; }
.afl-cmp th, .afl-cmp td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--afl-line); vertical-align: middle; }
.afl-cmp th:first-child, .afl-cmp td:first-child { text-align: left; font-weight: 600; color: var(--afl-dark); }
.afl-cmp thead th { background: var(--afl-light); color: var(--afl-dark); font-weight: 800; font-size: 0.95rem; }
.afl-cmp thead th.is-featured { background: var(--afl-primary); }
.afl-cmp td.is-featured { background: var(--afl-primary-soft); font-weight: 700; color: var(--afl-dark); }
.afl-cmp tr:last-child td { border-bottom: none; }
.afl-cmp .fa-circle-check { color: var(--afl-mint-dark); }
.afl-cmp .fa-circle-xmark { color: #C9CBD0; }
.afl-table-wrap { overflow-x: auto; border-radius: var(--afl-radius); }

/* Frise chronologique */
.afl-roadmap { position: relative; display: grid; gap: 1.2rem; padding-left: 2.2rem; }
.afl-roadmap::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, var(--afl-line) 0 6px, transparent 6px 12px); }
.afl-roadmap__item { position: relative; background: var(--afl-light); border-radius: var(--afl-radius); padding: 1.3rem 1.5rem; }
.afl-section--alt .afl-roadmap__item { background: var(--afl-white); }
.afl-roadmap__item::before { content: ''; position: absolute; left: -2.2rem; top: 1.5rem; width: 24px; height: 24px; border-radius: 50%; background: var(--afl-primary); border: 5px solid var(--afl-white); box-shadow: 0 0 0 1px var(--afl-line); }
.afl-roadmap__item strong { display: inline-block; font-size: 0.78rem; font-weight: 800; background: var(--afl-dark); color: var(--afl-primary); border-radius: var(--afl-radius-pill); padding: 0.18rem 0.65rem; margin-bottom: 0.5rem; }
.afl-roadmap__item h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.afl-roadmap__item p { margin: 0; font-size: 0.9rem; }

/* Cartes équipe */
.afl-crew { text-align: left; }
.afl-crew__media { aspect-ratio: 4 / 4.6; border-radius: var(--afl-radius); overflow: hidden; background: var(--afl-light); position: relative; }
.afl-crew__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.afl-crew:hover .afl-crew__media img { transform: scale(1.05); }
.afl-crew__media span { position: absolute; left: 12px; bottom: 12px; background: var(--afl-white); border-radius: var(--afl-radius-pill); padding: 0.3rem 0.75rem; font-size: 0.75rem; font-weight: 700; color: var(--afl-dark); }
.afl-crew h3 { font-size: 1.05rem; margin: 0.95rem 0 0.1rem; }
.afl-crew p { font-size: 0.86rem; color: var(--afl-muted); margin: 0; }

/* Valeurs / engagements numérotés */
.afl-value { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--afl-line); }
.afl-value:last-child { border-bottom: none; }
.afl-value__num { font-size: 0.85rem; font-weight: 800; color: var(--afl-dark); background: var(--afl-primary); border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.afl-value h3 { font-size: 1.08rem; margin: 0 0 0.3rem; }
.afl-value p { margin: 0; font-size: 0.92rem; }
.afl-section--dark .afl-value { border-color: rgba(255, 255, 255, 0.1); }

/* Bloc « appli » / téléphone (rappel du visuel de référence) */
.afl-phone { position: relative; width: 290px; max-width: 100%; aspect-ratio: 9 / 18.5; margin: 0 auto; border-radius: 44px; background: #111; padding: 11px; box-shadow: 0 40px 80px rgba(15, 16, 18, 0.25), inset 0 0 0 2px #2B2D31; }
.afl-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--afl-white); display: flex; flex-direction: column; }
.afl-phone__screen::before { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #111; z-index: 3; }
.afl-phone__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0; font-size: 0.72rem; font-weight: 700; color: var(--afl-dark); height: 40px; }
.afl-phone__body { padding: 8px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; flex: 1; }
.afl-phone__row { display: flex; align-items: center; justify-content: space-between; }
.afl-phone__mark { width: 34px; height: 34px; border-radius: 50%; background: var(--afl-primary); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.afl-phone__addr { text-align: center; line-height: 1.15; }
.afl-phone__addr small { display: block; font-size: 0.56rem; color: var(--afl-muted); }
.afl-phone__addr strong { font-size: 0.72rem; color: var(--afl-dark); }
.afl-phone__bell { width: 34px; height: 34px; border-radius: 50%; background: var(--afl-light); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; position: relative; }
.afl-phone__bell::after { content: ''; position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--afl-mint); }
.afl-phone__search { background: var(--afl-light); border-radius: 10px; padding: 8px 10px; font-size: 0.66rem; color: var(--afl-muted); display: flex; gap: 6px; align-items: center; }
.afl-phone__promo { border-radius: 10px; padding: 9px 10px; background: linear-gradient(100deg, #BFDFD9, #E7F3EF); font-size: 0.66rem; font-weight: 700; color: var(--afl-dark); }
.afl-phone__promo b { background: var(--afl-white); padding: 1px 5px; border-radius: 4px; }
.afl-phone__title { font-size: 0.9rem; font-weight: 800; color: var(--afl-dark); }
.afl-phone__cats { display: flex; gap: 8px; }
.afl-phone__cats span { flex: 1; text-align: center; font-size: 0.52rem; color: var(--afl-dark); font-weight: 600; }
.afl-phone__cats i { display: flex; width: 38px; height: 38px; margin: 0 auto 3px; border-radius: 50%; background: var(--afl-light); align-items: center; justify-content: center; font-size: 0.75rem; }
.afl-phone__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.afl-phone__cards div { aspect-ratio: 1 / 1; border-radius: 10px; background: var(--afl-light) var(--afl-ph-img) center / cover; }
.afl-phone__cta { margin-top: auto; background: var(--afl-primary); border-radius: 10px; text-align: center; font-weight: 700; font-size: 0.7rem; padding: 9px; color: var(--afl-dark); }

/* Liste « avantages » en ligne avec gros chiffres */
.afl-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.afl-numbers > div { border-top: 2px solid var(--afl-dark); padding-top: 1rem; }
.afl-numbers strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--afl-dark); letter-spacing: -0.05em; line-height: 1; }
.afl-numbers span { font-size: 0.9rem; }

/* Zone de contact rapide */
.afl-contact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.afl-contact-strip a, .afl-contact-strip > div { display: flex; align-items: center; gap: 0.9rem; background: var(--afl-light); border-radius: var(--afl-radius); padding: 1.2rem 1.3rem; color: var(--afl-dark); transition: var(--afl-transition); }
.afl-contact-strip a:hover { background: var(--afl-primary); }
.afl-contact-strip i { width: 46px; height: 46px; border-radius: 50%; background: var(--afl-white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.afl-contact-strip strong { display: block; font-size: 0.95rem; }
.afl-contact-strip span { font-size: 0.8rem; color: var(--afl-text); }

/* Animations utilitaires */
@keyframes afl-fade-in-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.afl-fade-in-up { animation: afl-fade-in-up 0.7s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes afl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.afl-float-anim { animation: afl-float 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .afl-marquee__track, .afl-float-anim { animation: none; } }

/* ===================== Responsive ===================== */
@media (max-width: 1199.98px) {
  .afl-nav-desktop > li > a { padding: 0.5rem 0.65rem; font-size: 0.86rem; }
  .afl-navbar__left { gap: 0.8rem; }
  .afl-navbar__contact { display: none; }
  .afl-header__address { display: none; }
  .afl-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .afl-header { display: none; }
  .afl-nav-desktop, .afl-allcat, .afl-navbar__contact { display: none !important; }
  .afl-navbar__mini-logo { display: flex; }
  .afl-hamburger { display: flex; }
  .afl-navbar__mobile-actions { display: flex !important; }
  .afl-tabbar { display: block; }
  body { padding-bottom: 92px; }
  .afl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afl-feature:nth-child(3) { border-left: none; }
  .afl-track { grid-auto-columns: calc((100% - 1.4rem) / 2.3); }
  .afl-track--cats { grid-auto-columns: calc((100% - 1.4rem) / 2.2); }
  .afl-track--quotes { grid-auto-columns: calc((100% - 1.4rem) / 1.6); }
  .afl-stats-grid, .afl-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afl-legal-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .afl-legal-toc { position: static; }
  .afl-legal-toc ol { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afl-newsletter-box { grid-template-columns: minmax(0, 1fr); padding: 2.6rem; }
  .afl-gallery-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .afl-gallery-strip a:nth-child(even) { transform: none; }
  .afl-contact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afl-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .afl-float-btn { width: 50px; height: 50px; font-size: 1.15rem; right: 16px; }
  .afl-float-btn--whatsapp { bottom: 104px; }
  .afl-float-btn--cart { display: none; }
  .afl-float-btn--top { bottom: 166px; right: 20px; width: 42px; height: 42px; }
  .afl-contact-hub { bottom: 104px !important; }
  .afl-cookies { bottom: 100px; }
  .afl-section { padding: 4.2rem 0; }
  .afl-footer { margin-top: 3rem; }
}
@media (max-width: 767.98px) {
  .afl-topbar__links { display: none; }
  .afl-topbar__inner { justify-content: center; text-align: center; }
  .afl-lang { min-width: 0; justify-content: center; }
  .afl-page-hero__box { padding: 2.2rem 1.5rem; min-height: 280px; }
  .afl-banner { padding: 2.8rem 1.7rem; }
  .afl-split__media img { min-height: 320px; }
  .afl-checklist--2 { grid-template-columns: minmax(0, 1fr); }
  .afl-bento { grid-template-columns: minmax(0, 1fr); }
  .afl-bento__tile--wide { grid-column: auto; }
  .afl-bento__tile--tall { grid-row: auto; }
  .afl-numbers { grid-template-columns: minmax(0, 1fr); }
  .afl-catcircle { width: 88px; }
  .afl-catcircle__icon { width: 76px; height: 76px; font-size: 1.35rem; }
  .afl-footer__cta { padding: 2.4rem 0 2.2rem; }
}
@media (max-width: 575.98px) {
  body { font-size: 0.94rem; }
  .afl-features { grid-template-columns: minmax(0, 1fr); padding: 1.2rem; gap: 0.6rem; }
  .afl-feature + .afl-feature { border-left: none; border-top: 1px solid var(--afl-line); padding-top: 0.8rem; }
  .afl-track { grid-auto-columns: 70%; gap: 1rem; }
  .afl-track--cats { grid-auto-columns: 80%; }
  .afl-track--quotes { grid-auto-columns: 88%; }
  .afl-features-wrap--overlap { margin-top: -2rem; }
  .afl-stats-grid, .afl-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .afl-stat { padding: 1.3rem 1rem; }
  .afl-stat__icon { margin-bottom: 1rem; }
  .afl-step-card { padding: 1.5rem 1.2rem; }
  .afl-step-card__icon { margin-bottom: 1.4rem; }
  .afl-pcard__title { font-size: 0.86rem; }
  .afl-pcard__cart { height: 36px; font-size: 0.82rem; }
  .afl-pcard__price strong { font-size: 0.98rem; }
  .afl-tag { top: 8px; left: 8px; font-size: 0.66rem; }
  .afl-legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .afl-footer__bottom { flex-direction: column; text-align: center; }
  .afl-newsletter-box { padding: 2rem 1.3rem; }
  .afl-newsletter-box form { flex-direction: column; }
  .afl-section { padding: 3.4rem 0; }
  .afl-page-hero { padding-top: 0.8rem; }
  .afl-page-hero__box { border-radius: var(--afl-radius); }
  .afl-logos { justify-content: center; gap: 1.2rem 2rem; }
  .afl-logo-item { font-size: 1rem; }
  .afl-contact-strip { grid-template-columns: minmax(0, 1fr); }
  .afl-gallery-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afl-tabs-pills { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .afl-tabs-pills button { white-space: nowrap; }
}

/* Indicateur d'étapes du tunnel de commande */
.afl-checkout-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 2.8rem; max-width: 780px; background: var(--afl-light); border-radius: var(--afl-radius-pill); padding: 0.5rem; }
.afl-checkout-steps__item { display: flex; align-items: center; gap: 0.7rem; flex: 1; position: relative; color: var(--afl-muted); }
.afl-checkout-steps__item:not(:last-child)::after { content: ''; flex: 1; height: 2px; background: var(--afl-line); margin: 0 0.9rem; border-radius: 2px; }
.afl-checkout-steps__item.is-done:not(:last-child)::after { background: var(--afl-mint); }
.afl-checkout-steps__item:last-child { flex: 0 0 auto; padding-right: 1rem; }
.afl-checkout-steps__dot { width: 44px; height: 44px; border-radius: 50%; background: var(--afl-white); color: var(--afl-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--afl-transition); }
.afl-checkout-steps__label { display: flex; flex-direction: column; font-size: 0.88rem; font-weight: 700; white-space: nowrap; line-height: 1.25; }
.afl-checkout-steps__label small { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.afl-checkout-steps__item.is-current { color: var(--afl-dark); }
.afl-checkout-steps__item.is-current .afl-checkout-steps__dot { background: var(--afl-primary); color: var(--afl-on-primary); box-shadow: 0 0 0 5px rgba(201, 238, 60, 0.3); }
.afl-checkout-steps__item.is-done { color: var(--afl-dark); }
.afl-checkout-steps__item.is-done .afl-checkout-steps__dot { background: var(--afl-mint); color: var(--afl-dark); }
@media (max-width: 575.98px) { .afl-checkout-steps__label { display: none; } .afl-checkout-steps__item { flex: 1; } .afl-checkout-steps__item:last-child { padding-right: 0; } }

/* ===================== Authentification (connexion, inscription, mot de passe) ===================== */
.afl-auth { padding: 2rem 0 4.5rem; }
.afl-auth__card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius-lg); overflow: hidden; max-width: 1120px; margin: 0 auto; box-shadow: var(--afl-shadow); padding: 0.6rem; gap: 0.6rem; }
.afl-auth__form-side { padding: 3rem 2.8rem; }
.afl-auth__form-side h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 0.5rem; }
.afl-auth__subtitle { margin-bottom: 1.8rem; }
.afl-auth__form-side label { display: block; }
.afl-auth__form-side .form-control { height: 52px; }
.afl-auth__form-side .btn { height: 54px; }
.afl-auth__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.86rem; margin-top: 0.8rem; }
.afl-auth__row a, .afl-auth__switch a { color: var(--afl-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--afl-primary); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.afl-auth__switch { text-align: center; margin: 1.6rem 0 0; font-size: 0.92rem; }
.afl-auth__side { position: relative; padding: 2.6rem 2.4rem; display: flex; flex-direction: column; justify-content: flex-end; color: rgba(255, 255, 255, 0.9); min-height: 460px; border-radius: calc(var(--afl-radius-lg) - 8px); overflow: hidden; background: var(--afl-dark) var(--afl-auth-img) center / cover no-repeat; }
.afl-auth__side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 16, 18, 0.92) 0%, rgba(15, 16, 18, 0.4) 60%, rgba(15, 16, 18, 0.05) 100%); }
.afl-auth__side > * { position: relative; }
.afl-auth__side > i { width: 56px; height: 56px; border-radius: 50%; background: var(--afl-primary); color: var(--afl-on-primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.2rem; }
.afl-auth__side h4 { color: var(--afl-white); font-size: 1.6rem; margin-bottom: 1.1rem; }
.afl-auth__side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; font-size: 0.93rem; }
.afl-auth__side i.fa-check { color: var(--afl-dark); background: var(--afl-primary); width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; margin-right: 0.5rem; }
@media (max-width: 767.98px) {
  .afl-auth__card { grid-template-columns: minmax(0, 1fr); }
  .afl-auth__side { min-height: 260px; padding: 2rem 1.6rem; order: -1; }
  .afl-auth__form-side { padding: 1.8rem 1.2rem; }
}

/* ===================== Espace client ===================== */
.afl-account-sidebar { background: var(--afl-light); border-radius: var(--afl-radius); padding: 1.4rem; position: sticky; top: 90px; }
.afl-account-sidebar__user { display: flex; align-items: center; gap: 0.9rem; padding: 1rem; background: var(--afl-white); border-radius: var(--afl-radius-sm); margin-bottom: 1rem; min-width: 0; }
.afl-account-sidebar__avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--afl-primary); color: var(--afl-on-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.afl-account-sidebar__user > div { min-width: 0; }
.afl-account-sidebar__user strong { display: block; color: var(--afl-dark); }
.afl-account-sidebar__user span { font-size: 0.8rem; color: var(--afl-muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afl-account-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.afl-account-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.7rem; border-radius: var(--afl-radius-sm); color: var(--afl-text); font-weight: 600; font-size: 0.92rem; }
.afl-account-nav a i { width: 34px; height: 34px; border-radius: 50%; background: var(--afl-white); display: inline-flex; align-items: center; justify-content: center; color: var(--afl-dark); font-size: 0.82rem; }
.afl-account-nav a:hover, .afl-account-nav a.active { background: var(--afl-white); color: var(--afl-dark); }
.afl-account-nav a.active i { background: var(--afl-primary); color: var(--afl-on-primary); }
.afl-account-nav__logout { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--afl-line); }
.afl-account-nav__logout a:hover { color: var(--afl-danger); }
.afl-account-nav__logout a:hover i { color: var(--afl-danger); }
.afl-account-title { font-size: 1.7rem; margin: 0; }
.afl-account-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.afl-account-stat { background: var(--afl-light); border-radius: var(--afl-radius); padding: 1.4rem; display: flex; align-items: center; gap: 1rem; height: 100%; }
.afl-account-stat > i { width: 52px; height: 52px; border-radius: 50%; background: var(--afl-white); color: var(--afl-dark); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.afl-account-stat strong { display: block; font-size: 1.5rem; color: var(--afl-dark); font-weight: 800; letter-spacing: -0.03em; }
.afl-account-stat span { font-size: 0.85rem; }
.row > div:first-child > .afl-account-stat { background: var(--afl-primary); }
.row > div:first-child > .afl-account-stat > i { background: var(--afl-dark); color: var(--afl-primary); }
.afl-account-block { background: var(--afl-white); border: 1px solid var(--afl-line); border-radius: var(--afl-radius); padding: 1.9rem; margin-top: 1.5rem; }
.afl-account-block h5 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.afl-orders-list { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.afl-order-card { background: var(--afl-light); border-radius: var(--afl-radius); padding: 1.1rem 1.4rem; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 1rem; transition: var(--afl-transition); border: 1px solid transparent; }
.afl-order-card:hover { background: var(--afl-white); border-color: var(--afl-line); box-shadow: var(--afl-shadow); }
.afl-order-card__info strong { display: block; color: var(--afl-dark); }
.afl-order-card__info span { font-size: 0.82rem; color: var(--afl-muted); }
.afl-order-card__total { font-weight: 800; color: var(--afl-dark); }
.afl-order-card__actions { display: flex; gap: 0.5rem; }
.afl-order-card .btn-sm, .afl-address-card .btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
.afl-address-card { background: var(--afl-light); border: 1px solid transparent; border-radius: var(--afl-radius); padding: 1.6rem; position: relative; height: 100%; transition: var(--afl-transition); }
.afl-address-card:hover { background: var(--afl-white); border-color: var(--afl-line); }
.afl-address-card strong { color: var(--afl-dark); }
.afl-address-card p { font-size: 0.9rem; margin: 0.6rem 0 1rem; line-height: 1.6; }
.afl-address-card__actions { display: flex; gap: 0.5rem; }
.afl-badge-default { position: absolute; top: 1rem; right: 1rem; background: var(--afl-mint); color: var(--afl-dark); font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: var(--afl-radius-pill); }
.afl-btn-danger { background: #FDECEC; color: var(--afl-danger); border: none; border-radius: var(--afl-radius-xs); }
.afl-btn-danger:hover { background: var(--afl-danger); color: var(--afl-white); }
.modal-content { border: none; border-radius: var(--afl-radius-lg); }
.modal-header, .modal-footer { border-color: var(--afl-line); padding: 1.2rem 1.5rem; }
.modal-body { padding: 1.5rem; }
.badge { font-weight: 700; padding: 0.42em 0.8em; border-radius: var(--afl-radius-pill); }
.bg-primary { background-color: var(--afl-primary) !important; color: var(--afl-on-primary) !important; }
.bg-success { background-color: var(--afl-mint) !important; color: var(--afl-dark) !important; }
.bg-warning { background-color: #FFE7A8 !important; color: #7A4A00 !important; }
.bg-info { background-color: #D7E9FF !important; color: #1B4F8F !important; }
.bg-secondary { background-color: var(--afl-light-2) !important; color: var(--afl-text) !important; }
.bg-danger { background-color: #FDDCDD !important; color: #A2272B !important; }
@media (max-width: 991.98px) { .afl-account-sidebar { position: static; } }
@media (max-width: 767.98px) { .afl-order-card { grid-template-columns: 1fr auto; } .afl-order-card__actions { grid-column: 1 / -1; flex-wrap: wrap; } }

/* Mise en page simple d'une page de compte / tunnel */
.afl-page-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 0.4rem; }

/* Variante : contenu légal posé sur une carte blanche (sur fond gris) */
.afl-legal-layout--card .afl-legal-content { border-radius: var(--afl-radius-lg); padding: 2.6rem; }
.afl-legal-layout--card .afl-legal-toc { background: var(--afl-white); }
@media (max-width: 575.98px) { .afl-legal-layout--card .afl-legal-content { padding: 1.5rem 1.2rem; } }

/* ===================== Consentement cookies (bannière + préférences) ===================== */
.afl-cookies__text { flex: 1; min-width: 260px; }
.afl-cookies__text strong { display: flex; align-items: center; gap: 0.5rem; color: var(--afl-white); font-size: 0.98rem; margin-bottom: 0.3rem; }
.afl-cookies__text strong i { color: var(--afl-primary); }
.afl-cookies__text p { margin: 0; font-size: 0.85rem; line-height: 1.55; }
.afl-cookies__actions { flex-wrap: wrap; }
.afl-cookies--bas-gauche { right: auto; max-width: 440px; margin: 0; }
.afl-cookies--bas-gauche .afl-cookies__inner { flex-direction: column; align-items: stretch; }
.afl-cookies--barre { left: 0; right: 0; bottom: 0; max-width: none; border-radius: var(--afl-radius) var(--afl-radius) 0 0; }
.afl-cookies--barre .afl-cookies__inner { max-width: 1200px; margin: 0 auto; }
.afl-consent-panel { position: fixed; inset: 0; z-index: 1200; background: rgba(15, 16, 18, 0.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.afl-consent-panel[hidden] { display: none; }
.afl-consent-panel__box { background: var(--afl-white); border-radius: var(--afl-radius-lg); max-width: 620px; width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: var(--afl-shadow-lg); }
.afl-consent-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--afl-line); }
.afl-consent-panel__head h3 { font-size: 1.15rem; margin: 0; }
.afl-consent-panel__close { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--afl-light); color: var(--afl-dark); }
.afl-consent-panel__close:hover { background: var(--afl-primary); }
.afl-consent-panel__body { padding: 1.3rem 1.5rem; overflow-y: auto; font-size: 0.9rem; }
.afl-consent-panel__body > p { color: var(--afl-muted); }
.afl-consent-cat { background: var(--afl-light); border-radius: var(--afl-radius-sm); padding: 0.95rem 1.1rem; margin-top: 0.75rem; }
.afl-consent-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.afl-consent-cat__head strong { display: block; color: var(--afl-dark); }
.afl-consent-cat__head small { display: block; color: var(--afl-muted); font-size: 0.82rem; margin-top: 0.15rem; }
.afl-consent-cat__tags { margin: 0.6rem 0 0; font-size: 0.78rem; color: var(--afl-muted); }
.afl-consent-switch { position: relative; flex-shrink: 0; cursor: pointer; margin: 0; }
.afl-consent-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.afl-consent-switch span { display: block; width: 48px; height: 28px; border-radius: 14px; background: #D6D9DE; position: relative; transition: background 0.2s ease; }
.afl-consent-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--afl-white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease; }
.afl-consent-switch input:checked + span { background: var(--afl-dark); }
.afl-consent-switch input:checked + span::after { transform: translateX(20px); background: var(--afl-primary); }
.afl-consent-switch input:disabled + span { opacity: 0.55; cursor: not-allowed; }
.afl-consent-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(201, 238, 60, 0.5); }
.afl-consent-panel__foot { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; padding: 1rem 1.5rem; border-top: 1px solid var(--afl-line); }
.afl-consent-panel__foot .btn { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
body.afl-consent-open { overflow: hidden; }
@media (max-width: 575.98px) {
  .afl-cookies__actions { width: 100%; }
  .afl-cookies__actions .btn { flex: 1 1 auto; }
  .afl-consent-panel__foot .btn { flex: 1 1 100%; }
}

/* ===================== Bouton de contact multicanal ===================== */
.afl-contact-hub { position: fixed; z-index: 1060; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.afl-contact-hub--droite { right: 24px; }
.afl-contact-hub--gauche { left: 24px; align-items: flex-start; }
.afl-contact-hub__toggle { width: 58px; height: 58px; border-radius: 50%; border: none; background: var(--afl-dark); color: var(--afl-primary); font-size: 1.4rem; box-shadow: 0 12px 28px rgba(15, 16, 18, 0.3); display: flex; align-items: center; justify-content: center; transition: transform 0.25s ease, background 0.25s ease; }
.afl-contact-hub__toggle:hover { transform: scale(1.06); }
.afl-contact-hub.is-open .afl-contact-hub__toggle { background: var(--afl-primary); color: var(--afl-dark); }
.afl-contact-hub__list { display: none; flex-direction: column; gap: 0.5rem; align-items: inherit; }
.afl-contact-hub.is-open .afl-contact-hub__list { display: flex; animation: afl-hub-in 0.25s ease both; }
.afl-contact-hub__list a { display: inline-flex; align-items: center; gap: 0.65rem; background: var(--afl-white); color: var(--afl-dark); border-radius: 50px; padding: 0.45rem 1rem 0.45rem 0.45rem; font-weight: 700; font-size: 0.88rem; box-shadow: var(--afl-shadow); white-space: nowrap; }
.afl-contact-hub__list a i { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--afl-dark); background: var(--afl-primary); }
.afl-contact-hub__list a .fa-whatsapp { background: #25D366; color: var(--afl-white); }
.afl-contact-hub__list a .fa-facebook-messenger { background: #0084FF; color: var(--afl-white); }
.afl-contact-hub__list a .fa-telegram { background: #229ED9; color: var(--afl-white); }
.afl-contact-hub__list a:hover { background: var(--afl-light); }
.afl-contact-hub__bubble { background: var(--afl-white); color: var(--afl-dark); border-radius: var(--afl-radius) var(--afl-radius) 4px var(--afl-radius); padding: 0.7rem 1rem; font-size: 0.85rem; box-shadow: var(--afl-shadow); max-width: 240px; }
@keyframes afl-hub-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.afl-float-btn--whatsapp.is-left { right: auto; left: 24px; }
.afl-float-btn__label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: var(--afl-white); color: var(--afl-dark); font-size: 0.82rem; font-weight: 700; padding: 0.45rem 0.8rem; border-radius: 10px; box-shadow: var(--afl-shadow); white-space: nowrap; }
.afl-float-btn--whatsapp.is-left .afl-float-btn__label { right: auto; left: calc(100% + 10px); }

/* Lien plein cadre de l'image produit */
.afl-pcard__link { display: block; width: 100%; height: 100%; }

/* Bloc engagement écologique (grande photo de forêt) */
.afl-eco { position: relative; border-radius: var(--afl-radius-lg); overflow: hidden; padding: 4rem 3.5rem; min-height: 560px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: end; background: var(--afl-dark) var(--afl-eco-img) center / cover no-repeat; color: rgba(255, 255, 255, 0.85); }
.afl-eco::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 16, 18, 0.88) 0%, rgba(15, 16, 18, 0.55) 55%, rgba(15, 16, 18, 0.2) 100%); }
.afl-eco > * { position: relative; z-index: 1; }
.afl-eco h2 { color: var(--afl-white); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; margin-bottom: 1rem; max-width: 560px; }
.afl-eco p { max-width: 540px; }
.afl-eco__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.afl-eco__stats > div { border-top: 2px solid var(--afl-primary); padding-top: 0.8rem; }
.afl-eco__stats strong { display: block; color: var(--afl-primary); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.afl-eco__stats span { font-size: 0.82rem; }
.afl-eco__note { display: block; margin-top: 1.2rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); }
.afl-eco__cards { display: grid; gap: 0.7rem; }
.afl-eco__card { display: flex; align-items: center; gap: 0.9rem; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-radius: var(--afl-radius-sm); padding: 0.9rem 1.1rem; color: var(--afl-dark); }
.afl-eco__card i { width: 44px; height: 44px; border-radius: 50%; background: var(--afl-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.afl-eco__card strong { display: block; font-size: 0.95rem; }
.afl-eco__card span { font-size: 0.8rem; color: var(--afl-text); }
@media (max-width: 991.98px) { .afl-eco { grid-template-columns: minmax(0, 1fr); padding: 2.6rem 1.6rem; } }
@media (max-width: 575.98px) { .afl-eco__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; } .afl-eco__stats span { font-size: 0.72rem; } }

/* Ajustements après contrôle visuel */
.afl-catcircle__icon img { opacity: 1; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border-radius: 50%; }
.afl-catcircle__icon:has(img) { padding: 0; }
.afl-catcircle:hover .afl-catcircle__icon img { transform: scale(1.04); }
.afl-catcircle__icon img { transition: transform 0.4s ease; }
.afl-features-wrap--overlap + .afl-section { padding-top: 4rem; }
.afl-pcard__cart { background: var(--afl-dark); color: var(--afl-primary); }
.afl-pcard:hover .afl-pcard__cart, .afl-pcard__cart:hover { background: var(--afl-primary); color: var(--afl-dark); }
.afl-bento { grid-auto-flow: dense; }
.afl-bento__tile--full { grid-column: 1 / -1; min-height: 260px; }
.afl-bento__tile--tall.afl-bento__tile--dark { justify-content: space-between; }
@media (max-width: 767.98px) { .afl-bento__tile--full { grid-column: auto; } }
.afl-quote__stars { margin-bottom: 1.8rem; }
.afl-quote__mark { top: 1.4rem; width: 38px; height: 38px; font-size: 0.9rem; }
.afl-page-hero__box { background: linear-gradient(90deg, rgba(15, 16, 18, 0.78) 0%, rgba(15, 16, 18, 0.45) 55%, rgba(15, 16, 18, 0.1) 100%), linear-gradient(180deg, rgba(15, 16, 18, 0) 35%, rgba(15, 16, 18, 0.6) 100%), var(--afl-hero-img) center / cover no-repeat; }
.afl-newsletter-box small { display: inline-block; background: rgba(15, 16, 18, 0.72); padding: 0.45rem 0.75rem; border-radius: 10px; }
.afl-gallery-strip { padding-bottom: 2.4rem; }
@media (max-width: 991.98px) { .afl-gallery-strip { padding-bottom: 0; } }
@media (max-width: 575.98px) { .container { padding-left: 1.1rem; padding-right: 1.1rem; } }

/* =====================================================================
   Drapeaux
   ===================================================================== */
.afl-flag { display: inline-block; width: 22px; height: 16px; border-radius: 4px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(15, 16, 18, 0.12); vertical-align: -3px; }
.afl-flag--fr { background: linear-gradient(90deg, #002654 0 33.33%, #FFFFFF 33.33% 66.66%, #CE1126 66.66%); }
.afl-flag--lg { width: 54px; height: 38px; border-radius: 8px; }

/* =====================================================================
   Affichage mobile irréprochable (Android & iPhone, toutes tailles)
   ===================================================================== */
/* Pas de grossissement automatique du texte en paysage (iOS / Android) ; zones tactiles nettes */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(201, 238, 60, 0.25); }
/* Aucun défilement horizontal parasite : « clip » ne crée pas de conteneur de défilement (la barre collante reste fonctionnelle) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, video, iframe, svg, canvas { max-width: 100%; }
/* Les longs mots (e-mails, références, liens) ne poussent jamais la mise en page */
p, li, h1, h2, h3, h4, h5, h6, td, th, dd, label, .afl-chip { overflow-wrap: break-word; }
.row > *, .d-flex > *, .afl-split > * { min-width: 0; }

@media (max-width: 991.98px) {
  /* Animations latérales (fade-left / fade-right) : remplacées par un fondu vertical sur mobile,
     elles décalaient la page de 100 px avant leur apparition (cause du « décalage » sur Android). */
  [data-aos="fade-left"]:not(.aos-animate), [data-aos="fade-right"]:not(.aos-animate) { transform: translate3d(0, 28px, 0) !important; }
  [data-aos="zoom-in"]:not(.aos-animate) { transform: scale(0.94) !important; }
  /* iPhone : un champ en dessous de 16 px déclenche un zoom automatique à la saisie */
  input, select, textarea, .form-control, .form-select { font-size: 16px !important; }
  /* Barre d'onglets et boutons flottants au-dessus de la barre système (encoche, geste d'accueil) */
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .afl-float-btn--whatsapp, .afl-contact-hub { bottom: calc(104px + env(safe-area-inset-bottom)) !important; }
  .afl-float-btn--top { bottom: calc(166px + env(safe-area-inset-bottom)); }
  .afl-cookies { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .afl-tabbar { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); padding-bottom: 0.4rem; }
  .afl-toasts { top: max(16px, env(safe-area-inset-top)); right: 12px; left: 12px; max-width: none; }
  /* Sélecteur de langue compact dans la barre mobile */
  .afl-navbar__mobile-actions { gap: 0.4rem !important; }
}
@media (max-width: 575.98px) {
  .container, .container-fluid { padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }
}
@media (max-width: 374.98px) {
  /* Petits écrans (iPhone SE, Galaxy compacts) */
  .afl-navbar__mini-logo img { max-width: 92px; }
  .afl-header__btn--icon { width: 38px; height: 38px; }
  .afl-tabbar a { font-size: 0.62rem; }
  .afl-tabbar a i { width: 34px; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
}
/* Contenus juridiques : les URL et adresses e-mail longues se coupent proprement sur petit écran */
.afl-legal-content a, .afl-legal-content p, .afl-legal-list li { overflow-wrap: anywhere; }
@media (max-width: 374.98px) {
  .afl-steps-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Barre mobile : le logo se réduit au lieu d'être recouvert par les actions (langue, recherche, panier, menu) */
.afl-navbar__left { flex: 1 1 auto; }
.afl-navbar__mobile-actions { flex-shrink: 0; }
.afl-navbar__mini-logo { min-width: 0; flex-shrink: 1; }
.afl-navbar__mini-logo img { max-width: 100%; height: auto; max-height: 32px; object-fit: contain; }
@media (max-width: 575.98px) { .afl-navbar__mini-logo .afl-header__mark { display: none; } }
@media (max-width: 374.98px) {
  /* La recherche reste accessible via le menu et l'onglet « Catalogue » */
  .afl-navbar__mobile-actions > a[href$="/boutique.php"] { display: none; }
  .afl-navbar__mini-logo img { max-width: 110px; }
}
