/* Webfonts: chargées via <link> dans le <head> pour de meilleures perfs (pas via @import) */

:root {

--font-sans: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
--font-heading: "Sora", var(--font-sans);
--font-body: "Inter", var(--font-sans);
  
--bg: #0f1412;
--panel: #121a17;
--muted: #7da08d;
--text: #e8f1ec;
--accent: #35c26b;
--accent-2: #3bd186;
--border: #2a3a33;
--card: #0e1412;
--white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
background: radial-gradient(1200px 800px at 20% -10%, #173d2a 0%, #0e1512 45%, #0b110e 100%);
color: var(--text);line-height: 1.6;transition: background-color .35s ease, background .35s ease;}

.container { width: min(1920px, 92%); margin: 0 auto;   padding-left: 100px;  padding-right: 0px;  }
@media (max-width: 600px) {  .container {    padding-left: 10px;    padding-right: 10px;  }}

/* Typo hero */
.hero h1 {font-family: var(--font-heading);font-weight: 800;letter-spacing: -0.01em;}
.hero p {font-family: var(--font-body);line-height: 1.7;max-width: 62ch;}

/* Variante si utilisée */
.hero-af h1 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.015em; }
.hero-af p { font-family: var(--font-body); }

/* Header / Nav */
.header {position: sticky; top: 0; z-index: 20;backdrop-filter: blur(8px);background: color-mix(in oklab, #0f1412 80%, transparent);border-bottom: 1px solid var(--border);} 
/* Neutralise le padding asymétrique du conteneur uniquement dans le header */
.header .container { padding-left: 12px; padding-right: 12px; }
@media (max-width: 600px) { .header .container { padding-left: 10px; padding-right: 10px; } }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.logo { color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
nav a { color: var(--text); text-decoration: none; margin-left: 16px; }
nav a:hover { color: var(--white); }
/* Hide hamburger by default (desktop) */
.nav-toggle { display: none; }
/* Desktop: hide mobile-only nav icons by default */
#primary-nav .nav-ico { display: none; }

/* Boutons */
.btn {display: inline-block; padding: 8px 14px; border-radius: 10px;background: linear-gradient(180deg, var(--accent-2), var(--accent));color: #072613; text-decoration: none; font-weight: 700; border: 0;box-shadow: 0 1px 0 #000 inset, 0 1px 2px rgba(0,0,0,0.3);}
.btn:hover { filter: brightness(1.05); }
.btn-outline {background: transparent; color: var(--text);border: 1px solid var(--border);}

.cta-row {  display: flex;  justify-content: center;  gap: 12px;   /* espace entre les boutons */  margin-top: 16px; /* optionnel pour l'espacement en haut */  flex-wrap: wrap;  /* optionnel : retour à la ligne sur petit écran */}


.como-title h1 {  font-size: 6em;  margin-top: 36px;  margin-bottom: 12px;  font-weight: 700;  color: #338a4a;  border-left: 4px solid #d3e7cf;  padding-left: 10px;  background: #f7fcf7;}



/* Hero classique (si tu l’utilises encore) */
.hero { padding: 64px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; }
.hero p { color: var(--muted); margin: 0 0 16px; }
.cta-group { display: flex; gap: 12px; margin: 4px 0 10px; }
.badges { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; color: var(--muted); }
.hero-img .mock-photo {
height: 300px; border-radius: 16px; border: 1px solid var(--border);
background: linear-gradient(135deg, #1a2b23, #0f1a15);
display: grid; place-items: center; color: var(--muted); font-weight: 700; letter-spacing: 1px;
}
.hero-img img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); }


/* optimisation version mobile */
.hero-af .hero-media video {width: 100%;height: 100%;object-fit: cover;display: block;filter: contrast(1.05) saturate(1.05);/* iOS amélioration de décodage */
-webkit-user-select: none;-webkit-touch-callout: none;}

/* Sections génériques */
.section { padding: 64px 0; }
.section.alt { background: radial-gradient(1200px 800px at 80% 110%, #0d1c15 0%, transparent 60%); }
.two-col { display: grid; grid-template-columns: 1fr 0.9fr; gap: 24px; align-items: start; }
.card {background: linear-gradient(180deg, #0f1613, #0c1310);border: 1px solid var(--border); border-radius: 14px; padding: 16px;}
.checklist { margin: 0; padding-left: 18px; }
.lead { color: var(--muted); }

/* Grilles */
.grid.cards {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px;}
.product {background: linear-gradient(180deg, #0f1613, #0b120f);border: 1px solid var(--border); border-radius: 14px; padding: 14px;}
.tag {display: inline-block; margin-top: 8px; padding: 4px 8px; border-radius: 999px;background: #0e271b; color: #7ce2a0; border: 1px solid #1e3b2b; font-size: 12px;}

/* Formulaires */
.form { max-width: 680px; }
.form-row { display: grid; gap: 6px; margin-bottom: 12px; }
input, textarea {width: 100%; padding: 10px 12px; border-radius: 10px;background: #0c1310; color: var(--text); border: 1px solid var(--border);}
input:focus, textarea:focus { outline: 2px solid #1f4733; }
.form-status { margin-top: 8px; color: #9ad3b1; min-height: 1.2em; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-nav a { color: var(--muted); text-decoration: none; margin-left: 12px; }
.footer-nav a:hover { color: var(--white); }

/* Feedback */
.field-error { color: #ff6b6b; border-color: #d63447 !important; }
.status-loading { color: #74b9ff; }
.status-success { color: #00b894; }
.status-error { color: #e17055; }

/* Responsive */
@media (max-width: 900px) {
.hero-grid, .two-col { grid-template-columns: 1fr; }
.grid.cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
.grid.cards { grid-template-columns: 1fr; }
}


/* Hero façon HFarms (utilisé si index contient .hero-af) */
.hero-af{position:relative;min-height:100svh;display:grid;align-items:start}
.hero-af .hero-media{position:absolute;inset:0;overflow:hidden}
.hero-af .hero-media img,
.hero-af .hero-media video{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(1.05) saturate(1.05)}
.hero-af .hero-overlay{transparent;}
.hero-af-inner{position:relative;z-index:1;max-width:900px;padding: 24px 0 40px;margin: 0 auto;align-self: start;   margin-top: 15svh; /* 🔥 décale le bloc vers le bas */; background: linear-gradient( to bottom, rgba(0,0,0,.18), rgba(0,0,0,.10) ); border-radius: 14px; padding: 24px 20px 28px; 
               transition:     background 0.3s,    backdrop-filter 0.4s;}

/* Effet de survol sur la box */
.hero-af-inner:hover {  /* Moins transparent pour la lisibilité */  background: linear-gradient(    to bottom,    rgba(0,0,0,0.65),   /* plus sombre/opaque sur hover */    rgba(0,0,0,0.38) );  backdrop-filter: blur(24px);}
.hero-af h1{color: #f2f7f4; /* texte clair /text-shadow:*/ 0 2px 10px rgba(0,0,0,.35);font-size: clamp(2.6rem, 22vw, 4.6rem);line-height: 1.06;margin: 0 0 .35em;font-weight: 800;letter-spacing: -0.02em;}
.hero-af p{color: #dce9e2; /* sous-texte clair / text-shadow: */ 0 2px 8px rgba(0,0,0,.28); font-size: clamp(1.15rem, 11vw, 1.35rem);opacity: .98; /* plus lisible que .9 */margin: 0 0 1rem;}
.cta-row{display:flex;gap:30px;flex-wrap:wrap}
.btn-af{background: linear-gradient(180deg, #39d48a, #2eb86f);color: #ffffff;border: 0;font-weight: 800;border-radius: 12px;padding: 12px 18px;box-shadow: 0 1px 0 #000 inset, 0 6px 24px rgba(46, 184, 111, .35);/* Améliorations typographiques */ font-size: clamp(1rem, 1.3vw, 1.16rem); /* ~16px → ~18.6px max */line-height: 1.2;letter-spacing: 0.2px;font-family: inherit; /* suit la police du contexte (ex: Inter) */ text-decoration: none !important;}
/* Optionnel mais recommandé pour le feedback */
.btn-af:hover{filter: brightness(1.06);}
.link-af {color: #ffffff; font-weight: 700; text-decoration: none; padding: 12px 0; font-size: clamp(1rem, 1.5vw, 1.18rem); /* ~16px → ~18.9px max */ line-height: 1.22; /* garde une hauteur propre */}
.link-af:hover{text-decoration:none}



/* style amantes de la cocina*/

.af-copy h2{text-align: center; font-size:clamp(1.8rem,3vw,2.4rem);color:#0e1a14;margin:.2em 0 .5em;font-weight:800;letter-spacing:-.01em}
.af-copy p{color:#2a4538;font-size:1.25rem;  text-align: center;}
.af-benefits-grid {  display: grid;  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));  gap: 1rem;  margin: 3rem 0;}

/* Pour écrans moyens (tablettes) : 2 colonnes */
@media (max-width: 1024px) {  .af-benefits-grid {    grid-template-columns: repeat(2, 1fr);  }}

/* Pour petits écrans (mobile) : 1 colonne */
@media (max-width: 600px) {  .af-benefits-grid {    grid-template-columns: 1fr;  }}

.benefit-card {  background: rgba(255, 255, 255, 0.85);  border-radius: 18px;  box-shadow: 0 4px 32px #298d4420;  padding: 2.2rem 1rem 1.6rem 1rem;
  position: relative;  transition: box-shadow 0.25s, transform 0.18s;  border: 2px solid #f1f3ed;  text-align: left;}
.benefit-card:hover {  box-shadow: 0 8px 36px #298d4475, 0 1px 16px #b4f9c340;  transform: translateY(-8px) scale(1.025);  border-color: #298d44;}

.benefit-icon {   display: block;  margin: 0 auto 0.5rem auto;  font-size: 2.2rem;  background: linear-gradient(135deg, #c2efc4 35%, #8ddd86 100%);
  border-radius: 50%;  width: 48px;  height: 48px;  line-height: 48px;  text-align: center;  margin-bottom: 0.5rem;  color: #146526;  box-shadow: 0 1px 6px #298d4426;}

.benefit-card h3 {  text-align: center; font-size: 1.22em;  color: #298d44;  margin: 1rem 0 1.5rem 0;  font-weight: 700;  letter-spacing: 0.01em; min-height: 4em;  display: flex;
  align-items: center; justify-content: center}

.benefit-card p {  text-align: justify; color: #223920;  font-size: 1em;  margin: 0 0 0.2em 0;}

/* Slab éditorial clair (optionnel si index contient .af-slab) */
.af-slab{background:#f6faf7;border-top:1px solid #e1efe6;border-bottom:1px solid #e1efe6;padding:72px 0}
.af-slab-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;align-items:center}


.af-list{margin:14px 0 0;padding-left:18px;color:#2a4538}
.af-figure {
  align-self: end;                 /* Pour la grid parent : place la box en bas de la colonne */
  background: #fff;                /* Fond blanc de la “carte” */
  border-radius: 18px;             /* Coins arrondis pour la box */
  box-shadow: 0 12px 40px rgba(10,30,20,.10); /* Légère ombre douce sur la carte */
  display: flex;                   /* Pour gestion verticale du contenu */
  flex-direction: column;
  justify-content: flex-end;       /* Le contenu est poussé en bas */
  padding: 0px 0px 0 0px;       /* Espace autour sauf en bas pour coller vidéo/image */
}

.af-figure img,
.af-figure video {
  border-radius: 12px;             /* Arrondi sur image/vidéo, adapté pour l’intérieur */
  box-shadow: none;                /* Pas d’ombre individuelle : tout est sur la box */
  margin-bottom: 0;                /* Pour bien coller en bas */
  align-self: center;              /* Centre l’image/la vidéo horizontalement dans la carte */
  display: block;                  /* Pour un rendu propre */
  max-width: 100%;                 /* Pour que ça dépasse jamais de la box */
  height: auto;
}
@media(max-width:960px){.af-slab-inner{grid-template-columns:1fr}}

/* Produits magazine (optionnel si index contient .af-products) */
.af-products{background:#fff;padding:64px 0}
.af-products h2{color:#0e1a14;font-size:clamp(1.6rem,2.4vw,2.2rem);margin:0 0 .2em;font-weight:800}
.af-products .lead{color:#3b5c4c;margin:0 0 16px}
.af-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.af-card{background:#fff;border:1px solid #e9f2ec;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(10,30,20,.06)}

.af-card img{display:block;width:100%;height:auto}
.af-card-body{padding:12px}

.af-card h3{margin:.2em 0;color:#0e1a14}
.af-card p{margin:0;color:#315343}

@media(max-width:1100px){.af-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.af-grid{grid-template-columns:1fr}}

.small {  text-align: center;  display: block;  margin-left: auto;  margin-right: auto;}

/* 3 boites qui explique commment cela fonctionne) */
.af-process { background: #f9fcfa;  border-top: 1px solid #e6f1eb;  border-bottom: 1px solid #e6f1eb;  padding: 56px 0;}

.af-process h2 {  color: #000;  font-size: clamp(1.6rem, 2.2vw, 2.1rem);  margin: 0 0 10px;  font-weight: 800;  padding-left: 54px;}

.af-steps { display: grid;  grid-template-columns: 1fr auto 1fr auto 1fr;   gap: 8px;  max-width: 1200px; margin: 0 auto;  align-items: stretch;}

  .af-step { border: 2px solid #000;  border-radius: 16px;  padding: 18px 15px;  box-shadow: 0 8px 20px rgba(10,30,20,.05);
  background: linear-gradient(to bottom right, #ffffff 0%, #cfd4da 100%);
  width: 100%;  min-width: 220px;  max-width: 370px;  box-sizing: border-box;}

/* Play animations only when wrapper has .is-playing */
.af-process.is-playing .af-step {  opacity: 0;  transform: translateY(30px);  animation: fadeUp 0.8s cubic-bezier(.29,.63,.44,1.13) forwards;  animation-iteration-count: 1; }
.af-process.is-playing .af-steps .af-step:nth-of-type(1) { animation-delay: 1s; }
.af-process.is-playing .af-steps .af-step:nth-of-type(2) { animation-delay: 3s; }
.af-process.is-playing .af-steps .af-step:nth-of-type(3) { animation-delay: 5s; }


@keyframes fadeUp {
  to {    opacity: 1;    transform: none;  }}

/* Cycle: show, hold ~10s after last step, then reset */
@keyframes fadeUpCycle {
  0%   { opacity: 0; transform: translateY(30px); }
  5%   { opacity: 1; transform: none; }
  67.5%{ opacity: 1; transform: none; }
  69.5%{ opacity: 0; transform: translateY(30px); }
  100% { opacity: 0; transform: translateY(30px); }
}

/* Per-step cycle so staggering repeats each iteration and hold is 10s after last box appears */
@keyframes fadeUpCycleS1 {
  0%, 3.7%    { opacity: 0; transform: translateY(30px); } /* 0–1s hidden (1/27=3.7%) */
  5.2%        { opacity: 1; transform: none; }             /* fade-in */
  92.6%       { opacity: 1; transform: none; }             /* hold until 25s */
  96.3%       { opacity: 0; transform: translateY(30px); } /* fade-out */
  100%        { opacity: 0; transform: translateY(30px); }
}
@keyframes fadeUpCycleS2 {
  0%, 11.1%   { opacity: 0; transform: translateY(30px); } /* 0–3s hidden (3/27=11.1%) */
  13%         { opacity: 1; transform: none; }
  92.6%       { opacity: 1; transform: none; }
  96.3%       { opacity: 0; transform: translateY(30px); }
  100%        { opacity: 0; transform: translateY(30px); }
}
@keyframes fadeUpCycleS3 {
  0%, 18.5%   { opacity: 0; transform: translateY(30px); } /* 0–5s hidden (5/27=18.5%) */
  20.4%       { opacity: 1; transform: none; }
  92.6%       { opacity: 1; transform: none; }             /* 20s hold after S3 appears */
  96.3%       { opacity: 0; transform: translateY(30px); }
  100%        { opacity: 0; transform: translateY(30px); }
}

.af-step .num {  display: inline-block;  background: #2eb86f;  color: #fff;  border-radius: 999px;  width: 42px;  height: 42px;  line-height: 42px;  text-align: center;  font-weight: 800;  margin-bottom: 8px;}
.af-step h3 { color: #000; font-size: 1.25rem; margin: 0; text-align: center; }
.af-step p { color: #000; font-size: 1.06rem; margin: 0; text-align: left; }

/* Cómo funciona: icônes et layout commun (toutes tailles) */
#como-funciona .af-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto; /* 1: bulle + titre, 2: icône + texte */
  grid-template-areas:
    "num title"
    "icon text";
  gap: 12px;
  align-items: start;
}
#como-funciona .af-step .num { grid-area: num; justify-self: start; align-self: center; }
#como-funciona .af-step .step-icon {
  grid-area: icon;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 4px 0 0 0;
  color: #2eb86f; /* Couleur VerdiNova */
  border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, #65e08933 0%, #65e08922 60%, transparent 100%);
  border: 1px solid #cfeedd;
  box-shadow: 0 2px 10px rgba(46, 184, 111, .18);
}
#como-funciona .af-step .step-icon svg { width: 24px; height: 24px; display: block; }
#como-funciona .af-step h3 { grid-area: title; }
#como-funciona .af-step p  { grid-area: text; }

/* Desktop: colonne icône légèrement plus large pour respirer */
@media (min-width: 769px) {
  #como-funciona .af-step { grid-template-columns: 48px 1fr; }
}

.af-arrow {  align-self: center;  justify-self: center;  width: 32px;  height: 32px;  display: block;  position: relative; }
/* Play animations only when wrapper has .is-playing */
.af-process.is-playing .af-arrow {  opacity: 0;  transform: translateY(30px);  animation: fadeUp 0.8s cubic-bezier(.29,.63,.44,1.13) forwards;  animation-iteration-count: 1; }
.af-process.is-playing .af-arrow:nth-of-type(1) { animation-delay: 2s; }
.af-process.is-playing .af-arrow:nth-of-type(2) { animation-delay: 4s; }

.af-arrow::before {  content: '';  border: solid #194327;  border-width: 0 4px 4px 0;  display: block;  width: 14px; height:14px;
  position: absolute; left: 8px; top: 9px;  transform: rotate(-45deg); /* droite */  opacity: 0.7;}

.af-step, .af-arrow {
  transition: opacity 0.6s cubic-bezier(.29,.63,.44,1.13), transform 0.6s cubic-bezier(.29,.63,.44,1.13);
}
.af-fade-out {
  opacity: 0 !important;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(.29,.63,.44,1.13), transform 0.6s cubic-bezier(.29,.63,.44,1.13);
}


@media (max-width: 1100px) {  .af-steps {    grid-template-columns: repeat(5, minmax(120px, 1fr));    gap: 14px;    max-width: 100%;  }
  .af-step {    padding: 14px 8px;    min-width: 120px;    max-width: 100vw;  }}

@media (max-width:900px) {  .af-steps {    grid-template-columns: 1fr;    gap: 0;  }
  .af-step, .af-arrow {    min-width: 0;    max-width: 100vw;    width: 100%;  }
  .af-arrow {    width: 100%;    height: 20px;    margin: 0 auto;    justify-self: stretch;    align-self: center;  }
  .af-arrow::before {    left: 50%; top: 2px;    transform: translateX(-50%) rotate(45deg);    width: 18px; height: 18px;    border-width: 0 0 4px 4px;  }}


/* =============================== /
/ Fond dynamique par section (5) /
/ =============================== */

/* Le body a déjà la transition ci-dessus */
body.bg-1 { background: radial-gradient(1200px 800px at 20% -10%, #173d2a 0%, #0e1512 45%, #0b110e 100%); }
body.bg-2 { background: linear-gradient(180deg, #0e1512 0%, #0f2a16 100%); }
body.bg-3 { background: #0f2a16; }
body.bg-4 { background: linear-gradient(180deg, #0f2a16 0%, #12341c 100%); }
body.bg-5 { background: #12341c; }

/* Wrapper neutre pour baliser les zones */
.section-block { position: relative; }




/* Bouton image (au lieu d'un simple <img>) */
.product-thumb {  display: block;  padding: 0;  border: 0;  background: none;  cursor: pointer;  width: 100%;}
.product-thumb img {  width: 100%;  height: 160px;   /* ajuste à ta grille */  object-fit: cover;  border-radius: 10px;  border: 1px solid var(--border);  transition: transform .2s ease, filter .2s ease;}
.product-thumb:hover img { transform: scale(1.02); filter: brightness(1.02); }

/* Modale */
.modal { position: fixed; inset: 0; display: none; z-index: 1000; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(2px); }
.modal__dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  background: linear-gradient(180deg, #0f1613, #0b120f);
  border: 1px solid var(--border); border-radius: 14px; padding: 18px; color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.modal__close { position: absolute; right: 10px; top: 8px; background: transparent; color: var(--text); border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
.modal__meta { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
@media (max-width: 768px){ .modal__dialog { padding: 14px; } }


 /*  <!-- Suscripciones --> */
.suscripciones-section {  background: #f8faf7;  padding: 48px 0 64px 0;  color: #12351a; /* Nouvelle couleur de texte principale, très lisible */
}

.suscripciones-section .lead {  font-size: 1.25em;  color: #12351a; /* Plus foncé, pour contraster avec le fond */
  margin-bottom: 2em;  text-align: center;}

.suscripciones-section .accent {  color: #e3b71d;  font-weight: 600;}


.pricing-cards {  display: flex;  gap: 2em;  justify-content: center;  flex-wrap: wrap;  margin-bottom: 2em;}

.plan-card { background: linear-gradient(315deg, #3a3d40 0%, #f3f4f7 50%);  border-radius: 1.15em;  box-shadow: 0 4px 28px 0 rgba(33, 60, 40, 0.07);  padding: 2em 1.5em 2.5em 1.5em;
  max-width: 310px;  width: 100%;  text-align: center;  transition: transform 0.2s, box-shadow 0.2s;  position: relative;  display: flex;
  flex-direction: column;  align-items: center;}

.plan-card:hover {  transform: scale(1.04) translateY(-6px);  box-shadow: 0 8px 36px 0 rgba(33, 60, 40, 0.14);  z-index: 2;}

.badge {  display: inline-block;  background: #e3b71d;  color: #473c09;  border-radius: 16px;  font-size: 0.95em;  font-weight: 700;
  padding: 0.33em 1.2em;  margin-bottom: 1em;  position: absolute;  top: -18px;  left: 50%;  transform: translateX(-50%);  box-shadow: 0 2px 6px rgba(33, 60, 40, 0.08);}

.badge-family {  background: #7abe79;  color: #214d2b;}

.badge-pro {  background: #497ae3;  color: #fff;}

.plan-card.popular {  border: 2.5px solid #e3b71d;}
.plan-card.family {  border: 2.5px solid #7abe79;}
.plan-card.pro {  border: 2.5px solid #497ae3;}

.plan-price {  font-size: 1.5em;  margin: 0.5em 0 0.2em 0;            }

.plan-price .period {  color: #6c8267;  font-size: .85em;}

.plan-desc {  color: #497450;  min-height: 40px;  font-size: 1.08em;  margin-bottom: 1em;}

.features {  list-style: none;  padding: 0;  margin: 0 0 1.5em 0;  text-align: left;}

.features li {  padding-left: 28px;  position: relative;  color: #3b6341;  margin-bottom: .5em;             }

.features li::before {  content: "✔";  color: #e3b71d;  position: absolute;  left: 0;  top: 0;  font-size: 1.1em;}

.btn.plan-btn {  margin-top: auto;  font-size: 1.06em;  width: 85%;  letter-spacing: 0.01em;}

@media (max-width: 960px) 
{  .pricing-cards {    flex-direction: column;    align-items: center;    gap: 1.2em;      }
                           
  .plan-card {    max-width: 98vw;  }
  .suscripciones-section .lead {    font-size: 1.1em;  }}
@media (max-width: 600px) {  
  .suscripciones-section {    padding: 32px 0 40px 0;  }
  .pricing-cards {    gap: 0.6em;  }
  .plan-card {    padding: 1.3em 1em 2em 1em;    font-size: 0.97em;  }
  .suscripciones-section .lead {    font-size: 1em;  }
  .mobile-break { display: none; }
}





/* style article */
.article-page {
  /* Le fond ne s'applique que sur les pages avec <body class="article-page"> */
  background-image: url('/images/fond-ecran.png');  background-repeat: no-repeat;  background-size: cover;   /* L'image couvrira tout l'écran */  background-attachment: fixed;   /* L'image reste fixe même lors du scroll */
  background-position: center;    }
.article-contenido {  max-width: 900px;  margin: 40px auto; padding: 32px 24px 32px 24px;  background: #fff;  border-radius: 10px;  box-shadow:  0 4px 32px #fff6,    /* ombre blanche subtile */
    0 4px 24px #65e08999; /* vert lumineux, opacité 60% */  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;}
.article-contenido img {  width: 100%;  max-width: 100vw;      /* Empêche de dépasser la taille de la fenêtre */  height: auto;  margin-bottom: 18px;  border-radius: 6px;
  display: block;  object-fit: cover;}

.article-contenido h1 {  font-size: 2.7em;  margin-bottom: 20px;  font-weight: 800;  color: #214d37;  letter-spacing: -1px;text-align: center;}
.article-contenido h2 {  font-size: 1.5em;  margin-top: 36px;  margin-bottom: 12px;  font-weight: 700;  color: #338a4a;  border-left: 4px solid #d3e7cf;  padding-left: 10px;  background: #f7fcf7;}
.article-contenido p {  font-size: 1.3em; color: #000;}
.article-contenido ul {  font-size: 1.13em;  line-height: 1.8;  color: #2d4739;  margin: 16px 0;}
.article-contenido ul {  padding-left: 24px;  list-style-type: disc;}
.article-contenido .refs {  margin-top: 38px;  font-size: 0.99em;  color: #666;  border-top: 1px solid #e3e3e3;  padding-top: 20px;  background: #fafafa;}
.article-return {  margin: 46px 0 0 0;  text-align: right;}
.article-return a {  color: #26866d;  text-decoration: underline;  font-weight: bold;  transition: color 0.2s;}
.article-return a:hover {  color: #113725;}


/* En bonus, meilleure réactivité pour smartphone */
@media (max-width: 700px) {
  .article-contenido { padding: 12px; }
  .article-contenido img { margin-bottom: 12px; }
  .article-contenido h1 { font-size: 1.4em; }
  .article-contenido h2 { font-size: 1.05em; }
}



/* slider articles */
.slider-container {  display: flex;  align-items: center;  justify-content: center;  margin: 32px auto;  max-width: 760px;  position: relative;  background: transparent;
  overflow: hidden;  height: 234px;  padding: 18px 0;}
.slider {  display: flex;  align-items: stretch;  justify-content: center;  gap: 20px;  width: 100%;  max-width: 600px;  min-height: 210px;  border-radius: 10px;
  background: #fff;  overflow: hidden;  transition: none;}
.slide {  flex: 1 1 0;  min-width: 0;  max-width: 185px;  margin: 0;  background: #fafafc;  border-radius: 16px;  box-shadow: 0 6px 32px #152d2016, 0 1.5px 8px #42ba6b07;
  display: flex;  flex-direction: column;  align-items: center;  transition: box-shadow 0.2s, transform 0.26s cubic-bezier(.4,.2,.2,1.1);
  position: relative;  overflow: hidden;  cursor: pointer;}
.slide a {  display: block;  width: 100%;  height: 100%;  text-decoration: none;  color: inherit;}
.slide img {  width: 100%;  height: 112px;  object-fit: cover;  border-radius: 16px 16px 0 0;  transition: transform 0.28s cubic-bezier(.4,.2,.2,1.4);}
.caption {  text-align: center;  padding: 13px 9px 13px 9px;  font-weight: 700;  color: #246344;  font-size: 1.06em;  min-height: 46px;}
.slide:hover, .slide:focus-visible {  box-shadow: 0 12px 38px #0e745726, 0 1.5px 10px #0d22208c;  transform: scale(1.045) translateY(-6px) rotateZ(-1deg);
  z-index: 2;}
.slide:active {  animation: clickPop 0.18s cubic-bezier(.8,-0.1,.6,1.8);}
@keyframes clickPop {  0% { transform: scale(1.05) rotateZ(-2deg); }  60% { transform: scale(0.92) rotateZ(1deg);}  100% { transform: scale(1.025) rotateZ(0deg);}}

/* Transition d'entrée/sortie */
.slider.slide-left .slide {  animation: slider-left 0.36s;}
.slider.slide-right .slide {  animation: slider-right 0.36s;}
@keyframes slider-left {  0% { transform: translateX(0); opacity:1; }  100% { transform: translateX(-35px); opacity:0.7;}}
@keyframes slider-right {  0% { transform: translateX(0); opacity:1; }  100% { transform: translateX(35px); opacity:0.7;}}

/* Flèches */
.arrow {  background: #317b5c;  color: #fff;  border: none;  border-radius: 50%;  width: 42px;  height: 42px;  font-size: 22px;  cursor: pointer;  margin: 0 7px;
  transition: background 0.2s;  display: flex;  align-items: center;  justify-content: center;  user-select: none;}
.arrow:hover { background: #255138; }

/* Responsive */
@media (max-width: 900px) {  .slider-container { max-width: 99vw; height: 200px; }  .slider { max-width: 99vw; }  .slide { max-width: 70vw; }}
@media (max-width: 650px) {  .slider-container { max-width: 100vw; height: 150px; }  .slide { max-width: 91vw; }  .caption { font-size: 0.93em; }}


/* Style réservé au bloc de présentation éditoriale */
/* Style réservé UNIQUEMENT au bloc .slab-presentacion */
.bloc-fond-photo {  background-image: url('/images/bloc-presentation.png'); /* adapte le chemin ! */  background-size: cover;  background-repeat: no-repeat;
  background-position: center;  min-height: 260px;   /* réduit l’emprise à l’écran */  padding: 40px 0;  display: flex;  justify-content: center;
  align-items: center;}
@media (max-width: 700px) { .bloc-fond-photo { min-height: 220px; padding: 28px 0; } }

/* Variante compacte et plus lisible du bloc de présentation */
.slab-presentacion.compact {  padding: 24px 18px;  margin: 28px auto;  max-width: 1280px; }
.sp-title {  text-align: center;  font-size: clamp(1.3rem, 2vw, 1.8rem);  margin: 0 0 16px;  color: #214d37;  font-weight: 800; }
.sp-lead {  text-align: center;  color: #1e3a2f;  font-size: 1rem;  margin: 0 auto 10px;  max-width: 62ch; }
.sp-bullets {  display: grid;  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));  gap: 8px 12px;  list-style: none;  padding: 0;  margin: 8px 0 6px; }
.sp-bullets li {  position: relative;  padding-left: 22px;  color: #254737;  font-size: .98rem; }
.sp-bullets li::before {  content: "✓";  position: absolute;  left: 0;  top: 0;  color: #2eb86f;  font-weight: 800; }
.sp-details {  margin-top: 12px;  text-align: center; }
.sp-details > summary::-webkit-details-marker { display: none; }
.sp-toggle {  display: inline-flex;  align-items: center;  justify-content: center;  padding: 8px 12px;  border-radius: 10px;  border: 1px solid #d4e9df;
  background: #f2fbf6;  color: #1c3c2e;  font-weight: 700;  cursor: pointer;  user-select: none;  margin: 8px auto 0 auto; }
.sp-toggle:hover { background: #e9f7f0; }
.sp-more {  margin-top: 8px;  color: #1c352b;  font-size: 1.02rem; text-align: center; }
.sp-body { text-align: center; }
.sp-more p { margin: 8px 0; }

/* Sous-titres et texte pour la variante demandée */
.sp-subtitle {  text-align: center;  font-size: clamp(1.05rem, 2vw, 1.35rem);  margin: 8px 0 10px;  color: #214d37;  font-weight: 800; }
.sp-section-title {  text-align: center;  font-size: 1.05rem;  margin: 12px 0 4px;  color: #214d37;  font-weight: 700; }
.sp-text {  color: #1c352b;  font-size: 1.14rem;  margin: 10px auto;  max-width: 110ch;  text-align: center; }
.sp-answer {  margin-bottom: 6px; }

@media (max-width: 768px) {  .slab-presentacion.compact { margin: 20px auto; padding: 16px 12px; }  .sp-bullets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {  .sp-bullets { grid-template-columns: 1fr; } }

/* Center the expanded chef intro content squarely in the middle column */
#chef-intro .sp-details,
#chef-intro .sp-more,
#chef-intro .sp-body { width: min(90ch, 92vw); margin: 0 auto; display: grid; justify-items: center; }
#chef-intro .sp-text { text-align: center; }
#chef-intro .sp-section-title { text-align: center; }

/* ==========================
   Mobile-only enhancements
   ========================== */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  html, body { overflow-x: hidden; }

  /* Keep header fixed on mobile (desktop rules remain unchanged) */
  header.header,
  #site-header > header.header,
  #site-header .header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 20; }

  /* Body top padding so content doesn't slide under the fixed header */
  body { padding-top: 64px; }
  /* iOS legacy safe area */
  body { padding-top: calc(64px + constant(safe-area-inset-top)); }
  /* Modern safe area */
  body { padding-top: calc(64px + env(safe-area-inset-top)); }

  /* Prevent anchor targets from being hidden behind the fixed header */
  html { scroll-padding-top: 64px; }
  html { scroll-padding-top: calc(64px + constant(safe-area-inset-top)); }
  html { scroll-padding-top: calc(64px + env(safe-area-inset-top)); }
  #microverduras,
  #como-funciona,
  #suscripciones,
  #restaurantes,
  #faq,
  #pedido { scroll-margin-top: 64px; }
  #microverduras,
  #como-funciona,
  #suscripciones,
  #restaurantes,
  #faq,
  #pedido { scroll-margin-top: calc(64px + constant(safe-area-inset-top)); }
  #microverduras,
  #como-funciona,
  #suscripciones,
  #restaurantes,
  #faq,
  #pedido { scroll-margin-top: calc(64px + env(safe-area-inset-top)); }

  /* Mobile nav toggle and off-canvas */
  .nav { position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border-radius: 10px; border: 1px solid var(--border); background: #1d2b24; color: #fff; }
  .nav-toggle:focus-visible { outline: 2px solid #65e089; outline-offset: 2px; }
  #primary-nav { 
    position: fixed; top: 0; right: 0; height: 100vh; width: 50vw; max-width: 340px; 
    transform: translateX(100%); transition: transform .26s cubic-bezier(.4,.2,.2,1);
    background: linear-gradient(180deg, #0f1613f0 0%, #0b120fe6 100%);
    border-left: 1px solid color-mix(in oklab, var(--border) 70%, #1a2b23);
    padding: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 1001;
    backdrop-filter: saturate(1.1) blur(12px);
    box-shadow: -10px 0 40px rgba(0,0,0,.45);
    overflow-y: auto;
  }
  body.menu-open #primary-nav { transform: translateX(0); }
  #primary-nav a { display: block; padding: 12px 10px; min-height: 44px; font-weight: 650; border-radius: 10px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
  #primary-nav a .nav-ico { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; color: currentColor; opacity: 0.95; transition: color .2s ease, filter .2s ease; }
  #primary-nav a .nav-txt { flex: 1 1 auto; }
  #primary-nav a:hover { background: #12221b; color: #e9f5ef; }

  /* Icônes plus lumineuses pour Productos et Tienda (mobile) */
  #primary-nav a[href="#microverduras"] .nav-ico { color: #b8ffd6; filter: drop-shadow(0 0 6px rgba(101,224,137,.35)); }
  #primary-nav a.btn .nav-ico { color: #ffffff; filter: drop-shadow(0 0 8px rgba(57,212,138,.45)); }
  body.menu-open #primary-nav a:hover .nav-ico { filter: drop-shadow(0 0 10px rgba(101,224,137,.50)); }

  /* Animation d’entrée (stagger) lors de l’ouverture du menu) */
  @keyframes navLinkIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
  body.menu-open #primary-nav a { animation: navLinkIn .28s cubic-bezier(.4,.2,.2,1) both; }
  body.menu-open #primary-nav a:nth-of-type(1) { animation-delay: .02s; }
  body.menu-open #primary-nav a:nth-of-type(2) { animation-delay: .06s; }
  body.menu-open #primary-nav a:nth-of-type(3) { animation-delay: .10s; }
  body.menu-open #primary-nav a:nth-of-type(4) { animation-delay: .14s; }
  body.menu-open #primary-nav a:nth-of-type(5) { animation-delay: .18s; }
  body.menu-open #primary-nav a:nth-of-type(6) { animation-delay: .22s; }
  body.menu-open #primary-nav a:nth-of-type(7) { animation-delay: .26s; }
  body.menu-open #primary-nav a:nth-of-type(8) { animation-delay: .30s; }

  /* Mise en avant mobile de Tienda et Productos */
  #primary-nav a[href="#microverduras"] { 
    order: -2; 
    background: linear-gradient(180deg, #214e36, #18392a); 
    color: #d2ffea; border: 1px solid #1e3b2b; box-shadow: 0 6px 24px #2eb86f30;
  }
  /* Place Tienda at the very bottom of the list with a bit of spacing */
  #primary-nav a.btn { 
    order: 999; /* ensure it is the last item */
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; font-size: 1.05rem; box-shadow: 0 8px 28px rgba(46,184,111,.35);
    margin-top: 12px; /* extra spacing above, in addition to container gap */
    margin-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 1000; }
  body.menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }

  /* Hero: show mobile video and hide poster */
  .hero-af .hero-media .hero-poster { display: none; }
  .hero-af .hero-media video { display: block; }
  /* Hide hero overlay content on mobile */
  .hero-af-inner { display: none !important; }

  /* Layout safety */
  .two-col { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: 1fr; }

  /* Reduce heavy effects */
  .slab-presentacion { backdrop-filter: none; box-shadow: 0 3px 14px #65e08933, 0 1px 4px #214d3720; }
  .benefit-card { box-shadow: 0 3px 16px #298d4420; }

  /* Motion simplification (moved to prefers-reduced-motion) */
  /* .af-step, .af-arrow { animation: none !important; transform: none !important; opacity: 1 !important; } */

  /* Sticky CTA */
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); background: #0f1613cc; border: 1px solid var(--border); border-radius: 14px; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; z-index: 1100; backdrop-filter: blur(8px); }
  .sticky-cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; font-weight: 800; text-decoration: none; color: #072613; background: linear-gradient(180deg, #39d48a, #2eb86f); }

  /* Cómo funciona (mobile-only redesign) */
  #como-funciona.af-process {
    padding: 36px 16px 40px 16px;
    background: #f9fcfa;
  }
  #como-funciona .af-copy h2 {
    padding-left: 0;
    text-align: center;
    margin: 0 0 12px 0;
  }
  #como-funciona .af-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 900px;
    margin: 12px auto 0 auto;
  }
  /* Flèche descendante entre les blocs (mobile only) */
  #como-funciona .af-arrow { 
    display: block; 
    width: 100%; 
    height: 26px; 
    position: relative; 
    margin: 8px 0 10px; 
    opacity: 1; 
    transform: none; 
  }
  #como-funciona .af-arrow::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    border: solid #2eb86f; /* vert VerdiNova */
    border-width: 0 3px 3px 0;
    transform: translateX(-50%) rotate(45deg);
    opacity: 0.9;
  }

  #como-funciona .af-step {
    background: #ffffff;
    border: 1px solid #e9f2ec;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(10,30,20,.06);
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
  }
  #como-funciona .af-step .num {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(180deg, #39d48a, #2eb86f);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(46, 184, 111, .35);
  }
  #como-funciona .af-step h3 {
    margin: 2px 0 10px 0;
    font-size: 1.12rem;
    color: #0e1a14;
    text-align: left;
  }
  #como-funciona .af-step p {
    margin: 0;
    color: #2a4538;
    font-size: 0.98rem;
    line-height: 1.6;
    text-align: left;
  }
  #como-funciona .cta-row { margin-top: 16px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Global Preloader */
.preloader{position:fixed;inset:0;background:#000;display:none;place-items:center;z-index:2000;opacity:1;transition:opacity .35s ease}
.preloader-hidden{opacity:0;pointer-events:none}
.preload-active{overflow:hidden}
.preload-video{width:100vw;height:100vh;object-fit:cover}
@media (max-width: 768px){ body.preload-active .preloader{ display:grid; } }

/* Le slab-presentacion reste inchangé */

.slab-presentacion {  background: rgba(231,255,232,0.00);    /* Invisible par défaut (= opacité 0) */  border-radius: 18px;  margin: 50px auto 50px auto;  width: 90vw;
  max-width: 1200px;  padding: 36px 28px;  box-shadow: 0 6px 26px #65e08944, 0 1px 6px #214d3720;  color: #194327;  box-sizing: border-box;  overflow-x: auto;

  backdrop-filter: blur(0px); /* Pas de flou par défaut */
                    /* Transition longue et douce sur 2,5 secondes */
  transition:     background 2.5s cubic-bezier(.4,0,.2,1),    backdrop-filter 2.3s cubic-bezier(.4,0,.2,1);}                    

/* Au survol : bloc visible, plus intense, et flou de fond possible */
.slab-presentacion:hover {  background: rgba(231,255,232,0.8); /* Très peu transparent au survol */  backdrop-filter: blur(16px);        /* Optionnel : tu peux monter à 24px comme plus haut */}

.slab-presentacion h2 {  text-align: center; margin-bottom: 2px;  font-size: 1.5rem; /* ou 40px */}

.verdinova-question {  text-align: center; font-size: 2rem; }
   
.verdinova-text {  text-align: center;font-size: 1.3rem;}
  


.verdinova-qualite {  text-align: center;font-size: 2rem;}

.verdinova-variete {  text-align: center;font-size: 2rem;}

.verdinova-livrason {  text-align: center;font-size: 2rem;}

.verdinova-cta {  text-align: center;font-size: 2rem;}
 
.verdinova-signature {  text-align: center; font-size: 2rem; margin-top: 32px;}


.subs-title { text-align:  center; font-size: 2rem;}
    
@media (max-width: 800px) {  .slab-presentacion {    padding: 18px 5vw;    width: 98vw;  }
  .slab-presentacion h2 { font-size: 1.3em; }
  .slab-presentacion p { font-size: 1em; }
}

@media (max-width: 800px) {  .slab-presentacion { padding: 18px 5vw; width: 98vw; }
  .slab-presentacion h2 { font-size: 1.3em; }
  .slab-presentacion p { font-size: 1em; }
}


@media (max-width: 800px) {  .slab-presentacion { padding: 18px 8px; }
  .slab-presentacion h2 { font-size: 1.3em; }
  .slab-presentacion p { font-size: 1em; }
}















































































































































































