/* CAPSI Santé & Formation — feuille de style du site (maquette validée le 27/09/2026).
   Or = UNIQUEMENT en point (logo, boutons, rubrique en cours, puces) : jamais en couleur de texte. */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/polices/archivo-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/polices/archivo-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/polices/archivo-latin-ext-wght-normal.woff2) format("woff2-variations"), url(/assets/polices/archivo-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo Black"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/polices/archivo-black-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo Black"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/polices/archivo-black-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  color-scheme: light;
  --marine: #0B2A4A;
  --or: #D9A441;
  --ardoise: #5A6B7E;
  --texte: #0E2036;
  --texte-2: #33465C;
  --fond: #F4F6F8;
  --fond-2: #EEF1F4;
  --blanc: #FFFFFF;
  --ligne: #C9D2DC;
  --ligne-2: #D5DCE3;
  --champ: #7A8A9C;
  --pied-texte: #D6DFE8;
  --pied-doux: #9FB0C2;
  --pied-ligne: #22476E;
  --titre: "Archivo Black", "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --corps: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --marge: 16px;
  --largeur: 1280px;
}
@media (min-width: 720px) { :root { --marge: 32px; } }
@media (min-width: 1200px) { :root { --marge: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--corps); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marine); }
a:hover { color: var(--marine); }
h1, h2, h3 { margin: 0; font-family: var(--titre); font-weight: 400; color: var(--marine); letter-spacing: -0.01em; }
p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.visuel-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: 8px; top: -60px; z-index: 30; background: var(--marine); color: var(--blanc); padding: 12px 18px; border-radius: 2px; text-decoration: none; }
.aller-contenu:focus { top: 8px; color: var(--blanc); }
.insecable { white-space: nowrap; }

.dedans, .entete-dedans, .pied-dedans, .pied-bas { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }
.surtitre { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ardoise); }
.intro { font-size: 19px; line-height: 1.6; color: var(--texte-2); }
.texte-2 { color: var(--texte-2); }

/* ── Boutons et liens ─────────────────────────────────────────────────── */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; background: var(--marine); color: var(--blanc); border: 0; border-radius: 2px; font: 600 16px/1.2 var(--corps); text-decoration: none; cursor: pointer; transition: background-color 180ms ease, transform 180ms ease; }
.bouton:hover { color: var(--blanc); background: #123a63; }
.bouton:active { transform: translateY(1px); }
.bouton .point, .point { width: 9px; height: 9px; border-radius: 50%; background: var(--or); flex-shrink: 0; }
.bouton-plein { width: 100%; }
.lien-or { font-weight: 600; color: var(--marine); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 7px; display: inline-flex; align-items: center; min-height: 44px; }
.lien-bouton { background: none; border: 0; padding: 0; font: 600 16px var(--corps); cursor: pointer; }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--marine); }
.lien-fleche .fleche { transition: transform 180ms ease; }
a:hover .lien-fleche .fleche, .lien-fleche:hover .fleche { transform: translateX(4px); }

/* ── En-tête ──────────────────────────────────────────────────────────── */
.entete { background: var(--fond); border-bottom: 1px solid var(--ligne-2); position: relative; z-index: 20; }
.entete-dedans { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--marine); }
.logo svg { width: 36px; height: 36px; }
.logo-mots { display: flex; flex-direction: column; line-height: 1; }
.logo-capsi { font-family: var(--titre); font-size: 20px; letter-spacing: 0.02em; color: var(--marine); }
.logo-ligne { display: none; font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; color: var(--ardoise); margin-top: 4px; }
.nav { display: none; }
.entete-actions { display: flex; align-items: center; gap: 6px; }
.langue { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; color: var(--marine); }
.entete-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--marine); border-radius: 2px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--marine); }
.entete-tel-num { display: none; }
.bouton-entete { display: none; }
.menu-bouton { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.menu-traits, .menu-traits::before, .menu-traits::after { display: block; width: 20px; height: 2px; background: var(--marine); border-radius: 1px; transition: transform 180ms ease, opacity 180ms ease; }
.menu-traits { position: relative; background: transparent; }
.menu-traits::before, .menu-traits::after { content: ""; position: absolute; left: 0; }
.menu-traits::before { top: -4px; }
.menu-traits::after { top: 4px; width: 13px; }
.menu-ouvert .menu-traits::before { transform: translateY(4px) rotate(45deg); }
.menu-ouvert .menu-traits::after { transform: translateY(-4px) rotate(-45deg); width: 20px; }
.menu-ouvert .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--fond); border-bottom: 1px solid var(--ligne-2); padding: 8px var(--marge) 16px; }
.menu-ouvert .nav a { display: flex; align-items: center; min-height: 48px; border-top: 1px solid var(--ligne-2); font-size: 17px; font-weight: 500; text-decoration: none; color: var(--texte); }
.nav a[aria-current="page"] { font-weight: 700; color: var(--marine); }

