/* ============================================================
   SNACK NICOLAS — Feuille de style
   ------------------------------------------------------------
   Sommaire :
     1.  Reset + fondations mobile-first (skill html-site-toolkit)
     2.  Tokens de design — clair (vert océan) / sombre (jaune/orange)
     3.  Base typographique & utilitaires
     4.  Boutons
     5.  Header pilule + bottom navbar (skill)
     6.  Hero + décors polynésiens
     7.  Sections & titres
     8.  Cartes : plats / casse-croûtes / boissons / features
     9.  Informations & contact
     10. Footer
     11. Boutons flottants de contact (skill)
     12. Panier (tiroir latéral / feuille mobile)
     13. Modale compte client
     14. Bannière cookies
     15. Bannière d'installation PWA (skill)
     16. Responsive (tablette / mobile)
   ============================================================ */

/* ============================================================
   1. RESET + FONDATIONS MOBILE-FIRST
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  overflow-x: hidden;
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }

input, textarea, select { font-size: 16px; }
a, button, [role="button"] { min-height: 44px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ============================================================
   2. TOKENS DE DESIGN
   ============================================================
   Deux familles de tokens (voir skill html-site-toolkit) :
   - SÉMANTIQUES, qui basculent avec le thème : --bg, --surface,
     --surface-2, --text, --muted, --line, --brand, --brand-dark.
   - FIXES, qui ne basculent JAMAIS : le hero (image + overlay
     sombre + texte blanc) et le footer restent volontairement
     sombres quel que soit le thème, comme sur l'affiche source. */
:root {
  /* --- Thème sombre (par défaut, look de l'affiche) --- */
  --bg:            #111111;
  --surface:       #1e1c19;
  --surface-2:     #252220;
  --text:          #FFFFFF;
  --muted:         #CCCCCC;
  --line:          rgba(245, 180, 0, .22);
  --brand:         #F5B400;   /* jaune */
  --brand-dark:    #F58A00;   /* orange */
  --brand-ink:     #1a1206;   /* texte sur fond --brand */

  /* Couleurs FIXES — jamais redéfinies en clair */
  --fixed-white:   #FFFFFF;
  --fixed-muted:   #CCCCCC;
  --fixed-bg:      #111111;

  --r-card: 22px;
  --r-sm: 14px;
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, .45);
  --glow-brand: 0 12px 40px rgba(245, 180, 0, .28);
  --brand-grad: linear-gradient(135deg, var(--brand), var(--brand-dark));

  /* Header (skill) */
  --header-primary:       var(--brand);
  --header-primary-dark:  var(--brand-dark);
  --header-text:          #f4efe8;
  --header-glass:         rgba(20, 18, 16, .72);
  --header-border:        rgba(245, 180, 0, .28);
  --header-solid:         #1a1815;

  /* Boutons flottants (skill) */
  --fab-primary:      var(--brand);
  --fab-primary-dark: var(--brand-dark);
}

/* --- Thème clair : le jaune devient vert océan (identité tahitienne) --- */
:root[data-theme="light"] {
  --bg:            #F6F1E4;
  --surface:       #FFFFFF;
  --surface-2:     #F0E8D4;
  --text:          #17140F;
  --muted:         #5B5347;
  --line:          rgba(14, 148, 136, .28);
  --brand:         #0E9488;   /* vert océan */
  --brand-dark:    #0B6E66;   /* vert océan foncé */
  --brand-ink:     #FFFFFF;

  --shadow-soft: 0 18px 44px rgba(23, 20, 15, .14);
  --glow-brand: 0 12px 36px rgba(14, 148, 136, .26);

  --header-primary:       var(--brand);
  --header-primary-dark:  var(--brand-dark);
  --header-text:          #17140F;
  --header-glass:         rgba(255, 252, 244, .78);
  --header-border:        rgba(14, 148, 136, .28);
  --header-solid:         #0a3f3a;

  --fab-primary:      var(--brand);
  --fab-primary-dark: var(--brand-dark);
}

