/*
 * Food Agent — feuille de style de la page publique.
 *
 * Structure inspirée des landing pages d'application (hero en dégradé,
 * fonctionnalités autour d'un téléphone, étapes, sections alternées), dans
 * la palette du produit : vert #0ea053, crème #fcfaf3, encre #0d1f16
 * (mobile/src/theme/colors.ts). Titres en Poppins, texte en Nunito, la
 * police de l'application.
 *
 * Les écrans dessinés dans les téléphones restent en thème clair quel que
 * soit le thème de la page : ce sont des captures, pas de l'interface.
 */

@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('fonts/nunito-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('fonts/nunito-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('fonts/nunito-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('fonts/nunito-800.woff2') format('woff2'); }

:root {
  --vert: #0ea053;
  --vert-fonce: #0b7f42;
  --vert-profond: #06572d;
  --creme: #fcfaf3;
  --ambre: #f29520;
  --rouge: #e62b34;

  --degrade: linear-gradient(135deg, #06572d 0%, #0b8f4a 48%, #25b86c 100%);
  --degrade-bouton: linear-gradient(135deg, #12b05d 0%, #0b7f42 100%);

  --fond: #ffffff;
  --surface: #ffffff;
  --teinte: #f2f8f0;
  --encre: #0d1f16;
  --doux: #55635a;
  --bord: #e2e9e2;
  --disque: #dff6de;
  --disque-ambre: #fff1df;
  --ombre: 0 24px 60px -24px rgba(6, 60, 32, 0.28);

  --titres: 'Poppins', system-ui, sans-serif;
  --texte: 'Nunito', system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --fond: #0a140f;
    --surface: #122119;
    --teinte: #0f1c15;
    --encre: #f4f2ea;
    --doux: #a3aea5;
    --bord: #26342c;
    --disque: #183b23;
    --disque-ambre: #3a2a12;
    --ombre: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --fond: #0a140f;
  --surface: #122119;
  --teinte: #0f1c15;
  --encre: #f4f2ea;
  --doux: #a3aea5;
  --bord: #26342c;
  --disque: #183b23;
  --disque-ambre: #3a2a12;
  --ombre: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--titres); margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.rien {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--encre); color: var(--fond); padding: 10px 16px; border-radius: 10px;
}
.evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid #ffc857; outline-offset: 3px; border-radius: 6px; }

.conteneur { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.conteneur--etroit { max-width: 820px; }

/* ── Boutons ──────────────────────────────────────────────────────── */

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px;
  background: var(--degrade-bouton); color: #fff;
  font-family: var(--titres); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(11, 127, 66, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.bouton:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 30px -12px rgba(11, 127, 66, 0.75); }
.bouton--petit { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }

/* ── Logo ─────────────────────────────────────────────────────────── */

.logo {
  --logo-fond: var(--vert); --logo-feuille: var(--creme);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--titres); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em;
  text-decoration: none; color: var(--encre);
}
.logo__marque { width: 34px; height: 34px; }
.logo__fond { fill: var(--logo-fond); }
.logo__feuille { fill: var(--logo-feuille); }
.logo__nervure { stroke: var(--logo-fond); stroke-width: 2; stroke-linecap: round; fill: none; }

/* ── En-tête ──────────────────────────────────────────────────────── */

.entete {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.entete__interieur { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.entete .logo { --logo-fond: #fff; --logo-feuille: var(--vert); color: #fff; }

.menu { display: flex; align-items: center; gap: 34px; }
.menu a:not(.bouton) {
  color: #fff; text-decoration: none; font-family: var(--titres); font-weight: 600; font-size: 0.95rem;
  opacity: 0.92; transition: opacity 0.2s;
}
.menu a:not(.bouton):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.entete .menu__cta { background: #fff; color: var(--vert-fonce); box-shadow: none; }

.entete--defile, .entete--ouvert { background: var(--surface); box-shadow: 0 1px 0 var(--bord), 0 10px 30px -20px rgba(0, 0, 0, 0.3); }
.entete--defile .logo, .entete--ouvert .logo { --logo-fond: var(--vert); --logo-feuille: var(--creme); color: var(--encre); }
.entete--defile .menu a:not(.bouton), .entete--ouvert .menu a:not(.bouton) { color: var(--encre); }
.entete--defile .menu__cta, .entete--ouvert .menu__cta { background: var(--degrade-bouton); color: #fff; }

.burger {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, 0.16); cursor: pointer; position: relative;
}
.burger__barre { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s, top 0.25s; }
.burger__barre:nth-of-type(2) { top: 18px; }
.burger__barre:nth-of-type(3) { top: 26px; }
.entete--defile .burger, .entete--ouvert .burger { background: var(--teinte); }
.entete--defile .burger__barre, .entete--ouvert .burger__barre { background: var(--encre); }
.burger[aria-expanded='true'] .burger__barre:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded='true'] .burger__barre:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--degrade);
  padding: 150px 0 190px;
}
.hero__halo { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.hero__halo--a { width: 620px; height: 620px; right: -160px; top: -180px; background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%); }
.hero__halo--b { width: 520px; height: 520px; left: -200px; bottom: -140px; background: radial-gradient(circle, rgba(255, 214, 120, 0.16), transparent 65%); }

.hero__grille { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.pastille-lancement {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; margin-bottom: 26px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--titres); font-weight: 600; font-size: 0.85rem;
}
.pastille-lancement__point { width: 8px; height: 8px; border-radius: 50%; background: #ffd36b; box-shadow: 0 0 0 0 rgba(255, 211, 107, 0.7); animation: pouls 2.2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 10px rgba(255, 211, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 211, 107, 0); } }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 12ch; }
.hero__chapo { margin-top: 22px; font-size: 1.15rem; max-width: 34rem; color: rgba(255, 255, 255, 0.9); }

.inscription { margin-top: 34px; max-width: 34rem; }
.inscription__ligne {
  display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: #fff;
  box-shadow: 0 20px 40px -18px rgba(0, 40, 20, 0.5);
}
.inscription__champ {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: 12px;
  background: transparent; color: #0d1f16; font: 600 1rem var(--texte);
}
.inscription__champ::placeholder { color: #7a867e; }
.inscription__champ:focus { outline: none; }
.inscription__ligne:focus-within { box-shadow: 0 0 0 3px #ffc857, 0 20px 40px -18px rgba(0, 40, 20, 0.5); }
.inscription__note { margin-top: 12px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
.inscription__note a { color: #fff; }
.inscription--envoyee .inscription__ligne { display: none; }
.inscription--envoyee .inscription__note {
  margin: 0; padding: 16px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 700; font-size: 1rem;
}

/* Le visuel du hero */
.hero__visuel { position: relative; display: flex; justify-content: center; min-height: 600px; }
.telephone--hero { animation: flotte 7s ease-in-out infinite; }
.notif--hero { position: absolute; z-index: 3; top: 64px; left: 50%; width: 330px; margin-left: -165px; animation: flotte 6s ease-in-out infinite reverse; }
.carte-flottante {
  position: absolute; z-index: 3; bottom: 14%; right: -10px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: #fff; color: #0d1f16; box-shadow: var(--ombre);
  animation: flotte 8s ease-in-out infinite;
}
.carte-flottante__emoji { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff1df; font-size: 1.6rem; }
.carte-flottante strong { display: block; font-family: var(--titres); font-weight: 600; font-size: 0.95rem; }
.carte-flottante small { display: block; font-size: 0.8rem; color: #55635a; font-weight: 600; }
@keyframes flotte { 50% { transform: translateY(-12px); } }

.hero__coupe { position: absolute; left: 0; bottom: -1px; width: 100%; height: 130px; }
.hero__coupe path { fill: var(--fond); }

/* ── Téléphone et écrans ──────────────────────────────────────────── */

.telephone {
  --l: 290px;
  position: relative; z-index: 1; flex: none;
  width: var(--l); height: calc(var(--l) * 2.06);
  padding: 11px; border-radius: 48px;
  background: #0c100e;
  box-shadow: inset 0 0 0 2px #2a312d, 0 40px 80px -30px rgba(0, 30, 15, 0.55);
}
.telephone::before {
  content: ''; position: absolute; z-index: 2; top: 21px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 25px; border-radius: 20px; background: #0c100e;
}

.ecran {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 38px; background: #fcfaf3; color: #0d1f16;
  font-family: var(--texte); font-size: 12px; line-height: 1.35; text-align: left;
}
.ecran__statut { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 26px 0; font-weight: 800; font-size: 13px; }
.ecran__statut--clair { color: #fff; }
.ecran__reseau { display: inline-flex; align-items: flex-end; gap: 2px; }
.ecran__reseau i { width: 3px; border-radius: 1px; background: currentColor; }
.ecran__reseau i:nth-child(1) { height: 5px; }
.ecran__reseau i:nth-child(2) { height: 8px; }
.ecran__reseau i:nth-child(3) { height: 11px; }

.ecran__entete { padding: 8px 18px 12px; }
.ecran__surtitre { color: #5c675d; font-weight: 700; font-size: 11px; }
.ecran__titre { font-weight: 800; font-size: 23px; letter-spacing: -0.01em; }

.compteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 16px; }
.compteur { padding: 9px 10px; border-radius: 14px; background: #fff; border: 1px solid #dfe7df; }
.compteur b { display: block; font-size: 20px; font-weight: 800; }
.compteur span { color: #5c675d; font-size: 10.5px; font-weight: 700; }
.compteur--perime b { color: #e62b34; }
.compteur--bientot b { color: #e08510; }

.aliments { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; }
.aliment { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 14px; background: #fff; border: 1px solid #dfe7df; }
.aliment__emoji { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: #f3f2eb; font-size: 18px; }
.aliment__nom { flex: 1; min-width: 0; font-weight: 800; font-size: 12.5px; }
.aliment__nom small { display: block; color: #5c675d; font-weight: 600; font-size: 10.5px; }
.etat { flex: none; padding: 4px 7px; border-radius: 999px; font-weight: 800; font-size: 9.5px; white-space: nowrap; }
.etat--perime { background: #fde7e8; color: #c11620; }
.etat--bientot { background: #fff0dc; color: #9a5400; }
.etat--frais { background: #dff6de; color: #08743b; }

.onglets { display: flex; justify-content: space-around; align-items: center; margin-top: auto; padding: 8px 8px 20px; background: #fff; border-top: 1px solid #dfe7df; }
.onglet { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #5c675d; font-weight: 700; font-size: 9.5px; }
.onglet i { width: 18px; height: 18px; border-radius: 6px; background: #dfe7df; }
.onglet--actif { color: #0ea053; }
.onglet--actif i { background: #0ea053; }
.onglet--plus { display: grid; place-items: center; width: 42px; height: 42px; margin-top: -16px; border-radius: 14px; background: #0ea053; color: #fff; font-size: 24px; font-weight: 600; box-shadow: 0 8px 16px -6px rgba(14, 160, 83, 0.6); }

/* Notification */
.notif {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: 20px; background: rgba(255, 255, 255, 0.95); color: #0d1f16;
  box-shadow: 0 20px 40px -18px rgba(0, 30, 15, 0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--texte); text-align: left;
}
.notif__icone { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #0ea053; }
.notif__icone svg { width: 24px; height: 24px; fill: #fefcf4; }
.notif__texte { flex: 1; min-width: 0; }
.notif__app { display: flex; justify-content: space-between; color: #5c675d; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.notif__app em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; }
.notif strong { display: block; font-weight: 800; font-size: 13.5px; }

/* Écran de scan */
.ecran--scan { background: #101512; }
.viseur { position: relative; width: 200px; height: 160px; margin: 46px auto 0; }
.viseur__coin { position: absolute; width: 30px; height: 30px; border: 4px solid #2fd47a; }
.viseur__coin--a { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.viseur__coin--b { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.viseur__coin--c { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.viseur__coin--d { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.viseur__codebarre {
  position: absolute; inset: 38px 30px; border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 7px, transparent 7px 9px, #111 9px 10px, transparent 10px 13px) 10px 10px / calc(100% - 20px) calc(100% - 20px) no-repeat,
    #fff;
}
.viseur__laser { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; border-radius: 2px; background: #2fd47a; box-shadow: 0 0 12px 2px rgba(47, 212, 122, 0.8); animation: laser 2.4s ease-in-out infinite; }
@keyframes laser { 0%, 100% { transform: translateY(-46px); } 50% { transform: translateY(46px); } }

.feuille { margin-top: auto; padding: 18px 18px 22px; border-radius: 26px 26px 0 0; background: #fcfaf3; }
.feuille__etiquette { color: #0ea053; font-weight: 800; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.feuille__produit { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; font-weight: 800; font-size: 16px; }
.feuille__produit small { color: #5c675d; font-weight: 600; font-size: 12px; }
.feuille__champs { display: grid; gap: 6px; margin: 0; }
.feuille__champs div { display: flex; justify-content: space-between; padding: 8px 11px; border-radius: 11px; background: #fff; border: 1px solid #dfe7df; }
.feuille__champs dt { color: #5c675d; font-weight: 600; font-size: 11px; }
.feuille__champs dd { margin: 0; font-weight: 800; font-size: 11.5px; }
.feuille__bouton { display: block; margin-top: 12px; padding: 11px; border-radius: 12px; background: #0ea053; color: #fff; text-align: center; font-weight: 800; font-size: 13px; }

/* Écran verrouillé */
.ecran--verrou { background: linear-gradient(165deg, #0f7a43 0%, #0a3d24 55%, #0b1a12 100%); }
.verrou__date { margin-top: 30px; color: rgba(255, 255, 255, 0.85); text-align: center; font-weight: 700; font-size: 14px; }
.verrou__heure { margin-bottom: 26px; color: #fff; text-align: center; font-family: var(--titres); font-weight: 600; font-size: 66px; line-height: 1.05; letter-spacing: -0.02em; }
.notif--verrou { margin: 0 12px 8px; background: rgba(255, 255, 255, 0.86); box-shadow: none; }

/* Écran de recette */
.recette__photo { display: grid; place-items: center; height: 200px; margin-top: -46px; padding-top: 30px; background: linear-gradient(135deg, #ffe9c9, #ffc98a); font-size: 92px; }
.ecran--recette .ecran__statut { position: relative; z-index: 1; color: #0d1f16; }
.recette__corps { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 22px; }
.recette__titre { font-family: var(--titres); font-weight: 600; font-size: 19px; line-height: 1.2; }
.recette__meta { display: flex; gap: 6px; margin-top: 8px; }
.recette__meta span { padding: 4px 9px; border-radius: 999px; background: #f0efe7; font-weight: 700; font-size: 10.5px; }
.recette__etiquette { margin: 16px 0 7px; color: #5c675d; font-weight: 800; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.recette__puces { display: flex; flex-wrap: wrap; gap: 6px; }
.puce { padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid #dfe7df; font-weight: 700; font-size: 11px; }
.puce--bientot { background: #fff0dc; border-color: #fff0dc; color: #9a5400; }
.recette__corps .feuille__bouton { margin-top: auto; }

/* ── Sections ─────────────────────────────────────────────────────── */

.section { position: relative; padding: 110px 0; }
.section--teinte { background: var(--teinte); }
.section--degrade { background: var(--degrade); color: #fff; overflow: hidden; }

.titre-section { max-width: 740px; margin: 0 auto 64px; text-align: center; }
.surtitre { margin-bottom: 12px; color: var(--vert); font-family: var(--titres); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; }
.titre-section h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.titre-section h2::after { content: ''; display: block; width: 56px; height: 4px; margin: 22px auto 0; border-radius: 4px; background: var(--degrade-bouton); }
.titre-section > p:last-child:not(.surtitre) { margin-top: 20px; color: var(--doux); font-size: 1.1rem; }
.titre-section--clair .surtitre { color: #c9f5d9; }
.titre-section--clair h2::after { background: #fff; }

/* Fonctionnalités */
.atouts { display: grid; grid-template-columns: 1fr auto 1fr; gap: 56px; align-items: center; }
.atouts__colonne { display: flex; flex-direction: column; gap: 46px; }
.atout h3 { margin: 18px 0 8px; font-weight: 600; font-size: 1.2rem; }
.atout p { color: var(--doux); }
.atout__icone { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; }
.atout__icone svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atout__icone--vert { background: #dff6de; color: #08743b; }
.atout__icone--bleu { background: #e1edff; color: #2563eb; }
.atout__icone--ambre { background: #fff0dc; color: #c26a00; }
.atout__icone--rouge { background: #fde7e8; color: #d0202a; }
.atout__icone--violet { background: #ece7ff; color: #6845f0; }
.atouts__visuel { display: flex; justify-content: center; }
.atouts__visuel .telephone { --l: 270px; }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: etape; }
.etape {
  position: relative; padding: 36px 32px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.etape__numero { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--vert-fonce); font-family: var(--titres); font-weight: 700; font-size: 1.35rem; }
.etape h3 { margin: 22px 0 10px; font-weight: 600; font-size: 1.25rem; }
.etape p { color: rgba(255, 255, 255, 0.86); }

/* Sections en duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.duo__visuel { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.disque { position: absolute; width: min(460px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--disque); }
.disque--ambre { background: var(--disque-ambre); }
.duo__texte h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.duo__texte > p:not(.surtitre) { margin-top: 20px; color: var(--doux); font-size: 1.1rem; }

.coches { display: grid; gap: 14px; margin-top: 28px; }
.coches li { position: relative; padding-left: 36px; font-weight: 600; }
.coches li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: #dff6de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.chiffre { padding: 40px 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--bord); text-align: center; box-shadow: var(--ombre); }
.chiffre__valeur { font-family: var(--titres); font-weight: 700; font-size: 3.6rem; line-height: 1; letter-spacing: -0.03em; color: var(--vert); }
.chiffre__valeur span { font-size: 1.5rem; letter-spacing: 0; }
.chiffre p:last-child { margin-top: 14px; color: var(--doux); }
.source { max-width: 720px; margin: 30px auto 0; text-align: center; color: var(--doux); font-size: 0.85rem; }

/* Tarif */
.offres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
.offre { padding: 42px 40px; border-radius: 28px; background: var(--surface); border: 1px solid var(--bord); box-shadow: var(--ombre); }
.offre__nom { font-family: var(--titres); font-weight: 600; font-size: 1.15rem; }
.offre__prix { margin-top: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--bord); font-family: var(--titres); font-weight: 700; font-size: 3.2rem; line-height: 1; letter-spacing: -0.03em; }
.offre__prix span { display: block; margin-top: 10px; color: var(--doux); font-family: var(--texte); font-weight: 600; font-size: 0.95rem; letter-spacing: 0; }
.offre--vedette { background: var(--degrade); border-color: transparent; color: #fff; }
.offre--vedette .offre__prix { border-color: rgba(255, 255, 255, 0.25); }
.offre--vedette .offre__prix span, .offre__note { color: rgba(255, 255, 255, 0.82); }
.offre--vedette .coches li::before { background-color: rgba(255, 255, 255, 0.92); }
.offre__note { margin-top: 22px; font-size: 0.9rem; }

/* Questions */
.faq { border-top: 1px solid var(--bord); }
.faq details { border-bottom: 1px solid var(--bord); }
.faq summary {
  position: relative; padding: 24px 48px 24px 0; cursor: pointer; list-style: none;
  font-family: var(--titres); font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--teinte) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea053' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--doux); max-width: 64ch; }

/* Liste d'attente */
.section--fin { padding-top: 40px; }
.fin {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
  padding: 70px 64px; border-radius: 34px; color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.16), transparent 45%), linear-gradient(135deg, #073f23 0%, #0b7f42 60%, #12a95c 100%);
}
.fin h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.fin__texte > p { margin-top: 16px; color: rgba(255, 255, 255, 0.86); font-size: 1.1rem; max-width: 34rem; }
.inscription--fin { margin-top: 28px; }
.magasins { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.magasin {
  display: inline-flex; align-items: center; gap: 14px; min-width: 230px; padding: 13px 22px;
  border-radius: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--titres); font-weight: 600; font-size: 1.15rem; line-height: 1.2;
}
.magasin svg { width: 28px; height: 28px; fill: #fff; flex: none; }
.magasin small { display: block; font-family: var(--texte); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }

/* Pied de page */
.pied { padding: 70px 0 30px; background: var(--teinte); }
.pied__grille { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.pied__baseline { margin-top: 14px; max-width: 26rem; color: var(--doux); }
.pied__liens { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.pied__liens a { font-family: var(--titres); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.pied__liens a:hover { color: var(--vert); }
.pied__bas { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--bord); color: var(--doux); font-size: 0.9rem; }

/* ── Apparition au défilement ─────────────────────────────────────── */

.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .apparait.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1; transform: none; }
}

/* ── Adaptations ──────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .atouts { grid-template-columns: 1fr 1fr; }
  .atouts__visuel { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 920px) {
  .burger { display: block; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px;
    background: var(--surface); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.35);
    display: none;
  }
  .entete--ouvert .menu { display: flex; }
  .menu a:not(.bouton) { padding: 14px 0; border-bottom: 1px solid var(--bord); }
  .menu__cta { margin-top: 16px; }

  .hero { padding: 120px 0 150px; }
  .hero__grille { grid-template-columns: 1fr; gap: 40px; }
  .hero__visuel { min-height: 0; }
  .duo { grid-template-columns: 1fr; gap: 40px; }
  .duo__visuel { min-height: 0; padding: 20px 0; }
  .etapes, .chiffres, .offres { grid-template-columns: 1fr; }
  .fin { grid-template-columns: 1fr; padding: 54px 40px; }
  .magasins { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .section { padding: 80px 0; }
  .titre-section { margin-bottom: 44px; }
  .atouts { grid-template-columns: 1fr; gap: 40px; }
  .atouts__colonne { gap: 36px; }
  .inscription__ligne { flex-direction: column; }
  .inscription__bouton { width: 100%; }
  .telephone, .atouts__visuel .telephone { --l: 252px; }
  .notif--hero { top: 56px; width: 290px; margin-left: -145px; }
  .carte-flottante { right: 0; bottom: 8%; }
  .duo__visuel .disque { width: 320px; }
  .fin { padding: 44px 24px; border-radius: 26px; }
  .magasin { min-width: 0; flex: 1 1 200px; }
  .offre { padding: 34px 28px; }
}
.pied__bas a { color: var(--encre); font-weight: 700; text-underline-offset: 3px; }
.pied__bas a:hover { color: var(--vert); }
