/* Univers de marque repris des maquettes Figma « web design - dolphin ».
   Couleurs et typographie relevées à l'œil : à caler sur les valeurs exactes du Figma. */
:root {
  --encre: #0f3440;
  --encre-profond: #0b2a34;
  --papier: #f3f2ed;
  --blanc: #ffffff;
  --corail: #e8614d;
  --corail-fonce: #d24f3c;
  --brume: #cfe2dc;
  --billet: #f4eddc;
  --ciel: #8fb8cd;
  --trait: #dcd9cf;
  --rayon: 14px;
  --police: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--police); color: var(--encre); background: var(--papier); line-height: 1.55; font-size: 16px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
:focus-visible { outline: 3px solid var(--corail); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8em 1.5em; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 500; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn--small { padding: 0.55em 1.15em; font-size: 0.85rem; }
.btn--coral { background: var(--corail); color: var(--blanc); }
.btn--coral:hover { background: var(--corail-fonce); }
.btn--contour { border-color: var(--encre); background: transparent; color: var(--encre); }
.btn--contour:hover { background: var(--encre); color: var(--blanc); }
.btn--contour-clair { border-color: rgba(255, 255, 255, 0.85); color: var(--blanc); background: rgba(255, 255, 255, 0.12); }
.btn--contour-clair:hover { background: var(--blanc); color: var(--encre); }
.cta { margin-top: 1.6rem !important; }
.cta--centre { text-align: center; margin-top: 2.2rem !important; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Surtitre avec rose des vents */
.surtitre { display: flex; align-items: center; gap: 0.7em; font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 1.1rem; }
.surtitre--clair { color: var(--blanc); }
.surtitre--centre { justify-content: center; }
.rose { width: 26px; height: 26px; border-radius: 50%; border: 1px dashed currentColor; position: relative; flex: none; }
.rose::before, .rose::after { content: ''; position: absolute; inset: 6px; background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.rose::after { transform: rotate(45deg); inset: 8px; }

/* Hero */
.hero { position: relative; min-height: min(640px, 92vh); display: flex; flex-direction: column; color: var(--blanc); overflow: hidden; }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 42, 52, 0.62) 0%, rgba(11, 42, 52, 0.3) 45%, rgba(11, 42, 52, 0) 70%); }
.nav { position: relative; z-index: 2; margin: 22px auto 0; width: min(1080px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo-img { height: 44px; width: auto; display: block; }
.nav__logo-mark { font-weight: 800; font-stretch: 112%; font-size: 0.92rem; line-height: 0.92; letter-spacing: -0.01em; }
.nav__tag { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; padding: 0.3em 0.8em; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--encre); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 0.88rem; }
.nav__links a:not(.btn) { text-decoration: none; }
.nav__links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.hero__texte { position: relative; z-index: 2; width: min(1080px, calc(100% - 48px)); margin: auto; padding: 56px 0 96px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); max-width: 13em; }
.hero__chapo { max-width: 34em; margin-top: 1.1rem; font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

.medaillon { position: relative; z-index: 3; width: 76px; height: 76px; margin: -38px auto 0; border-radius: 50%; background: var(--papier); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(11, 42, 52, 0.16); }

/* Blocs */
.bloc { padding: clamp(56px, 8vw, 96px) 24px; }
.bloc--blanc { background: var(--blanc); }
.bloc--papier { background: var(--papier); }
#mission { margin-top: -38px; padding-top: clamp(86px, 10vw, 130px); }
.bloc__grille { width: min(980px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.bloc__grille p + p { margin-top: 0.9em; }
.bloc__grille h2 { margin-bottom: 1.1rem; }

.vignette { position: relative; }
.vignette__image { border-radius: var(--rayon); overflow: hidden; box-shadow: 0 10px 26px rgba(11, 42, 52, 0.14); }
.vignette__image svg { display: block; width: 100%; height: auto; }
.vignette::before { content: attr(data-numero); position: absolute; z-index: 1; top: -16px; left: -14px; width: 42px; height: 42px; display: grid; place-items: center; padding-top: 6px; font-weight: 700; font-size: 0.95rem; background: linear-gradient(var(--ciel) 0 9px, var(--billet) 9px); border-radius: 5px; box-shadow: 0 3px 8px rgba(11, 42, 52, 0.22); transform: rotate(-4deg); }

.liste-balises li, .liste-coches li { position: relative; padding-left: 2em; }
.liste-balises li + li, .liste-coches li + li { margin-top: 0.85em; }
.liste-balises li::before { content: ''; position: absolute; left: 0.2em; top: 0.42em; width: 0.72em; height: 0.72em; border-radius: 50%; background: var(--corail); box-shadow: 0 0 0 4px rgba(232, 97, 77, 0.2); }
.liste-coches li::before { content: ''; position: absolute; left: 0.25em; top: 0.3em; width: 0.5em; height: 0.85em; border: solid var(--corail); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.note { margin-top: 1.8rem !important; padding-top: 1.1rem; border-top: 2px dotted rgba(15, 52, 64, 0.28); font-size: 1.02rem; font-weight: 600; line-height: 1.45; color: var(--encre); max-width: 34em; }

/* Mot de Céline */
.mot { width: min(900px, 100%); margin: 0 auto; background: var(--brume); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 300px) 1fr; }
.mot__photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 50% 22%; }
.mot__texte { padding: clamp(28px, 4vw, 44px); align-self: center; }
.mot__titre { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
@media (max-width: 760px) { .mot { grid-template-columns: 1fr; } .mot__photo { height: 300px; min-height: 0; } }
.mot blockquote { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.45; }
.mot blockquote p + p { margin-top: 0.9em; }
.mot figcaption { margin-top: 1.4rem; font-size: 0.9rem; font-weight: 600; }

/* Étapes */
.etapes { width: min(980px, 100%); margin: 0 auto; }
.etapes__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 2rem; counter-reset: none; }
.etapes__liste li { background: var(--papier); border-radius: var(--rayon); padding: 26px 24px; }
.etapes__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--encre); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.etapes__liste h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.etapes__liste p { font-size: 0.94rem; }

/* Billet d'embarquement */
.embarquement { background: var(--encre-profond); color: var(--blanc); padding: clamp(56px, 8vw, 96px) 24px; text-align: center; background-image: radial-gradient(circle at 20% 30%, rgba(143, 184, 205, 0.1) 0, transparent 40%), radial-gradient(circle at 80% 70%, rgba(143, 184, 205, 0.08) 0, transparent 45%); }
.embarquement h2 { max-width: 16em; margin: 0 auto 2.4rem; }
.billet { width: min(760px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); background: var(--billet); color: var(--encre); border-radius: 16px; text-align: left; transform: rotate(-1.2deg); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); position: relative; }
.billet__corps { padding: 26px 28px; }
.billet__talon { padding: 26px 24px; border-left: 2px dashed rgba(15, 52, 64, 0.35); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.billet__talon::before, .billet__talon::after { content: ''; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--encre-profond); }
.billet__talon::before { top: -10px; } .billet__talon::after { bottom: -10px; }
.billet small, .billet dt { display: block; font-size: 0.66rem; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.7; }
.billet__talon strong { font-size: 1.05rem; line-height: 1.2; font-weight: 500; }
.billet__talon p { font-size: 0.8rem; }
.billet__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.billet__logo { height: 48px; width: auto; display: block; filter: brightness(0); }
.pastille { font-size: 0.72rem; padding: 0.35em 0.9em; border: 1px solid var(--encre); border-radius: 999px; background: var(--blanc); }
.billet__trajet { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; gap: 10px; margin: 22px 0; padding-bottom: 18px; border-bottom: 1px dashed rgba(15, 52, 64, 0.3); }
.billet__trajet strong { font-size: 1.15rem; font-weight: 600; line-height: 1.15; display: block; }
.billet__vers { text-align: right; }
.billet__infos { display: grid; grid-template-columns: repeat(4, auto); gap: 14px; justify-content: space-between; }
.billet__infos dd { font-weight: 600; font-size: 0.86rem; margin-top: 2px; }
.billet__code { width: 100%; height: 34px; margin-top: auto; background: repeating-linear-gradient(90deg, var(--encre) 0 2px, transparent 2px 4px, var(--encre) 4px 7px, transparent 7px 9px, var(--encre) 9px 10px, transparent 10px 14px); }

