/* =================================================================
   AGRINOVA - Accueil et Contact (style « mercuriale pro »)
   Tout est isolé sous .agn-page. Aucun arrondi marqué, aucune ombre.
   ================================================================= */
html, body { margin: 0; padding: 0; }
body.agn-landing { background: #fbf7ee; }

.agn-page {
    --ink: #111111;
    --text: #2b332e;
    --muted: #5c665f;
    --rule: #e2d9c4;
    --paper: #fbf7ee;
    --paper-2: #f3ecdc;
    --green: #1d6b3a;
    --green-d: #0d3a1f;
    --accent: #d9611b;
    --r: 3px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.agn-page *, .agn-page *::before, .agn-page *::after { box-sizing: border-box; }
.agn-page h1, .agn-page h2, .agn-page h3, .agn-page h4, .agn-page p, .agn-page ul, .agn-page ol, .agn-page dl, .agn-page dd, .agn-page figure { margin: 0; padding: 0; }
.agn-page ul, .agn-page ol { list-style: none; }
.agn-page img { display: block; max-width: 100%; }
.agn-page a { color: inherit; text-decoration: none; }
.agn-page h1, .agn-page h2, .agn-page h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.agn-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.agn-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Bandeau ---------- */
.agn-strip { background: var(--green-d); color: #ffffff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.agn-strip .agn-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; padding-top: 8px; padding-bottom: 8px; }
.agn-strip span { white-space: nowrap; }
.agn-strip b { color: #cdf26b; font-weight: 700; }

/* ---------- En-tête ---------- */
.agn-header { position: sticky; top: 0; z-index: 50; background: #ffffff; border-bottom: 1px solid var(--rule); }
.admin-bar .agn-header { top: 32px; }
.agn-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }
.agn-page .agn-logo { display: block; flex: 0 0 auto; }
.agn-page .agn-logo img { height: 38px !important; width: auto !important; max-width: 170px !important; object-fit: contain; }
.agn-nav { display: none; }
.agn-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 26px; }
.agn-nav li { white-space: nowrap; }
.agn-page .agn-nav a { white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.agn-page .agn-nav a:hover, .agn-page .agn-nav a.is-current { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.agn-actions { display: flex; align-items: center; gap: 8px; }
.agn-page .agn-actions .agn-btn--ghost { display: none; }
.agn-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 11px; border: 1px solid var(--ink); border-radius: var(--r); background: #ffffff; cursor: pointer; flex: 0 0 auto; }
.agn-burger span { display: block; height: 2px; background: var(--ink); }
.agn-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid var(--rule); padding: 6px 20px 14px; }
.agn-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; }
.agn-nav.is-open li a { display: block; padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--rule); }
.agn-nav-cta { display: none; }

/* ---------- Boutons ---------- */
.agn-page .agn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--r); font-family: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-align: center; cursor: pointer; }
.agn-page .agn-btn--sm { min-height: 40px; padding: 9px 16px; font-size: 12px; }
.agn-page .agn-btn--primary { background: var(--green); border-color: var(--green); color: #ffffff; }
.agn-page .agn-btn--primary:hover { background: var(--green-d); border-color: var(--green-d); color: #ffffff; }
.agn-page .agn-btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.agn-page .agn-btn--ghost:hover { background: var(--ink); color: #ffffff; }
.agn-page .agn-btn--light { background: #ffffff; border-color: #ffffff; color: var(--green-d); }
.agn-page .agn-btn--light:hover { background: #cdf26b; border-color: #cdf26b; color: var(--ink); }
.agn-page .agn-btn--outline-light { background: transparent; border-color: #ffffff; color: #ffffff; }
.agn-page .agn-btn--outline-light:hover { background: #ffffff; color: var(--green-d); }
.agn-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.agn-page .agn-link { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Titres de section ---------- */
.agn-section { padding: 64px 0; }
.agn-section--alt { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.agn-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); }
.agn-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.agn-page .agn-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.agn-page .agn-head p { font-size: 14px; color: var(--muted); max-width: 520px; }

/* ---------- Hero (accueil) ---------- */
.agn-hero { padding: 44px 0 52px; border-bottom: 1px solid var(--rule); }
.agn-hero-grid { display: grid; gap: 32px; }
.agn-page .agn-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 10px 0 16px; }
.agn-page .agn-hero-lead { font-size: 1.08rem; color: var(--text); max-width: 560px; margin-bottom: 24px; }
.agn-hero .agn-cta-row { margin-bottom: 14px; }
.agn-wa-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.agn-wa-link:hover { color: var(--green); }

/* Fiche conditions (définition) */
.agn-facts { border: 1px solid var(--ink); background: #ffffff; border-radius: var(--r); }
.agn-facts-title { padding: 10px 16px; background: var(--ink); color: #ffffff; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.agn-facts dl > div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.agn-facts dl > div:last-child { border-bottom: 0; }
.agn-facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.agn-facts dd { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.agn-facts dd small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.agn-zero { color: var(--green); }

/* ---------- Mercuriale (tableau de prix) ---------- */
.agn-table-wrap { border: 1px solid var(--ink); background: #ffffff; border-radius: var(--r); }
.agn-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.agn-table thead th { padding: 10px 14px; background: var(--ink); color: #ffffff; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.agn-table thead th:last-child, .agn-table td.price { text-align: right; }
.agn-table .agn-group th { padding: 9px 14px; background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); text-align: left; }
.agn-table td { padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: baseline; font-size: 15px; }
.agn-table tbody tr:last-child td { border-bottom: 0; }
.agn-table td.name a { font-weight: 700; color: var(--ink); }
.agn-table td.name a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.agn-table td.pack { color: var(--muted); font-size: 14px; }
.agn-table td.price { white-space: nowrap; }
.agn-table td.price strong { font-size: 16px; font-weight: 800; color: var(--ink); }
.agn-table td.price small { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.agn-table tbody tr:not(.agn-group):hover td { background: #fbfaf5; }
.agn-merc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 16px; border-top: 1px solid var(--ink); background: var(--paper-2); font-size: 14px; color: var(--text); }
.agn-page .agn-merc-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Livraison ---------- */
.agn-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); background: #ffffff; border-radius: var(--r); }
.agn-zone { padding: 18px 18px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.agn-zone:nth-child(2n) { border-right: 0; }
.agn-zone:nth-last-child(-n+2) { border-bottom: 0; }
.agn-zone-num { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--green); }
.agn-page .agn-zone h3 { margin: 8px 0 4px; font-size: 15px; letter-spacing: 0; }
.agn-zone p { font-size: 14px; color: var(--muted); }
.agn-days { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.agn-days li { padding: 9px 18px; border: 1px solid var(--ink); border-radius: var(--r); background: #ffffff; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.agn-page .agn-deliv-note { font-size: 15px; color: var(--text); max-width: 640px; }

/* ---------- Étapes ---------- */
.agn-steps { display: grid; counter-reset: step; }
.agn-step { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.agn-step:first-child { border-top: 0; padding-top: 4px; }
.agn-step::before { content: counter(step); grid-row: 1 / span 2; font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--green); letter-spacing: -0.03em; }
.agn-page .agn-step h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.agn-step p { font-size: 15px; color: var(--text); max-width: 520px; }

/* ---------- Deux colonnes texte ---------- */
.agn-split { display: grid; gap: 30px; }
.agn-page .agn-split h3 { font-size: 1.25rem; margin-bottom: 10px; }
.agn-split p { margin-bottom: 14px; max-width: 560px; }
.agn-dash { border-top: 1px solid var(--ink); }
.agn-dash li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.agn-dash li::before { content: '—'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.agn-dash strong { color: var(--ink); }

/* ---------- Repères de saison ---------- */
.agn-seasons { border: 1px solid var(--ink); background: #ffffff; border-radius: var(--r); }
.agn-season { display: grid; gap: 4px 20px; padding: 14px 16px; border-bottom: 1px solid var(--rule); border-left: 4px solid transparent; }
.agn-season:last-child { border-bottom: 0; }
.agn-season.is-current { border-left-color: var(--green); background: #f4f9f5; }
.agn-season-name { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.agn-season-name em { margin-left: 8px; padding: 2px 7px; background: var(--green); color: #ffffff; font-style: normal; font-size: 10.5px; letter-spacing: .08em; border-radius: var(--r); }
.agn-season p { font-size: 15px; color: var(--text); }

/* ---------- FAQ ---------- */
.agn-faq { border-top: 1px solid var(--ink); max-width: 860px; }
.agn-faq details { border-bottom: 1px solid var(--rule); }
.agn-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.agn-faq summary::-webkit-details-marker { display: none; }
.agn-faq summary::after { content: '+'; flex: 0 0 auto; font-size: 22px; font-weight: 400; line-height: 1; color: var(--green); }
.agn-faq details[open] summary::after { content: '–'; }
.agn-faq details p { padding: 0 0 16px; font-size: 15px; color: var(--text); max-width: 720px; }

/* ---------- Bandeau final ---------- */
.agn-final { background: var(--green-d); color: #ffffff; padding: 48px 0; }
.agn-final .agn-wrap { display: grid; gap: 20px; }
.agn-page .agn-final h2 { color: #ffffff; font-size: clamp(1.5rem, 3vw, 2rem); }
.agn-final p { color: rgba(255,255,255,.88); max-width: 560px; margin-top: 8px; }

/* ---------- Pied de page ---------- */
.agn-footer { background: #0b2416; color: rgba(255,255,255,.78); padding: 48px 0 20px; font-size: 14.5px; }
.agn-footer-grid { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.16); }
.agn-page .agn-footer h4 { margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #cdf26b; }
.agn-footer li { padding: 3px 0; }
.agn-page .agn-footer a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.agn-footer-about { margin-top: 14px; max-width: 340px; }
.agn-footer address { margin-top: 12px; font-style: normal; color: #ffffff; }
.agn-footer-bottom { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.agn-page .agn-footer .agn-logo img { filter: brightness(0) invert(1); }

/* ---------- Bouton WhatsApp (icône seule, numéro non affiché) ---------- */
.agn-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; border: 2px solid #ffffff; }
.agn-wa:hover { background: #1ebe5b; }
.agn-wa svg { width: 30px; height: 30px; display: block; }

/* ---------- Contact ---------- */
.agn-pagehead { padding: 40px 0 34px; border-bottom: 1px solid var(--rule); }
.agn-page .agn-pagehead h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 8px 0 12px; }
.agn-pagehead p { max-width: 600px; font-size: 1.05rem; }
.agn-contact-grid { display: grid; gap: 24px; }
.agn-contact-block { border: 1px solid var(--ink); background: #ffffff; border-radius: var(--r); padding: 22px 20px; }
.agn-page .agn-contact-block h2 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.agn-contact-block p { margin-bottom: 12px; font-size: 15px; }
.agn-big-number { display: block; margin: 4px 0 14px; font-size: 1.9rem; font-weight: 800; letter-spacing: .01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.agn-form-box { margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .agn-wrap { padding: 0 32px; }
    .agn-page .agn-actions .agn-btn--ghost { display: inline-flex; }
    .agn-zones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .agn-zone, .agn-zone:nth-child(2n) { border-right: 1px solid var(--rule); border-bottom: 0; }
    .agn-zone:last-child { border-right: 0; }
    .agn-season { grid-template-columns: 190px 1fr; align-items: baseline; }
    .agn-footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 860px) {
    .agn-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
    .agn-split { grid-template-columns: 1fr 1fr; gap: 56px; }
    .agn-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .agn-step { grid-template-columns: 1fr; padding: 16px 0 0; border-top: 2px solid var(--ink); }
    .agn-step:first-child { border-top: 2px solid var(--ink); padding-top: 16px; }
    .agn-step::before { grid-row: auto; margin-bottom: 10px; }
    .agn-final .agn-wrap { grid-template-columns: 1fr auto; align-items: center; }
    .agn-contact-grid { grid-template-columns: 1fr 1fr; }
    .agn-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
}
@media (min-width: 1100px) {
    .agn-nav { display: block; }
    .agn-burger { display: none; }
}
@media (max-width: 782px) { .admin-bar .agn-header { top: 46px; } }

/* Mercuriale lisible sur téléphone : produit + colisage à gauche, prix à droite */
@media (max-width: 639px) {
    .agn-table thead { display: none; }
    .agn-table, .agn-table tbody { display: block; }
    .agn-table tr:not(.agn-group) { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "k p"; gap: 0 12px; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
    .agn-table tbody tr:last-child { border-bottom: 0; }
    .agn-table tr:not(.agn-group) td { display: block; padding: 0; border: 0; }
    .agn-table td.name { grid-area: n; }
    .agn-table td.pack { grid-area: k; font-size: 13px; }
    .agn-table td.price { grid-area: p; align-self: center; }
    .agn-table .agn-group { display: block; }
    .agn-table .agn-group th { display: block; }
    .agn-facts dl > div { grid-template-columns: 1fr; gap: 2px; }
    .agn-header-inner { gap: 10px; }
    .agn-page .agn-logo img { height: 34px !important; max-width: 118px !important; }
    .agn-page .agn-actions .agn-btn--primary { padding: 9px 14px; min-height: 40px; font-size: 11px; letter-spacing: .03em; }
    .agn-section { padding: 48px 0; }
    .agn-hero .agn-cta-row .agn-btn { width: 100%; }
    .agn-final .agn-cta-row .agn-btn { width: 100%; }
}
@media (max-width: 380px) {
    .agn-page .agn-actions .agn-btn--primary { display: none; }
    .agn-nav.is-open .agn-nav-cta { display: block; }
    .agn-nav.is-open .agn-nav-cta a { color: var(--green); font-weight: 800; }
}
@media (prefers-reduced-motion: reduce) { .agn-page * { transition: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ---- v4.1 : photo d'accueil, bande de conditions, miniatures de rayon ---- */
.agn-hero-photo { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.agn-hero-photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.agn-hero { border-bottom: 0; padding-bottom: 28px; }
.agn-facts--strip { margin: 0 auto 8px; border: 0; background: transparent; }
.agn-facts--strip .agn-facts-title { display: none; }
.agn-facts--strip dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.agn-facts--strip dl > div { display: block; padding: 14px 16px; background: #ffffff; border: 1px solid var(--rule); border-radius: var(--r); }
.agn-facts--strip dl > div:last-child { border: 1px solid var(--rule); }
.agn-facts--strip dt { margin-bottom: 4px; }
.agn-table .agn-group th { background: var(--paper-2); padding: 0; }
.agn-group-in { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.agn-group-in img { width: 44px; height: 44px; object-fit: cover; border-radius: 3px; }
.agn-final { background: var(--green-d); }
@media (min-width: 900px) {
    .agn-hero-photo img { max-height: 560px; }
    .agn-facts--strip dl { grid-template-columns: repeat(6, 1fr); }
}

/* =================================================================
   v5 - Direction « technique / suisse » : filets 1px, angles quasi droits,
   un seul accent (vert), chiffres tabulaires. Surcharge les règles ci-dessus.
   ================================================================= */
.agn-page {
    --ink: #12161a;
    --text: #2a3036;
    --muted: #5a6269;
    --rule: #d3d8dc;
    --paper: #f3f4f5;
    --paper-2: #eaecee;
    --green: #14532d;
    --green-d: #0d3a1f;
    --accent: #14532d;
    --r: 2px;
    font-family: 'Inter', system-ui, sans-serif;
    font-feature-settings: 'tnum' 1, 'cv11' 1;
}
body.agn-landing { background: #f3f4f5; }
.agn-page .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Titres : Archivo condensé, lourd, serré */
.agn-page h1, .agn-page h2, .agn-page h3 { font-family: 'Archivo', 'Inter', sans-serif; font-stretch: 75%; font-weight: 800; letter-spacing: -0.015em; line-height: 1.02; }
.agn-page .agn-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); max-width: 11em; margin: 0 0 20px; }
.agn-page .agn-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* Bandeau et en-tête */
.agn-strip { background: var(--ink); color: #ffffff; font-weight: 500; letter-spacing: 0; }
.agn-strip b { color: #ffffff; font-weight: 700; }
.agn-header { border-bottom: 1px solid var(--ink); }
.agn-page .agn-nav a { font-weight: 500; font-size: 14px; }
.agn-page .agn-nav a:hover, .agn-page .agn-nav a.is-current { text-decoration: none; box-shadow: inset 0 -2px 0 var(--accent); color: var(--ink); }

/* Boutons : phrase normale, pas de capitales */
.agn-page .agn-btn { text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 600; border-radius: var(--r); min-height: 46px; padding: 11px 22px; }
.agn-page .agn-btn--sm { font-size: 14px; min-height: 40px; }
.agn-page .agn-btn--primary { background: var(--accent); border-color: var(--accent); }
.agn-page .agn-btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.agn-page .agn-btn--ghost:hover { background: var(--ink); }
.agn-page .agn-btn--light { background: #ffffff; border-color: #ffffff; color: var(--ink); }
.agn-page .agn-btn--light:hover { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.agn-page .agn-btn--outline-light:hover { color: var(--ink); }
.agn-page .agn-link { text-decoration-thickness: 1px; }

/* Sections : séparées par des filets, pas par des aplats */
.agn-section { padding: 56px 0; border-top: 1px solid var(--ink); }
.agn-section--alt { background: var(--paper); border-bottom: 0; }
.agn-head { border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 22px; }
.agn-page .agn-head p { font-size: 14px; }
.agn-label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }

/* Hero */
.agn-hero { padding: 56px 0 56px; border-bottom: 0; }
.agn-page .agn-hero-lead { font-size: 1.1rem; max-width: 34em; margin-bottom: 28px; }
.agn-wa-link { font-weight: 500; text-decoration-thickness: 1px; }
.agn-wa-link:hover { color: var(--accent); }
.agn-facts, .agn-facts--strip { border: 1px solid var(--ink); background: #ffffff; border-radius: var(--r); }
.agn-page .agn-facts-title { display: block; background: transparent; color: var(--ink); padding: 12px 16px; border-bottom: 1px solid var(--ink); font-family: 'Inter', sans-serif; font-stretch: 100%; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.3; }
.agn-week { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--ink); }
.agn-week li { position: relative; display: grid; place-items: center; height: 56px; border-right: 1px solid var(--rule); font-size: 14px; font-weight: 600; color: #98a0a6; }
.agn-week li:last-child { border-right: 0; }
.agn-week li.is-on { background: var(--accent); color: #ffffff; border-right-color: var(--accent); }
.agn-week abbr { text-decoration: none; }
.agn-facts dl > div { grid-template-columns: 150px 1fr; padding: 12px 16px; }
.agn-facts dt { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--muted); padding-top: 1px; }
.agn-facts dd { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Filtre */
.agn-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.agn-filter label { font-size: 13px; font-weight: 500; color: var(--muted); }
.agn-filter input { flex: 0 1 320px; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--ink); border-radius: var(--r); background: #ffffff; font: inherit; font-size: 15px; color: var(--ink); }
.agn-filter input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.agn-filter span { font-size: 13px; color: var(--muted); }

/* Mercuriale : tableau fin, prix alignés à droite */
.agn-table-wrap { border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: #ffffff; border-radius: 0; }
.agn-table thead th { background: transparent; color: var(--muted); border-bottom: 1px solid var(--rule); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.agn-table .agn-group th { padding: 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: 'Archivo', sans-serif; font-stretch: 75%; font-size: 15px; font-weight: 800; letter-spacing: .01em; text-transform: none; color: var(--ink); }
.agn-group-in { display: block; padding: 9px 14px; }
.agn-table td { padding: 11px 14px; }
.agn-table td.name a { font-weight: 600; }
.agn-table td.name a:hover { color: var(--accent); text-decoration: none; box-shadow: inset 0 -1px 0 var(--accent); }
.agn-table td.price strong { font-size: 16px; font-weight: 700; }
.agn-table td.price small { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.agn-table tbody tr:not(.agn-group):hover td { background: #f2f8f4; }
.agn-table tbody tr:not(.agn-group):hover td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.agn-table tr[hidden] { display: none; }
.agn-merc-foot { border-top: 0; background: transparent; padding: 16px 0 0; }

/* Étapes : suite réelle, numérotée */
.agn-step { border-top: 1px solid var(--ink) !important; }
.agn-step::before { font-family: 'Archivo', sans-serif; font-stretch: 75%; font-weight: 800; color: var(--accent); }
.agn-page .agn-step h3 { font-family: 'Inter', sans-serif; font-stretch: 100%; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }

/* FAQ */
.agn-faq { border-top: 1px solid var(--ink); }
.agn-faq summary { font-weight: 600; }
.agn-faq summary::after { color: var(--accent); }

/* Pied de page : clair, séparé par un filet */
.agn-footer { background: #ffffff; color: var(--text); border-top: 1px solid var(--ink); }
.agn-footer address { color: var(--ink); }
.agn-footer-grid { border-bottom-color: var(--rule); }
.agn-page .agn-footer h4 { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; }
.agn-page .agn-footer a:hover { color: var(--accent); }
.agn-footer-bottom { color: var(--muted); }
.agn-page .agn-footer .agn-logo img { filter: none; }

/* Page contact et bandeau final */
.agn-final { background: var(--ink); }
.agn-contact-block { border: 1px solid var(--ink); }
.agn-days li { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
.agn-pagehead { border-bottom: 1px solid var(--ink); }
.agn-big-number { font-family: 'Archivo', sans-serif; font-stretch: 75%; font-size: 2.4rem; }

@media (min-width: 860px) {
    .agn-hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
}
@media (max-width: 639px) {
    .agn-facts dl > div { grid-template-columns: 1fr; }
    .agn-filter input { flex: 1 1 auto; }
    .agn-table .agn-group th, .agn-group-in { display: block; }
}

/* =================================================================
   v6 - Finitions « interface de précision » : albâtre, vert profond,
   module de tournées, tableau tabulaire, WhatsApp fixe en bas à droite.
   ================================================================= */
.agn-page {
    --ink: #0e1512;
    --text: #26302b;
    --muted: #5e6a64;
    --rule: #dce3df;
    --paper: #fafbfa;
    --paper-2: #f0f4f1;
    --green: #14532d;
    --green-d: #0d3a1f;
    --accent: #14532d;
}
body.agn-landing { background: #fafbfa; }
.agn-header { background: rgba(255,255,255,.96); }
.agn-section--alt { background: var(--paper-2); }

/* Hero : repère millimétré très discret */
.agn-hero {
    background-color: #fafbfa;
    background-image:
        linear-gradient(to right, rgba(14,21,18,.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(14,21,18,.045) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: -1px -1px;
    border-bottom: 1px solid var(--ink);
}
.agn-page .agn-hero h1 { font-size: clamp(2.8rem, 7.4vw, 5.2rem); line-height: .98; }

/* Module « Tournées de livraison » */
.agn-facts { border-color: var(--ink); }
.agn-page .agn-facts-title { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; padding: 11px 14px; color: var(--ink); }
.agn-week { grid-template-columns: repeat(7, 1fr); gap: 0; background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.agn-week li { height: 64px; align-content: center; gap: 2px; padding: 6px 0; border-right: 1px solid var(--rule); color: #9aa5a0; background: transparent; }
.agn-week abbr { font-family: 'Archivo', sans-serif; font-stretch: 75%; font-size: 22px; font-weight: 800; line-height: 1; text-decoration: none; color: inherit; }
.agn-week small { font-size: 10.5px; font-weight: 500; line-height: 1; letter-spacing: .02em; color: inherit; }
.agn-week li.is-on { background: var(--accent); color: #ffffff; border-right-color: rgba(255,255,255,.22); }
.agn-week li.is-on:last-child { border-right: 0; }
.agn-facts dl > div { grid-template-columns: 148px 1fr; align-items: baseline; border-bottom: 1px solid var(--rule); }
.agn-facts dd { font-variant-numeric: tabular-nums; }

/* Mercuriale : colonnes calées, chiffres tabulaires */
.agn-table { table-layout: fixed; }
.agn-table thead th:nth-child(1) { width: 46%; }
.agn-table thead th:nth-child(2) { width: 30%; }
.agn-table thead th:nth-child(3) { width: 24%; }
.agn-table td, .agn-table th { font-variant-numeric: tabular-nums; }
.agn-table td.pack { color: var(--muted); }
.agn-table td.price strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.agn-table td.price small { color: var(--muted); }
.agn-table .agn-group th { background: var(--paper-2); }
.agn-table tbody tr:not(.agn-group):hover td { background: #f3f8f5; }
.agn-table tbody tr:not(.agn-group):hover td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.agn-filter input { border-color: var(--rule); border-bottom-color: var(--ink); background: #ffffff; }
.agn-filter input:focus { border-color: var(--accent); }

/* Titres de section : hiérarchie nette */
.agn-head { align-items: flex-end; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 26px; }
.agn-page .agn-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.agn-section { padding: 72px 0; }

/* Étapes */
.agn-step::before { font-size: 2.8rem; }

/* WhatsApp : fixe, en bas à droite, hors du contenu */
.agn-wa { right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 2px; border: 1px solid var(--ink); background: #25d366; }
.agn-wa svg { width: 26px; height: 26px; }
.agn-footer { padding-bottom: 84px; }

@media (max-width: 639px) {
    .agn-week li { height: 58px; }
    .agn-week abbr { font-size: 19px; }
    .agn-week small { font-size: 9px; }
    .agn-table, .agn-table tbody { table-layout: auto; }
    .agn-section { padding: 52px 0; }
}

/* =================================================================
   v7 - Refonte complète : photo + tournée en direct, rayons, mercuriale,
   livraison, métiers, étapes, saisons, FAQ.
   ================================================================= */
.agn-hero { background: #fafbfa; background-image: none; padding: 48px 0 56px; border-bottom: 1px solid var(--ink); }
.agn-hero-grid { display: grid; gap: 36px; align-items: center; }
.agn-page .agn-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 13em; line-height: 1; margin-bottom: 18px; }
.agn-trust { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--rule); max-width: 520px; }
.agn-trust li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; font-variant-numeric: tabular-nums; }
.agn-trust strong { display: inline-block; min-width: 9.5em; color: var(--ink); font-weight: 700; }

.agn-hero-visual { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); min-height: 220px; border: 1px solid var(--ink); }
.agn-hero-visual.has-photo { aspect-ratio: 4 / 5; max-height: 640px; }
.agn-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.agn-tour { position: relative; margin: 0; background: #ffffff; border-top: 1px solid var(--ink); padding: 14px 16px 16px; }
.agn-hero-visual.has-photo .agn-tour { position: absolute; left: 0; right: 0; bottom: 0; }
.agn-page .agn-tour-title { font-size: 13px; color: var(--muted); font-weight: 500; }
.agn-page .agn-tour-date { font-family: 'Archivo', sans-serif; font-stretch: 75%; font-weight: 800; font-size: 1.9rem; line-height: 1.1; color: var(--ink); margin: 2px 0 12px; text-transform: capitalize; }
.agn-tour .agn-week { border: 1px solid var(--ink); background: #ffffff; }
.agn-tour .agn-week li { height: 44px; }
.agn-tour .agn-week abbr { font-size: 18px; }

/* Rayons */
.agn-rayons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 22px; }
.agn-rayon { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px 6px 6px; border: 1px solid var(--rule); border-radius: var(--r); background: #ffffff; }
.agn-rayon:not(.has-photo) { padding-left: 14px; }
.agn-rayon:hover { border-color: var(--accent); }
.agn-rayon img { width: 44px; height: 44px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.agn-rayon-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.agn-rayon-n { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.agn-group { scroll-margin-top: 90px; }

/* Livraison */
.agn-deliv { display: grid; gap: 36px; }
.agn-page .agn-deliv h3 { font-family: 'Inter', sans-serif; font-stretch: 100%; font-size: 14px; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.agn-nextlist { border-top: 1px solid var(--ink); }
.agn-nextlist li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); text-transform: capitalize; font-size: 15px; }
.agn-nextlist li strong { font-family: 'Archivo', sans-serif; font-stretch: 75%; font-size: 1.6rem; font-weight: 800; color: var(--ink); text-transform: none; }
.agn-nextlist li.is-first strong { color: var(--accent); }
.agn-page .agn-note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 440px; }
.agn-zonetable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-variant-numeric: tabular-nums; }
.agn-zonetable th, .agn-zonetable td { padding: 14px 8px 14px 0; border-bottom: 1px solid var(--rule); text-align: left; font-size: 15px; }
.agn-zonetable th { width: 56px; font-family: 'Archivo', sans-serif; font-stretch: 75%; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.agn-zonetable td:last-child { text-align: right; color: var(--muted); font-size: 14px; white-space: nowrap; padding-right: 0; }

/* Métiers */
.agn-metiers { border-top: 1px solid var(--ink); }
.agn-metiers > div { display: grid; gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.agn-metiers dt { font-family: 'Archivo', sans-serif; font-stretch: 75%; font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.15; }
.agn-metiers dd { font-size: 15px; color: var(--text); }

.agn-step-cta { margin-top: 32px; }
.agn-seasons { border: 0; border-top: 1px solid var(--ink); background: transparent; border-radius: 0; }
.agn-season { background: transparent; border-left: 0; padding: 16px 0; }
.agn-season.is-current { background: transparent; box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
.agn-season-name { font-family: 'Archivo', sans-serif; font-stretch: 75%; font-size: 1.15rem; text-transform: none; letter-spacing: 0; font-weight: 800; }
.agn-season-name em { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; background: var(--accent); }
.agn-final h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

@media (min-width: 640px) {
    .agn-rayons { grid-template-columns: repeat(3, 1fr); }
    .agn-metiers > div { grid-template-columns: 280px 1fr; align-items: baseline; }
}
@media (min-width: 860px) {
    .agn-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; }
    .agn-deliv { grid-template-columns: 1fr 1.2fr; gap: 64px; }
    .agn-rayons { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 859px) {
    .agn-hero-visual.has-photo { aspect-ratio: 4 / 4.6; }
}

/* WhatsApp : bouton rond */
.agn-wa { border-radius: 50% !important; border: 2px solid #ffffff; box-shadow: none; }

/* Pages métiers */
.agn-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.agn-crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.agn-page .agn-lead { font-size: 1.15rem; max-width: 40em; margin: 0 0 24px; color: var(--text); }
.agn-prose { max-width: 760px; }
.agn-page .agn-prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 40px 0 12px; }
.agn-page .agn-prose h2:first-child { margin-top: 0; }
.agn-prose p { margin: 0 0 16px !important; font-size: 16.5px; line-height: 1.7; }
.agn-prose ul { list-style: none; margin: 0 0 18px; border-top: 1px solid var(--rule); }
.agn-prose li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.agn-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.agn-metiers dt a { text-decoration: none; box-shadow: inset 0 -2px 0 var(--accent); }
.agn-metiers dt a:hover { color: var(--accent); }
.agn-wrap.agn-prose { max-width: 1180px; }
.agn-prose > * { max-width: 760px; }
