/* =========================================================
   duotone — version 3
   beige -> #F3EFA8 · vert -> #73732E · bordeaux -> #351317
   ========================================================= */
:root { --c-beige: #f3efa8; --c-cream: #f3efa8; --c-plum: #351317; --c-olv: #73732e; }
::selection { background: var(--c-olv); color: var(--c-beige); }

/* 01 — fond brun, logo jaune pâle, bouton vert */
body.v3:not(.v2) [data-tone="sky"], body.v3:not(.v2)[data-tone="sky"] { --bg: var(--c-plum); --ink: var(--c-beige); --accent: var(--c-olv); }
body.v3:not(.v2) .intro-logo path, body.v3:not(.v2) .intro-logo path[style] { fill: var(--c-beige); }
body.v3:not(.v2) .btn-intro { background: var(--c-olv); color: var(--c-beige); }
body.v3:not(.v2) .btn-intro b { background: var(--c-beige); color: var(--c-olv); }
body.v3:not(.v2) .btn-intro::before { background: var(--c-beige); }
body.v3:not(.v2) .btn-intro:hover { color: var(--c-plum); }
body.v3:not(.v2) .btn-intro:hover b { background: var(--c-plum); color: var(--c-beige); }

/* 04 — fond jaune pâle, texte brun, « bien plus large » vert */
body.v3:not(.v2) [data-tone="periwinkle"], body.v3:not(.v2)[data-tone="periwinkle"] { --bg: var(--c-beige); --ink: var(--c-plum); --accent: var(--c-olv); }
body.v3:not(.v2)[data-tone="periwinkle"] .nav .btn { background: var(--c-plum); color: var(--c-beige); }
body.v3:not(.v2)[data-tone="periwinkle"] .nav .btn b { background: var(--c-beige); color: var(--c-plum); }

/* 02 — mise en page : titre en haut à gauche, texte + boutons à droite, une ligne d'images en bas */
html.snap body.v3 .hero { height: 100vh; min-height: 0; justify-content: stretch; padding: 108px calc(var(--gutter) + 22px) 28px; }
body.v3 .hero .hero-wrap { display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: 4vh; max-width: none; width: 100%; }
html.snap body.v3 .hero .hero-inner, body.v3 .hero .hero-inner { transform: none; width: auto; max-width: none; padding-bottom: 0;
  display: grid; grid-template-columns: 1.55fr 1fr; grid-template-areas: "eye eye" "title side"; column-gap: 5vw; align-items: start; }
body.v3 .hero .eyebrow { grid-area: eye; margin-bottom: 2.4vh; }
body.v3 .hero .hero-title-wrap { grid-area: title; margin: 0; }
body.v3 .hero .hero-title { font-size: clamp(44px, 5.4vw, 104px); line-height: 1.0; margin: 0; }
body.v3 .hero .hero-side { grid-area: side; display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: 18px; padding-top: .5em; }
body.v3 .hero .hero-text { width: auto; min-width: 0; margin: 0; }
body.v3 .hero .hero-text p { font-size: clamp(13px, 1vw, 16px); line-height: 1.5; margin: 0; }
body.v3 .hero .hero-ctas { margin: 0; }

body.v3 .hero-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; flex: 0 1 auto; min-height: 0; }
body.v3 .hero-row .fs-slot { width: 100%; height: auto; aspect-ratio: 5 / 4; max-height: 42vh; border-radius: 3px; box-shadow: none; }
body.v3 .hero-row .fs-slot:nth-child(1) { transition-delay: .9s; } body.v3 .hero-row .fs-slot:nth-child(2) { transition-delay: 1.02s; }
body.v3 .hero-row .fs-slot:nth-child(3) { transition-delay: 1.14s; } body.v3 .hero-row .fs-slot:nth-child(4) { transition-delay: 1.26s; }
@media (max-width: 900px) {
  body.v3 .hero .hero-inner { grid-template-columns: 1fr; grid-template-areas: "eye" "title" "side"; row-gap: 20px; }
  body.v3 .hero-row { grid-template-columns: repeat(2, 1fr); }
}
/* ajustement proportions */
body.v3 .hero .hero-title { font-size: clamp(44px, 6.2vw, 116px); }
body.v3 .hero-row .fs-slot { aspect-ratio: 1 / 1; max-height: 46vh; }
html.snap body.v3 .hero .hero-inner, body.v3 .hero .hero-inner { grid-template-columns: 2fr 1fr; column-gap: 4vw; }
body.v3 .hero .hero-title { font-size: clamp(44px, 5.8vw, 110px); white-space: nowrap; }
body.v3 .hero .hero-ctas { flex-wrap: nowrap; gap: 10px; }
body.v3 .hero .hero-ctas .btn { font-size: clamp(13px, 1.05vw, 17px); padding: 9px 9px 9px 18px; gap: 10px; white-space: nowrap; }
body.v3 .hero .hero-ctas .btn b { width: 28px; height: 28px; }

