/* RIO 2026 – feuille de style principale */
:root {
    --navy: #0a1628;
    --navy-2: #12233d;
    --blue: #1f4fe0;
    --blue-soft: #e8eefd;
    --amber: #e9a62b;
    --amber-dark: #c8861a;
    --red: #c8382b;
    --cream: #f7f3ea;
    --paper: #ffffff;
    --ink: #142033;
    --muted: #5b6678;
    --line: #e3e0d6;
    --radius: 18px;
    --shadow: 0 18px 50px -20px rgba(10, 22, 40, .35);
    --wrap: 1200px;
    --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .6em; color: var(--navy); text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
.ic { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; margin-inline: auto; }
.center { text-align: center; }
.center img { margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section.tinted { background: var(--paper); }
.section.dark { background: radial-gradient(1200px 500px at 80% 0%, #1b3a73 0%, transparent 60%), var(--navy); color: #d9e1ef; }
.section.dark h2, .section.dark .big { color: #fff; }
.kicker { font: 700 .82rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6em; }
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section.dark .kicker, .hero .kicker, .page-hero .kicker { color: var(--amber); }
.big { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--navy); font-weight: 500; }
.small { font-size: .88rem; color: var(--muted); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .kicker::after { content: ''; width: 28px; height: 2px; background: currentColor; }
.intro-text { font-size: 1.2rem; text-align: center; max-width: 820px; margin: 0 auto 48px; color: var(--navy); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-split { align-items: center; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.duo h2 { color: #fff; font-size: 1.8rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font: 600 .98rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px var(--blue); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-accent { background: var(--amber); color: var(--navy); box-shadow: 0 10px 24px -10px var(--amber-dark); }
.btn-accent:hover { background: #ffc04d; color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic, a:hover > .link-arrow .ic { transform: translateX(4px); }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; }
.site-header.scrolled { background: rgba(10, 22, 40, .92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -20px #000; padding: 8px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 92px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)) brightness(1.15); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 900 1.45rem/1 var(--display); letter-spacing: .04em; }
.brand-text small { white-space: nowrap; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; border-radius: 10px; opacity: .88; white-space: nowrap; }
.nav > ul > li > a:hover, .nav > ul > li.active > a { opacity: 1; background: rgba(255,255,255,.1); color: #fff; }
.nav li.active > a { box-shadow: inset 0 -2px 0 var(--amber); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; border-radius: 10px; font-size: .93rem; }
.sub a:hover, .sub a.active { background: var(--blue-soft); color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }

/* Hero d'accueil */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.75) 45%, rgba(10,22,40,.35) 100%), var(--hero-img) center/cover; transform: scale(1.06); animation: slowzoom 22s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--cream)); }
@keyframes slowzoom { to { transform: scale(1.14) translateX(-1.5%); } }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: 130px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(4rem, 12vw, 9.5rem); font-weight: 900; line-height: .85; margin-bottom: .2em; }
.hero h1 span { color: var(--amber); }
.hero-date { display: inline-flex; align-items: center; gap: 10px; font: 800 clamp(1.3rem, 2.6vw, 2rem)/1 var(--display); letter-spacing: .08em; padding: 12px 20px; border: 2px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(255,255,255,.06); }
.hero-lead { max-width: 520px; font-size: 1.15rem; opacity: .9; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-plane { width: 120%; max-width: none; height: auto; align-self: center; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); animation: fly 7s ease-in-out infinite; }
@keyframes fly { 50% { transform: translate(-14px, -18px) rotate(-1.5deg); } }

/* Bandeau des pages intérieures */
.page-hero { position: relative; padding: 170px 0 90px; color: #fff; background: linear-gradient(110deg, rgba(10,22,40,.96), rgba(10,22,40,.7)), var(--hero-img, none) center/cover, var(--navy); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(233,166,43,.08); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { font-size: 1.2rem; max-width: 720px; opacity: .9; }

/* Accueil */
.letter { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); border-top: 6px solid var(--amber); }
.letter-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.letter-lead { font-size: 1.3rem; font-weight: 600; color: var(--blue); }
.divider-plane { width: 360px; margin: 32px auto; }
.share-card { background: var(--navy); color: #d5ddeb; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.share-card h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.share-card a { color: var(--amber); }
.share-card .small { color: #9fb0c8; }
.share-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--amber); color: var(--navy); margin-bottom: 18px; }
.share-link { display: inline-flex; align-items: center; gap: 8px; font: 800 1.6rem/1.2 var(--display); letter-spacing: .03em; }
.signature { font-size: 1.15rem; color: #fff; margin-top: 28px; }
.signature-name { font-weight: 600; color: var(--amber); }
.intro-plane { width: 280px; margin-bottom: 18px; }
.video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; }
.wide-video { margin: 0 auto 48px; max-width: 980px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.checks li::before { content: '✈'; position: absolute; left: 0; top: 0; color: var(--blue); font-size: 1.1rem; transform: rotate(-20deg); }

.polaroids { position: relative; min-height: 460px; }
.polaroid { position: absolute; width: 52%; padding: 10px 10px 34px; background: #fff; box-shadow: 0 16px 40px -14px rgba(0,0,0,.45); transition: transform .35s, z-index 0s; }
.polaroid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.polaroid:hover { transform: rotate(0) scale(1.06) !important; z-index: 10; }
.p0 { left: 0; top: 0; transform: rotate(-7deg); }
.p1 { right: 0; top: 10px; transform: rotate(6deg); }
.p2 { left: 22%; top: 140px; transform: rotate(-2deg); z-index: 2; }
.p3 { left: 2%; top: 270px; transform: rotate(5deg); }
.p4 { right: 2%; top: 250px; transform: rotate(-6deg); }

.galleries { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.year-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.year-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.year-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(10,22,40,.92)); }
.year-card:hover img { transform: scale(1.08); }
.year-card-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.year { font: 900 3rem/1 var(--display); color: #fff; }
.year-text { opacity: .85; font-size: .95rem; }
.year-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--amber); font-weight: 700; margin-top: 8px; }
.year-card:hover { color: #fff; }

.sponsors-band { background: var(--cream); padding-bottom: 72px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { flex: none; width: 190px; height: 112px; background: #fff; border-radius: 14px; display: grid; place-items: center; padding: 10px; box-shadow: 0 8px 24px -16px rgba(10,22,40,.4); }
.logo-tile img { max-height: 92px; width: auto; object-fit: contain; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin: 40px 0; }
.logo-grid .logo-tile { width: auto; }
.handshake { width: 180px; }

.contact { background: linear-gradient(180deg, var(--cream), #ece6d8); }
.contact-cards { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.contact-cards li { display: flex; align-items: center; gap: 14px; background: #fff; padding: 16px 20px; border-radius: 14px; font-weight: 600; }
.contact-cards .ic { color: var(--blue); }
.panel { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.panel h2 { font-size: 1.8rem; }

/* Formulaires */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: .98rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfaf7; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.error { color: var(--red); font-size: .82rem; }
.req { color: var(--red); }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.alert-ok { background: #e6f6ec; color: #17663a; }
.alert-error { background: #fdecea; color: var(--red); }

/* Pages intérieures */
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.4em; color: var(--blue); }
.notice { border-left: 5px solid var(--amber); background: #fff7e6; padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 1.4em 0; }
.inline-gif { max-width: 260px; border-radius: 12px; margin: 0 0 1.2em; }
.sticky-col { position: sticky; top: 100px; display: grid; gap: 22px; }
.ticket-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ticket-card img { width: 100%; transition: transform .5s; }
.ticket-card:hover img { transform: scale(1.04); }
.ticket-card .btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); white-space: nowrap; }
.small-panel { padding: 24px; }
.mini-plane { width: 160px; margin-bottom: 10px; }

.capsules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.capsule { display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px -22px rgba(10,22,40,.5); transition: transform .3s, box-shadow .3s; }
.capsule:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.capsule-img img { width: 100%; height: 100%; object-fit: cover; }
.capsule-body { padding: 24px; }
.capsule-body h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.capsule-body p { font-size: .95rem; color: var(--muted); }
.capsule-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); flex: none; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 28px; }
.chip { font: 600 .92rem var(--body); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); }
.chip.active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.access-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.access-card { background: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center; text-decoration: none; color: var(--ink); box-shadow: 0 12px 30px -22px rgba(10,22,40,.5); transition: transform .3s; }
.access-card:hover { transform: translateY(-5px); color: var(--ink); }
.access-card.hidden { display: none; }
.access-ic { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 14px; }
.access-card h3 { font-size: 1.35rem; }

.quote { font: 800 1.6rem/1.2 var(--display); color: var(--amber); text-transform: uppercase; }
.pdf-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; height: 80vh; max-height: 900px; margin-bottom: 24px; }
.pdf-frame iframe { width: 100%; height: 100%; border: 0; }
.appa-mark { width: 180px; margin: 0 auto 14px; opacity: .8; }
.car-mark { width: 200px; margin: 0 auto 10px; }
.machine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.machine { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--navy); text-decoration: none; box-shadow: 0 12px 30px -20px rgba(10,22,40,.6); }
.machine img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s, opacity .3s; }
.machine span { position: absolute; inset: auto 0 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(10,22,40,.95)); color: #fff; font: 800 1.05rem/1.15 var(--display); letter-spacing: .03em; }
.machine:hover img { transform: scale(1.07); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.member { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: transform .3s; }
.member:hover { transform: translateY(-5px); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.member-body { padding: 18px 20px 22px; }
.member-body h3 { margin: 10px 0 4px; font-size: 1.5rem; }
.member-body p { margin: 0; color: var(--muted); font-size: .93rem; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--navy); color: var(--amber); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.badge-soft { background: var(--blue-soft); color: var(--blue); }

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1.6em 0; }
.offer { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 10px 30px -22px rgba(10,22,40,.5); }
.offer h3 { margin-top: 12px; font-size: 1.25rem; color: var(--navy); }
.offer p { font-size: .93rem; margin: 0; color: var(--muted); }
.bank-card { background: linear-gradient(135deg, var(--navy), #1c3c78); color: #dbe3f1; border-radius: var(--radius); padding: 28px; margin: 1.4em 0; box-shadow: var(--shadow); }
.bank-card p { margin: 0 0 .5em; }
.bank-card strong { color: #fff; }
.iban { font: 800 clamp(1.4rem, 3vw, 2rem)/1.2 var(--display); color: var(--amber); letter-spacing: .06em; }
.qr { max-width: 300px; margin: 0 auto; border-radius: 12px; }
.support-card { display: block; margin-top: 28px; text-align: center; text-decoration: none; }
.support-card img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto 14px; }

.webcam { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.webcam img { width: 100%; height: 100%; object-fit: cover; }
.live { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 12px 30px -22px rgba(10,22,40,.5); }
.info-card h2 { font-size: 1.6rem; margin-top: 16px; }

.year-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.year-nav a { padding: 10px 20px; border-radius: 999px; background: #fff; text-decoration: none; color: var(--navy); font: 800 1.15rem/1 var(--display); letter-spacing: .05em; box-shadow: 0 6px 18px -14px rgba(10,22,40,.6); }
.year-nav a.active, .year-nav a:hover { background: var(--navy); color: var(--amber); }
.credit { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.7rem; margin: 56px 0 24px; }
.credit .ic { color: var(--blue); }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: #ddd; }
.masonry img { width: 100%; transition: transform .5s, filter .3s; }
.masonry a:hover img { transform: scale(1.05); filter: brightness(1.08); }

.press-year { margin-bottom: 56px; }
.press-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--line); margin-bottom: 22px; }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.press-item { display: block; background: #fff; padding: 10px; border-radius: 14px; box-shadow: 0 10px 28px -20px rgba(10,22,40,.6); transition: transform .3s; }
.press-item:hover { transform: translateY(-4px) rotate(-.5deg); }
.press-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; }

/* Pied de page */
.site-footer { background: var(--navy); color: #a9b6cb; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 16px; filter: brightness(1.2); }
.tagline { font-family: var(--display); font-size: 1.3rem; color: var(--amber); font-weight: 800; text-transform: uppercase; }
.site-footer h3 { color: #fff; font-size: 1.15rem; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d3dceb; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list .ic { color: var(--amber); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.07); transition: background .2s; }
.socials a:hover { background: var(--amber); color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding: 22px 0; font-size: .85rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,10,20,.94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; border-radius: 8px; box-shadow: 0 20px 60px #000; }
.lightbox figcaption { color: #cbd5e3; margin-top: 14px; font-size: .92rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; font-size: 2rem; line-height: 1; }
.lightbox button:hover { background: var(--amber); color: var(--navy); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1400px) { .brand-text small { display: none; } }
@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; align-items: stretch; padding: 90px 22px 30px; background: var(--navy); transform: translateX(100%); transition: transform .35s; overflow-y: auto; box-shadow: -20px 0 50px rgba(0,0,0,.4); }
    .nav.open { transform: none; }
    .nav > ul { flex-direction: column; }
    .nav > ul > li > a { font-size: 1.05rem; padding: 14px; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; }
    .sub a { color: #b9c5d8; }
    .sub a:hover, .sub a.active { background: rgba(255,255,255,.08); color: #fff; }
    .nav-toggle { position: relative; z-index: 60; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .capsules { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .split, .duo, .offer-grid, .info-grid { grid-template-columns: 1fr; }
    .hero-inner { grid-template-columns: 1fr; padding-top: 120px; }
    .hero-plane { width: 80%; order: -1; max-width: 360px; justify-self: center; }
    .sticky-col { position: static; }
    .polaroids { min-height: 380px; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .brand-text small { display: none; }
    .brand img { width: 70px; }
    .form-grid { grid-template-columns: 1fr; }
    .capsule { grid-template-columns: 1fr; }
    .capsule-img img { aspect-ratio: 16 / 9; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .polaroid { width: 60%; }
    .lightbox { padding: 60px 10px; }
    .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; }
    .page-hero { padding: 130px 0 64px; }
}

/* Captcha */
.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.captcha-row img { border-radius: 10px; border: 1.5px solid var(--line); }
.captcha-row input { max-width: 170px; text-transform: uppercase; letter-spacing: .25em; font-weight: 700; }
.captcha-refresh { font: 600 .85rem var(--body); padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.captcha-refresh:hover { border-color: var(--blue); color: var(--blue); }

/* Billetterie fermée, introduction de galerie */
.ticket-soon { text-align: center; border-top: 6px solid var(--amber); }
.ticket-soon .capsule-ic { margin: 0 auto 12px; }
.hero-date-small { display: inline-flex; align-items: center; gap: 8px; font: 800 1.3rem/1 var(--display); color: var(--navy); text-transform: uppercase; }
.gallery-intro { margin-bottom: 56px; }
.prose img { border-radius: 12px; }

/* Pas d'animation de transition pendant le chargement */
.preload * { transition: none !important; }

/* Espace membre */
.member-hero { padding-bottom: 60px; }
.member-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 58px; z-index: 30; }
.member-nav .wrap { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0; }
.member-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; }
.member-nav a:hover, .member-nav a.active { background: var(--blue-soft); color: var(--blue); }
.member-nav-spacer { flex: 1; }
.member-flash { padding-top: 24px; }
.member-section { padding-top: 32px; }
.member-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.member-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink); box-shadow: 0 12px 30px -22px rgba(10,22,40,.5); border-top: 5px solid var(--blue); }
.member-card h2 { font-size: 1.6rem; margin: 6px 0 0; }
.member-card p { margin: 0; color: var(--muted); }
.member-card .link-arrow { margin-top: auto; }
.member-state { font: 800 1.4rem var(--display) !important; text-transform: uppercase; color: var(--navy) !important; }
.fee-paye { border-top-color: #17804a; }
.fee-du { border-top-color: var(--red); }
.fee-declare { border-top-color: var(--amber); }
.fee-status { border-top: 6px solid var(--blue); margin-bottom: 22px; }
.fee-status.fee-paye { border-top-color: #17804a; }
.fee-status.fee-du { border-top-color: var(--red); }
.fee-status.fee-declare { border-top-color: var(--amber); }
.fee-amount { font: 900 2.4rem/1 var(--display); color: var(--navy); }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.declare-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc-category { font-size: 1.5rem; margin: 32px 0 14px; }
.doc-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.doc-list a { display: flex; align-items: center; gap: 16px; background: #fff; padding: 16px 20px; border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: 0 8px 24px -20px rgba(10,22,40,.6); transition: transform .2s; }
.doc-list a:hover { transform: translateX(4px); color: var(--ink); }
.doc-ext { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 900 1rem var(--display); }
.doc-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.doc-body small { color: var(--muted); }
.doc-dl { color: var(--blue); }
.alert-info { background: var(--blue-soft); color: #1d3d9e; }
@media (max-width: 860px) { .member-cards { grid-template-columns: 1fr; } .member-nav { position: static; } }