/* Formulaire */
.formulaire { width: min(720px, 100%); margin: 0 auto; }
.formulaire > h2 { text-align: center; margin-bottom: 2rem; }
form, .resultat { background: var(--blanc); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 10px 30px rgba(11, 42, 52, 0.08); }
.progression { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 0.8rem; }
.progression__trait { flex: 1; height: 6px; border-radius: 3px; background: var(--papier); overflow: hidden; }
.progression__avance { display: block; height: 100%; width: 20%; background: var(--corail); border-radius: 3px; transition: width 0.25s; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-size: 1.4rem; font-weight: 500; margin-bottom: 1.2rem; }
.etape__intro { margin: -0.6rem 0 1.2rem; font-size: 0.94rem; opacity: 0.8; }
.champ { margin-bottom: 1.5rem; }
.champ__precision { margin-top: 0.9rem; }
.champ__label { display: block; font-weight: 600; margin-bottom: 0.6rem; font-size: 0.98rem; }
.champ__aide { font-weight: 400; font-size: 0.8rem; opacity: 0.7; margin-left: 0.4em; }
input[type='text'], input[type='email'], input[type='tel'], input[type='url'], input[type='number'], textarea { width: 100%; padding: 0.8em 1em; font: inherit; color: var(--encre); background: var(--papier); border: 1.5px solid transparent; border-radius: 12px; }
textarea { resize: vertical; min-height: 6em; }
input:focus, textarea:focus { outline: none; border-color: var(--encre); background: var(--blanc); }
.choix { display: flex; flex-wrap: wrap; gap: 10px; }
.choix label { cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: block; padding: 0.65em 1.15em; border: 1.5px solid var(--trait); border-radius: 999px; font-size: 0.92rem; transition: background 0.12s, border-color 0.12s, color 0.12s; }
.choix label:hover span { border-color: var(--encre); }
.choix input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.choix input:focus-visible + span { outline: 3px solid var(--corail); outline-offset: 2px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.champ--consentement label { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; cursor: pointer; }
.champ--consentement input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--encre); flex: none; }
.champ--erreur .champ__label, .champ--erreur.champ--consentement span { color: var(--corail-fonce); }
.champ--erreur input:not([type='radio']):not([type='checkbox']), .champ--erreur textarea { border-color: var(--corail); }
.champ--erreur .choix span { border-color: var(--corail); }
.form__erreur { color: var(--corail-fonce); font-size: 0.92rem; font-weight: 600; margin-bottom: 1rem; }
.form__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 0.5rem; }

