/* Sauvetage de Morges – feuille de style du site public */
:root {
  --nuit: #0B2A4A;
  --nuit-2: #12406B;
  --nuit-3: #071C33;
  --orange: #C2410C;
  --orange-clair: #FDBA74;
  --lac: #1F6299;
  --fond: #F6F8FA;
  --blanc: #FFFFFF;
  --texte: #0F1E2E;
  --texte-2: #33465A;
  --gris: #4A5B6C;
  --bordure: #DCE3EA;
  --bleu-pale: #DCE7F2;
  --bleu-gris: #9DB8D3;
  --titre: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --corps: 'Source Sans 3', system-ui, -apple-system, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--corps); color: var(--texte); background: var(--fond); font-size: 17px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--nuit); }
a:hover { color: var(--orange); }
h1, h2, h3 { font-family: var(--titre); color: var(--nuit); margin: 0; line-height: 1; }
h2 { font-size: clamp(34px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 28px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--nuit); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Bandeau urgence */
.urgence { background: var(--orange); color: #fff; padding: 10px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 16px; }
.urgence strong { text-transform: uppercase; letter-spacing: .04em; }
.urgence a { color: #fff; font-weight: 700; font-size: 18px; }

/* En-tête */
.entete { background: var(--blanc); border-bottom: 1px solid var(--bordure); position: sticky; top: 0; z-index: 50; }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nuit); }
.marque img, .marque .logo-vide { width: 48px; height: 48px; border-radius: 50%; }
.logo-vide { display: block; flex-shrink: 0; background: var(--nuit); }
.marque span { display: flex; flex-direction: column; line-height: 1.05; }
.marque b { font-family: var(--titre); font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.marque small { font-size: 13px; color: var(--gris); }
.marque b, .marque small { white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 6px 22px; font-weight: 600; }
.menu a { text-decoration: none; white-space: nowrap; }
.menu a[aria-current="page"] { color: var(--orange); }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #A8380A; color: #fff; }
.btn-nuit { background: var(--nuit); color: #fff; }
.btn-nuit:hover { background: var(--nuit-2); color: #fff; }
.btn-lac { background: var(--lac); color: #fff; }
.btn-lac:hover { background: #18507D; color: #fff; }
.btn-blanc { background: #fff; color: var(--nuit); }
.btn-noir { background: var(--texte); color: #fff; }
.btn-noir:hover { background: #000; color: #fff; }
.btn-contour { border: 1.5px solid var(--nuit); padding: 9px 14px; border-radius: 8px; }
.menu .btn { padding: 10px 16px; border-radius: 8px; }
.burger { display: none; background: none; border: 1.5px solid var(--nuit); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--nuit); margin: 4px auto; }

@media (max-width: 1180px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; border-bottom: 1px solid var(--bordure); gap: 4px; }
  .menu.ouvert { display: flex; }
  .menu a { padding: 10px 0; }
  .menu .btn, .menu .btn-contour { text-align: center; margin-top: 6px; }
}

/* Hero */
.hero { position: relative; background: var(--nuit-2); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,74,.95) 0%, rgba(11,42,74,.6) 55%, rgba(11,42,74,.15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 24px; }
.surtitre { font-weight: 700; color: var(--orange-clair); letter-spacing: .12em; text-transform: uppercase; font-size: 15px; }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(42px, 7vw, 86px); line-height: .95; max-width: 780px; }
.hero p { font-size: 20px; max-width: 600px; color: var(--bleu-pale); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions .btn { font-size: 18px; padding: 16px 28px; }
.hero-court .wrap { padding-top: 72px; padding-bottom: 72px; }

/* Chiffres */
.chiffres { position: relative; margin-top: -48px; }
.chiffres-carte { background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(11,42,74,.12); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; }
.chiffre b { display: block; font-family: var(--titre); font-weight: 800; font-size: 52px; line-height: 1; color: var(--nuit); }
.chiffre.accent b { color: var(--orange); }
.chiffre span { color: var(--gris); }

/* Sections */
.section { padding: 88px 0; }
.section-blanche { background: #fff; }
.section-nuit { background: var(--nuit); color: #fff; }
.section-nuit h2, .section-nuit h3 { color: #fff; }
.pile { display: flex; flex-direction: column; gap: 32px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.deux { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.deux > * { flex: 1 1 440px; min-width: 0; }
.etiquette { font-weight: 700; color: var(--orange); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.section-nuit .etiquette { color: var(--orange-clair); }
.intro { font-size: 18px; color: var(--texte-2); max-width: 720px; }
.section-nuit .intro { color: var(--bleu-pale); }

.carte { background: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; border-top: 6px solid var(--nuit); }
.carte.orange { border-top-color: var(--orange); }
.carte.lac { border-top-color: var(--lac); }
.carte p { color: var(--texte-2); }
.carte .bas { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.carte svg { width: 36px; height: 36px; }

.reflexes { display: flex; flex-direction: column; gap: 14px; }
.reflexe { background: #fff; border-radius: 12px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; }
.reflexe > b { font-family: var(--titre); font-weight: 800; font-size: 28px; color: var(--orange); line-height: 1; }
.reflexe strong { color: var(--nuit); }
.reflexe p { color: var(--texte-2); margin-top: 4px; }

.vent { background: var(--nuit); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.vent h3 { color: #fff; }
.vent small { color: var(--bleu-gris); }
.vent-live { display: flex; align-items: center; gap: 24px; }
.vent-rose { width: 120px; height: 120px; flex-shrink: 0; }
.vent-rose svg { width: 100%; height: 100%; }
.vent-chiffres { display: flex; flex-direction: column; gap: 4px; color: var(--bleu-pale); min-width: 0; }
.vent-vitesse { font-family: var(--titre); font-weight: 800; font-size: 60px; line-height: 1; color: #fff; }
.vent-vitesse small { font-size: 24px; }
.vent-dir b { color: var(--orange-clair); }
.vent-graph { width: 100%; height: 110px; display: block; background: var(--nuit-2); border-radius: 10px; }
.vent-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--bleu-gris); }
.vent-legende i { display: inline-block; width: 14px; height: 4px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.vent-legende .l-moy { background: #fff; }
.vent-legende .l-raf { background: #E07A3E; height: 8px; }
.vent-maj { font-size: 13px; color: var(--bleu-gris); }
.vent-maj a { color: var(--bleu-pale); }
.vent-maj.vieux { color: var(--orange-clair); }
.vent-erreur { margin: 0; padding: 16px; background: var(--nuit-2); border-radius: 10px; color: var(--bleu-pale); }
.vent-erreur a { color: #fff; }
[data-vent] { display: flex; flex-direction: column; gap: 14px; }

.bateau { border-radius: 16px; overflow: hidden; background: var(--fond); display: flex; flex-direction: column; }
.bateau img, .photo-vide { width: 100%; height: 220px; object-fit: cover; }
.photo-vide { background: var(--bleu-pale); }
.bateau div { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.bateau .etiquette { font-size: 13px; letter-spacing: .08em; }
.bateau p { color: var(--texte-2); }

.frise { display: flex; flex-direction: column; }
.frise div { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid #23507E; align-items: baseline; }
.frise div:last-child { border-bottom: 0; }
.frise b { font-family: var(--titre); font-weight: 800; font-size: 28px; color: var(--orange-clair); min-width: 80px; }
.frise span { color: var(--bleu-pale); }

.reseaux { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sponsors */
.sponsors { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.sponsors h2 { font-size: 26px; color: var(--gris); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; }
.logos a { display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--texte-2); font-weight: 600; }
.logos.principaux img { max-height: 80px; max-width: 220px; }
.logos.partenaires img { max-height: 52px; max-width: 150px; filter: grayscale(1); opacity: .8; transition: .2s; }
.logos.partenaires a:hover img { filter: none; opacity: 1; }

/* Étapes, FAQ, formulaire */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.etape { border-top: 4px solid var(--orange); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.etape b { font-family: var(--titre); font-weight: 800; font-size: 40px; color: var(--orange); line-height: 1; }
.etape strong { color: var(--nuit); font-size: 19px; }
.etape span { color: var(--texte-2); }
.role { background: #fff; border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.role p { color: var(--texte-2); }

.formulaire { background: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(11,42,74,.08); }
.formulaire label { font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.formulaire input, .formulaire select, .formulaire textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid #B8C4D0; border-radius: 8px; background: #fff; }
.formulaire .ligne { display: flex; flex-wrap: wrap; gap: 16px; }
.formulaire .ligne label { flex: 1 1 200px; }
.formulaire .btn { font-size: 18px; padding: 16px; }
.message-ok { background: #E7F4EC; color: #14532D; padding: 14px; border-radius: 8px; }
.message-err { background: #FDECEA; color: #8A1C12; padding: 14px; border-radius: 8px; }
.piege { position: absolute; left: -9999px; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border-radius: 12px; padding: 18px 20px; }
.faq summary { font-weight: 700; color: var(--nuit); cursor: pointer; }
.faq p { margin-top: 10px; color: var(--texte-2); }

.texte { max-width: 760px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--texte-2); }
.texte h2 { margin-top: 24px; }
.a-completer { background: #FFF4E5; border: 1px dashed var(--orange); padding: 2px 6px; border-radius: 4px; color: #7C2D12; font-size: .95em; }

/* Pied de page */
.pied { background: var(--nuit-3); color: var(--bleu-pale); }
.pied .wrap { padding-top: 56px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.pied .col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.pied b { color: #fff; }
.pied a { color: var(--bleu-pale); }
.pied a:hover { color: #fff; }
.pied .marque-pied { font-family: var(--titre); font-weight: 800; font-size: 24px; color: #fff; }
.pied .urgence-pied { flex: 1 1 240px; background: var(--orange); border-radius: 12px; padding: 20px; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.pied .urgence-pied b { text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.pied .urgence-pied span { font-family: var(--titre); font-weight: 800; font-size: 40px; line-height: 1; }
.pied .bas { padding-top: 0; padding-bottom: 32px; font-size: 14px; color: var(--bleu-gris); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.pied .version { opacity: .8; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 90px; }
  .section { padding: 64px 0; }
  .carte, .formulaire, .chiffres-carte { padding: 24px; }
  .marque b { font-size: 20px; }
  .urgence .long { display: none; }
  .marque { min-width: 0; gap: 10px; }
  .marque img, .marque .logo-vide { width: 40px; height: 40px; }
  .marque span { min-width: 0; }
  .marque b, .marque small { overflow: hidden; text-overflow: ellipsis; }
  .marque b { font-size: 19px; }
  .burger { flex-shrink: 0; }
  .vent { padding: 22px; }
  .vent-live { gap: 16px; }
  .vent-rose { width: 84px; height: 84px; }
  .vent-vitesse { font-size: 48px; }
  .vent-vitesse small { font-size: 20px; }
}
