/* vincentmoulene.fr — bleu profond (l'eau) et orange bouée (le secours). */
:root {
    --nuit: #0b1d33;
    --nuit-2: #13294a;
    --bouee: #ff6b2c;
    --bouee-f: #e3541a;
    --ecume: #f4f7fb;
    --texte: #1b2433;
    --gris: #5b6678;
    --ligne: #dfe5ee;
    --blanc: #fff;
    --rayon: 18px;
    --ombre: 0 12px 40px rgba(11, 29, 51, .10);
    --titre: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 17px/1.65 var(--titre); color: var(--texte); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--bouee-f); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.enveloppe { width: min(1160px, 100% - 40px); margin-inline: auto; }
.etroit { width: min(780px, 100% - 40px); }
.centre { text-align: center; justify-content: center; }
.discret { color: var(--gris); }
.petit { font-size: .85rem; }
.evitement { position: absolute; left: -999px; }
.evitement:focus { left: 12px; top: 12px; z-index: 99; background: var(--blanc); padding: 8px 14px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: .4em; padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--bouee); background: var(--bouee); color: var(--blanc); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.bouton:hover { background: var(--bouee-f); border-color: var(--bouee-f); transform: translateY(-2px); }
.bouton.secondaire { background: transparent; color: var(--bouee-f); }
.bouton.secondaire:hover { background: var(--bouee); color: var(--blanc); }
.bouton.fantome { background: transparent; border-color: currentColor; color: inherit; }
.bouton.petit { padding: .55em 1.1em; font-size: .9rem; }
.bouton:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--bouee); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.lien { display: block; margin-top: 1em; color: inherit; font-size: .95rem; }

/* Barre */
.barre { position: sticky; top: 0; z-index: 50; background: rgba(11, 29, 51, .92); backdrop-filter: blur(10px); color: var(--blanc); }
.barre-int { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; }
.logo-marque { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bouee); color: var(--blanc); font-size: .9rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--blanc); }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% 0%, #1f4778 0%, transparent 60%), var(--nuit); color: var(--blanc); padding: 90px 0 110px; overflow: hidden; }
.hero-int { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; }
.surtitre { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--bouee); margin-bottom: 1em; }
.promesse { font-size: 1.3rem; color: rgba(255, 255, 255, .86); max-width: 34em; }
.promesse strong { color: var(--blanc); }
.coches { list-style: none; padding: 0; margin: 0 0 1em; }
.coches li { position: relative; padding-left: 1.8em; margin: .45em 0; }
.coches li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3em; height: 1.3em; border-radius: 50%; background: rgba(255, 107, 44, .15); color: var(--bouee); font-weight: 800; font-size: .85em; display: grid; place-items: center; margin-top: .25em; }
.hero-visuel { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.bouee { position: absolute; inset: 8%; border-radius: 50%; background: repeating-conic-gradient(var(--bouee) 0 45deg, var(--blanc) 45deg 90deg); display: grid; place-items: center; animation: flotte 6s ease-in-out infinite; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.bouee span { width: 52%; height: 52%; border-radius: 50%; background: var(--nuit); display: grid; place-items: center; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; }
.bouee .visage { width: 74%; height: 74%; border-radius: 50%; object-fit: cover; border: 6px solid var(--nuit); animation: contre 6s ease-in-out infinite; }
@keyframes contre { 50% { transform: rotate(-6deg); } }
.portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bouee); margin-bottom: 1.2em; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.decroche { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.decroche img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bouee); }
.carte-sos .decroche { justify-content: center; color: var(--blanc); }
.badge { position: absolute; background: var(--blanc); color: var(--texte); border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre); font-size: .9rem; }
.badge b { display: block; font-size: 1.3rem; color: var(--bouee-f); }
.badge-a { left: -4%; bottom: 10%; }
.badge-b { right: -2%; top: 6%; }
@keyframes flotte { 50% { transform: translateY(-14px) rotate(6deg); } }