@media (min-width: 720px) {
  .logo-ligne { display: block; }
  .entete-tel-num { display: inline; }
  .entete-tel-court { display: none; }
}
@media (min-width: 1200px) {
  .entete-dedans { min-height: 92px; }
  .logo svg { width: 44px; height: 44px; }
  .logo-capsi { font-size: 22px; }
  .nav, .menu-ouvert .nav { display: flex; flex-direction: row; position: static; padding: 0; border: 0; background: none; gap: 30px; }
  .nav a, .menu-ouvert .nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; border: 0; font-size: 15.5px; font-weight: 500; color: var(--texte); text-decoration: none; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
  .nav a:hover::after { transform: scaleX(1); }
  .nav a[aria-current="page"]::after { left: 50%; right: auto; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; transform: none; }
  .entete-actions { gap: 18px; }
  .entete-tel { border: 0; padding: 0; }
  .entete-tel svg { display: none; }
  .bouton-entete { display: inline-flex; min-height: 46px; padding: 0 20px; font-size: 15px; }
  .menu-bouton { display: none; }
}

/* ── Accueil : ouverture ──────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero .dedans { position: relative; padding-top: 36px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 22px; }
.hero-symbole { width: 84px; height: 84px; }
.hero h1 { font-size: clamp(56px, 11vw, 118px); line-height: 0.95; letter-spacing: -0.025em; }
.hero .intro { max-width: 620px; }
.hero-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.hero-actions .bouton { width: 100%; min-height: 56px; font-size: 17px; }
@media (min-width: 720px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 28px; }
  .hero-actions .bouton { width: auto; }
}
@media (min-width: 1200px) {
  .hero .dedans { min-height: 668px; padding-top: 96px; padding-bottom: 72px; gap: 30px; }
  .hero-symbole { position: absolute; right: calc(var(--marge) - 20px); top: 64px; width: 560px; height: 560px; }
  .hero .intro { font-size: 21px; }
  .hero-actions .bouton { min-height: 58px; padding: 0 28px; }
}
/* Le C se trace, puis le point Or entre par l'ouverture (1,2 s, une fois par visite). */
.anime .arc-anime { stroke-dasharray: 192; stroke-dashoffset: 192; animation: capsi-tracer 700ms cubic-bezier(.65,0,.35,1) 100ms forwards; }
.anime .point-anime { transform-box: fill-box; transform-origin: center; animation: capsi-entrer 380ms cubic-bezier(.34,1.25,.64,1) 780ms both; }
@keyframes capsi-tracer { to { stroke-dashoffset: 0; } }
@keyframes capsi-entrer { 0% { transform: translateX(56px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(0); opacity: 1; } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding-top: 56px; padding-bottom: 56px; }
.section-titre { font-size: clamp(31px, 5vw, 48px); line-height: 1.06; }
@media (min-width: 1200px) { .section { padding-top: 110px; padding-bottom: 110px; } }
.grille { display: grid; gap: 24px; }
@media (min-width: 1200px) {
  .grille-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .c-1-6 { grid-column: 1 / span 6; } .c-1-5 { grid-column: 1 / span 5; } .c-7-6 { grid-column: 7 / span 6; }
  .c-8-5 { grid-column: 8 / span 5; } .c-1-7 { grid-column: 1 / span 7; }
}
.tete-section { display: grid; gap: 18px; margin-bottom: 36px; }
@media (min-width: 1200px) { .tete-section { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 44px; } .tete-section h2 { grid-column: 1 / span 6; } .tete-section p { grid-column: 8 / span 5; font-size: 18px; } }

/* Pôles */
.poles { border-top: 1px solid var(--ligne); }
.pole { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--ligne); text-decoration: none; color: var(--texte); }
.pole-num { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--ardoise); }
.pole-nom { font-family: var(--titre); font-size: 26px; color: var(--marine); }
.pole-texte { font-size: 16px; line-height: 1.55; color: var(--texte-2); max-width: 580px; }
@media (min-width: 1200px) {
  .pole { grid-template-columns: 64px 340px minmax(0, 1fr) 260px; align-items: center; padding: 34px 0; }
  .pole-nom { font-size: 34px; }
  .pole-texte { font-size: 18px; }
  .pole .lien-fleche { justify-self: end; }
}
.pole-tete { display: flex; flex-direction: column; gap: 6px; }