/* ============================================================
   3. BASE TYPOGRAPHIQUE
   ============================================================ */
body {
  font-family: "Poppins", system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 82% -8%, rgba(245, 138, 0, .10), transparent 60%),
    radial-gradient(900px 600px at -10% 12%, rgba(245, 180, 0, .07), transparent 55%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}
:root[data-theme="light"] body {
  background-image:
    radial-gradient(1200px 700px at 82% -8%, rgba(14, 148, 136, .10), transparent 60%),
    radial-gradient(900px 600px at -10% 12%, rgba(14, 148, 136, .06), transparent 55%);
}

h1, h2, h3, .display {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
}

.section-lead, .card-text, .feature-text { color: var(--muted); }

.text-grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   4. BOUTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .3px; cursor: pointer; border: none;
  transition: background .25s ease, color .25s ease, box-shadow .3s ease, transform .2s ease;
  will-change: transform;
}
.btn--primary { background: var(--brand-grad); color: var(--brand-ink); box-shadow: var(--glow-brand); }
.btn--primary:hover { box-shadow: 0 16px 50px rgba(245, 180, 0, .5); color: var(--brand-ink); }
:root[data-theme="light"] .btn--primary:hover { box-shadow: 0 16px 46px rgba(14, 148, 136, .4); }
.btn--primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn--ghost {
  background: rgba(127, 127, 127, .08); color: var(--text);
  border: 1.6px solid var(--line);
}
.btn--ghost:hover { border-color: var(--brand); background: rgba(245, 180, 0, .1); }
:root[data-theme="light"] .btn--ghost:hover { background: rgba(14, 148, 136, .1); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ============================================================
   5. HEADER — pilule flottante (skill html-site-toolkit)
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px min(4vw, 32px) 10px;
  transition: padding .35s cubic-bezier(.16, .8, .3, 1);
}
.site-header.is-scrolled { padding: 10px min(4vw, 32px) 10px; }

