/* Site vitrine Suivi Formation : mêmes couleurs que l'application, sans police externe ni script. */
:root {
    --ocean-900: #0b3a52;
    --ocean-800: #0f4c6b;
    --ocean-600: #1b6f96;
    --ocean-100: #e3eff5;
    --ocean-50: #f1f7fa;
    --vert: #1b6338;
    --vert-fond: #e0f3e7;
    --texte: #13222c;
    --texte-doux: #4a5864;
    --bordure: #dde5ea;
    --rayon: 14px;
    --ombre: 0 1px 2px rgba(11, 58, 82, .06), 0 10px 30px rgba(11, 58, 82, .10);
    font-size: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-wrap: break-word; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texte);
       line-height: 1.6; background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ocean-600); text-underline-offset: .15em; }
a:hover { color: var(--ocean-900); }
:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--ocean-900); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: 8px;
             background: var(--ocean-900); color: #fff; }
.evitement:focus { top: 1rem; color: #fff; }
.conteneur { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.conteneur--etroit { width: min(760px, 100% - 2.5rem); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--bordure);
          backdrop-filter: blur(8px); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4.25rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; color: var(--ocean-900);
          text-decoration: none; }
.marque img { border-radius: 9px; }
.menu { display: flex; align-items: center; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.menu a:not(.bouton) { color: var(--texte); text-decoration: none; font-weight: 500; }
.menu a:not(.bouton):hover { color: var(--ocean-600); text-decoration: underline; }
@media (max-width: 760px) { .menu li:not(:last-child) { display: none; } }
@media (max-width: 420px) {
    .marque { font-size: 1rem; line-height: 1.2; white-space: nowrap; }
    .menu .bouton--petit { padding: .35rem .75rem; font-size: .9rem; white-space: nowrap; }
}

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem;
          border-radius: 12px; background: var(--ocean-800); color: #fff; font-weight: 600; text-decoration: none;
          border: 2px solid var(--ocean-800); font: inherit; font-weight: 600; cursor: pointer; }
.bouton:hover { background: var(--ocean-900); border-color: var(--ocean-900); color: #fff; }
.bouton--clair { background: #fff; color: var(--ocean-800); }
.bouton--clair:hover { background: var(--ocean-50); color: var(--ocean-900); }
.bouton--petit { min-height: 40px; padding: .4rem 1rem; }

/* Bandeau d'accueil */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background: linear-gradient(170deg, var(--ocean-50), #fff 70%); }
.hero__grille { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero__grille { grid-template-columns: .95fr 1.05fr; } }
.surtitre { margin-bottom: .75rem; color: var(--ocean-600); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.hero__texte { font-size: 1.15rem; color: var(--texte-doux); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.hero__capture { margin: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
.atouts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; color: var(--texte-doux); font-size: .95rem; }
.atouts li::before, .liste-coches li::before { content: "✓"; margin-right: .4rem; color: var(--vert); font-weight: 700; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--teinte { background: var(--ocean-50); }
.section__intro { max-width: 46rem; font-size: 1.1rem; color: var(--texte-doux); margin-bottom: 2.5rem; }

.vedette { display: grid; gap: 2rem; align-items: center; margin-bottom: 4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .vedette { grid-template-columns: 1fr 1.2fr; }
    .vedette--inverse .vedette__texte { order: 2; }
}
.vedette__texte p { color: var(--texte-doux); font-size: 1.05rem; }
.vedette__image { margin: 0; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
.vedette__image--telephone { justify-self: center; width: min(300px, 80%); border-radius: 28px; border: 8px solid var(--ocean-900); }
.liste-coches { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }

.cartes { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.carte { padding: 1.5rem; border: 1px solid var(--bordure); border-radius: var(--rayon); background: #fff; }
.carte p { margin: 0; color: var(--texte-doux); }

.sports { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sport { padding: 1.25rem 1.4rem; border-radius: var(--rayon); background: #fff; border: 1px solid var(--bordure); }
.sport p { margin: 0; color: var(--texte-doux); }
.sport--vedette { grid-column: 1 / -1; border-left: 6px solid var(--ocean-600); }
.sport--autre { border-style: dashed; border-color: var(--ocean-600); }

.etapes { display: grid; gap: 1.25rem; margin: 0 0 3rem; padding: 0; list-style: none; counter-reset: etape;
          grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.etapes li { counter-increment: etape; padding: 1.5rem; border-radius: var(--rayon); background: var(--ocean-50); }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .8rem;
                     border-radius: 50%; background: var(--ocean-800); color: #fff; font-weight: 700; }
.etapes p { margin: 0; color: var(--texte-doux); }
.capture-large { margin: 0; }
.capture-large img { border-radius: var(--rayon); box-shadow: var(--ombre); border: 1px solid var(--bordure); }
.capture-large figcaption { margin-top: .75rem; color: var(--texte-doux); text-align: center; font-size: .95rem; }

.question { border-bottom: 1px solid var(--bordure); }
.question summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; color: var(--ocean-900); }
.question p { color: var(--texte-doux); }

.contact { text-align: center; background: linear-gradient(160deg, var(--ocean-900), var(--ocean-600)); color: #fff; }
.contact h2 { color: #fff; }
.contact .section__intro { color: #e3eff5; margin-inline: auto; }
.contact .bouton { background: #fff; color: var(--ocean-900); border-color: #fff; font-size: 1.05rem; }
.contact .bouton:hover { background: var(--ocean-100); color: var(--ocean-900); }
.contact__adresse a { color: #fff; }
.contact__adresse { color: #e3eff5; }

/* Pages de texte */
.texte-legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.texte-legal p { color: var(--texte-doux); }

.pied { padding: 2rem 0; border-top: 1px solid var(--bordure); color: var(--texte-doux); font-size: .95rem; }
.pied__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.pied__ligne p { margin: 0; }
.pied__liens { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.pied a { color: var(--texte-doux); }

/* Compléments : pages intérieures, exemple réalisé, démonstration et formulaire de demande. */
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.menu a[aria-current="page"]:not(.bouton) { color: var(--ocean-800); text-decoration: underline; text-decoration-thickness: 2px; }
.hero--court { padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.hero--court .hero__texte { max-width: none; }
.centre { text-align: center; margin-top: 2rem; }
.note { color: var(--texte-doux); font-size: .95rem; }
.cartes--trois { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bouton--contour { background: transparent; color: #fff; border-color: #fff; }
.bouton--contour:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.lien-fleche { font-weight: 600; }
.lien-fleche::after { content: " →"; }

.exemple { display: grid; gap: 2rem; align-items: center; margin-top: 3rem; padding: clamp(1.25rem, 3vw, 2rem);
           border-radius: var(--rayon); background: #fff; border: 1px solid var(--bordure); border-left: 6px solid var(--ocean-600); }
@media (min-width: 900px) { .exemple { grid-template-columns: 1fr 1.1fr; } }
.exemple__texte p:not(.surtitre) { color: var(--texte-doux); }
.exemple__image { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--bordure); }

/* Formulaire de demande */
.section--formulaire { padding-top: 1rem; }
.mention-obligatoire { color: var(--texte-doux); }
.formulaire fieldset { margin: 0 0 1.75rem; padding: 1.25rem 1.25rem .5rem; border: 1px solid var(--bordure); border-radius: var(--rayon); }
.formulaire legend { padding: 0 .4rem; font-weight: 700; font-size: 1.15rem; color: var(--ocean-900); }
.aide-groupe { color: var(--texte-doux); margin-top: .25rem; }
.champ { margin-bottom: 1.1rem; }
.champ label { display: block; margin-bottom: .3rem; font-weight: 600; }
.champ .aide { overflow-wrap: anywhere; margin: -.1rem 0 .35rem; color: var(--texte-doux); font-size: .93rem; }
.champ input:not([type="checkbox"]), .champ select, .champ textarea {
    width: 100%; min-height: 48px; padding: .6rem .75rem; border: 1px solid #7b8a95; border-radius: 10px;
    background: #fff; color: var(--texte); font: inherit;
}
.champ input[type="file"] { padding: .55rem .5rem; }
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid #f2a900; outline-offset: 1px; }
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border: 2px solid #b42318; }
.erreurs { margin: 0 0 .4rem; padding: 0; list-style: none; color: #b42318; font-weight: 600; }
.erreurs li::before { content: "Erreur : "; }
.obligatoire { color: #b42318; }
.champs-cote { display: grid; gap: 0 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .champs-cote { grid-template-columns: 1fr 1fr; } }
.champ--case { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; align-items: start; padding: 1rem;
               border-radius: var(--rayon); background: var(--ocean-50); }
.champ--case input { width: 1.5rem; height: 1.5rem; margin: .15rem 0 0; accent-color: var(--ocean-800); }
.champ--case label { margin: 0; }
.champ--case .aide, .champ--case .erreurs { grid-column: 2; margin: 0; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.resume-erreurs { margin-bottom: 1.5rem; padding: 1.25rem; border: 2px solid #b42318; border-radius: var(--rayon); background: #fdecea; }
.resume-erreurs h2 { font-size: 1.25rem; color: #8a1c12; }
.resume-erreurs ul { margin: 0; padding-left: 1.25rem; }
.resume-erreurs a { color: #8a1c12; font-weight: 600; }
@media (max-width: 480px) {
    .masque-etroit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
.cartes--quatre { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