/* Étapes (accueil) */
.etapes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.etapes li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.etape-num { font-family: var(--titre); font-size: 24px; line-height: 1.1; color: var(--marine); }
.etapes strong { display: block; font-size: 18px; line-height: 1.35; color: var(--marine); margin-bottom: 6px; }
.etapes li p { font-size: 16px; line-height: 1.55; color: var(--texte-2); }
@media (min-width: 1200px) { .etapes li { grid-template-columns: 70px minmax(0, 1fr); padding: 26px 0; } .etape-num { font-size: 30px; } .etapes strong { font-size: 21px; } .etapes li p { font-size: 17px; } }

/* Photos */
.photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.photo img { width: 100%; object-fit: cover; background: var(--fond-2); }
.photo figcaption { font-size: 14px; color: var(--ardoise); }
.photo figcaption a { color: var(--ardoise); }
.photo-haute img { aspect-ratio: 4 / 3; }
@media (min-width: 1200px) { .photo-haute img { aspect-ratio: auto; height: 660px; } .photo-large img { height: 460px; } }

/* Citation */
.citation { background: var(--marine); }
.citation .dedans { padding-top: 60px; padding-bottom: 60px; display: grid; gap: 24px; }
.citation .point { width: 12px; height: 12px; }
.citation blockquote { margin: 0; font-family: var(--titre); font-size: clamp(29px, 4.4vw, 52px); line-height: 1.14; color: var(--blanc); }
.citation figcaption { font-size: 15px; color: #B9C6D4; margin-top: 22px; }
.citation figure { margin: 0; }
@media (min-width: 1200px) { .citation .dedans { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: 120px; padding-bottom: 120px; } .citation .point { grid-column: 1; margin-top: 24px; width: 14px; height: 14px; } .citation figure { grid-column: 2 / span 9; } .citation figcaption { font-size: 17px; margin-top: 30px; } }

/* Listes à filets (formations, faits) */
.liste-filets { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.liste-filets > li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.liste-filets .nom { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--marine); }
.liste-filets .duree { font-size: 14px; color: var(--ardoise); white-space: nowrap; }
@media (min-width: 1200px) { .liste-filets > li { padding: 20px 0; } .liste-filets .nom { font-size: 19px; } .liste-filets .duree { font-size: 15px; } }

.vecteur-mot { font-family: var(--titre); font-size: clamp(42px, 6vw, 64px); line-height: 1; color: var(--marine); }
.faits { border-top: 1px solid var(--ligne-2); }
.faits .dedans { padding-top: 26px; padding-bottom: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--texte-2); }
@media (min-width: 1200px) { .faits .dedans { flex-direction: row; justify-content: space-between; padding-top: 34px; padding-bottom: 34px; } }