.site-header-inner {
  width: min(1180px, 100%); margin: 0 auto; min-height: 68px;
  display: flex; align-items: center; gap: 18px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--header-glass);
  border: 1px solid var(--header-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--header-text);
  transition: background .35s cubic-bezier(.16, .8, .3, 1), box-shadow .35s ease,
              min-height .35s ease, color .35s ease;
}
.site-header.is-scrolled .site-header-inner {
  min-height: 58px; background: var(--header-solid);
  border-color: var(--header-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}

.site-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-brand-badge {
  width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 999px; background: transparent; overflow: hidden;
  transition: transform .35s ease;
}
.site-brand-badge img { width: 100%; height: 100%; object-fit: contain; }
.site-header.is-scrolled .site-brand-badge { transform: scale(.92); }
.site-brand-name {
  font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; font-weight: 400;
  letter-spacing: 1.5px; color: inherit; white-space: nowrap;
}
.site-brand-name strong { color: var(--brand); font-weight: 400; }
.site-header.is-scrolled .site-brand-name strong { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.site-nav a { position: relative; padding: 4px 0; font-weight: 600; font-size: .92rem; color: inherit; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 2px; border-radius: 99px; background: var(--brand);
  transition: right .26s cubic-bezier(.16, .8, .3, 1);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-header.is-scrolled .site-nav a[aria-current="page"] { color: #fff; }
.site-header.is-scrolled .site-nav a::after { background: #fff; }

.site-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.site-theme-toggle {
  width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 999px; border: 1.5px solid var(--header-border);
  background: transparent; color: inherit; cursor: pointer; font-size: 1rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.site-theme-toggle:hover { background: rgba(127, 127, 127, .12); border-color: var(--brand); color: var(--brand); }
.site-header.is-scrolled .site-theme-toggle { border-color: rgba(255, 255, 255, .35); color: #fff; }
.site-header.is-scrolled .site-theme-toggle:hover { background: rgba(255, 255, 255, .15); color: #fff; }

.cart-trigger {
  position: relative;
  width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 999px; border: 1.5px solid var(--header-border);
  background: transparent; color: inherit; cursor: pointer; font-size: 1.05rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .2s ease;
}
.cart-trigger:hover { background: rgba(127, 127, 127, .12); border-color: var(--brand); color: var(--brand); }
.site-header.is-scrolled .cart-trigger { border-color: rgba(255, 255, 255, .35); color: #fff; }
.site-header.is-scrolled .cart-trigger:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.cart-badge {
  position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--brand-grad); color: var(--brand-ink);
  font-size: .68rem; font-weight: 800; box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

.site-cta {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 22px;
  border-radius: 999px; background: var(--brand-grad); color: var(--brand-ink);
  font-weight: 700; font-size: .9rem; letter-spacing: .3px; flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(245, 180, 0, .3);
  transition: box-shadow .25s ease, transform .2s ease;
}
.site-cta:hover { box-shadow: 0 12px 28px rgba(245, 180, 0, .5); transform: translateY(-1px); }

.site-bottomnav { display: none; }

/* ============================================================
   6. HERO + DÉCORS POLYNÉSIENS
   ============================================================
   Le hero garde volontairement son image + overlay sombre +
   texte blanc quel que soit le thème du site (couleurs FIXES). */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 90px; overflow: hidden;
  background: var(--fixed-bg);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero.svg") center/cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(17, 17, 17, .55), rgba(17, 17, 17, .9)),
    linear-gradient(to bottom, rgba(17, 17, 17, .6), rgba(17, 17, 17, .96));
}
.hero-deco { position: absolute; z-index: 1; opacity: .85; pointer-events: none; }
.hero-deco--left { top: -10px; left: -30px; width: 190px; transform: scaleX(-1); }
.hero-deco--right { top: -10px; right: -30px; width: 190px; }
.hero-deco--flower { top: 26px; right: 130px; width: 54px; opacity: .9; }
.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(245, 180, 0, .12); border: 1px solid rgba(245, 180, 0, .3);
  color: var(--brand); font-weight: 600; font-size: .85rem; letter-spacing: .5px;
}
.hero-title {
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  color: var(--fixed-white);
  text-shadow: 0 6px 40px rgba(245, 138, 0, .45);
}
.hero-subtitle {
  font-family: "Bebas Neue", sans-serif; font-size: clamp(1.6rem, 5vw, 2.8rem);
  letter-spacing: 3px; margin-top: 6px;
  background: linear-gradient(135deg, #F5B400, #F58A00);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-text {
  color: var(--fixed-muted); font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 560px; margin: 18px auto 34px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid rgba(245, 180, 0, .3);
  background: rgba(255, 255, 255, .05); color: var(--brand); font-size: 1.1rem;
}
.hero-scroll i { transform: rotate(90deg); }

/* Séparateur vague (motif océan) entre le hero et la suite */
.wave-divider {
  height: 60px; margin-top: -1px;
  background: url("../img/wave-divider.svg") center/cover no-repeat;
  background-color: var(--bg);
}

/* Bande tapa (motif tahitien géométrique) en haut de certaines sections */
.tapa-band {
  height: 12px; width: 100%;
  background: url("../img/tapa-band.svg") repeat-x left top;
  background-size: 90px 12px;
  opacity: .8;
}

/* ============================================================
   7. SECTIONS & TITRES
   ============================================================ */
.section { padding: 84px min(6vw, 40px); position: relative; }
.section--alt { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }

.section-kicker {
  display: inline-block; margin-bottom: 12px; padding: 5px 16px;
  border-radius: 999px; background: rgba(245, 180, 0, .12); border: 1px solid var(--line);
  color: var(--brand); font-weight: 600; font-size: .8rem;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.section-title {
  font-size: clamp(2.6rem, 7vw, 4.2rem); color: var(--text); line-height: .95;
}
.section-lead { margin-top: 14px; font-size: 1.05rem; }

.section-banner {
  width: min(1100px, 100%); margin: 0 auto 40px; border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16 / 8;
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; }

.cards { display: grid; gap: 26px; width: min(1180px, 100%); margin: 0 auto; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }

/* ============================================================
   8. CARTES
   ============================================================ */
.card {
  background: var(--surface); border-radius: var(--r-card);
  border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.16, .8, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--glow-brand), var(--shadow-soft); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.16, .8, .3, 1), filter .4s ease;
}
.card:hover .card-media img { transform: scale(1.08); filter: brightness(1.08); }
.card-badge {
  position: absolute; top: 14px; right: 14px;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 999px; background: var(--brand-grad); color: var(--brand-ink);
  font-size: 1.1rem; box-shadow: var(--glow-brand);
}
.card-body { padding: 22px 22px 26px; }
.card-title { font-size: 1.9rem; letter-spacing: 1px; margin-bottom: 8px; color: var(--text); }
.card-text { font-size: .95rem; margin-bottom: 10px; }
.card-price {
  font-family: "Bebas Neue", sans-serif; font-size: 1.3rem; letter-spacing: 1px;
  color: var(--brand); margin-bottom: 14px;
}

/* --- Casse-croûtes : image + icône ---- */
.snack-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 22px 18px 26px; background: var(--surface); border-radius: var(--r-card);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.16, .8, .3, 1), box-shadow .35s ease;
}
.snack-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--glow-brand), var(--shadow-soft); }
.snack-media {
  position: relative; width: 100px; height: 100px; border-radius: 999px; overflow: hidden;
  border: 3px solid var(--line); margin-bottom: 4px;
}
.snack-media img { width: 100%; height: 100%; object-fit: cover; }
.snack-icon {
  position: absolute; bottom: -4px; right: -4px;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px;
  background: var(--brand-grad); color: var(--brand-ink); font-size: .95rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.snack-title { font-size: 1.25rem; letter-spacing: .8px; color: var(--text); }
.snack-price { font-family: "Bebas Neue", sans-serif; font-size: 1.1rem; color: var(--brand); letter-spacing: .5px; }

/* --- Boissons --- */
.drink-card {
  padding: 28px 24px; background: var(--surface); border-radius: var(--r-card);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.16, .8, .3, 1), box-shadow .35s ease;
}
.drink-card:hover { transform: translateY(-6px); box-shadow: var(--glow-brand), var(--shadow-soft); }
.drink-icon {
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px;
  background: rgba(245, 180, 0, .12); border: 1px solid var(--line);
  color: var(--brand); font-size: 1.5rem; margin-bottom: 16px;
}
.drink-title {
  font-size: 1.5rem; letter-spacing: .8px; color: var(--text);
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.drink-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  color: var(--muted); font-weight: 500; font-size: .95rem;
}
.dot { width: 12px; height: 12px; border-radius: 999px; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(127, 127, 127, .08); }
.dot--blue { background: #2f80ed; } .dot--yellow { background: #F5B400; }
.dot--green { background: #27ae60; } .dot--red { background: #eb3b3b; }
.dot--orange { background: #F58A00; } .dot--water { background: #7fd8ff; }
.drink-name { flex: 1; }
.drink-price { font-weight: 700; color: var(--text); font-size: .85rem; }
.drink-add {
  width: 30px; height: 30px; min-height: 0; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  color: var(--brand); cursor: pointer; font-size: .8rem;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.drink-add:hover { background: var(--brand-grad); color: var(--brand-ink); transform: scale(1.08); }

/* --- Pourquoi nous / contact --- */
.feature-card, .contact-card {
  text-align: center; padding: 34px 22px; background: var(--surface);
  border-radius: var(--r-card); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.16, .8, .3, 1), box-shadow .35s ease;
}
.feature-card:hover, .contact-card:hover { transform: translateY(-6px); box-shadow: var(--glow-brand), var(--shadow-soft); }
.feature-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 999px; background: var(--brand-grad); color: var(--brand-ink); font-size: 1.7rem;
  box-shadow: var(--glow-brand);
}
.feature-title { font-size: 1.5rem; letter-spacing: .8px; margin-bottom: 8px; color: var(--text); }
.feature-text { font-size: .95rem; }

/* ============================================================
   9. INFORMATIONS & CONTACT
   ============================================================ */
.info-panel {
  width: min(1080px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; padding: 44px; box-shadow: var(--shadow-soft);
}
.info-text .section-title { text-align: left; margin-top: 4px; }
.info-list { margin: 24px 0 30px; }
.info-list li {
  display: flex; align-items: flex-start; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: var(--muted);
}
.info-list li:last-child { border-bottom: none; }
.info-list i {
  flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(245, 180, 0, .12); border: 1px solid var(--line);
  color: var(--brand); font-size: 1.1rem;
}
.info-list strong { color: var(--text); font-weight: 700; }
.info-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.info-media {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px;
  background: var(--brand-grad), url("../img/tapa-band.svg");
  background: var(--brand-grad);
  color: var(--brand-ink); font-size: 5rem;
  box-shadow: var(--glow-brand);
  position: relative; overflow: hidden;
}
.info-media::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/tapa-band.svg") repeat-x center; background-size: 70px 10px;
  opacity: .25; mix-blend-mode: overlay;
}

/* Contact */
.contact-card .feature-icon { margin-bottom: 16px; }
.contact-big {
  font-family: "Bebas Neue", sans-serif; font-size: 2.2rem; letter-spacing: 1.5px;
  color: var(--brand); margin: 6px 0 20px; line-height: 1.05;
}
.contact-big span { font-size: 1.3rem; color: var(--muted); letter-spacing: .8px; }

/* ============================================================
   10. FOOTER — reste volontairement sombre, quel que soit le thème
   ============================================================ */
.site-footer {
  background: var(--fixed-bg); border-top: 1px solid rgba(245, 180, 0, .18);
  padding: 0 min(6vw, 40px) 30px;
}
.site-footer .tapa-band { margin: 0 calc(-1 * min(6vw, 40px)) 42px; opacity: .5; }
.footer-inner {
  width: min(1080px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { font-family: "Bebas Neue", sans-serif; font-size: 1.7rem; letter-spacing: 1.5px; color: var(--fixed-white); }
.footer-name strong { color: #F5B400; font-weight: 400; }
.footer-col h4 {
  font-family: "Poppins", sans-serif; font-size: .8rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: #F5B400; margin-bottom: 10px; font-weight: 700;
}
.footer-col p { color: var(--fixed-muted); font-size: .95rem; }
.footer-col a:hover { color: #F5B400; }
.footer-copy {
  width: min(1080px, 100%); margin: 36px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #8c857c; font-size: .82rem; text-align: center;
}

/* ============================================================
   11. BOUTONS FLOTTANTS DE CONTACT (skill html-site-toolkit)
   ============================================================ */
.contact-fabs {
  position: fixed; right: 20px; bottom: 20px; z-index: 1150;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 14px;
  transition: bottom .3s ease;
}
.fab {
  position: relative; display: inline-flex; align-items: center; gap: 0;
  height: 60px; padding: 0; border-radius: 999px; overflow: hidden; text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .22);
  transition: box-shadow .3s ease, transform .2s ease, opacity .25s ease;
}
.fab-icon {
  width: 34px; margin: 0 13px; flex-shrink: 0; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
}
.fab--call .fab-icon { color: var(--brand-ink); }
.fab-icon svg { width: 100%; height: 100%; display: block; }
.fab-label {
  max-width: 0; white-space: nowrap; font-weight: 700; font-size: 15px; color: var(--brand-ink);
  opacity: 0; overflow: hidden; position: relative; z-index: 1;
  transition: max-width .34s cubic-bezier(.16, .8, .3, 1), opacity .26s ease, margin .34s ease;
}
.fab:hover .fab-label, .fab:focus-visible .fab-label { max-width: 220px; opacity: 1; margin-right: 20px; }
.fab:hover .fab-icon, .fab:focus-visible .fab-icon { margin-right: 6px; }
.fab:focus-visible { outline: none; }
.fab-pulse { position: absolute; inset: 0; border-radius: 999px; z-index: 0; animation: fabPulse 2.4s ease-out infinite; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

.fab--call { background: var(--brand-grad); }
.fab--call .fab-pulse { background: var(--fab-primary); }
.fab--call:hover, .fab--call:focus-visible { box-shadow: 0 16px 38px rgba(245, 180, 0, .45), 0 6px 14px rgba(0, 0, 0, .3); }
.fab--whatsapp { background: #25d366; }
.fab--whatsapp .fab-icon, .fab--whatsapp .fab-label { color: #fff; }
.fab--whatsapp .fab-pulse { background: #25d366; }

@media (prefers-reduced-motion: reduce) { .fab-pulse { display: none; } }

/* ============================================================
   12. PANIER — tiroir latéral (desktop) / feuille bas (mobile)
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.cart-overlay.is-visible { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1301;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.16, .8, .3, 1);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.cart-drawer-head h2 { font-size: 1.6rem; letter-spacing: .8px; display: flex; align-items: center; gap: 10px; color: var(--text); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { color: var(--muted); font-size: .92rem; text-align: center; padding: 30px 10px; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line);
}
.cart-line-img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg); }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-weight: 700; font-size: .92rem; color: var(--text); }
.cart-line-price { font-size: .82rem; color: var(--muted); }
.cart-line-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty-btn {
  width: 28px; height: 28px; min-height: 0; border-radius: 999px; border: 1.5px solid var(--line);
  background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer;
  font-size: .75rem; transition: background .2s ease, color .2s ease;
}
.cart-qty-btn:hover { background: var(--brand-grad); color: var(--brand-ink); border-color: transparent; }
.cart-qty-val { min-width: 18px; text-align: center; font-weight: 700; font-size: .88rem; color: var(--text); }
.cart-line-remove {
  min-height: 0; width: 30px; height: 30px; border-radius: 999px; border: none; background: transparent;
  color: var(--muted); cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
  transition: color .2s ease, background .2s ease;
}
.cart-line-remove:hover { color: #eb3b3b; background: rgba(235, 59, 59, .12); }

.cart-drawer-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); flex-shrink: 0; }
.cart-total-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; font-size: 1rem; color: var(--text);
}
.cart-total-row strong { font-family: "Bebas Neue", sans-serif; font-size: 1.7rem; color: var(--brand); letter-spacing: 1px; }
.cart-checkout { width: 100%; }
.cart-note { margin-top: 10px; font-size: .76rem; color: var(--muted); text-align: center; line-height: 1.4; }

/* ============================================================
   13. MODALE COMPTE CLIENT
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal-overlay.is-visible { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed; top: 50%; left: 50%; z-index: 1401;
  width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 48px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 34px 30px; box-shadow: var(--shadow-soft);
  transform: translate(-50%, -48%) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.16, .8, .3, 1), opacity .3s ease;
}
.modal.is-visible { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }

.modal-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; min-height: 0;
  border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: rgba(235, 59, 59, .12); color: #eb3b3b; }

.account-modal h2 { font-size: 1.9rem; letter-spacing: .8px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.modal-sub { color: var(--muted); font-size: .92rem; margin: 8px 0 22px; }

.account-form { display: flex; flex-direction: column; gap: 16px; }
.account-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--text); }
.account-form input, .account-form textarea {
  font-family: "Poppins", sans-serif; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text);
  resize: vertical; transition: border-color .2s ease;
}
.account-form input:focus, .account-form textarea:focus { border-color: var(--brand); outline: none; }
.account-form .btn { margin-top: 6px; width: 100%; }

/* ============================================================
   14. BANNIÈRE COOKIES / STOCKAGE LOCAL
   ============================================================ */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1250;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  width: min(640px, calc(100% - 40px)); margin: 0 auto;
  padding: 18px 20px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transform: translateY(160%); transition: transform .42s cubic-bezier(.16, .8, .3, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { flex: 1; min-width: 220px; font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   15. BANNIÈRE D'INSTALLATION PWA (skill html-site-toolkit)
   ============================================================ */
.pwa-install {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1200;
  display: flex; justify-content: center;
  transform: translateY(160%);
  transition: transform .42s cubic-bezier(.16, .8, .3, 1);
  pointer-events: none;
}
.pwa-install.is-visible { transform: translateY(0); pointer-events: auto; }
.pwa-install-inner {
  display: flex; align-items: center; gap: 16px;
  width: min(540px, 100%); padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.pwa-install-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; }
.pwa-install-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pwa-install-body strong { font-size: 16px; color: var(--text); }
.pwa-install-body span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.pwa-install-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.pwa-install-go {
  min-height: 42px; padding: 0 20px; border: none; border-radius: 10px; cursor: pointer;
  background: var(--fab-primary); color: var(--brand-ink); font: inherit; font-weight: 700; white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.pwa-install-go:hover { background: var(--fab-primary-dark); transform: translateY(-1px); }
.pwa-install-close {
  display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.pwa-install-close:hover { background: rgba(127, 127, 127, .12); color: var(--text); }
@media (max-width: 640px) {
  .pwa-install { left: 12px; right: 12px; bottom: 12px; }
  .pwa-install-body span { font-size: 12px; }
}
@media (max-width: 900px) {
  .pwa-install { bottom: calc(70px + env(safe-area-inset-bottom) + 12px); }
  .cookie-banner { bottom: calc(70px + env(safe-area-inset-bottom) + 12px); }
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards--3, .cards--4, .cards--5 { grid-template-columns: repeat(2, 1fr); }
  .info-panel { grid-template-columns: 1fr; }
  .info-media { max-height: 220px; }
}

@media (max-width: 900px) {
  .site-header { padding: 10px 12px 8px; }
  .site-header-inner { min-height: 58px; gap: 10px; padding: 6px 12px; }
  .site-nav, .site-cta { display: none; }
  .site-header-actions { margin-left: auto; }
  .site-brand-name { font-size: 1.3rem; }

  .site-bottomnav {
    display: flex; align-items: stretch; justify-content: space-around;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    background: var(--header-glass);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--header-border);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .35);
  }
  .site-tab {
    flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 4px 2px; color: var(--header-text); opacity: .65;
    font-size: .62rem; font-weight: 700; text-align: center;
    transition: color .18s ease, opacity .18s ease;
  }
  .site-tab i { font-size: 1.15rem; transition: transform .2s ease; }
  .site-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .2px; }
  .site-tab:hover, .site-tab[aria-current="page"] { color: var(--brand); opacity: 1; }
  .site-tab[aria-current="page"] i { transform: translateY(-2px); }

  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

  .contact-fabs { right: 16px; bottom: calc(70px + env(safe-area-inset-bottom) + 12px); }
  .fab { height: 56px; }
  .fab:hover .fab-label, .fab:focus-visible .fab-label { max-width: 0; opacity: 0; margin-right: 0; }
  .fab:hover .fab-icon, .fab:focus-visible .fab-icon { margin-right: 13px; }

  .cart-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 82svh; border-left: none; border-top: 1px solid var(--line); border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .cart-drawer.is-open { transform: translateY(0); }
}

@media (max-width: 640px) {
  .cards--2, .cards--3, .cards--4, .cards--5 { grid-template-columns: 1fr; }
  .section { padding: 60px 18px; }
  .info-panel { padding: 28px 22px; }
  .info-actions .btn, .hero-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-brand { justify-content: center; }
  .hero-deco--left, .hero-deco--right { width: 110px; }
  .hero-deco--flower { width: 38px; right: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .modal, .cookie-banner, .pwa-install, .cart-overlay, .modal-overlay { transition: none; }
}
