/* Selfie Box Fun — feuille de style unique */
:root {
  --green-900: #13281c;
  --green-800: #1f3d2b;
  --green-700: #2c5640;
  --green-100: #e6efe8;
  --gold: #c9a45c;
  --gold-dark: #7d5f22;      /* or lisible sur fond clair (contraste AA) */
  --cream: #faf7f1;
  --ink: #1a1d1b;
  --text: #3b403d;
  --muted: #5f6662;
  --line: #e4e0d7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgb(19 40 28 / .25);
  --font-title: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Sacramento', cursive;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--font-body); color: var(--text); background: var(--cream); overflow-x: hidden; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-title); color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 .6em; letter-spacing: -.01em; text-wrap: balance; hyphens: manual; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.center-flex { justify-content: center; }
.mt { margin-top: 56px; }
.muted-text { color: var(--muted); margin-top: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 .82rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .9rem; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.05rem, .98rem + .4vw, 1.22rem); color: rgb(255 255 255 / .9); max-width: 62ch; }
.lead.dark { color: var(--text); }
.prose p { max-width: 70ch; }
.prose a { font-weight: 500; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8em 1.4em; border-radius: 999px; font: 600 .98rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--green-900); }
.btn-primary:hover { background: #d7b46c; }
.btn-light { background: #fff; color: var(--green-800); }
.btn-ghost-light { border-color: rgb(255 255 255 / .6); color: #fff; }
.btn-ghost-light:hover { background: rgb(255 255 255 / .12); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--green-700); text-decoration: none; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- en-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s; background: linear-gradient(rgb(19 40 28 / .55), transparent); }
.site-header.is-solid, .site-header.is-open { background: rgb(19 40 28 / .97); box-shadow: 0 6px 20px -10px rgb(0 0 0 / .4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { text-decoration: none; color: #fff; margin-right: auto; }
.brand-script { font: 400 clamp(1.9rem, 1.5rem + 1vw, 2.3rem)/1 var(--font-script); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 16px; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; color: #fff; text-decoration: none; font: 500 .94rem var(--font-body); background: none; border: 0; cursor: pointer; border-radius: 8px; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current], .nav-link.is-active { color: var(--gold); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px !important; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-sub:hover .sub, .has-sub.is-open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub a:hover, .sub a[aria-current] { background: var(--green-100); color: var(--green-800); }
.header-phone { display: none; color: #fff; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.header-phone svg { width: 22px; height: 22px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 24px; height: 2px; flex-shrink: 0; background: #fff; margin: 3px 0; transition: .3s; }
.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-open .burger span:nth-child(2) { opacity: 0; }
.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1160px) {
  .burger, .header-phone { display: inline-flex; flex-direction: column; justify-content: center; }
  .header-phone { flex-direction: row; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--green-900); flex-direction: column; align-items: stretch; padding: 16px 16px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .is-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.12rem; padding: 14px 8px; border-bottom: 1px solid rgb(255 255 255 / .08); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; display: none; padding: 4px 0 8px 12px !important; }
  .has-sub.is-open .sub { display: flex; }
  .sub a { color: rgb(255 255 255 / .85); }
  .sub a:hover, .sub a[aria-current] { background: rgb(255 255 255 / .08); color: var(--gold); }
  .nav-cta { margin-top: 20px; }
}

/* ---------- héros ---------- */
.hero, .page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--green-900); }
.hero { min-height: min(90vh, 820px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 72px; }
.page-hero { padding: calc(var(--header-h) + 56px) 0 64px; min-height: clamp(420px, 60vh, 560px); display: flex; align-items: flex-end; }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(19 40 28 / .93) 0%, rgb(19 40 28 / .75) 50%, rgb(19 40 28 / .35) 100%); }
@media (max-width: 700px) { .hero::after, .page-hero::after { background: linear-gradient(180deg, rgb(19 40 28 / .6), rgb(19 40 28 / .92) 55%); } }
.hero h1, .page-hero h1 { color: #fff; max-width: 20ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 480px) { .hero-actions .btn { width: 100%; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 18px; color: rgb(255 255 255 / .75); }
.crumbs a { color: inherit; }
.contact-intro .crumbs, .legal .crumbs { color: var(--muted); }

.stats-bar { background: var(--green-800); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 12px; text-align: center; border-right: 1px solid rgb(255 255 255 / .12); }
.stat:last-child { border: 0; }
.stat strong { display: block; font: 600 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1.1 var(--font-title); color: var(--gold); }
.stat span { font-size: .9rem; color: rgb(255 255 255 / .82); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .12); } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--green-900); color: rgb(255 255 255 / .82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-text { color: var(--muted); font-size: 1.06rem; }
.section-dark .section-text { color: rgb(255 255 255 / .72); }

.box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.box-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1060px) { .box-grid, .box-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .box-grid, .box-grid.three { grid-template-columns: 1fr; } }
.box-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); }
.section-alt .box-card { background: var(--cream); }
.box-card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--green-100); }
.box-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.box-card:hover .box-card-media img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; right: 12px; width: fit-content; background: var(--gold); color: var(--green-900); font: 600 .74rem/1.3 var(--font-body); padding: 6px 11px; border-radius: 999px; }
.box-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.box-card-body h3 a { color: inherit; text-decoration: none; }
.box-card-body p { font-size: .96rem; }
.box-card-body .link-arrow { margin-top: auto; }
.box-place { display: flex; align-items: center; gap: 6px; font-size: .9rem !important; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.align-start { align-items: start; }
.split.two-cols { align-items: start; margin-top: 52px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 640px; }
.split-media img.contain { aspect-ratio: auto; object-fit: contain; box-shadow: none; max-height: 480px; }

.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { margin-top: 5px; color: #fff; background: var(--green-700); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }

/* tableaux */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.spec, .compare { width: 100%; border-collapse: collapse; font-size: .96rem; }
.spec caption { text-align: left; padding: 18px 20px 4px; font: 600 1.05rem var(--font-title); color: var(--ink); }
.spec th, .spec td, .compare th, .compare td { padding: 13px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.spec th { width: 36%; color: var(--muted); font-weight: 500; }
.spec td { color: var(--ink); }
.compare { min-width: 760px; }
.compare thead th { background: var(--green-800); color: #fff; font-family: var(--font-title); font-size: 1.02rem; border-top: 0; }
.compare thead th a { color: #fff; text-decoration: none; }
.compare thead th a:hover { color: var(--gold); }
.compare tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.compare tbody tr:nth-child(even) { background: var(--cream); }
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
.compare tbody tr:nth-child(even) th { background: var(--cream); }
.compare thead th:first-child { background: var(--green-800); }
.scroll-hint { display: none; font-size: .88rem; color: var(--muted); text-align: right; margin: 0 0 8px; }
@media (max-width: 800px) {
  .scroll-hint { display: block; }
  .compare { min-width: 680px; font-size: .9rem; }
  .compare th, .compare td { padding: 11px 12px; }
  .compare tbody th { white-space: normal; width: 110px; }
}

.variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 640px) { .variants { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.variants figure { margin: 0; background: var(--cream); border-radius: var(--radius); padding: 16px; text-align: center; border: 1px solid var(--line); }
.section-alt .variants figure { background: var(--cream); }
.variants img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.photo-grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-grid a:hover img { transform: scale(1.04); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-800); color: var(--gold); font: 600 1.15rem var(--font-title); margin-bottom: 16px; }
.step p { font-size: .96rem; margin: 0; }

.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .event-grid { grid-template-columns: 1fr; } }
.event-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; text-decoration: none; color: rgb(255 255 255 / .88); isolation: isolate; }
.event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.event-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(19 40 28 / .96) 20%, rgb(19 40 28 / .15) 75%); }
.event-card:hover img { transform: scale(1.05); }
.event-card > div { padding: 28px; }
.event-card .link-arrow { color: var(--gold); }

.ia-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 40px; }
.ia-strip figure, .ia-grid figure { margin: 0; }
.ia-strip img, .ia-grid img { border-radius: var(--radius-sm); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.ia-strip figcaption, .ia-grid figcaption { text-align: center; }
@media (min-width: 761px) { .ia-strip figure:nth-child(even) { transform: translateY(22px); } }
@media (max-width: 760px) { .ia-strip { grid-template-columns: repeat(3, 1fr); } }
.ia-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 32px; }
.ia-grid a { text-decoration: none; }
@media (max-width: 960px) { .ia-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .ia-grid { grid-template-columns: repeat(2, 1fr); } }