.resultat:focus, legend:focus { outline: none; }
.resultat h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.resultat p + p { margin-top: 0.8em; }
.resultat iframe { width: 100%; height: 700px; border: 0; margin-top: 1.4rem; border-radius: 12px; }
.resultat .btn { margin-top: 1.4rem; }

.pied { --ponton-h: max(33.5vw, 262px); position: relative; padding: clamp(40px, 6vw, 72px) 16px calc(var(--ponton-h) * 0.72); background: linear-gradient(180deg, var(--papier) 0%, rgba(243, 242, 237, 0) 55%) center bottom / 100% var(--ponton-h) no-repeat, url('assets/pied-ponton.jpg') center bottom / max(100%, 782px) auto no-repeat, var(--papier); color: var(--encre); }
.pied__legal { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; text-align: center; font-size: 0.82rem; color: var(--blanc); text-shadow: 0 1px 6px rgba(11, 42, 52, 0.75); }
.pied__legal span { display: block; width: min(1040px, 100%); margin: 0 auto; }
.pied__carte { width: min(1040px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 6vw, 80px); padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pied__marque { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.pied__marque p { max-width: 26em; font-size: 1rem; line-height: 1.35; }
.pied__logo { height: 56px; width: auto; display: block; filter: brightness(0); }
.pied__col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.98rem; }
.pied__col .surtitre { margin-bottom: 0.9rem; }
.pied__col a { text-decoration: none; }
.pied__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .pied__carte { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  .nav__links a:not(.btn) { display: none; }
  .hero__texte { padding: 40px 0 84px; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 42, 52, 0.55), rgba(11, 42, 52, 0.72)); }
  .bloc__grille { grid-template-columns: 1fr; }
  .vignette { max-width: 380px; }
  .etapes__liste { grid-template-columns: 1fr; }
  .billet { grid-template-columns: 1fr; transform: none; }
  .billet__talon { border-left: 0; border-top: 2px dashed rgba(15, 52, 64, 0.35); }
  .billet__talon::before { top: -11px; left: -10px; } .billet__talon::after { top: -11px; bottom: auto; left: auto; right: -10px; }
  .billet__infos { grid-template-columns: repeat(2, 1fr); }
  .trio, .duo { grid-template-columns: 1fr; gap: 0; }
  .form__actions { flex-direction: column-reverse; }
  .form__actions .btn { width: 100%; }
}

