/* Styles OSAF 2027 : ambiance festival immersive, aux couleurs et polices de la charte OSAF 2026.
   Couleurs : Orange Studio #F28D3D · Ébène #1A1410 · Sable #F6E7D3 · Latérite #B4441C · Ocre #E6B54A · Forêt #1F7A4D
   Typographies : Syne (titres) · Manrope (textes) */


/* Police des titres de la charte, hébergée avec le site (Syne, licence OFL : assets/fonts/Syne-OFL.txt) */
@font-face { font-family: 'Syne'; src: url(../fonts/Syne-Variable.ttf) format('truetype'); font-weight: 400 800; font-style: normal; font-display: swap; }

/* ===== Base ===== */
html { scroll-padding-top: 6rem; }
body { font-size: 16px; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1A1410; }
::-webkit-scrollbar-thumb { background: #F28D3D; border-radius: 4px; }
:focus-visible { outline: 3px solid #E6B54A; outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    #partnersTrack { animation: none !important; }
    #partnersWrap { overflow-x: auto; }
}

/* ===== Habillage ===== */
/* Motif de doodles OSAF en fond des sections sombres */
.doodle { position: relative; isolation: isolate; }
.doodle::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(../img/doodles.svg) repeat; background-size: 360px; opacity: .05; }
.doodle-ink::before { opacity: .06; filter: brightness(0); }

