/* Alyance Conseils — feuille de style unique. Conçue d'abord pour le téléphone. */

@font-face { font-family: "Spectral"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/spectral-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-700-normal.woff2") format("woff2"); }

:root {
  --nuit: #0f2a4a;
  --vert: #178c74;        /* accents et pictogrammes uniquement */
  --vert-fonce: #12654f;  /* boutons et liens : 6,2:1 sur écru, 7:1 avec texte blanc */
  --vert-tres-fonce: #0d4d3c;
  --sable: #d9c9a8;
  --sable-clair: #efe7d6;
  --ecru: #f5f1e8;
  --blanc: #fffdf8;
  --gris: #4a5a6b;        /* texte secondaire : 6,3:1 sur écru */
  --alerte: #a23b1e;
  --titres: "Spectral", Georgia, "Times New Roman", serif;
  --texte: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --largeur: 72rem;
  --lecture: 42rem;
  --rayon: 10px;
  --espace: clamp(3rem, 8vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--ecru); color: var(--nuit); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, .marque-nom, .pied-marque { font-family: var(--titres); font-weight: 600; line-height: 1.2; color: var(--nuit); text-wrap: balance; hyphens: manual; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.15rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
a { color: var(--vert-fonce); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--vert-tres-fonce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--nuit); outline-offset: 3px; border-radius: 3px; }
.pied :focus-visible, .bouton:focus-visible { outline-color: var(--sable); }
.bouton:focus-visible { outline: 3px solid var(--nuit); box-shadow: 0 0 0 6px var(--ecru); }
strong { font-weight: 700; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--nuit); color: #fff; padding: .75rem 1rem; border-radius: var(--rayon); }
.lien-evitement:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

/* --- Bandeau d'aperçu et champs à valider (aperçu uniquement) --- */
.bandeau-apercu { background: #fff3c4; color: #3d2f00; font-size: .9rem; padding: .6rem 1rem; text-align: center; border-bottom: 1px solid #e3cf7a; }
mark.a-completer { background: #ffe08a; color: #3d2f00; padding: 0 .3em; border-radius: 3px; font-weight: 600; }
.a-confirmer { text-decoration: underline dotted #b07d00 2px; text-underline-offset: .2em; }

/* --- En-tête et menu --- */
.entete { background: var(--ecru); border-bottom: 1px solid var(--sable); position: sticky; top: 0; z-index: 50; }
.entete-interieur { max-width: var(--largeur); margin: 0 auto; padding: .6rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--nuit); min-height: 48px; }
.marque img { width: auto; height: 40px; }
.marque-texte { display: flex; flex-direction: column; line-height: 1.15; }
.marque-nom { font-size: 1.2rem; }
.marque-sous { font-size: .8rem; color: var(--gris); }
.bouton-menu { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: 0 1rem; font: 600 1rem var(--texte); color: var(--nuit); background: transparent; border: 1.5px solid var(--nuit); border-radius: 999px; cursor: pointer; }
.bouton-menu-barres, .bouton-menu-barres::before, .bouton-menu-barres::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.bouton-menu-barres::before, .bouton-menu-barres::after { content: ""; position: absolute; left: 0; }
.bouton-menu-barres::before { top: -6px; } .bouton-menu-barres::after { top: 6px; }
.bouton-menu[aria-expanded="true"] .bouton-menu-barres { background: transparent; }
.bouton-menu[aria-expanded="true"] .bouton-menu-barres::before { transform: translateY(6px) rotate(45deg); }
.bouton-menu[aria-expanded="true"] .bouton-menu-barres::after { transform: translateY(-6px) rotate(-45deg); }
.navigation { flex-basis: 100%; display: none; }
.navigation.ouvert, .sans-js .navigation { display: block; }
.sans-js .bouton-menu { display: none; }
.navigation ul { list-style: none; margin: 0; padding: .25rem 0 .75rem; }
.navigation li + li { border-top: 1px solid var(--sable); }
.navigation a { display: flex; align-items: center; min-height: 52px; padding: .25rem .25rem; font-weight: 600; font-size: 1.1rem; color: var(--nuit); text-decoration: none; }
.navigation a[aria-current] { color: var(--vert-fonce); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.navigation .menu-contact a { color: var(--vert-fonce); }

@media (min-width: 72em) {
  .entete-interieur { flex-wrap: nowrap; padding: .75rem 1.5rem; }
  .bouton-menu { display: none; }
  .navigation, .sans-js .navigation { display: block; flex-basis: auto; }
  .navigation ul { display: flex; align-items: center; gap: .15rem; padding: 0; }
  .navigation li + li { border: 0; }
  .navigation a { min-height: 44px; padding: 0 .7rem; font-size: 1rem; border-radius: 999px; }
  .navigation a:hover { background: var(--sable-clair); }
  .navigation .menu-contact a { background: var(--vert-fonce); color: #fff; margin-left: .4rem; padding: 0 1.1rem; }
  .navigation .menu-contact a:hover { background: var(--vert-tres-fonce); }
  .navigation .menu-contact a[aria-current] { color: #fff; }
}

/* --- Mise en page --- */
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 1rem; }
.conteneur.etroit { max-width: calc(var(--lecture) + 2rem); }
@media (min-width: 48em) { .conteneur { padding: 0 2rem; } .conteneur.etroit { max-width: calc(var(--lecture) + 4rem); } }
.section { padding: var(--espace) 0; }
.section + .section { padding-top: 0; }
.section-sable { background: var(--sable-clair); padding: var(--espace) 0 !important; border-top: 1px solid var(--sable); border-bottom: 1px solid var(--sable); }
.section-sable + .section { padding-top: var(--espace); }
.section-nuit { background: var(--nuit); color: #f5f1e8; padding: var(--espace) 0 !important; }
.section-nuit h2, .section-nuit h3 { color: #fff; }
.section-nuit a:not(.bouton) { color: #bfe8dc; }
.section-fin { padding-bottom: var(--espace); }
.surtitre { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vert-fonce); margin-bottom: .6rem; }
.surtitre a { text-decoration: none; }
.section-nuit .surtitre { color: #9fdcc9; }
.chapo { font-size: 1.2rem; line-height: 1.55; max-width: var(--lecture); }
.note, .aide, .meta { color: var(--gris); font-size: .95rem; }
.section-nuit .note { color: #d7dee6; }
.prose { max-width: var(--lecture); }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose li { margin-bottom: .4rem; }
.entete-page { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3rem); }

/* --- Fil d'Ariane --- */
.fil { max-width: var(--largeur); margin: 0 auto; padding: 1rem 1rem 0; font-size: .9rem; }
@media (min-width: 48em) { .fil { padding: 1.25rem 2rem 0; } }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0; color: var(--gris); }
.fil li + li::before { content: "›"; margin: 0 .4rem 0 .15rem; color: var(--gris); }
.fil a { color: var(--gris); }

/* --- Boutons --- */
.boutons { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 0; }
@media (min-width: 36em) { .boutons { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .7rem 1.5rem; font: 600 1.05rem/1.25 var(--texte); text-align: center; color: #fff; background: var(--vert-fonce); border: 2px solid var(--vert-fonce); border-radius: 999px; text-decoration: none; cursor: pointer; }
.bouton:hover { background: var(--vert-tres-fonce); border-color: var(--vert-tres-fonce); color: #fff; text-decoration: none; }
.bouton-secondaire { background: transparent; color: var(--vert-fonce); }
.bouton-secondaire:hover { background: var(--vert-fonce); color: #fff; }
.section-nuit .bouton { background: #fff; color: var(--nuit); border-color: #fff; }
.section-nuit .bouton:hover { background: var(--sable); border-color: var(--sable); }
.section-nuit .bouton-secondaire { background: transparent; color: #fff; }
.section-nuit .bouton-secondaire:hover { background: #fff; color: var(--nuit); }
.lien-fleche { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; min-height: 44px; }
.lien-fleche .icone-petite { transition: transform .15s; }
.lien-fleche:hover .icone-petite { transform: translateX(3px); }
.icone { width: 2rem; height: 2rem; fill: none; stroke: var(--vert); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icone-petite { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* --- Accueil : premier écran --- */
.accueil-haut { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.signature-haut { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; font-size: 1rem; margin-bottom: 1.1rem; color: var(--gris); }
.signature-haut strong { color: var(--nuit); font-family: var(--titres); font-weight: 600; font-size: 1.1rem; }
.accueil-haut h1 { max-width: 22ch; }
.accueil-visuel { display: none; }
@media (min-width: 72em) {
  .accueil-grille { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
  .accueil-visuel { display: block; }
  .accueil-visuel img { width: 100%; max-width: 420px; height: auto; display: block; margin-left: auto; }
  .accueil-haut h1 { font-size: clamp(2.4rem, 1.4rem + 2vw, 3.1rem); }
}
.accueil-haut .chapo { margin-bottom: 1.75rem; }
.entrees { display: grid; gap: 1rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
@media (min-width: 40em) { .entrees { grid-template-columns: 1fr 1fr; } }
.entree { display: flex; align-items: center; gap: .9rem; min-height: 76px; padding: 1rem 1.15rem; background: var(--blanc); border: 1.5px solid var(--sable); border-radius: var(--rayon); color: var(--nuit); text-decoration: none; font-weight: 700; font-size: 1.15rem; line-height: 1.3; transition: border-color .15s, box-shadow .15s; }
.entree:hover { border-color: var(--vert-fonce); box-shadow: 0 6px 18px rgba(15, 42, 74, .08); color: var(--nuit); text-decoration: none; }
.entree .icone-petite { margin-left: auto; color: var(--vert-fonce); }
.entree small { display: block; font-weight: 400; font-size: .95rem; color: var(--gris); }
.bloc-simulateur { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .9rem 1rem; margin: 0 0 1.5rem; padding: 1.25rem; background: #e3f1ec; border: 1.5px solid var(--vert); border-radius: var(--rayon); }
.bloc-simulateur > .icone { width: 2.25rem; height: 2.25rem; color: var(--vert-fonce); }
.bloc-simulateur-texte p { margin: 0; }
.bloc-simulateur-titre { font-family: var(--titres); font-weight: 600; font-size: 1.2rem; }
.bloc-simulateur .bouton { grid-column: 1 / -1; }
@media (min-width: 40em) { .bloc-simulateur .bouton { grid-column: 2; justify-self: start; } }
.acces-directs { margin-top: 2.5rem; background: var(--blanc); border: 1px solid var(--sable); border-radius: var(--rayon); padding: 1.5rem 1.25rem; }
.acces-directs h2 { font-size: 1.3rem; margin: 0 0 .75rem; }
.acces-logo { display: none; }
.acces-directs ul { list-style: none; margin: 0; padding: 0; }
.acces-directs li + li { border-top: 1px solid var(--sable); }
.acces-directs a { display: flex; gap: .85rem; align-items: center; min-height: 64px; padding: .6rem .25rem; color: var(--nuit); text-decoration: none; font-weight: 700; line-height: 1.3; }
.acces-directs a:hover { color: var(--vert-fonce); }
.acces-directs a .icone { flex: none; color: var(--vert); }
.acces-directs small { display: block; font-weight: 400; font-size: .95rem; color: var(--gris); }
@media (min-width: 72em) { .acces-directs { margin-top: 0; } .acces-logo { display: block; width: 70%; max-width: 260px; height: auto; margin: 0 auto 1rem; } }
.cas-second { margin-top: 1.5rem; }
.cas-second h3 { font-size: 1.3rem; max-width: 40ch; }
.proximite { display: flex; gap: .6rem; align-items: flex-start; padding-top: 1.25rem; border-top: 1px solid var(--sable); color: var(--nuit); max-width: var(--lecture); margin: 0; }
.proximite .icone { width: 1.5rem; height: 1.5rem; margin-top: .1rem; }

/* --- Blocs --- */
.cas { background: var(--blanc); border-left: 4px solid var(--vert); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 1.5rem 1.25rem; }
@media (min-width: 48em) { .cas { padding: 2rem 2.25rem; } }
.cas-colonnes { display: grid; gap: 1.5rem; margin-top: 1.25rem; }
@media (min-width: 56em) { .cas-colonnes { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.cas h3 { font-size: 1.15rem; }
.liste-coches { list-style: none; padding: 0; }
.liste-coches li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; }
.liste-coches li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--vert); border-bottom: 2px solid var(--vert); transform: rotate(-45deg); }

.etapes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; counter-reset: etape; }
@media (min-width: 40em) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etapes li { counter-increment: etape; background: var(--blanc); border: 1px solid var(--sable); border-radius: var(--rayon); padding: 1.25rem; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--nuit); color: #fff; font-family: var(--titres); font-weight: 600; margin-bottom: .75rem; }
.etapes h3 { font-size: 1.1rem; }
.etapes p { margin: 0; }

.cartes { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 40em) { .cartes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .cartes.trois { grid-template-columns: repeat(3, 1fr); } .cartes.quatre { grid-template-columns: repeat(4, 1fr); } }
.carte { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--sable); border-radius: var(--rayon); padding: 1.4rem 1.25rem; transition: border-color .15s, box-shadow .15s; }
.carte:hover { border-color: var(--vert-fonce); box-shadow: 0 6px 18px rgba(15, 42, 74, .07); }
.carte .icone { margin-bottom: .75rem; }
.carte h3 { font-size: 1.2rem; }
.carte h3 a { color: var(--nuit); text-decoration: none; }
.carte h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }
.carte p { color: var(--nuit); }
.carte .lien-fleche { margin-top: auto; color: var(--vert-fonce); }
.carte-situation .surtitre { margin-bottom: .3rem; }

.encadre { background: var(--sable-clair); border: 1px solid var(--sable); border-radius: var(--rayon); padding: 1.25rem 1.25rem .5rem; margin: 1.75rem 0; }
@media (min-width: 48em) { .encadre { padding: 1.5rem 1.75rem .75rem; } }
.encadre-titre { font-weight: 700; margin-bottom: .5rem; }
.question-cle { font-family: var(--titres); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.65rem); line-height: 1.3; border-left: 4px solid var(--vert); padding-left: 1rem; margin: 1.5rem 0; max-width: 34ch; }

.deux-colonnes { display: grid; gap: 2rem; }
@media (min-width: 60em) { .deux-colonnes { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; } }
.colonne-laterale { display: grid; gap: 1rem; }
@media (min-width: 60em) { .colonne-laterale { position: sticky; top: 6.5rem; } }
.parcours { background: var(--blanc); border: 1.5px solid var(--sable); border-radius: var(--rayon); padding: 1.4rem 1.25rem; }
.parcours h2, .parcours h3 { font-size: 1.25rem; }
.parcours .boutons { margin-top: 1rem; }
.parcours .bouton { width: 100%; }

.contact-direct { display: grid; gap: 1.5rem; }
@media (min-width: 56em) { .contact-direct { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 3rem; } }
.moyens { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.moyens li { display: flex; gap: .75rem; align-items: center; }
.moyens .icone { width: 1.6rem; height: 1.6rem; stroke: #9fdcc9; }
.section-nuit .moyens a { color: #fff; font-weight: 600; }

.zones { display: grid; gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .zones { grid-template-columns: repeat(3, 1fr); } }
.zones li { background: var(--blanc); border: 1px solid var(--sable); border-radius: var(--rayon); padding: 1.25rem; }
.zones h3 { font-size: 1.2rem; }

/* --- Tableaux --- */
.tableau { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--sable); border-radius: var(--rayon); background: var(--blanc); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--sable); }
thead th { background: var(--sable-clair); font-weight: 700; }
tbody th { font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* --- Formulaire --- */
.formulaire { background: var(--blanc); border: 1px solid var(--sable); border-radius: var(--rayon); padding: 1.25rem; max-width: 40rem; }
@media (min-width: 48em) { .formulaire { padding: 2rem; } }
.champ { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.champ label, .champ legend { display: block; font-weight: 600; margin-bottom: .35rem; padding: 0; }
.facultatif { font-weight: 400; color: var(--gris); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { display: block; width: 100%; min-height: 50px; padding: .65rem .8rem; font: 1.0625rem/1.4 var(--texte); color: var(--nuit); background: #fff; border: 1.5px solid #8a8370; border-radius: 8px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a4a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 1.2rem; padding-right: 2.5rem; }
textarea { min-height: 8rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--vert-fonce); outline-offset: 1px; border-color: var(--vert-fonce); }
[aria-invalid="true"] { border-color: var(--alerte) !important; }
.erreur { color: var(--alerte); font-weight: 600; font-size: .95rem; margin: .35rem 0 0; }
.choix-groupe { display: grid; gap: .5rem; }
.choix { display: flex !important; align-items: center; gap: .65rem; min-height: 48px; padding: .5rem .85rem; border: 1.5px solid var(--sable); border-radius: 8px; font-weight: 400 !important; cursor: pointer; background: #fff; flex-wrap: wrap; }
.choix:has(input:checked) { border-color: var(--vert-fonce); background: #eef6f2; }
.choix input { width: 1.25rem; height: 1.25rem; accent-color: var(--vert-fonce); margin: 0; }
.aide-inline { color: var(--gris); font-size: .92rem; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mention-donnees { font-size: .92rem; color: var(--gris); }
.retour:empty { display: none; }
.retour { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 8px; font-weight: 600; }
.retour.ok { background: #e3f3ec; color: #0b3f31; border: 1px solid #9fd1bd; }
.retour.ko { background: #fbe9e4; color: #6e2412; border: 1px solid #e5b2a4; }
.formulaire .bouton[disabled] { opacity: .7; cursor: wait; }
.sans-js [data-pour] { display: block !important; }

/* --- Blog --- */
.filtres { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.filtres a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--sable); border-radius: 999px; color: var(--nuit); text-decoration: none; font-weight: 600; background: var(--blanc); }
.filtres a:hover { border-color: var(--vert-fonce); }
.filtres a[aria-current] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.grille-articles { display: grid; gap: 1rem; }
@media (min-width: 48em) { .grille-articles { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.carte-article { position: relative; background: var(--blanc); border: 1px solid var(--sable); border-radius: var(--rayon); padding: 1.4rem 1.25rem; display: flex; flex-direction: column; }
.carte-article:hover { border-color: var(--vert-fonce); }
.carte-article h2, .carte-article h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.carte-article :is(h2, h3) a { color: var(--nuit); text-decoration: none; }
.carte-article :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.carte-article .surtitre a { position: relative; z-index: 1; }
.carte-article .meta { margin: auto 0 0; }

.article { max-width: calc(var(--lecture) + 2rem); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 1rem var(--espace); }
.article-entete h1 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.75rem); }
.article-corps { font-size: 1.125rem; line-height: 1.7; }
.article-corps h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); margin-top: 2.5rem; }
.article-corps h3 { margin-top: 1.75rem; }
.article-corps li { margin-bottom: .45rem; }
.article-corps blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.1rem; border-left: 4px solid var(--vert); font-style: italic; }
.reponse-courte { background: var(--blanc); border: 1.5px solid var(--sable); border-left: 4px solid var(--vert); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 1.1rem 1.25rem .25rem; margin: 1.75rem 0 2rem; font-size: 1.125rem; }
.reponse-courte-titre { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--vert-fonce); margin-bottom: .4rem; }
.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sable); }
.sources h2 { font-size: 1.3rem; }
.encart-service { background: var(--nuit); color: #f5f1e8; border-radius: var(--rayon); padding: 1.5rem 1.25rem; margin: 2.5rem 0; }
.encart-titre { font-family: var(--titres); font-size: 1.35rem; color: #fff; margin-bottom: .5rem; }
.encart-service .bouton { background: #fff; color: var(--nuit); border-color: #fff; }
.encart-service .bouton:hover { background: var(--sable); border-color: var(--sable); }
.encart-service .bouton-secondaire { background: transparent; color: #fff; }
.encart-service .bouton-secondaire:hover { background: #fff; color: var(--nuit); }
.signature { border-top: 1px solid var(--sable); padding-top: 1.25rem; color: var(--gris); font-size: .98rem; }

/* --- Pied de page --- */
.pied { background: var(--nuit); color: #dfe5ec; padding: 3rem 0 1.5rem; font-size: .98rem; }
.pied-interieur { max-width: var(--largeur); margin: 0 auto; padding: 0 1rem; display: grid; gap: 2rem; }
@media (min-width: 48em) { .pied-interieur { grid-template-columns: 1.5fr 1fr 1fr; padding: 0 2rem; } }
.pied a { color: #fff; }
.pied a:hover { color: var(--sable); }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li a { display: inline-flex; align-items: center; min-height: 44px; }
.pied-marque { font-size: 1.4rem; color: #fff; margin-bottom: .5rem; }
.pied-titre { font-weight: 700; color: #fff; margin-bottom: .25rem; }
.pied-reglementaire { max-width: var(--largeur); margin: 2rem auto 0; padding: 1.25rem 1rem 0; border-top: 1px solid rgba(217, 201, 168, .35); font-size: .88rem; color: #c9d2dc; }
@media (min-width: 48em) { .pied-reglementaire { padding: 1.25rem 2rem 0; } }
.pied .a-confirmer { text-decoration-color: #ffd54f; }

/* --- 404 --- */
.page-404 .entete-page { padding-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .entete, .pied, .bandeau-apercu, .boutons, .encart-service, .formulaire { display: none !important; } body { background: #fff; } }


/* =====================================================================
   Version dynamique (19/11/2026) : blocs contrastés, cartes en relief,
   apparition douce au défilement. Mêmes couleurs et mêmes polices.
   ===================================================================== */
:root { --rayon: 16px; --ombre: 0 10px 30px rgba(15, 42, 74, .08); --ombre-forte: 0 18px 40px rgba(15, 42, 74, .16); }

/* Titres de section plus affirmés */
.section h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); max-width: 26ch; }
.surtitre { display: inline-flex; align-items: center; gap: .55rem; }
.surtitre::before { content: ""; width: 1.6rem; height: 3px; border-radius: 3px; background: var(--vert); }
.section-nuit .surtitre { color: #bfe8dc; }
.section-blanche { background: var(--blanc); }

/* Accueil : bandeau bleu nuit, texte clair */
.accueil-haut { position: relative; overflow: hidden; background: var(--nuit); color: #f5f1e8; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.accueil-haut::before { content: ""; position: absolute; width: 38rem; height: 38rem; right: -14rem; top: -16rem; border-radius: 50%; background: radial-gradient(circle, rgba(217, 201, 168, .16), rgba(217, 201, 168, 0) 70%); pointer-events: none; }
.accueil-haut::after { content: ""; position: absolute; width: 26rem; height: 26rem; left: -12rem; bottom: -16rem; border-radius: 50%; background: radial-gradient(circle, rgba(23, 140, 116, .35), rgba(23, 140, 116, 0) 70%); pointer-events: none; }
.accueil-haut .conteneur { position: relative; z-index: 1; }
.accueil-haut h1 { color: #fff; }
.accueil-haut .signature-haut { color: #c9d2dc; }
.accueil-haut .signature-haut strong { color: var(--sable); }
.accueil-haut .chapo { color: #e6ebf0; }
.accueil-haut .proximite { color: #e6ebf0; border-top-color: rgba(217, 201, 168, .35); }
.accueil-haut .proximite .icone { color: var(--sable); }
.accueil-haut a:not(.bouton):not(.entree) { color: #bfe8dc; }
.accueil-haut .acces-directs a { color: var(--nuit); }
.accueil-haut .acces-directs a:hover { color: var(--vert-fonce); }
.atouts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .5rem; }
.atouts li { position: relative; padding-left: 2rem; font-weight: 600; color: #fff; }
.atouts li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--vert); }
.atouts li::after { content: ""; position: absolute; left: .42rem; top: .52em; width: .45rem; height: .25rem; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.entree { border: 0; box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
.entree:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.entree > .icone { width: 2.75rem; height: 2.75rem; padding: .55rem; border-radius: 12px; background: #e3f1ec; flex: none; }
.bloc-simulateur { border: 0; background: linear-gradient(135deg, #e3f1ec, #f5f1e8); box-shadow: var(--ombre); }
.acces-directs { border: 0; box-shadow: var(--ombre-forte); }

/* Pages intérieures : en-tête en bandeau sable avec motif */
.entete-page { position: relative; overflow: hidden; background: var(--sable-clair); border-bottom: 1px solid var(--sable); }
.entete-page::after { content: ""; position: absolute; width: 22rem; height: 22rem; right: -8rem; top: -9rem; border-radius: 50%; background: radial-gradient(circle, rgba(23, 140, 116, .18), rgba(23, 140, 116, 0) 70%); pointer-events: none; }
.entete-page .conteneur { position: relative; z-index: 1; }

/* Cartes en relief */
.carte, .carte-article, .parcours, .etapes li, .cas { border-color: transparent; box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s, border-color .2s; }
.carte:hover, .carte-article:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); border-color: var(--vert); }
.carte > .icone { width: 3rem; height: 3rem; padding: .6rem; border-radius: 14px; background: #e3f1ec; color: var(--vert-fonce); }
.section-blanche .carte { background: var(--ecru); }
.cas { border-left: 0; border-top: 5px solid var(--vert); border-radius: var(--rayon); }

/* Étapes : grands numéros verts reliés */
.etapes li { position: relative; padding-top: 1.5rem; }
.etapes li::before { width: 3rem; height: 3rem; font-size: 1.35rem; background: var(--vert-fonce); box-shadow: 0 0 0 6px #e3f1ec; }

/* Boutons : plus présents */
.bouton { box-shadow: 0 6px 16px rgba(18, 101, 79, .25); transition: transform .15s, box-shadow .15s, background-color .15s; }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(18, 101, 79, .32); }
.bouton-secondaire { box-shadow: none; }
.section-nuit .bouton { box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }

/* Bloc final bleu nuit avec motif */
.section-nuit { position: relative; overflow: hidden; }
.section-nuit::before { content: ""; position: absolute; width: 30rem; height: 30rem; right: -10rem; bottom: -14rem; border-radius: 50%; background: radial-gradient(circle, rgba(23, 140, 116, .35), rgba(23, 140, 116, 0) 70%); pointer-events: none; }
.section-nuit .conteneur { position: relative; z-index: 1; }

/* Apparition douce au défilement (seulement avec JavaScript, et jamais si l'utilisateur réduit les animations) */
@media (prefers-reduced-motion: no-preference) {
  .anime-pret [data-apparition] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .anime-pret [data-apparition].visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .entree, .carte, .carte-article, .bouton { transition: none; }
  .entree:hover, .carte:hover, .carte-article:hover, .bouton:hover { transform: none; }
}
@media print { .anime-pret [data-apparition] { opacity: 1 !important; transform: none !important; } }
.accueil-haut .bloc-simulateur, .accueil-haut .acces-directs { color: var(--nuit); }
.accueil-haut .acces-directs a:not(.bouton) { color: var(--nuit); }
.accueil-haut .acces-directs a:not(.bouton):hover { color: var(--vert-fonce); }
.section-blanche + .section, .section + .section-blanche { padding-top: var(--espace); }

/* Pages de demande d'étude : « ou appelez-moi » et barre d'action fixe sur téléphone */
.ou-appel { font-weight: 600; }
.ou-appel a { white-space: nowrap; }
.section-nuit .ou-appel, .section-nuit .ou-appel a { color: #fff; }
.barre-action-mobile { display: none; }
@media (max-width: 47.99em) {
  .barre-action-mobile { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem max(16px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--ecru); border-top: 1px solid var(--sable); box-shadow: 0 -6px 18px rgba(16, 32, 51, .12); }
  .barre-action-mobile .bouton { flex: 1 1 0; min-height: 48px; padding: .55rem .8rem; font-size: 1rem; }
  .barre-action-mobile .bouton-secondaire { flex: 0 0 auto; background: #fff; }
  body:has(.barre-action-mobile) { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* Images d'en-tête des articles (20/11/2026) */
.article-image { margin: 1.25rem 0 1.5rem; }
.article-image img, .carte-image { display: block; width: 100%; height: auto; border-radius: var(--rayon); }
.carte-image { margin: -1.4rem -1.25rem 1rem; width: calc(100% + 2.5rem); max-width: none; border-radius: var(--rayon) var(--rayon) 0 0; }