/* Un élément marqué hidden reste caché, même si une classe lui donne un display. */
[hidden] { display: none !important; }

/* Pages légales (confidentialité, mentions légales) */
.legal-tete { background: var(--encre); color: var(--blanc); padding-bottom: clamp(40px, 7vw, 72px); }
.legal-tete .nav { margin-top: 0; top: 22px; }
.legal-tete .nav__links a:not(.btn) { color: var(--blanc); }
.legal-tete__texte { width: min(760px, calc(100% - 48px)); margin: clamp(64px, 9vw, 104px) auto 0; }
.legal-tete__texte h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.legal-tete__texte p:not(.surtitre) { max-width: 34em; font-size: 1.05rem; }
.legal-tete__texte .legal-tete__date { margin-top: 1.4rem; font-size: 0.85rem; opacity: 0.75; }
.legal { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 2.6rem 0 0.9rem; padding-top: 1.6rem; border-top: 1px solid var(--trait); }
.legal p { margin-bottom: 0.9rem; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 0.9rem; }
.legal li { margin-bottom: 0.45rem; }
.legal li::marker { color: var(--corail); }
.legal a:not(.btn) { color: var(--corail-fonce); text-underline-offset: 3px; }
.legal__tableau { overflow-x: auto; margin-bottom: 0.9rem; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--blanc); }
.legal__tableau table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.legal__tableau th, .legal__tableau td { text-align: left; vertical-align: top; padding: 0.8em 1em; border-bottom: 1px solid var(--trait); }
.legal__tableau th { font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600; }
.legal__tableau tr:last-child td { border-bottom: 0; }
.legal__retour { margin-top: 2.8rem; }
.legal-pied { background: var(--encre-profond); color: var(--blanc); text-align: center; padding: 22px 16px; font-size: 0.82rem; }
.legal-pied p + p { margin-top: 0.3rem; }
.legal-pied a { text-underline-offset: 3px; }
.pied__legal a { color: inherit; text-underline-offset: 3px; }
.champ--consentement .champ__lien { display: block; margin: 0.5rem 0 0 1.9rem; font-size: 0.85rem; color: var(--corail-fonce); text-underline-offset: 3px; }

/* Bandeau de consentement au pixel Meta */
.traceurs { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; width: min(560px, calc(100% - 32px)); margin: 0 auto; padding: 18px 20px; border-radius: var(--rayon); background: var(--blanc); color: var(--encre); border: 1px solid var(--trait); box-shadow: 0 12px 40px rgba(11, 42, 52, 0.22); font-size: 0.9rem; }
.traceurs p { margin-bottom: 0.9rem; }
.traceurs a { color: var(--corail-fonce); text-underline-offset: 3px; }
.traceurs__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Téléphone : le menu tient dans sa pilule, les liens légaux sont faciles à toucher. */
@media (max-width: 760px) {
  .nav { padding: 8px 8px 8px 16px; gap: 10px; }
  .nav__logo { gap: 8px; min-width: 0; }
  .nav__logo-img { height: 36px; }
  .nav__tag { font-size: 0.6rem; padding: 0.3em 0.7em; }
  .nav__links { flex: none; }
  .nav__links .btn { white-space: nowrap; }
  .pied__legal { padding: 8px 16px 10px; line-height: 1.3; }
  .pied__legal a { display: inline-block; padding: 8px 4px; }
  .legal-pied a { display: inline-block; padding: 8px 4px; }
}
@media (max-width: 350px) { .nav__tag { display: none; } }
