/*
 * MAQUETTE du nouveau site public (2026-11-02) — styles communs aux 5 pages de test,
 * charges APRES vitrine-mix.css (meme charte : creme, bordeaux, cuivre ; Inter + Playfair
 * pour les titres). Bouchon de liege #dcb48a en accent, jamais d'or ni de jaune.
 */

/* ---------- En-tete : menu plus charge que les pages vitrine ---------- */
.header nav { gap: 1.35rem; }
.header nav a { white-space: nowrap; }
.header nav .cta-contour { border: 1.5px solid var(--accent-wine); color: var(--accent-wine) !important; padding: .45rem 1.1rem; border-radius: 8px; font-weight: 600; }
@media (max-width: 1280px) {
    .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--border-light); padding: .5rem 1rem 1rem; box-shadow: var(--shadow-lg); }
    .header nav.ouvert { display: flex; }
    .header nav a { padding: .75rem .25rem; border-bottom: 1px solid #f1e9e4; }
    .header nav a.cta-connexion, .header nav a.cta-contour { margin-top: .7rem; text-align: center; border-bottom: 0; }
    .burger { display: inline-flex; }
}

/* ---------- Pied de page a 5 colonnes ---------- */
@media (min-width: 1021px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }

/* ---------- Briques de page (producteurs, acheteurs, qui sommes-nous) ---------- */
.m-hero { margin-top: .6rem; padding: 2.4rem 2.2rem; border-radius: 22px; background: radial-gradient(ellipse at 0% 0%, #fff 0%, #fbf3f0 55%, #f6e4e8 100%); border: 1px solid var(--border-light); }
.m-hero.sombre { background: linear-gradient(145deg, #7C0A29 0%, #5f0820 70%, #4a0619 100%); border-color: transparent; color: #fff; }
.m-hero.sombre h1, .m-hero.sombre h2 { color: #fff; }
.m-hero.sombre p { color: rgba(255,255,255,.85); }
.m-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-wine); background: #fff; border: 1px solid #f0d2da; border-radius: 999px; padding: .28rem .8rem; }
.m-hero.sombre .m-badge { background: rgba(255,255,255,.12); border-color: transparent; color: #dcb48a; }
.m-hero h1 { margin: .75rem 0 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; }
.m-hero .accroche { margin-top: .7rem; font-size: 1.05rem; color: var(--text-secondary); max-width: 62ch; }
.m-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.4rem; }
.m-hero.sombre .bouton.plein { background: #fff; color: var(--accent-wine); box-shadow: none; }
.m-hero.sombre .bouton.vide { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

.m-section { margin-top: 3.2rem; }
.m-section > .m-titre { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.4rem; }
.m-titre .surtitre { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-wine); }
.m-titre h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.2; }
.m-titre p { color: var(--text-secondary); max-width: 70ch; }

.m-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.m-grille.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-carte { background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 1.25rem 1.3rem; box-shadow: var(--shadow-sm); }
.m-carte .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #f8e8ec; color: var(--accent-wine); font-size: 1.05rem; }
.m-carte h3 { margin: .85rem 0 0; font-size: 1.08rem; color: var(--primary-dark); }
.m-carte p { margin-top: .4rem; font-size: .93rem; color: var(--text-secondary); line-height: 1.5; }

/* Capture d'ecran de l'outil dans un cadre de fenetre */
.m-capture { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-light); background: #fff; box-shadow: 0 18px 40px -22px rgba(44,24,16,.35); }
.m-capture .barre { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; background: #f7f2ef; border-bottom: 1px solid var(--border-light); }
.m-capture .barre span { width: 9px; height: 9px; border-radius: 50%; background: #e2d4cc; }
.m-capture .barre em { margin-left: .6rem; font-style: normal; font-size: .72rem; color: var(--text-tertiary); background: #fff; border-radius: 6px; padding: .12rem .6rem; }
.m-capture img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Rangee fonctionnalite : texte + capture, alternee */
.m-fonction { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.2rem; align-items: center; margin-top: 2.4rem; }
.m-fonction.inverse > :first-child { order: 2; }
.m-fonction h3 { margin: .5rem 0 0; font-size: 1.35rem; color: var(--primary-dark); }
.m-fonction p { margin-top: .55rem; color: var(--text-secondary); line-height: 1.55; }
.m-fonction ul { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .45rem; }
.m-fonction li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; color: var(--text-secondary); }
.m-fonction li i { margin-top: .25rem; font-size: .8rem; color: var(--accent-wine); }
.m-pastille { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: .2rem .6rem; background: #f8e8ec; color: var(--accent-wine); }
.m-pastille.liege { background: #f3e6d6; color: #6b4a2b; }

/* Questions frequentes */
.m-faq { display: grid; gap: .6rem; }
.m-faq details { background: #fff; border: 1px solid var(--border-light); border-radius: 12px; padding: 0 1.1rem; }
.m-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; color: var(--primary-dark); }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--accent-wine); }
.m-faq details[open] summary::after { content: '\2212'; }
.m-faq details p { padding: 0 0 1rem; color: var(--text-secondary); line-height: 1.55; }

/* Bandeau d'appel en bas de page */
.m-appel { margin-top: 3.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; padding: 1.8rem 2rem; border-radius: 20px; background: linear-gradient(145deg, #7C0A29 0%, #5f0820 70%, #4a0619 100%); color: #fff; }
.m-appel h2 { margin: 0; color: #fff; font-size: 1.45rem; }
.m-appel p { margin-top: .3rem; color: rgba(255,255,255,.82); }
.m-appel .bouton.plein { background: #fff; color: var(--accent-wine); box-shadow: none; }
.m-appel .bouton.vide { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

@media (max-width: 860px) {
    .m-hero { padding: 1.5rem 1.1rem; border-radius: 18px; }
    .m-section { margin-top: 2.4rem; }
    .m-grille, .m-grille.deux { grid-template-columns: minmax(0, 1fr); }
    .m-fonction { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; margin-top: 2rem; }
    .m-fonction.inverse > :first-child { order: 0; }
    .m-appel { padding: 1.4rem 1.1rem; }
    .m-actions .bouton { width: 100%; }
}

/* =====================================================================
   V2 (2026-11-02) — pages Producteurs / Acheteurs : lisibilite d'abord.
   Petites interfaces DESSINEES (texte lisible) plutot que captures reduites ;
   la vraie capture reste a un clic (data-ecran -> visionneuse).
   ===================================================================== */
.v2-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: 2.6rem 2.4rem; }
.v2-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.v2-rassure { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: 1.1rem; font-size: .88rem; color: var(--text-secondary); }
.v2-rassure span { display: inline-flex; align-items: center; gap: .4rem; }
.v2-rassure i { color: var(--accent-wine); font-size: .8rem; }
.lien-demo { display: inline-flex; align-items: center; gap: .55rem; font: inherit; font-weight: 600; font-size: .95rem; color: var(--text-primary); background: none; border: 0; cursor: pointer; padding: .4rem 0; }
.lien-demo .rond { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--border-light); color: var(--accent-wine); box-shadow: var(--shadow-sm); }

/* Scene d'illustration du hero : cartes superposees */
.scene { position: relative; min-height: 400px; }
.scene > .ui { position: absolute; }

/* ---- Petite interface dessinee (commune) ---- */
.ui { background: #fff; border: 1px solid var(--border-light); border-radius: 14px; box-shadow: 0 16px 36px -18px rgba(44,24,16,.35); font-size: .86rem; color: var(--text-primary); text-align: left; }
.ui-tete { display: flex; align-items: center; gap: .6rem; padding: .75rem .9rem; border-bottom: 1px solid #f1e9e4; }
.ui-corps { padding: .8rem .9rem; }
.ui-av { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .78rem; color: #fff; background: var(--grad); }
.ui-av.liege { background: #dcb48a; color: #4a0619; }
.ui-av.vert { background: #2f6b4f; }
.ui-av.bleu { background: #2d4f7c; }
.ui b { font-weight: 700; }
.ui small { display: block; color: var(--text-tertiary); font-size: .76rem; }
.ui-ligne { display: flex; align-items: center; gap: .65rem; padding: .55rem 0; border-bottom: 1px dashed #f1e9e4; }
.ui-ligne:last-child { border-bottom: 0; }
.ui-ligne > div { flex: 1; min-width: 0; }
.ui-pt { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ui-pt.rouge { background: #7C0A29; } .ui-pt.blanc { background: #e8d9a8; border: 1px solid #d8c78e; } .ui-pt.rose { background: #f2a7b3; }
.ui-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; border-radius: 999px; padding: .15rem .55rem; background: #f6efea; color: var(--text-secondary); white-space: nowrap; }
.ui-tag.ok { background: #e6f3ec; color: #2f6b4f; }
.ui-tag.vin { background: #f8e8ec; color: var(--accent-wine); }
.ui-bulle { max-width: 92%; padding: .6rem .75rem; border-radius: 12px; background: #f6efea; line-height: 1.45; }
.ui-bulle.moi { margin-left: auto; background: var(--accent-wine); color: #fff; }
.ui-trad { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; font-size: .72rem; font-weight: 600; color: var(--accent-wine); }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; font-size: .76rem; font-weight: 600; border-radius: 8px; padding: .4rem .7rem; background: var(--accent-wine); color: #fff; white-space: nowrap; }
.ui-btn.vide { background: #fff; color: var(--text-primary); border: 1px solid var(--border-light); }
.ui-flou { filter: blur(4px); user-select: none; }
.ui-barre { height: 8px; border-radius: 999px; background: #f1e9e4; overflow: hidden; }
.ui-barre > span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }

/* ---- Etapes « comment ca marche » ---- */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.etape { position: relative; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 1.3rem 1.3rem 1.2rem; }
.etape .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }
.etape h3 { margin: .8rem 0 0; font-size: 1.05rem; color: var(--primary-dark); }
.etape p { margin-top: .35rem; font-size: .92rem; color: var(--text-secondary); line-height: 1.5; }
.etape:not(:last-child)::after { content: ''; position: absolute; top: 2.4rem; right: -1rem; width: 1rem; height: 2px; background: var(--border-medium); }

/* ---- Tuiles (bento) ---- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.v2-tuile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-light); border-radius: 20px; overflow: hidden; }
.v2-tuile.large { grid-column: span 2; }
.tuile-illu { position: relative; padding: 1.4rem; background: linear-gradient(160deg, #fbf3f0 0%, #f6e9e4 100%); border-bottom: 1px solid var(--border-light); flex: 1; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.tuile-illu > .ui { position: relative; width: 100%; max-width: 460px; }
.tuile-texte { padding: 1.15rem 1.3rem 1.25rem; }
.tuile-texte .m-pastille { margin-bottom: .55rem; }
.tuile-texte h3 { margin: 0; font-size: 1.12rem; color: var(--primary-dark); }
.tuile-texte p { margin-top: .4rem; font-size: .93rem; color: var(--text-secondary); line-height: 1.5; }
.tuile-texte ul { list-style: none; padding: 0; margin: .65rem 0 0; display: grid; gap: .35rem; }
.tuile-texte li { display: flex; gap: .5rem; font-size: .9rem; color: var(--text-secondary); }
.tuile-texte li i { margin-top: .25rem; font-size: .75rem; color: var(--accent-wine); }
.voir-ecran { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font: inherit; font-size: .85rem; font-weight: 600; color: var(--accent-wine); background: none; border: 0; padding: 0; cursor: pointer; }
.voir-ecran:hover { text-decoration: underline; }

/* ---- Visionneuse (captures reelles et video) ---- */
.visionneuse { margin: auto; border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
.visionneuse::backdrop { background: rgba(26,15,10,.72); }
.visionneuse figure { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.visionneuse figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; font-weight: 600; font-size: .92rem; border-bottom: 1px solid var(--border-light); }
.visionneuse figcaption button { font: inherit; font-size: 1.4rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--text-secondary); }
.visionneuse img, .visionneuse video { display: block; width: 100%; max-height: 80vh; object-fit: contain; background: #f7f2ef; }
.visionneuse video[hidden] { display: none; }
/* Ecran de fin de video (data-fin) : inscription ou demande de rappel */
.vid-fin { padding: 1.8rem 1.6rem 1.4rem; background: linear-gradient(180deg, #fbf5f2 0%, #fff 60%); text-align: center; max-height: 80vh; overflow-y: auto; }
.vid-fin[hidden] { display: none; }
.vid-fin h3 { margin: 0 0 1.3rem; font-family: 'Playfair Display', serif; font-size: 1.7rem; line-height: 1.2; color: var(--accent-wine); }
.vid-fin-choix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; max-width: 860px; margin: 0 auto; text-align: left; }
.vid-fin-bloc { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem; border-radius: 14px; background: #fff; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.vid-fin-bloc h4 { margin: 0; font-size: 1.05rem; color: #2c1810; }
.vid-fin-bloc p { margin: 0; font-size: .9rem; line-height: 1.5; color: #5a4a42; }
.vid-fin-bloc .bouton { margin-top: .5rem; justify-content: center; }
.vid-fin-bloc:first-child { justify-content: center; text-align: center; }
.vid-rappel input:not([type=hidden]) { font: inherit; font-size: .92rem; padding: .6rem .75rem; border: 1px solid var(--border-medium); border-radius: 8px; background: #fff; }
.vid-rappel input:focus { outline: none; border-color: var(--accent-wine); }
.vid-rappel .bouton { cursor: pointer; font: inherit; font-weight: 600; border-color: var(--accent-wine); color: var(--accent-wine); }
.vid-rappel [hidden] { display: none; }
.vid-rappel small { font-size: .75rem; color: #8b7d77; }
.vid-rappel small a { color: inherit; }
.vid-rappel-retour:empty { display: none; }
.vid-rappel-retour.ok { color: #2f6b4f; font-weight: 600; }
.vid-rappel-retour.err { color: #a3261b; }
.vid-revoir { margin-top: 1.1rem; font: inherit; font-size: .9rem; font-weight: 600; background: none; border: 0; color: var(--accent-wine); cursor: pointer; }
@media (max-width: 700px) { .vid-fin { padding: 1.3rem 1rem 1rem; } .vid-fin h3 { font-size: 1.35rem; } .vid-fin-choix { grid-template-columns: minmax(0, 1fr); } }

/* ---- Choix de l'offre ---- */
.choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.choix-carte { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-light); border-radius: 20px; padding: 1.4rem 1.4rem 1.3rem; }
.choix-carte.vedette { border: 2px solid var(--accent-wine); box-shadow: 0 18px 40px -22px rgba(124,10,41,.45); }
.choix-carte .besoin { font-size: .95rem; font-weight: 600; color: var(--text-secondary); }
.choix-carte .besoin b { color: var(--accent-wine); }
.choix-carte h3 { margin: .35rem 0 0; font-size: 1.2rem; color: var(--primary-dark); }
.choix-carte .prix { margin-top: .7rem; font-size: 2rem; font-weight: 700; color: var(--primary-dark); line-height: 1.1; }
.choix-carte .prix small { font-size: .85rem; font-weight: 600; color: var(--text-tertiary); }
.choix-carte .prix-note { font-size: .82rem; color: var(--text-tertiary); margin-top: .2rem; min-height: 1.2em; }
.choix-carte ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.choix-carte li { display: flex; gap: .5rem; font-size: .92rem; color: var(--text-secondary); line-height: 1.4; }
.choix-carte li i { margin-top: .25rem; font-size: .75rem; color: var(--accent-wine); }
.choix-carte details { margin-top: .7rem; font-size: .88rem; }
.choix-carte details summary { cursor: pointer; font-weight: 600; color: var(--accent-wine); }
.choix-carte details ul { margin-top: .5rem; }
.choix-carte .pied { margin-top: auto; padding-top: 1.2rem; display: grid; gap: .4rem; text-align: center; }
.choix-carte .pied small { color: var(--text-tertiary); font-size: .8rem; }
.choix-carte .etiquette { position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: .25rem .7rem; background: #dcb48a; color: #4a0619; white-space: nowrap; }

.m-faq.deux-col { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

/* =====================================================================
   V3 (2026-11-02) — hierarchie et contraste. Retour du user : « les titres se
   perdent dans le texte, pas de contraste, on est noye dans l'information ».
   - bandes pleine largeur qui alternent (blanc / creme / sombre) : chaque partie
     se voit de loin. Pleine largeur sans debordement : box-shadow + clip-path
     (100vw compterait la barre de defilement et ferait deborder la page) ;
   - titres de section grands, fonces, centres ; une ligne de sous-titre ;
   - etiquettes d'offre en couleurs franches.
   ===================================================================== */
.bande { --fond: #fff; background: var(--fond); box-shadow: 0 0 0 100vmax var(--fond); clip-path: inset(0 -100vmax); padding: 4.5rem 0; margin-top: 0 !important; }
.bande.creme { --fond: #f6f0ec; }
.bande.sombre { --fond: #1f0a11; color: #fff; }
.m-hero + .bande { margin-top: 3.5rem !important; }
.bande > .m-titre { align-items: center; text-align: center; margin: 0 auto 2.8rem; max-width: 760px; }
.m-titre h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: #15121a; }
.m-titre .surtitre { font-size: .8rem; letter-spacing: .14em; }
.m-titre p { font-size: 1.1rem; color: #5a4a42; }
.bande.sombre .m-titre h2 { color: #fff; }
.bande.sombre .m-titre p { color: rgba(255,255,255,.72); }
.bande.sombre .m-titre .surtitre { color: #dcb48a; }

/* Tuiles : blanches et nettes, illustration sur fond neutre */
.bande .v2-tuile { border: 0; border-radius: 22px; }
.bande.sombre .v2-tuile { box-shadow: 0 24px 50px -30px rgba(0,0,0,.6); }
.bande .tuile-illu { background: #f3eeeb; border-bottom: 0; }
.bande .tuile-texte { padding: 1.3rem 1.5rem 1.4rem; }
.bande .tuile-texte h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: #15121a; }
.bande .tuile-texte p { font-size: 1rem; color: #4a3d37; }
/* V3 bis : outils detailles — accroche foncee + 3-4 points, aeres (le user trouvait la V3 trop resumee) */
.bande .tuile-texte .accroche-outil { margin-top: .45rem; font-size: 1rem; font-weight: 600; color: #2c1810; line-height: 1.45; }
.bande .tuile-texte ul { margin-top: .8rem; gap: .5rem; }
.bande .tuile-texte li { font-size: .94rem; color: #4a3d37; line-height: 1.45; }
.bande .tuile-texte li i { color: #2f6b4f; font-size: .8rem; margin-top: .3rem; }
.bande .voir-ecran { font-size: .82rem; color: #8b7d77; }

/* V3 ter : captures recadrees. Retour du user : il n'aimait pas les illustrations dessinees ;
   vraies captures de la plateforme, zoomees sur la partie utile (fichiers IMG/maquette/,
   recadres par scratchpad/recadrer_captures.py). Rapport impose par type de tuile pour que
   les rangees restent alignees ; un clic ouvre la capture entiere (visionneuse, data-ecran). */
.tuile-illu:has(.capture-outil) { padding: 1.1rem; background: #f3eeeb; flex: none; min-height: 0; align-items: flex-start; }
.capture-outil { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 12px; border: 1px solid #e8ddd6; background: #fff; box-shadow: 0 10px 24px -16px rgba(44,24,16,.35); cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.capture-outil:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(44,24,16,.45); }
.v2-tuile.large .capture-outil { aspect-ratio: 2 / 1; }
/* Tuile simple a cote d'une large : meme hauteur d'image que sa voisine (3 colonnes) */
@media (min-width: 1021px) { .v2-tuile.large + .v2-tuile .capture-outil { aspect-ratio: 13 / 14; } }
/* Mobile : les tuiles larges servent une variante serree (<picture>, fichiers *-m.webp) en 16/10 */
.tuile-illu picture { display: block; width: 100%; }
@media (max-width: 860px) { .v2-tuile.large .capture-outil { aspect-ratio: 16 / 10; } }
/* Fiches PDF : aucune capture n'existe -> grande icone + langues, sans faux document */
.tuile-pdf { flex-direction: column; justify-content: center; gap: 1rem; padding: 1.1rem; }
.tuile-pdf > i { font-size: 4rem; color: #b33a3a; }
.tuile-pdf .langues { justify-content: center; }
/* Meme hauteur que les captures voisines (image 16/10 + marge interieure) */
.bento .tuile-pdf { flex: none; min-height: 0; aspect-ratio: 16 / 11.3; }
.bande .voir-ecran:hover { color: var(--accent-wine); }

/* Etiquettes d'offre : une couleur franche par offre, la meme partout */
.m-pastille.gratuit { background: #2f6b4f; color: #fff; }
.m-pastille.visibilite { background: var(--accent-wine); color: #fff; }
.m-pastille.business { background: #15121a; color: #dcb48a; }

/* Etapes : gros chiffres, pas de cadre */
.bande .etape { background: #f6f0ec; border: 0; border-radius: 20px; padding: 1.6rem 1.6rem 1.5rem; }
.bande.creme .etape { background: #fff; }
.bande .etape .num { width: 52px; height: 52px; font-size: 1.35rem; }
.bande .etape h3 { font-size: 1.25rem; font-weight: 800; color: #15121a; margin-top: 1rem; }
.bande .etape p { font-size: 1rem; color: #4a3d37; }
.bande .etape:not(:last-child)::after { display: none; }

.bande .m-faq summary { font-size: 1.02rem; }

@media (max-width: 860px) {
    .bande { padding: 3rem 0; }
    .m-hero + .bande { margin-top: 2.2rem !important; }
    .bande > .m-titre { margin-bottom: 1.8rem; }
}

@media (max-width: 1020px) {
    .v2-hero { grid-template-columns: minmax(0, 1fr); }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .v2-hero { padding: 1.5rem 1.1rem; gap: 1.6rem; }
    .scene { min-height: 0; display: grid; gap: .7rem; }
    .scene > .ui { position: relative; inset: auto !important; width: 100% !important; transform: none !important; }
    .etapes, .choix, .m-faq.deux-col { grid-template-columns: minmax(0, 1fr); }
    .etape:not(:last-child)::after { display: none; }
    .bento { grid-template-columns: minmax(0, 1fr); }
    .v2-tuile.large { grid-column: auto; }
    .tuile-illu { min-height: 0; padding: 1rem; }
    .choix { gap: 1.4rem; }
}

/* =====================================================================
   V4 (2026-11-03) : retour au style de detailproducteur / detailacheteur.
   Retour du user : il preferait les anciennes pages (grandes captures en
   carrousel a cote du texte, titres serif lie-de-vin, offres en 3 cartes sur
   fond lie-de-vin) au bento et au tableau comparatif. On reprend ce style en
   gardant le contenu a jour (points detailles, etiquettes d'offre, prix).
   ===================================================================== */
.fct-liste { display: flex; flex-direction: column; gap: 4.5rem; max-width: 1240px; margin: 0 auto; }
.fct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3.2rem; align-items: center; }
.fct:nth-child(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.fct:nth-child(even) > .fct-texte { order: 2; }
.fct-texte h3 { display: block; width: fit-content; margin: .7rem 0 0; font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.15; font-weight: 700; color: var(--accent-wine); padding-bottom: .55rem; border-bottom: 3px solid var(--accent-wine); }
.fct-texte .fct-intro { margin-top: 1rem; font-size: 1.08rem; line-height: 1.7; color: #4a3d37; }
.fct-texte ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.fct-texte li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; line-height: 1.45; color: #2c1810; }
.fct-texte li i { margin-top: .28rem; font-size: .8rem; color: var(--accent-wine); }
.fct-texte .m-pastille + .m-pastille { margin-left: .25rem; }

/* Carrousel de captures (cadre lie-de-vin, comme les anciennes pages) */
.galerie-cadre { position: relative; height: 430px; border: 3px solid var(--accent-wine); border-radius: 16px; overflow: hidden; background: linear-gradient(145deg, #faf7f5 0%, #f0ebe7 100%); box-shadow: 0 18px 40px -22px rgba(44,24,16,.35); }
.galerie-vue { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.galerie-vue.active { opacity: 1; visibility: visible; }
.galerie-vue img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.1); cursor: zoom-in; }
.galerie-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--accent-wine), #A0522D); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.galerie-nav:hover { transform: translateY(-50%) scale(1.08); }
.galerie-nav.prec { left: 14px; }
.galerie-nav.suiv { right: 14px; }
.galerie-compte { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: .3rem .8rem; border-radius: 999px; background: rgba(124,10,41,.92); color: #fff; font-size: .82rem; font-weight: 600; }
.galerie-points { display: flex; justify-content: center; gap: .6rem; margin-top: .9rem; }
.galerie-points button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(124,10,41,.25); }
.galerie-points button.active { background: var(--accent-wine); transform: scale(1.2); }
.galerie-legende { margin-top: .5rem; text-align: center; font-size: .85rem; color: #8b7d77; }
/* Fiches PDF : aucune capture n'existe -> grande icone + langues dans le meme cadre */
.galerie-cadre.sans-capture { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; }
.galerie-cadre.sans-capture > i { font-size: 5rem; color: var(--accent-wine); opacity: .85; }
.galerie-cadre.sans-capture .langues { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; max-width: 80%; }
.galerie-cadre.sans-capture .langues span { padding: .3rem .7rem; border-radius: 8px; background: #fff; border: 1px solid #ead9d3; font-size: .85rem; font-weight: 700; color: #4a3d37; }
.galerie-cadre.sans-capture .langues span:first-child { background: var(--accent-wine); border-color: var(--accent-wine); color: #fff; }

/* Offres : 3 cartes sur bande lie-de-vin */
.bande.vin { --fond: linear-gradient(135deg, #7C0A29 0%, #5f0820 55%, #3d0511 100%); background: #5f0820; box-shadow: 0 0 0 100vmax #5f0820; color: #fff; }
.bande.vin .m-titre h2 { color: #fff; }
.bande.vin .m-titre p { color: rgba(255,255,255,.8); }
.bande.vin .m-titre .surtitre { color: #dcb48a; }
.off-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; max-width: 1180px; margin: 0 auto; }
.off-carte { position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.6rem 1.6rem; border-radius: 22px; background: #fff; color: #2c1810; border: 2px solid transparent; box-shadow: 0 24px 50px -28px rgba(0,0,0,.55); }
.off-carte.vedette { border-color: #dcb48a; background: linear-gradient(180deg, #fffaf7 0%, #fff 40%); }
.off-ruban { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: .25rem .9rem; border-radius: 999px; background: #dcb48a; color: #4a0619; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.off-carte .m-pastille { align-self: flex-start; }
.off-carte h3 { margin: .9rem 0 0; padding-bottom: .7rem; border-bottom: 2px solid var(--accent-wine); font-family: 'Playfair Display', serif; font-size: 1.7rem; line-height: 1.15; font-weight: 700; color: var(--accent-wine); }
.off-intro { margin-top: .8rem; font-size: .93rem; line-height: 1.55; color: #4a3d37; min-height: 4.65em; }
.off-photo { margin: 1rem 0; border-radius: 14px; overflow: hidden; border: 2px solid rgba(124,10,41,.3); background: #f6f1ec; }
.off-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top left; cursor: zoom-in; }
.off-plus { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; padding: .55rem .8rem; border-radius: 10px; background: rgba(124,10,41,.06); border: 1px solid rgba(124,10,41,.18); font-size: .86rem; font-weight: 700; color: var(--accent-wine); }
.off-carte ul { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .55rem; }
.off-carte li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.4; }
.off-carte li i { margin-top: .25rem; font-size: .8rem; color: #2f6b4f; }
.off-pied { margin-top: auto; padding-top: 1rem; border-top: 1px solid #efe6e0; text-align: center; }
.off-prix { font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--accent-wine); }
.off-prix span { font-size: .9rem; font-weight: 500; color: #8b7d77; }
.off-prix-note { margin-top: .4rem; min-height: 1.3em; font-size: .83rem; color: #5a4a42; }
.off-carte .bouton { display: flex; justify-content: center; width: 100%; margin: .9rem 0 .5rem; }
.off-note { font-size: .78rem; color: #8b7d77; }
.off-bas { margin-top: 1.6rem; text-align: center; font-size: .88rem; color: rgba(255,255,255,.82); }
.off-bas a { color: #fff; }
/* Acheteurs : une seule carte, large */
.off-carte.unique { max-width: 760px; margin: 0 auto; }
.off-carte.unique ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .55rem 1.4rem; }

@media (max-width: 1024px) {
    .fct, .fct:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .fct:nth-child(even) > .fct-texte { order: 0; }
    .galerie-cadre { height: 360px; }
    .off-grille { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
    .off-intro { min-height: 0; }
}
@media (max-width: 600px) {
    .fct-liste { gap: 3.2rem; }
    .galerie-cadre { height: auto; aspect-ratio: 16 / 11; border-width: 2px; }
    .galerie-vue { padding: 8px; }
    .galerie-nav { width: 36px; height: 36px; }
    .galerie-nav.prec { left: 8px; }
    .galerie-nav.suiv { right: 8px; }
    .off-carte.unique ul { grid-template-columns: minmax(0, 1fr); }
}
