/* Belon Marine Loisirs — feuille de style du site public */
:root {
  --navy: #0c2a3d;
  --navy-2: #163f57;
  --sea: #1d7287;
  --sea-light: #e3f0f3;
  --sand: #f5f1ea;
  --accent: #e5652a;
  --accent-dark: #c4501b;
  --text: #1a2730;
  --muted: #5a6a74;
  --line: #e1e5e8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(12, 42, 61, .06), 0 6px 20px rgba(12, 42, 61, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.pre { white-space: pre-line; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(800px, 100% - 2.5rem); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 650; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Barre admin */
.admin-bar { background: #102531; color: #cfe0e8; font-size: .85rem; display: flex; gap: 1.2rem; justify-content: center; padding: .4rem 1rem; flex-wrap: wrap; }
.admin-bar a { color: #fff; font-weight: 600; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; color: var(--navy); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.25rem; letter-spacing: -.02em; }
.brand-text span { font-size: .78rem; text-transform: uppercase; letter-spacing: .28em; color: var(--sea); font-weight: 700; }
.brand-logo { max-height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav > a:not(.btn), .nav-drop-btn { color: var(--text); text-decoration: none; font-weight: 600; padding: .55rem .85rem; border-radius: 8px; font-size: .98rem; background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.main-nav > a:not(.btn):hover, .nav-drop-btn:hover { background: var(--sea-light); }
.main-nav a.active, .nav-drop-btn.active { color: var(--sea); }
.nav-drop-btn svg { width: 12px; height: 12px; }
.nav-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; display: none; }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 550; }
.dropdown a:hover, .dropdown a.active { background: var(--sea-light); color: var(--navy); }
.nav-dropdown.open .dropdown { display: block; }
@media (hover: hover) and (min-width: 961px) {
  .nav-dropdown:hover .dropdown, .nav-dropdown:focus-within .dropdown { display: block; }
  .nav-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
}
.nav-phone { margin-left: .6rem; padding: .6rem 1.1rem; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; border-radius: 10px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; position: relative; margin: auto; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(12,42,61,.12); max-height: calc(100vh - 76px); overflow: auto; }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn), .nav-drop-btn { padding: .8rem .5rem; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 .4rem .8rem; min-width: 0; }
  .nav-drop-btn svg { display: none; }
  .nav-phone { margin: .8rem 0 0; }
}

/* Héros */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before, .page-hero::before { z-index: 1; }
.hero-inner, .hero-brands, .page-hero .container { z-index: 2; }
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,30,44,.88) 0%, rgba(8,30,44,.62) 45%, rgba(8,30,44,.15) 100%), linear-gradient(0deg, rgba(8,30,44,.55), transparent 40%); }
.hero-inner { position: relative; padding: 6rem 0 4.5rem; max-width: 1200px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; color: #e3edf2; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 700; color: #ffb48f; margin-bottom: .8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-brands { position: relative; background: rgba(8,30,44,.7); border-top: 1px solid rgba(255,255,255,.15); padding: .9rem 0; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #cfe0e8; font-weight: 600; }

.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); padding: 5rem 0 3.5rem; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,44,.9), rgba(8,30,44,.55)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero-sub { font-size: 1.15rem; max-width: 60ch; color: #e3edf2; margin: 0; }
.page-hero-sm { padding: 3.8rem 0 2.8rem; }
.breadcrumb { font-size: .88rem; margin-bottom: 1rem; color: #cfe0e8; }
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 .25rem; }
.breadcrumb-dark { color: var(--muted); }
.breadcrumb-dark a { color: var(--sea); }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-tight { padding: 2rem 0; }
.section-top { padding-top: 2.5rem; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #d7e5ec; }
.section-navy h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-arrow { font-weight: 650; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.small-title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 1.8rem 0 .9rem; }

/* Grilles et cartes */
.grid { display: grid; gap: 1.5rem; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.grid-services .card-body { padding: 1rem 1.05rem 1.2rem; }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-highlights { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12,42,61,.06), 0 14px 32px rgba(12,42,61,.14); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--sea-light); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sea); font-weight: 700; margin-bottom: .35rem; }
.card-title { margin-bottom: .4rem; }
.card-text { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.card-more { margin-top: auto; font-weight: 650; color: var(--sea); }
.card-price { margin: auto 0 0; font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.card-price small { font-weight: 500; font-size: .8rem; color: var(--muted); }
.is-sold .card-img img { filter: grayscale(.7); opacity: .8; }
.img-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .9rem; background: repeating-linear-gradient(45deg, #edf3f5, #edf3f5 10px, #e5eef1 10px, #e5eef1 20px); min-height: 200px; }

.badges { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .4rem; }
.badges-inline { position: static; margin-bottom: .8rem; }
.badge { font-size: .75rem; font-weight: 700; padding: .28rem .65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; background: #fff; color: var(--navy); }
.badge-neuf { background: var(--sea); color: #fff; }
.badge-occasion { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.badge-disponible { background: #e2f4e8; color: #17663a; }
.badge-reserve { background: #fff0d6; color: #8a5300; }
.badge-vendu { background: #b3261e; color: #fff; }

/* Présentation */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.split-media .media-main { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split-media.has-two { padding-bottom: 3rem; }
.split-media .media-second { position: absolute; width: 42%; aspect-ratio: 1; object-fit: cover; right: -1rem; bottom: 0; border-radius: var(--radius); border: 6px solid var(--sand); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media .media-second { right: .5rem; }
}

.highlight svg { width: 40px; height: 40px; color: #ffb48f; margin-bottom: .8rem; }
.highlight p { margin: 0; color: #c3d6df; }

/* Texte riche */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 1.3rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { padding-left: 1.7rem; position: relative; margin-bottom: .45em; }
.prose li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }

/* Page service */
.content-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.side-card { background: var(--sand); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 100px; display: flex; flex-direction: column; gap: .7rem; }
.side-card h2 { font-size: 1.3rem; margin: 0; }
.side-card p { margin: 0; color: var(--muted); }
.side-hours { font-size: .92rem; border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .3rem !important; }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; } .side-card { position: static; } }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-grid a:hover img { transform: scale(1.05); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .55rem 1.1rem; border-radius: 999px; background: var(--sea-light); color: var(--navy); text-decoration: none; font-weight: 600; }
.chip:hover { background: var(--navy); color: #fff; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--sea) 130%); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; color: #cfe0e8; max-width: 55ch; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Annonces : filtres */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.tab { padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; background: #fff; }
.tab span { color: var(--muted); font-weight: 500; margin-left: .2rem; }
.tab:hover { border-color: var(--navy); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab.active span { color: #b8cfdb; }
.filter-select { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.filter-select select { padding: .6rem 2rem .6rem .9rem; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--sand); border-radius: var(--radius); }

/* Fiche annonce */
.product-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1rem; }
.product-main { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sea-light); cursor: zoom-in; }
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .6rem; margin-top: .7rem; }
.thumb { padding: 0; border: 2.5px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--accent); }
.product-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.product-price { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: .6rem; }
.product-price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.product-summary { font-size: 1.08rem; color: var(--muted); }
.product-actions { display: grid; gap: .6rem; margin: 1.4rem 0 .6rem; }
.product-note { font-size: .9rem; color: var(--muted); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.product-description { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card { background: var(--sand); border-radius: var(--radius); padding: 1.8rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-big { font-size: 1.5rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.contact-img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input:not([type=checkbox]), .form textarea { font: inherit; padding: .8rem .95rem; border: 1.5px solid #cfd7dc; border-radius: 10px; background: #fff; width: 100%; font-weight: 400; }
.form input:focus, .form textarea:focus { border-color: var(--sea); outline: 3px solid rgba(29,114,135,.18); }
.form-hint { font-size: .88rem; color: var(--muted); margin: -.4rem 0 0; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.form .check input { margin-top: .3rem; width: 18px; height: 18px; flex: none; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* Sélecteur de langue (FR / EN) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; margin-left: .4rem; background: #f1f4f6; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .35rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; color: var(--muted); text-decoration: none; transition: background .15s, color .15s, box-shadow .15s; }
.lang-switch a:hover { color: var(--navy); background: #fff; }
.lang-switch a:focus-visible { outline: 3px solid var(--sea); outline-offset: 1px; }
.lang-switch a[aria-current] { background: var(--navy); color: #fff; box-shadow: 0 1px 3px rgba(12,42,61,.25); }
.lang-switch img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(12,42,61,.15); flex: none; }
@media (max-width: 960px) {
  .lang-switch { align-self: flex-start; margin: .6rem 0 0; }
  .lang-switch a { padding: .45rem .9rem .45rem .45rem; font-size: .9rem; }
  .lang-switch img { width: 22px; height: 22px; }
}

/* Case « Je ne suis pas un robot » */
.captcha { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; max-width: 30rem; }
.captcha .captcha-check { display: flex; align-items: center; gap: .7rem; font-weight: 600; cursor: pointer; margin: 0; }
.captcha-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.captcha-box { width: 26px; height: 26px; flex: none; border: 2px solid #9aa8b1; border-radius: 5px; background: var(--white); position: relative; transition: border-color .15s, background .15s; }
.captcha-check input:focus-visible + .captcha-box { outline: 3px solid var(--sea); outline-offset: 2px; }
.captcha-check:hover .captcha-box { border-color: var(--sea); }
.captcha[data-state="working"] .captcha-box { border-color: var(--sea-light); border-top-color: var(--sea); border-radius: 50%; animation: captcha-spin .8s linear infinite; }
.captcha[data-state="done"] .captcha-box { border-color: #1f8a4c; background: #1f8a4c; }
.captcha[data-state="done"] .captcha-box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.captcha[data-state="working"] .captcha-check, .captcha[data-state="done"] .captcha-check { cursor: default; }
.captcha-status { font-size: .88rem; color: var(--muted); }
.captcha[data-state="done"] .captcha-status { color: #1f8a4c; font-weight: 600; }
.captcha[data-state="error"] .captcha-status { color: #8c1d18; }
.captcha-note { flex-basis: 100%; font-size: .78rem; color: var(--muted); }
@keyframes captcha-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .captcha[data-state="working"] .captcha-box { animation-duration: 3s; } }
.notice { border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.notice p, .notice ul { margin: .3rem 0 0; }
.notice-ok { background: #e2f4e8; color: #134f2d; }
.notice-error { background: #fdeceb; color: #8c1d18; }

/* Pied de page */
.site-footer { background: #081e2c; color: #b8cad4; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #e7f0f4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-name { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.footer-text { max-width: 40ch; }
.footer-brands { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb0c0; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin: 0 0 .8rem; }
.footer-title:not(:first-child) { margin-top: 1.5rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,15,22,.94); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lightbox[hidden] { display: none; }
/* Taille limitée à la fenêtre (marges pour les boutons) : la photo ne dépasse jamais du cadre */
.lightbox img { width: auto; height: auto; max-width: calc(100vw - 9rem); max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox button[hidden] { display: none; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox img { max-width: calc(100vw - 1rem); max-height: calc(100vh - 10rem); max-height: calc(100dvh - 10rem); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.2rem; transform: none; }
}

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