.advice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .advice-grid { grid-template-columns: 1fr; } }
.advice { display: grid; grid-template-columns: 38% 1fr; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); }
.section:not(.section-alt) .advice { background: #fff; }
.advice img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.advice > div { padding: 22px; }
.advice p { margin: 0; font-size: .96rem; }
a.advice:hover h3 { color: var(--green-700); }
@media (max-width: 420px) { .advice { grid-template-columns: 1fr; } .advice img { aspect-ratio: 16 / 9; min-height: 0; } }

.frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .frames { grid-template-columns: repeat(2, 1fr); } }
.frames figure { margin: 0; text-align: center; }
.frames img { border-radius: var(--radius-sm); box-shadow: var(--shadow); width: 100%; }

.djin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .djin-grid { grid-template-columns: 1fr; } }
.djin-card { display: flex; gap: 22px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.djin-card img { width: 110px; border-radius: 14px; flex-shrink: 0; }
.djin-card p { margin: 0; font-size: .96rem; }
@media (max-width: 460px) { .djin-card { flex-direction: column; align-items: flex-start; } }

.zone { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .zone { grid-template-columns: 1fr; } }
.dept { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dept li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; color: var(--ink); }
.dept strong { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; background: var(--green-800); color: var(--gold); font-family: var(--font-title); }

.clients { padding-block: 48px; background: #fff; border-block: 1px solid var(--line); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 60s linear infinite; align-items: center; }
.marquee-track img { height: 50px; width: auto; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.faq { display: grid; gap: 12px; margin-bottom: 32px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.section-alt .faq-item { background: var(--cream); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.faq-item summary h3 { font: 600 1rem/1.45 var(--font-body); margin: 0; color: var(--ink); letter-spacing: 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: absolute; right: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--green-700); transition: transform .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 20px 4px; }

.formula-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.formula { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.formula h3 { color: var(--green-800); }
.formula .link-arrow { margin-top: auto; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--green-100); color: var(--green-800); padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; }

.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .model-grid { grid-template-columns: 1fr; } }
.model-card { display: grid; grid-template-columns: 42% 1fr; background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.model-card img { width: 100%; height: 100%; object-fit: cover; }
.model-card > div { padding: 24px; }
.model-for { color: var(--muted); font-size: .95rem; }
.model-card .checks { margin: 0; gap: 8px; font-size: .95rem; }
@media (max-width: 480px) { .model-card { grid-template-columns: 1fr; } .model-card img { aspect-ratio: 4 / 3; } }

.gallery { columns: 3 280px; column-gap: 16px; }
.gallery-item { display: block; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; position: relative; background: var(--green-100); box-shadow: 0 6px 18px -10px rgb(19 40 28 / .35); }
.gallery-item[hidden] { display: none; }
.gallery-item figure { margin: 0; }
.gallery-item img { width: 100%; transition: transform .6s; }
.gallery-item figcaption { position: absolute; inset: auto 0 0; margin: 0; padding: 28px 14px 12px; color: #fff; font-size: .88rem; line-height: 1.35; background: linear-gradient(transparent, rgb(19 40 28 / .85)); opacity: 0; transform: translateY(6px); transition: .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery-item figcaption { opacity: 1; transform: none; } }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 10px; } .gallery-item { margin-bottom: 10px; } .gallery-item figcaption { font-size: .78rem; padding: 22px 10px 8px; } }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filters button { border: 1.5px solid var(--line); background: #fff; color: var(--green-800); padding: 9px 18px; min-height: 44px; border-radius: 999px; font: 600 .92rem var(--font-body); cursor: pointer; transition: .2s; }
.filters button:hover { border-color: var(--green-700); }
.filters button[aria-pressed="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.gallery-empty { text-align: center; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tabs button { border: 2px solid var(--green-800); background: transparent; color: var(--green-800); padding: 10px 20px; min-height: 44px; border-radius: 999px; font: 600 .95rem var(--font-body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--green-800); color: #fff; }

.cta-band { background: linear-gradient(120deg, var(--green-800), var(--green-700)); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { margin: 0; color: rgb(255 255 255 / .85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; } }

/* ---------- contact ---------- */
.contact-section { padding: calc(var(--header-h) + 48px) 0 88px; background: linear-gradient(180deg, var(--green-900) 0 var(--header-h), var(--cream) 0); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.contact-list a { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-list svg { width: 24px; height: 24px; color: var(--green-700); }
.contact-list span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact-list small { color: var(--muted); }
.form { background: #fff; border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .94rem; color: var(--ink); min-width: 0; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-700); background: #fff; }
.form .is-invalid { border-color: #b42318 !important; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-weight: 500; font-size: .94rem; color: var(--ink); margin-bottom: 8px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { display: inline-flex !important; position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: .9rem; transition: .2s; }
.radio input:checked + span { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--muted) !important; }
.consent input { margin-top: 4px; accent-color: var(--green-700); width: 18px; height: 18px; flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 0; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #b42318; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--green-900); color: rgb(255 255 255 / .78); padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-light { color: #fff; display: inline-block; margin-bottom: 12px; }
.footer-title { font: 600 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; }
.footer-links, .socials { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer a, .footer-zone { color: rgb(255 255 255 / .88); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold); }
.site-footer .btn-light { color: var(--green-800); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- divers ---------- */
.legal { padding-top: calc(var(--header-h) + 56px); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.notfound { padding-top: calc(var(--header-h) + 96px); min-height: 70vh; }
body:has(.legal) .site-header, body:has(.notfound) .site-header, body:has(.contact-section) .site-header { background: var(--green-900); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(10 20 14 / .94); display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-height: 100%; max-width: min(1200px, 100%); width: auto; border-radius: 8px; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgb(255 255 255 / .28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