/* Utilitaires de mise en page */
.empile { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.empile > .etapes, .empile > .liste-filets, .empile > .coord, .empile > .intro { width: 100%; }
.centre-v { justify-content: center; }
.section-sans-haut { padding-top: 0; }
.section-poles { padding-top: 16px; }
.marge-bas { margin-bottom: 32px; }
.filet-haut { border-top: 1px solid var(--ligne); padding-top: 48px; }
.petit { font-size: 15px; }
.liste-filets a.nom { text-decoration: none; }
.liste-filets a.nom:hover { text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (min-width: 1200px) { .section-poles { padding-top: 40px; } .marge-bas { margin-bottom: 44px; } .filet-haut { padding-top: 72px; } .empile { gap: 32px; } }

/* Catalogue des formations */
.catalogue { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.catalogue li { padding: 22px 0; border-bottom: 1px solid var(--ligne); display: grid; gap: 6px; scroll-margin-top: 24px; }
.cat-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cat-tete h3 { font-family: var(--corps); font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--marine); }
.cat-tete .duree { font-size: 14px; color: var(--ardoise); white-space: nowrap; }
.cat-pour { font-size: 15px; font-weight: 600; color: var(--ardoise); }
.catalogue li p:last-child { color: var(--texte-2); }
.catalogue li:target { background: var(--fond-2); box-shadow: -12px 0 0 var(--fond-2), 12px 0 0 var(--fond-2); }
@media (min-width: 1200px) { .catalogue li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; padding: 28px 0; } .catalogue .cat-tete { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; gap: 6px; } .cat-tete h3 { font-size: 21px; } .cat-pour, .catalogue li p:last-child { grid-column: 2; } }

.page-tete-form .dedans { gap: 32px; }
@media (min-width: 1200px) { .page-tete-form .dedans { align-items: start; } .page-tete-form .empile { padding-top: 12px; } .page-tete-form h1 { font-size: 84px; } }

/* Pages intérieures */
.page-tete .dedans { padding-top: 48px; padding-bottom: 40px; display: grid; gap: 22px; }
.page-tete h1 { font-size: clamp(44px, 8vw, 84px); line-height: 0.98; letter-spacing: -0.02em; max-width: 14ch; }
.page-tete .intro { max-width: 680px; }
@media (min-width: 1200px) { .page-tete .dedans { padding-top: 84px; padding-bottom: 64px; gap: 28px; } .page-tete .intro { font-size: 20px; } }

.bloc-texte { display: grid; gap: 18px; max-width: 720px; }
.bloc-texte h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; }
.bloc-texte h3 { font-family: var(--corps); font-weight: 700; font-size: 19px; color: var(--marine); margin-top: 10px; }
.bloc-texte p, .bloc-texte li { color: var(--texte-2); }
.bloc-texte ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Trois valeurs, en lignes à filets (pas de cartes) */
.valeurs { border-top: 1px solid var(--ligne); }
.valeur { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--ligne); }
.valeur h3 { font-family: var(--titre); font-size: 26px; color: var(--marine); }
.valeur p { color: var(--texte-2); max-width: 640px; }
@media (min-width: 1200px) { .valeur { grid-template-columns: 340px minmax(0, 1fr); align-items: baseline; padding: 34px 0; } .valeur h3 { font-size: 30px; } .valeur p { font-size: 18px; } }

/* Pour qui (soins) */
.pour-qui { display: grid; border-top: 1px solid var(--ligne); }
.pour-qui > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 24px 0; border-bottom: 1px solid var(--ligne); }
.pour-qui svg { width: 40px; height: 40px; }
.pour-qui strong { display: block; font-size: 19px; color: var(--marine); margin-bottom: 6px; }
.pour-qui p { font-size: 16px; line-height: 1.55; color: var(--texte-2); }
@media (min-width: 900px) { .pour-qui { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } .pour-qui > div { padding: 30px 40px 30px 0; } .pour-qui strong { font-size: 21px; } .pour-qui p { font-size: 17px; } }

/* Parcours en 3 étapes reliées (soins) */
.parcours { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.parcours li { display: grid; gap: 12px; }
.parcours .repere { display: flex; align-items: center; height: 22px; }
.parcours .rond { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--marine); background: var(--fond); flex-shrink: 0; }
.parcours li:first-child .rond { background: var(--or); border-color: var(--or); }
.parcours .filet { display: none; }
.parcours .etiquette { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--ardoise); }
.parcours strong { font-size: 21px; line-height: 1.3; color: var(--marine); }
.parcours p { color: var(--texte-2); }
@media (min-width: 900px) {
  .parcours { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .parcours li { padding-right: 48px; }
  .parcours .filet { display: block; height: 2px; flex-grow: 1; background: var(--marine); margin: 0 -60px 0 12px; }
  .parcours li:last-child .filet { display: none; }
}

/* Coordonnées en définitions */
.coord { margin: 0; border-top: 1px solid var(--ligne); }
.coord > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--ligne); gap: 12px; }
.coord dt { font-size: 15px; font-weight: 600; color: var(--ardoise); }
.coord dd { margin: 0; color: var(--texte); }
@media (min-width: 720px) { .coord > div { grid-template-columns: 150px minmax(0, 1fr); } }