/* Frise du pied de page (palette de la charte) */
.wax-band { height: 34px; background: #120E0B url(../img/frise-logo.svg) repeat-x left center / auto 22px; border-top: 1px solid rgba(242,141,61,.25); }

/* En-tête : transparent sur la bannière, Ébène au défilement */
#mainHeader.scrolled { background: rgba(26, 20, 16, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-link { position: relative; transition: color .2s; }
.nav-link:hover { color: #fff; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: #F28D3D; transform: scaleX(0); transition: transform .25s; }
.nav-link:hover::after { transform: scaleX(1); }

/* ===== Menu mobile plein écran ===== */
/* Bouton : trois traits qui se croisent en « × » à l'ouverture */
.menu-btn { position: relative; z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: inline-grid; place-items: center; border: 1.5px solid rgba(255,255,255,.3); color: #fff; transition: background .2s, border-color .2s, color .2s; }
.menu-btn:hover { background: #fff; color: #1A1410; }
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.65,0,.35,1), opacity .2s, top .35s cubic-bezier(.65,0,.35,1); }
.menu-icon i:nth-child(1) { top: 0; } .menu-icon i:nth-child(2) { top: 5px; } .menu-icon i:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] { background: #F28D3D; border-color: #F28D3D; color: #1A1410; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Panneau : glisse depuis le haut, sous l'en-tête qui reste visible */
.mobile-menu { position: fixed; inset: 0; z-index: 35; background: #1A1410; padding: 5rem 0 0; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-1.5rem); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; }
.mobile-menu:focus { outline: none; }
.mobile-menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.mobile-menu-inner { min-height: 100%; max-width: 40rem; margin: 0 auto; padding: 1.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 2rem; }
.mobile-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.1); }
.mobile-links li { border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.mobile-menu.open .mobile-links li { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * .05s); }
.mobile-links a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.35rem, 6.2vw, 2.2rem); line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; transition: color .2s, padding .25s; }
.mobile-links a span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: #F28D3D; min-width: 1.6rem; }
.mobile-links a:hover, .mobile-links a:focus-visible { color: #F28D3D; padding-left: .4rem; }
.mobile-actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 420px) { .mobile-actions { grid-template-columns: 1fr 1fr; } }
.mobile-cta { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; border-radius: 9999px; font-weight: 700; transition: background .2s, color .2s; }
.mobile-cta:hover { background: #fff; color: #1A1410; }
.mobile-contact { margin-top: auto; display: flex; flex-direction: column; gap: .8rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .95rem; color: rgba(255,255,255,.75); }
.mobile-contact a { display: inline-flex; align-items: center; gap: .75rem; width: fit-content; }
.mobile-contact a:hover { color: #F28D3D; }
.mobile-contact i { width: 1.1rem; text-align: center; color: #F28D3D; }
/* Menu ouvert : page figée, en-tête opaque, petit logo visible */
body.menu-open { overflow: hidden; }
body.menu-open #mainHeader { background: #1A1410; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (prefers-reduced-motion: reduce) { .mobile-menu, .mobile-links li { transform: none !important; } }

/* ===== Bannière ===== */
.count-box { border-radius: 1rem; padding: .75rem .25rem; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.count-num { display: block; font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1; font-variant-numeric: tabular-nums; }
.count-lbl { display: block; margin-top: .4rem; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ===== Titres de section ===== */
.section-head { text-align: center; }
.kicker { display: flex; justify-content: center; align-items: center; gap: .6rem; font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: #F28D3D; }
.section-title { font-family: 'Syne', sans-serif; font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: -.01em; font-size: clamp(2rem, 5.4vw, 4.4rem); margin-top: .75rem; text-align: center; }
.squiggle { display: block; width: 110px; height: 14px; margin: 1.1rem auto 0; fill: none; stroke: #F28D3D; stroke-width: 3.5; stroke-linecap: round; }

/* Missions 01 · 02 · 03 (numérotation de la charte) */
.mission { padding: 0 1.75rem; text-align: center; }
.mission-num { display: inline-block; font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; transform: scaleX(1.25); }
.mission-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.4rem; margin-top: 1rem; }
.mission-txt { margin-top: .6rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ===== Éléments graphiques de la charte ===== */
/* Cadre ouvert (coin ouvert en haut à droite), tracé en SVG par main.js */
.frame { position: relative; }
.frame > .frame-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* Photo en duotone Ébène / Orange Studio */
/* Crédit photo : en petit, au bord de l'image */
.credit { position: absolute; z-index: 4; left: 1rem; bottom: .8rem; font-size: .7rem; font-weight: 500; color: rgba(255,255,255,.8); }

/* ===== Candidatures ===== */
.sticker { display: inline-block; padding: .7rem 1.15rem; border-radius: .9rem; background: #E6B54A; color: #1A1410; border: 3px solid #1A1410; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; box-shadow: 5px 5px 0 #1A1410; }

/* ===== Blocs à icône (formats, types de partenariat) ===== */

/* Raisons de soutenir OSAF */

/* Partenaires : logos publiés depuis l'admin */
.partners-logos { margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.partner-logo { width: 9.5rem; height: 5.5rem; padding: .9rem 1.1rem; border-radius: 1rem; background: #F6E7D3; color: #1A1410; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .95rem; line-height: 1.2; transition: transform .2s, box-shadow .2s; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
a.partner-logo:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.35); }
@media (max-width: 480px) { .partner-logo { width: calc(50% - .45rem); } }

/* ===== Pré-inscription : pass festival (charte p. 12) ===== */
select.field-dark { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F28D3D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem; cursor: pointer; }
.ticket { position: relative; display: flex; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,.45); }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 50%; width: 2.2rem; height: 2.2rem; margin-top: -1.1rem; border-radius: 9999px; background: #1A1410; z-index: 1; }
.ticket::before { left: -1.1rem; }
.ticket::after { right: -1.1rem; }
@media (max-width: 639px) { .ticket-stub { width: 26%; padding: 1rem .5rem; } .ticket-body { padding: 1.1rem 1.2rem 1.1rem 1rem; flex-direction: column; gap: .75rem; } .ticket-num { max-width: none; padding: .6rem 0 0; border-left: 0; border-top: 2px dashed rgba(26,20,16,.25); } }

/* Pied de page */
/* Bandeau d'appel en tête du pied de page : le rendez-vous et les deux actions principales */
.footer-cta { max-width: 1400px; margin: 0 auto; padding: 2.5rem 1.25rem; display: flex; flex-direction: column; gap: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .footer-cta { padding: 3rem 2.5rem; } }
@media (min-width: 900px) { .footer-cta { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-cta-kicker { font-weight: 800; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #F28D3D; }
.footer-cta-title { margin-top: .5rem; font-family: 'Syne', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.02; }
.footer-cta-title span { color: #F28D3D; }
.footer-cta-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (min-width: 900px) { .footer-cta-btns { display: flex; } }
.footer-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.4rem; border-radius: 9999px; border: 1.5px solid rgba(255,255,255,.3); font-weight: 700; font-size: .92rem; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.footer-btn:hover { background: #fff; color: #1A1410; border-color: #fff; }
.footer-btn-main { background: #F28D3D; border-color: #F28D3D; color: #1A1410; }
.footer-btn-main:hover { background: #E6B54A; border-color: #E6B54A; }
@media (max-width: 479px) { .footer-cta-btns { grid-template-columns: 1fr; } }

/* Téléphone : marque en entier, puis « Le site » et « Participer » côte à côte, puis contact.
   Ordinateur : 4 colonnes. */
.footer-grid { max-width: 1400px; margin: 0 auto; padding: 2.5rem 1.25rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.25rem; }
.footer-brand, .footer-col-contact { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer-grid { padding: 3rem 2.5rem 2.5rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } .footer-brand, .footer-col-contact { grid-column: auto; } }
/* Marque : logo horizontal (comme l'en-tête) et réseaux sur la même ligne sur téléphone */
.footer-brand { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; }
.footer-brand p { grid-column: 1 / -1; max-width: 24rem; font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.6); }
@media (min-width: 1024px) { .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; } }
.footer-logo { display: inline-flex; align-items: center; gap: .75rem; }
.footer-logo img { height: 2.75rem; width: auto; }
.footer-logo span { display: flex; flex-direction: column; line-height: 1; }
.footer-logo b { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.75rem; letter-spacing: .02em; }
.footer-logo small { margin-top: .2rem; font-size: .53rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.footer-socials { display: flex; gap: .5rem; grid-column: 2; grid-row: 1; }
@media (max-width: 399px) { .footer-socials { grid-column: 1 / -1; grid-row: auto; } }
@media (min-width: 1024px) { .footer-brand p { order: 1; } .footer-socials { order: 2; } }
.footer-h { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #F28D3D; margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .95rem; color: rgba(255,255,255,.75); }
.footer-list a, .footer-list button { text-align: left; transition: color .2s; }
.footer-list a:hover, .footer-list button:hover { color: #F28D3D; }
.footer-contact li { display: flex; align-items: center; gap: .75rem; }
.footer-contact i { width: 1rem; text-align: center; color: #F28D3D; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding: 1.4rem 1.25rem calc(1.4rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: .9rem; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (min-width: 640px) { .footer-bottom { padding-left: 2.5rem; padding-right: 2.5rem; flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom a:hover { color: #F28D3D; }
.footer-top { width: 2.4rem; height: 2.4rem; border-radius: 9999px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .2s, color .2s; }
.footer-top:hover { background: #F28D3D; border-color: #F28D3D; color: #1A1410 !important; }
.social { width: 2.6rem; height: 2.6rem; border-radius: 9999px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.1rem; transition: background .2s, color .2s; }
a.social:hover { background: #F28D3D; color: #1A1410; }

/* Notifications */
.toast { display: flex; align-items: center; gap: .75rem; max-width: 24rem; padding: .9rem 1.2rem; border-radius: 1rem; background: #1A1410; color: #fff; font-size: .9rem; font-weight: 600; border: 1px solid rgba(242,141,61,.5); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.toast i { color: #F28D3D; }

/* ===== Mouvement ===== */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes maskUp { from { transform: translateY(108%); } to { transform: none; } }
@keyframes tick { from { transform: translateY(-35%); opacity: .25; } to { transform: none; opacity: 1; } }
.hero-rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
.line-mask { display: block; overflow: hidden; padding: .08em 0 0; margin: -.08em 0 0; }
.line-mask > span { display: inline-block; animation: maskUp .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
.tick { animation: tick .4s cubic-bezier(.2,.7,.2,1); }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Erreurs de formulaire renvoyées par l'API ===== */
[aria-invalid="true"] { border-color: #B4441C !important; }
.field-error { color: #B4441C; }

/* ===== Billetterie ===== */
.booking { position: relative; border-radius: 2rem; background: #F6E7D3; color: #1A1410; padding: 1.75rem; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
@media (min-width: 640px) { .booking { padding: 2.5rem; } }
.field-label { display: block; margin-bottom: .45rem; font-family: 'Manrope', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(26,20,16,.85); }
.field-light { width: 100%; background: #fff; border: 1.5px solid rgba(26,20,16,.12); border-radius: .9rem; padding: .85rem 1rem; color: #1A1410; outline: none; transition: border-color .2s; }
.field-light::placeholder { color: rgba(26,20,16,.62); }
.field-light:focus { border-color: #F28D3D; }
/* Bracelet (charte p. 12) */
select.field-light { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A1410' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; cursor: pointer; }


/* ===== Bannière : affiche minimaliste ===== */
.hero-logo { width: min(78vw, 25rem); height: auto; overflow: visible; }
@media (min-width: 1024px) { .hero-logo { width: min(34vw, 30rem); } }

/* Le logo se dessine : cadre, puis danseur, puis tête, puis le nom. Il finit identique au logo officiel. */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-logo .lg-frame, .hero-logo .lg-dancer path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.65,0,.35,1) forwards; }
.hero-logo .lg-frame { animation-delay: .2s; }
.hero-logo .lg-dancer path:nth-child(1) { animation-delay: .95s; }
.hero-logo .lg-dancer path:nth-child(2) { animation-delay: 1.05s; }
.hero-logo .lg-dancer path:nth-child(3) { animation-delay: 1.15s; }
.hero-logo .lg-dancer path:nth-child(4) { animation-delay: 1.25s; }
.hero-logo .lg-dancer path:nth-child(5) { animation-delay: 1.35s; }
.hero-logo .lg-head { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .55s cubic-bezier(.3,1.6,.5,1) 1.85s forwards; }
.hero-logo .lg-word { opacity: 0; animation: rise .8s cubic-bezier(.2,.8,.2,1) 2.05s forwards; }
.hero-logo .lg-full { opacity: 0; animation: rise .8s cubic-bezier(.2,.8,.2,1) 2.25s forwards; }
.hero-tag, .hero-sub, .hero-cta, .hero-meta { opacity: 0; animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-tag { animation-delay: 2.5s; } .hero-sub { animation-delay: 2.65s; } .hero-cta { animation-delay: 2.8s; } .hero-meta { animation-delay: 2.95s; }

/* Photo : apparition douce puis respiration lente */
@keyframes photoIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.hero-photo-wrap { overflow: hidden; }
.hero-photo { animation: photoIn 1.6s cubic-bezier(.2,.8,.2,1) both, breathe 18s ease-in-out 1.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-logo .lg-frame, .hero-logo .lg-dancer path { stroke-dashoffset: 0; }
  .hero-logo .lg-head { transform: none; }
  .hero-logo .lg-word, .hero-logo .lg-full, .hero-tag, .hero-sub, .hero-cta, .hero-meta { opacity: 1; }
}

/* ===== Bannière : scène animée d'après l'affiche « Coming soon » ===== */
.hero-stage { isolation: isolate; background: radial-gradient(ellipse at 58% 62%, #F6B566 0%, #F28D3D 40%, #D9541A 100%); }
/* Rayons qui tournent lentement depuis le sol, comme sur l'affiche */
@keyframes raysSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.stage-rays { position: absolute; left: 62%; top: 78%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(rgba(255,214,150,.28) 0 4deg, transparent 4deg 12deg); -webkit-mask-image: radial-gradient(circle, #000 8%, transparent 55%); mask-image: radial-gradient(circle, #000 8%, transparent 55%); animation: raysSpin 90s linear infinite; pointer-events: none; }
/* Lettres OSAF en contour, ton sur ton */
@keyframes lettersSlide { to { transform: translateX(-30%); } }
.stage-letters { position: absolute; inset: 12% 0 auto 0; display: flex; flex-direction: column; overflow: hidden; pointer-events: none; }
.stage-letters span { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(6rem, 13vw, 12rem); line-height: .95; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255,236,210,.22); animation: lettersSlide 60s linear infinite; }
.stage-letters span:nth-child(2) { margin-left: -1.4em; animation-direction: reverse; }

/* Les deux danseurs, placés comme sur l'affiche (positions en % de leur boîte commune) */
.stage { position: absolute; left: 54%; bottom: 9%; width: min(84%, 108svh); aspect-ratio: 1500 / 1091; transform: translateX(-50%); }
.dancer { position: absolute; height: auto; will-change: transform; user-select: none; -webkit-user-drag: none; }
.dancer-f { left: 0; top: 0; width: 58.8%; transform-origin: 30% 100%; animation: sway 4.2s ease-in-out infinite alternate; }
.dancer-m { left: 60.8%; top: 8.1%; width: 39.2%; transform-origin: 50% 90%; animation: leap 2.8s cubic-bezier(.45,0,.25,1) infinite; }
/* La danseuse ondule autour de ses appuis */
@keyframes sway { 0% { transform: rotate(-2.2deg) scaleY(.985); } 100% { transform: rotate(1.8deg) scaleY(1.01); } }
/* Le danseur saute : appel, envol, réception */
@keyframes leap {
  0%   { transform: translateY(6%) rotate(4deg) scaleY(.94); }
  12%  { transform: translateY(8%) rotate(5deg) scaleY(.9); }
  48%  { transform: translateY(-16%) rotate(-4deg) scaleY(1.03); }
  62%  { transform: translateY(-14%) rotate(-5deg) scaleY(1.02); }
  92%  { transform: translateY(5%) rotate(3deg) scaleY(.95); }
  100% { transform: translateY(6%) rotate(4deg) scaleY(.94); }
}
/* Ombres au sol : celle du danseur rétrécit quand il est en l'air */
.stage-floor { position: absolute; left: 2%; right: 30%; bottom: -2%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse, rgba(90,30,5,.45), transparent 70%); }
.stage-shadow { position: absolute; left: 62%; width: 30%; bottom: -3%; height: 6%; border-radius: 50%; background: radial-gradient(ellipse, rgba(90,30,5,.5), transparent 70%); animation: shadowLeap 2.8s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes shadowLeap { 0%, 12%, 92%, 100% { transform: scaleX(1); opacity: 1; } 48%, 62% { transform: scaleX(.55); opacity: .45; } }
/* Bord en dents de scie en bas, comme l'affiche */
.stage-zigzag { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; z-index: 3; background: linear-gradient(135deg, transparent 50%, #1A1410 50%) 0 0 / 24px 18px repeat-x, linear-gradient(225deg, transparent 50%, #1A1410 50%) 0 0 / 24px 18px repeat-x; }

@media (prefers-reduced-motion: reduce) { .dancer-f, .dancer-m, .stage-shadow, .stage-rays, .stage-letters span { animation: none !important; } }

/* Duo en vidéo : fond blanc → transparent (multiply), silhouettes blanches inversées en sombre puis teintées Ébène */
.stage-video { position: absolute; left: 50%; bottom: 2%; width: 178%; aspect-ratio: 16 / 9; height: auto; transform: translateX(-50%); object-fit: contain; filter: invert(1) grayscale(1) contrast(3); mix-blend-mode: multiply; pointer-events: none; }
.stage-video[poster] { background: transparent; }
.stage-tint { position: absolute; inset: 0; background: #2B140A; mix-blend-mode: lighten; pointer-events: none; }
.stage-ground { position: absolute; left: 14%; right: 10%; bottom: 6%; height: 6%; border-radius: 50%; background: radial-gradient(ellipse, rgba(90,30,5,.4), transparent 70%); pointer-events: none; }
@media (max-width: 1023px) { .stage-video { width: 140%; bottom: 0; } }

/* ===== Bannière composée comme l'affiche « Coming soon » ===== */
/* Polices de l'affiche : Montserrat (titre, pastille) et Yellowtail (script « Coming soon ! ») */
.poster-hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; color: #fff; padding: 5.25rem 1.25rem 3.25rem; background: #E8732E; }
/* Dégradé sur son propre calque : Safari iOS repeignait sinon le fond de la section sous le canvas des
   danseurs, ce qui faisait apparaître un rectangle plus clair autour d'eux sur iPhone */
.poster-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateZ(0); pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, #F6B566 0%, #F28D3D 38%, #D9541A 100%); }
.poster-hero .stage-letters { inset: 18% 0 auto 0; }
.poster-hero .stage-rays { left: 72%; top: 82%; }
.poster-inner { position: relative; margin: auto; width: 100%; max-width: 1100px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.poster-veil { position: absolute; inset: 0 0 auto 0; height: 7rem; background: linear-gradient(to bottom, rgba(26,20,16,.55), transparent); pointer-events: none; }

/* Logo horizontal blanc */
.poster-logo { display: flex; align-items: center; gap: clamp(.7rem, 1.8vw, 1.4rem); }
.poster-symbol { height: clamp(3.3rem, 7vw, 5.6rem); width: auto; overflow: visible; }
.poster-word { height: clamp(2.5rem, 5.2vw, 4.3rem); width: auto; }
.poster-symbol .lg-frame, .poster-symbol .lg-dancer path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.65,0,.35,1) forwards; }
.poster-symbol .lg-frame { animation-delay: .3s; }
.poster-symbol .lg-dancer path:nth-child(1) { animation-delay: .9s; }
.poster-symbol .lg-dancer path:nth-child(2) { animation-delay: 1s; }
.poster-symbol .lg-dancer path:nth-child(3) { animation-delay: 1.1s; }
.poster-symbol .lg-dancer path:nth-child(4) { animation-delay: 1.2s; }
.poster-symbol .lg-dancer path:nth-child(5) { animation-delay: 1.3s; }
.poster-symbol .lg-head { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .55s cubic-bezier(.3,1.6,.5,1) 1.7s forwards; }

/* « FESTIVAL INTERNATIONAL DE DANSE » */
.poster-kicker { margin-top: clamp(1rem, 2.4vw, 1.6rem); font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; font-size: clamp(1rem, 2.7vw, 2.05rem); line-height: 1.15; }

/* Duo dansant : la vidéo déborde du cadre pour que les danseurs soient grands, comme sur l'affiche */
.poster-dance { position: relative; height: clamp(230px, 34svh, 390px); aspect-ratio: 16 / 7.2; max-width: 100%; margin-top: 1.6rem; }
.poster-video { position: absolute; left: 50%; bottom: -2%; width: 100%; aspect-ratio: 16 / 9; height: auto; transform: translateX(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.poster-video-blend { filter: invert(1) sepia(.35); mix-blend-mode: multiply; }
/* Les danseurs apparaissent en fondu dès la première image de la vidéo */
canvas.poster-video { opacity: 0; transition: opacity .8s ease; }
canvas.poster-video.ready { opacity: 1; }
/* Vidéo source : lue mais invisible (pas display:none, sinon iOS ne la décode pas) */
.poster-src { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }

.poster-dance .stage-ground { left: 22%; right: 18%; bottom: 1%; height: 9%; }
@media (max-width: 639px) { .poster-dance { height: auto; width: 118%; max-width: none; aspect-ratio: 16 / 10; margin-top: .6rem; } .poster-video { width: 132%; } .poster-hero { padding-top: 5.5rem; } }

/* « Coming soon ! » en script, qui chevauche le bas de la scène */
.poster-script { position: relative; margin-top: -.45em; font-family: 'Yellowtail', cursive; font-weight: 400; font-size: clamp(3.2rem, 9.5vw, 7rem); line-height: 1.05; text-shadow: 0 6px 22px rgba(90,30,5,.35); }
.poster-script-sm { font-size: clamp(2.6rem, 7vw, 5rem); }
/* Pastille noire */
.poster-pill { margin-top: clamp(.9rem, 2vw, 1.4rem); padding: .85rem 1.9rem; border-radius: 9999px; background: #141010; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: clamp(.95rem, 1.7vw, 1.3rem); box-shadow: 0 14px 30px rgba(26,20,16,.35); }
.poster-cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.poster-hero .stage-zigzag { z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .poster-symbol .lg-frame, .poster-symbol .lg-dancer path { stroke-dashoffset: 0; }
  .poster-symbol .lg-head { transform: none; }
}
/* Le petit logo du menu n'apparaît qu'une fois la grande affiche dépassée (pas de doublon en haut de page) */
#mainHeader > div > a[href="#hero"] { transition: opacity .3s, transform .3s; }
body:not(.menu-open) #mainHeader:not(.scrolled) > div > a[href="#hero"] { opacity: 0; transform: translateY(-6px); pointer-events: none; }
@media (min-width: 640px) and (max-height: 780px) { .poster-hero { padding-top: 4.75rem; padding-bottom: 2.5rem; } .poster-dance { height: clamp(200px, 30svh, 300px); margin-top: .6rem; } .poster-script { font-size: clamp(3rem, 8vw, 5.4rem); } .poster-pill { margin-top: .7rem; padding: .7rem 1.6rem; } .poster-cta { margin-top: 1.1rem; } .poster-kicker { margin-top: .8rem; } }

/* ===== Musique d'ambiance ===== */
.music-btn { position: relative; width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: inline-grid; place-items: center; border: 1.5px solid rgba(255,255,255,.3); color: #fff; transition: background .2s, border-color .2s, color .2s; }
.music-btn:hover { background: #fff; color: #1A1410; }
.music-btn.is-on { background: #F28D3D; border-color: #F28D3D; color: #1A1410; }
.music-bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.music-btn.is-on .music-bars { display: inline-flex; }
.music-btn.is-on .music-off { display: none; }
.music-bars i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.music-bars i:nth-child(2) { animation-delay: .2s; } .music-bars i:nth-child(3) { animation-delay: .45s; } .music-bars i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.music-nudge { position: fixed; z-index: 55; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; align-items: center; gap: .25rem; padding: .35rem; border-radius: 9999px; background: rgba(26,20,16,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(242,141,61,.5); box-shadow: 0 16px 36px rgba(0,0,0,.35); animation: rise .5s cubic-bezier(.2,.8,.2,1); }
.music-nudge.hidden { display: none; }
.music-nudge-btn { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; padding: .6rem 1.1rem; border-radius: 9999px; background: #F28D3D; color: #1A1410; font-weight: 700; font-size: .9rem; }
.music-nudge-btn:hover { background: #fff; }
.music-nudge-close { width: 2.2rem; height: 2.2rem; border-radius: 9999px; color: rgba(255,255,255,.75); display: grid; place-items: center; }
.music-nudge-close:hover { color: #fff; background: rgba(255,255,255,.1); }
@media (prefers-reduced-motion: reduce) { .music-bars i { animation: none; transform: scaleY(.7); } }

/* ===== Typographie commune des formulaires et des étiquettes =====
   Titres : Syne · Étiquettes en capitales : Manrope gras espacé · Texte : Manrope.
   Contrastes ≥ 4,5:1 (lisibilité WCAG AA) sur Ébène comme sur Sable. */
.eyebrow-label { font-family: 'Manrope', sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.field-optional { margin-left: .35rem; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .78rem; color: rgba(26,20,16,.7); }
.field-light { font-size: 1rem; }
.field-hint { margin-top: .35rem; font-size: .78rem; color: rgba(26,20,16,.65); }
textarea.field-light { min-height: 8rem; }

/* Étapes numérotées du formulaire de candidature (01 · 02 · 03, comme les missions) */
.form-step { border: 0; margin: 0; padding: 1.5rem 0 0; min-width: 0; border-top: 1.5px solid rgba(26,20,16,.12); display: flex; flex-direction: column; gap: 1rem; }
.form-step legend { float: left; width: 100%; padding: 0; margin-bottom: .25rem; display: flex; align-items: baseline; gap: .7rem; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem; color: #1A1410; }
.form-step legend + * { clear: both; }
.form-step legend span { font-size: .8rem; letter-spacing: .1em; color: #B4441C; }

/* Contacts OSAF à côté des formulaires */
.contact-cards { display: grid; gap: .6rem; }
@media (min-width: 640px) and (max-width: 1023px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-cards a { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-weight: 600; font-size: .95rem; min-width: 0; transition: background .2s, border-color .2s; }
.contact-cards a:hover { background: rgba(242,141,61,.14); border-color: rgba(242,141,61,.5); }
.contact-cards i { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 9999px; display: grid; place-items: center; background: #F28D3D; color: #1A1410; font-size: 1.05rem; }
.contact-cards span { min-width: 0; overflow-wrap: anywhere; }
.contact-cards small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.form-contact { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1.5px solid rgba(26,20,16,.12); text-align: center; font-size: .9rem; }
.form-contact p { color: rgba(26,20,16,.7); }
.form-contact div { margin-top: .6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.form-contact a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 9999px; border: 1.5px solid rgba(26,20,16,.2); font-weight: 700; transition: background .2s, color .2s; }
.form-contact a:hover { background: #1A1410; color: #fff; }

/* ===== Visuels « J'y serai » ===== */
.jys-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.jys-steps li { display: flex; align-items: baseline; gap: .9rem; color: rgba(255,255,255,.9); line-height: 1.5; }
.jys-steps span { flex: none; font-family: 'Syne', sans-serif; font-weight: 800; font-size: .85rem; letter-spacing: .1em; color: #F28D3D; }
/* min-width: 0 : sans ça, le canvas (1080 px de large) élargit la grille et la page déborde sur téléphone */
.jys-studio { display: grid; gap: 1.75rem; min-width: 0; }
.jys-studio > * { min-width: 0; }
@media (min-width: 768px) { .jys-studio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.jys-preview { position: relative; border-radius: 1.25rem; background: #1A1410; padding: .9rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
@media (min-width: 768px) { .jys-preview { position: sticky; top: 6.5rem; } }
.jys-preview canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 62vh; border-radius: .6rem; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.jys-preview canvas.is-draggable { cursor: grab; touch-action: none; }
.jys-preview canvas.is-draggable:active { cursor: grabbing; }
.jys-hint { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .45rem; }
.jys-hint[hidden] { display: none; }
.jys-controls { display: flex; flex-direction: column; gap: 1.25rem; }
.jys-controls fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.jys-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.15rem; border-radius: 9999px; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.jys-btn[hidden] { display: none; }
.jys-btn-light { background: #fff; border: 1.5px solid rgba(26,20,16,.15); }
.jys-btn-light:hover { border-color: #F28D3D; }
.jys-btn-light:has(+ #jysPhoto:focus-visible) { outline: 3px solid #E6B54A; outline-offset: 2px; }
.jys-btn-ghost { border: 1.5px solid rgba(26,20,16,.2); }
.jys-btn-ghost:hover { background: #1A1410; color: #fff; }
.jys-range { width: 100%; accent-color: #F28D3D; }
.jys-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.jys-choices label { cursor: pointer; }
.jys-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jys-choices span { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .5rem; row-gap: .15rem; height: 100%; padding: .8rem .9rem; border-radius: .9rem; background: #fff; border: 1.5px solid rgba(26,20,16,.12); font-weight: 700; font-size: .92rem; transition: border-color .2s, box-shadow .2s; }
.jys-choices small { grid-column: 1 / -1; font-size: .74rem; font-weight: 600; color: rgba(26,20,16,.6); }
.jys-choices input:checked + span { border-color: #1A1410; box-shadow: inset 0 0 0 1.5px #1A1410; }
.jys-choices input:focus-visible + span { outline: 3px solid #E6B54A; outline-offset: 2px; }
.jys-swatch { display: inline-block; width: 1.1rem; height: 1.1rem; border-radius: 9999px; border: 2px solid rgba(26,20,16,.2); }
/* Encart d'appel sur l'accueil et après une réservation */
.jys-teaser { display: grid; gap: 1.5rem; align-items: center; padding: 1.75rem; border-radius: 2rem; background: linear-gradient(135deg, #F28D3D, #D9541A); color: #1A1410; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; position: relative; isolation: isolate; }
@media (min-width: 768px) { .jys-teaser { grid-template-columns: 1fr auto; padding: 2.5rem 3rem; } }
.jys-teaser-script { font-family: 'Yellowtail', cursive; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: #fff; text-shadow: 0 6px 22px rgba(90,30,5,.35); }

/* ===== Date limite des candidatures ===== */
.deadline-chip { display: flex; width: fit-content; align-items: center; gap: .6rem; margin-top: 1.1rem; padding: .6rem 1.1rem; border-radius: 9999px; background: #1A1410; color: #fff; font-weight: 600; font-size: .95rem; }
.deadline-chip i { color: #F28D3D; }
.deadline-chip strong { color: #F28D3D; }
.deadline-chip.hidden { display: none; }
.deadline-chip-dark { background: rgba(242,141,61,.14); border: 1px solid rgba(242,141,61,.45); }

/* ===== Préviens-moi ===== */
.notify { margin-top: 4.5rem; padding: 1.75rem; border-radius: 2rem; border: 1px solid rgba(242,141,61,.4); background: linear-gradient(135deg, rgba(242,141,61,.14), rgba(242,141,61,.03)); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .notify { grid-template-columns: 1fr 1.1fr; padding: 2.5rem 3rem; gap: 3rem; } }
.notify-title { margin-top: .5rem; font-family: 'Syne', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.02; }
.notify-form { display: flex; flex-direction: column; gap: .8rem; }
.notify-form.hidden { display: none; }
.notify-row { display: flex; flex-direction: column; gap: .6rem; }
@media (min-width: 480px) { .notify-row { flex-direction: row; } .notify-row .field-light { flex: 1; min-width: 0; } }
.notify-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.5rem; border-radius: 9999px; background: #F28D3D; color: #1A1410; font-weight: 800; white-space: nowrap; transition: background .2s; }
.notify-btn:hover { background: #E6B54A; }
.notify-btn:disabled { opacity: .7; }
.notify-done { display: flex; gap: .75rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 1.25rem; background: rgba(31,122,77,.18); border: 1px solid rgba(31,122,77,.5); font-weight: 600; line-height: 1.5; }
.notify-done.hidden { display: none; }
.notify-done i { color: #4FBF85; margin-top: .2rem; }
.notify .field-error { color: #FFB38A; }

/* ===== L'équipe ===== */
.team-grid { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); justify-content: center; gap: 2.5rem 2rem; } }
.team-card { text-align: center; }
.team-photo { width: min(100%, 9.5rem); aspect-ratio: 1; margin: 0 auto; border-radius: 9999px; overflow: hidden; display: grid; place-items: center; background: #F28D3D; color: #1A1410; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.4rem; box-shadow: 0 0 0 4px #1A1410, 0 0 0 6px rgba(242,141,61,.6); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { margin-top: 1.1rem; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.team-role { margin-top: .3rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F28D3D; }
.team-bio { margin-top: .6rem; font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.65); }

/* ===== Pages d'erreur (404, souci technique) ===== */
.error-page { min-height: calc(100svh - 5rem); display: flex; padding: 2rem 1.25rem 4rem; }
.error-inner { position: relative; z-index: 1; margin: auto; max-width: 40rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.error-code { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(5rem, 22vw, 12rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px #F28D3D; }
.error-code i { -webkit-text-stroke: 0; color: #F28D3D; font-size: clamp(4.5rem, 18vw, 7rem); }
.error-script { margin-top: -.35em; font-family: 'Yellowtail', cursive; font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1; color: #fff; transform: rotate(-4deg); text-shadow: 0 6px 22px rgba(0,0,0,.5); }
.error-title { margin-top: 1.5rem; font-family: 'Syne', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.02; }
.error-text { margin-top: 1rem; font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,.75); }
.error-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.error-help { margin-top: 2rem; font-size: .88rem; color: rgba(255,255,255,.55); }
.error-help a { color: #F28D3D; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Pages légales ===== */
.legal { max-width: 46rem; margin: 0 auto; color: rgba(255,255,255,.85); line-height: 1.75; }
.legal h1 { font-family: 'Syne', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.02; color: #fff; }
.legal .legal-updated { margin-top: .75rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.legal h2 { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; display: flex; gap: .7rem; align-items: baseline; }
.legal h2 span { font-size: .8rem; letter-spacing: .1em; color: #F28D3D; }
.legal p, .legal ul { margin-top: .9rem; }
.legal ul { padding-left: 1.2rem; list-style: disc; }
.legal li + li { margin-top: .35rem; }
.legal li::marker { color: #F28D3D; }
.legal a { color: #F28D3D; text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: #fff; }
.legal table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.legal th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #F28D3D; }
@media (max-width: 640px) { .legal table, .legal tbody, .legal tr, .legal td { display: block; } .legal thead { display: none; } .legal tr { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); } .legal td { border: 0; padding: .15rem 0; } .legal td:first-child { color: #fff; font-weight: 700; } }
/* Informations que l'équipe OSAF doit encore compléter */
.legal mark { background: rgba(230,181,74,.18); color: #E6B54A; padding: .05rem .35rem; border-radius: .3rem; }

/* Petits téléphones (≤ 380 px) : on resserre les marges pour garder les champs lisibles */
@media (max-width: 380px) { .booking { padding: 1.25rem; border-radius: 1.5rem; } .poster-pill { padding: .75rem 1.2rem; font-size: .88rem; } .sticker { font-size: .8rem; padding: .55rem .9rem; } }