/* Chiffres */
.chiffres { background: var(--ecume); border-bottom: 1px solid var(--ligne); }
.chiffres-int { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.chiffres b { display: block; font-size: 2.4rem; font-weight: 800; color: var(--nuit); }
.chiffres span { color: var(--gris); font-size: .95rem; }

/* Manifeste défilant */
.manifeste { background: var(--bouee); color: var(--blanc); overflow: hidden; padding: 18px 0; }
.defile { display: flex; width: max-content; animation: defile 40s linear infinite; }
.defile p { margin: 0; padding-right: 2em; white-space: nowrap; font-weight: 800; font-size: 1.25rem; }
.defile span { opacity: .6; margin: 0 .6em; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 100px 0; }
.sombre { background: var(--nuit); color: var(--blanc); }
.sombre .discret, .sombre p { color: rgba(255, 255, 255, .82); }
.clair { background: var(--ecume); }
.intro { color: var(--gris); max-width: 40em; font-size: 1.1rem; }
.groupe { margin: 2.2em 0 1em; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Offres */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.offre { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 30px; transition: transform .2s, box-shadow .2s; }
.offre:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.offre.vedette { border: 2px solid var(--bouee); box-shadow: var(--ombre); }
.offre .accroche { font-weight: 700; color: var(--nuit-2); }
.offre > p:not(.accroche):not(.prix) { color: var(--gris); font-size: .97rem; }
.offre .coches { font-size: .95rem; flex: 1; }
.offre .bouton { align-self: flex-start; }
.pastille { position: absolute; top: -13px; left: 24px; background: var(--bouee); color: var(--blanc); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }
.prix { font-size: 1.5rem; font-weight: 800; color: var(--nuit); margin: .6em 0 .8em; }
.prix.grand { font-size: 2.4rem; color: var(--nuit); }

/* Frise */
.frise { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid rgba(255, 255, 255, .2); }
.frise li { position: relative; margin-bottom: 26px; }
.frise li::before { content: ""; position: absolute; left: -37px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bouee); box-shadow: 0 0 0 5px rgba(255, 107, 44, .2); }
.frise b { display: block; font-size: 1.15rem; }
.frise span { color: rgba(255, 255, 255, .75); }

/* SOS */
.sos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.carte-sos { background: var(--nuit); color: var(--blanc); border-radius: var(--rayon); padding: 40px; text-align: center; box-shadow: var(--ombre); }
.carte-sos .prix { color: var(--blanc); }
.carte-sos .discret { color: rgba(255, 255, 255, .7); }
.creneaux { display: grid; gap: 8px; margin: 1.2em 0 1.6em; }
.creneaux span { border: 1px dashed rgba(255, 255, 255, .35); border-radius: 10px; padding: 8px 12px; font-weight: 700; color: var(--blanc); }
.formulaire small { font-weight: 400; color: var(--gris); }

/* Cadeau */
.maquette { background: var(--blanc); border-radius: var(--rayon); padding: 34px; box-shadow: var(--ombre); transform: rotate(-3deg); max-width: 380px; justify-self: center; border-top: 10px solid var(--bouee); }
.maquette-titre { font-weight: 800; text-transform: uppercase; color: var(--bouee-f); letter-spacing: .12em; margin: 0; }
.maquette-sous { font-size: 1.4rem; font-weight: 800; color: var(--nuit); }
.maquette ul { list-style: none; padding: 0; color: var(--gris); }

/* FAQ */
details { border-bottom: 1px solid var(--ligne); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--bouee); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--gris); }

/* Formulaire */
.formulaire { background: var(--blanc); color: var(--texte); border-radius: var(--rayon); padding: 34px; box-shadow: var(--ombre); display: grid; gap: 14px; }
.formulaire p { color: var(--gris); }
.formulaire label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.formulaire input, .formulaire select, .formulaire textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--ligne); border-radius: 10px; background: var(--ecume); width: 100%; }
.formulaire .ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formulaire .case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.formulaire .case input { width: auto; margin-top: 5px; }
.formulaire .bouton { justify-self: start; }
.piege { position: absolute !important; left: -9999px; }
.alerte { background: #fff1ec; border: 1px solid var(--bouee); color: #8a2c08; border-radius: 10px; padding: 12px 16px; }
.alerte p, .alerte ul { margin: 0; color: inherit; }

/* Checklist */
.checklist { padding-left: 1.4em; }
.checklist li { margin-bottom: 18px; }
.checklist label { display: flex; gap: 12px; font-weight: 700; cursor: pointer; }
.checklist input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--bouee); flex: none; }
.geste { margin: 6px 0 0 32px; color: var(--gris); font-size: .95rem; }
.score { position: sticky; bottom: 16px; background: var(--nuit); color: var(--blanc); border-radius: var(--rayon); padding: 18px 24px; box-shadow: var(--ombre); }
.score p { margin: 0; }
.score b { font-size: 1.8rem; color: var(--bouee); }
.score .discret { color: rgba(255, 255, 255, .8); }

/* Pages de texte */
.texte h2 { font-size: 1.4rem; margin-top: 1.8em; }

/* Pied */
.pied { background: #071526; color: rgba(255, 255, 255, .75); padding: 60px 0 20px; }
.pied-int { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.pied nav { display: grid; gap: 8px; align-content: start; }
.pied a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.pied a:hover { color: var(--blanc); }
.pied .logo { color: var(--blanc); margin-bottom: 12px; }
.pied .discret { color: rgba(255, 255, 255, .6); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* Apparition au défilement (activée seulement si JS) */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.js .apparait.vu { opacity: 1; transform: none; }

@media (max-width: 920px) {
    .nav { display: none; }
    .barre-int .bouton { margin-left: auto; }
    .hero { padding: 60px 0 80px; }
    .hero-int, .deux-colonnes, .sos { grid-template-columns: 1fr; gap: 40px; }
    .hero-visuel { max-width: 300px; }
    .chiffres-int { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 70px 0; }
    .pied-int { grid-template-columns: 1fr; }
    .formulaire .ligne { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .barre, .pied, .actions, .score { display: none; }
    .geste { color: #000; }
}