/* ── Formulaires ──────────────────────────────────────────────────────── */
.carte-form { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 2px; padding: 26px 20px; }
@media (min-width: 720px) { .carte-form { padding: 38px; } }
.formulaire { display: grid; gap: 22px; }
.form-tete { display: grid; gap: 8px; }
.form-titre { font-size: 32px; line-height: 1.1; }
.form-tete p { color: var(--texte-2); font-size: 16px; }
.champ { display: grid; gap: 8px; }
.champ label, .creneaux legend, .champ .libelle { font-size: 15px; font-weight: 600; color: var(--texte); }
.champ .facultatif { font-weight: 400; color: var(--ardoise); }
.champ input[type="text"], .champ input[type="tel"], .champ input[type="email"], .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--champ); border-radius: 2px; background: var(--blanc); color: var(--texte); font: 17px var(--corps); }
.champ textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--marine) 50%), linear-gradient(135deg, var(--marine) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.champ-tel { display: flex; min-height: 52px; border: 1px solid var(--champ); border-radius: 2px; background: var(--blanc); overflow: hidden; }
.champ-tel .indicatif { display: flex; align-items: center; padding: 0 14px; background: var(--fond-2); border-right: 1px solid var(--ligne); color: var(--texte-2); }
.champ-tel input { border: 0 !important; min-width: 0; flex-grow: 1; }
.champ [aria-invalid="true"], .champ-tel.invalide { border-color: #B23A2B !important; box-shadow: inset 0 0 0 1px #B23A2B; }
.champ-erreur { font-size: 14px; color: #9A2F22; }
.creneaux { margin: 0; padding: 0; border: 0; min-width: 0; }
.creneaux legend { padding: 0; margin-bottom: 10px; }
.creneaux-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.creneau { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border: 1px solid var(--ligne); border-radius: 2px; background: var(--blanc); font-size: 16px; cursor: pointer; }
.creneau:has(input:checked) { border-color: var(--marine); box-shadow: inset 0 0 0 1px var(--marine); }
.creneau input, .accord input { width: 18px; height: 18px; margin: 0; accent-color: var(--marine); flex-shrink: 0; }
.accord, .champ label.accord { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--texte-2); cursor: pointer; }
.accord input { margin-top: 3px; }
.accord a { font-weight: 600; }
.note { padding: 14px 16px; background: var(--fond-2); font-size: 15px; line-height: 1.5; color: var(--texte-2); }
.urgence { font-size: 15px; color: var(--texte-2); }
.urgence strong { color: var(--texte); }
.form-echec { padding: 12px 14px; border: 1px solid #B23A2B; color: #9A2F22; font-size: 15px; }
.piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.merci { display: grid; gap: 18px; }
.merci:not([hidden]) { animation: capsi-calme 320ms cubic-bezier(.2,.7,.2,1) both; }
.merci-point { width: 14px; height: 14px; border-radius: 50%; background: var(--or); }
.merci p { font-size: 18px; color: var(--texte-2); }
@keyframes capsi-calme { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.envoi-en-cours .bouton { opacity: 0.7; pointer-events: none; }

/* ── Pied de page ─────────────────────────────────────────────────────── */
.pied { background: var(--marine); color: var(--pied-texte); }
.pied a { color: var(--pied-texte); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied-dedans { padding-top: 48px; padding-bottom: 32px; display: grid; gap: 32px; }
.pied-logo { display: flex; align-items: center; gap: 12px; }
.pied-logo svg { width: 44px; height: 44px; }
.pied-logo .logo-capsi { color: var(--blanc); font-size: 22px; }
.pied-logo .logo-ligne { display: block; color: #B9C6D4; }
.pied-col { display: flex; flex-direction: column; font-size: 15px; }
.pied-col a { display: flex; align-items: center; min-height: 40px; }
.pied-titre { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--blanc); margin-bottom: 6px; }
.pied-coord address { display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.pied-coord a { min-height: 32px; }
.pied .fort { color: var(--blanc); font-weight: 600; }
.pied-bas { border-top: 1px solid var(--pied-ligne); padding-top: 22px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--pied-doux); }
.pied-bas a { color: var(--pied-doux); }
.pied-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
@media (min-width: 1200px) {
  .pied-dedans { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: 80px; padding-bottom: 60px; }
  .pied-logo { grid-column: 1 / span 4; align-items: flex-start; }
  .pied-logo svg { width: 54px; height: 54px; }
  .pied-logo .logo-mots { padding-top: 10px; }
  .pied-logo .logo-capsi { font-size: 26px; }
  .pied-dedans > nav:nth-of-type(1) { grid-column: 6 / span 2; }
  .pied-dedans > nav:nth-of-type(2) { grid-column: 8 / span 2; }
  .pied-coord { grid-column: 10 / span 3; }
  .pied-col a { min-height: 32px; }
  .pied-bas { flex-direction: row; justify-content: space-between; padding-bottom: 40px; }
}

/* Réglage « réduire les animations » : le site reste complet, sans mouvement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anime .arc-anime { stroke-dashoffset: 0; }
}