/* ---------- v3.2 ---------- */
/* 02 — titre à la taille d'avant, texte + boutons centrés sur le titre et décalés à gauche, 3 images en 16:9 */
body.v3 .hero .hero-title { font-size: clamp(32px, 4vw, 80px); line-height: 1.02; white-space: nowrap; }
html.snap body.v3 .hero .hero-inner, body.v3 .hero .hero-inner { grid-template-columns: 1fr 31% 19%; grid-template-areas: "eye eye eye" "title side ."; column-gap: 0; }
body.v3 .hero .hero-side { display: block; align-self: center; padding-top: 0; }
body.v3 .hero .hero-ctas { margin-top: 22px; }
body.v3 .hero-row { grid-template-columns: repeat(3, 1fr); gap: 14px; }
body.v3 .hero-row .fs-slot { aspect-ratio: 16 / 9; max-height: none; }
body.v3 .hero-row .fs-slot:nth-child(4) { display: none; }

/* 04 — fond vert, texte jaune, mot en brun */
body.v3:not(.v2) [data-tone="periwinkle"], body.v3:not(.v2)[data-tone="periwinkle"] { --bg: var(--c-olv); --ink: var(--c-beige); --accent: var(--c-plum); }
body.v3:not(.v2)[data-tone="periwinkle"] .nav .btn { background: var(--c-beige); color: var(--c-plum); }
body.v3:not(.v2)[data-tone="periwinkle"] .nav .btn b { background: var(--c-plum); color: var(--c-beige); }

/* 06 — le parme passe en vert */
body.v3:not(.v2) .ia-title em { color: var(--c-olv); }
body.v3:not(.v2) [data-tone="ia-plum"], body.v3:not(.v2)[data-tone="ia-plum"] { --accent: var(--c-olv); }

/* 07 — fond brun, bordeaux -> jaune, orange -> vert */
body.v3:not(.v2) [data-tone="sky-end"], body.v3:not(.v2)[data-tone="sky-end"] { --bg: var(--c-plum); --ink: var(--c-beige); --accent: var(--c-olv); --o1: var(--c-beige); --o2: var(--c-olv); }
body.v3:not(.v2) .cta[data-tone="sky-end"] .cta-btn { background: var(--c-beige); color: var(--c-plum); }
body.v3:not(.v2)[data-tone="sky-end"] .nav .btn { background: var(--c-beige); color: var(--c-plum); }
body.v3:not(.v2)[data-tone="sky-end"] .nav .btn b { background: var(--c-plum); color: var(--c-beige); }
html.snap body.v3 .hero .hero-inner, body.v3 .hero .hero-inner { grid-template-columns: 1fr 40% 10%; }

/* ---------- v3.3 ---------- */
html.snap body.v3 .hero .hero-inner, body.v3 .hero .hero-inner { transform: translateY(30%); }
body.v3 .hero .hero-text { max-width: 64ch; }
@media (max-width: 900px) { html.snap body.v3 .hero .hero-inner, body.v3 .hero .hero-inner { transform: none; } }

/* ---------- v3.4 — jaune et bordeau foncé de la v4 ---------- */
:root { --c-beige: #f2e99c; --c-cream: #f2e99c; --c-plum: #461411; }
