/* Cabinet CSR, v4. Inspiration SZ Avocat, vert du site historique : voir DESIGN.md. */

:root {
  --encre: #17406e;
  --bleu: #1d4f8c;
  --ardoise: #4a5d72;
  --brume: #f3f6f9;
  --filet: #d5dde6;
  --blanc: #ffffff;

  --vert: #9bb5a2;
  --vert-fonce: #56735f;
  --vert-pale: #d3e0d6;
  --titre: var(--vert-fonce);  /* couleur des titres (essai du 01/12 ; bleu : var(--encre)) */

  --display: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --t-15: 0.9375rem;
  --t-20: 1.25rem;
  --t-24: 1.5rem;
  --t-32: 2rem;
  --t-44: 2.75rem;

  --page: 1200px;
  --mesure: 66ch;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
}

/* L'accueil garde ses titres bleus, les pages intérieures ont les titres verts */
.page-accueil { --titre: var(--encre); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
p { margin: 0 0 1em; max-width: var(--mesure); }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--titre);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.3rem; line-height: 1.25; color: var(--encre); }  /* petits titres en bleu, grands titres en vert */

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--encre); color: var(--blanc); padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: var(--section) 0; }
.section-brume { background: var(--brume); }
.section-encre { background: var(--encre); color: #c9d6e4; }
.section-encre h2, .section-encre h3 { color: var(--blanc); }
.section-encre a:not(.btn) { color: var(--blanc); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 760px; }
.section-head p, .intro { font-size: var(--t-20); line-height: 1.5; color: var(--ardoise); }
.section-encre .intro, .section-encre .petit { color: #b5c5d6; }
.section-head.centre { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centre p { margin-left: auto; margin-right: auto; }
.petit { font-size: var(--t-15); color: var(--ardoise); }
.section-filet { border-top: 1px solid var(--filet); }
.section-suite { padding-top: 0; }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.75rem 1.5rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-plein { background: var(--encre); color: var(--blanc); }
.btn-plein:hover { background: var(--bleu); color: var(--blanc); }
.btn-trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-trait:hover { background: var(--encre); color: var(--blanc); }
.btn-vert { background: var(--vert); color: var(--encre); }
.btn-vert:hover { background: #88a690; color: var(--encre); }
.btn-blanc { background: var(--blanc); color: var(--encre); }
.btn-blanc:hover { background: #e3eaf1; color: var(--encre); }
.section-encre .btn-plein { background: var(--blanc); color: var(--encre); }
.section-encre .btn-plein:hover { background: #dce6f0; }
.section-encre .btn-trait { border-color: #8fa5bd; color: var(--blanc); }
.section-encre .btn-trait:hover { background: var(--blanc); color: var(--encre); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* En-tête : blanc, logo centré, menu centré dessous */
.haut { background: #123760; font-size: var(--t-15); color: #b5c5d6; }
.haut .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; min-height: 36px; }
.haut p { margin: 0; max-width: none; }
.haut-infos { display: flex; gap: 1.75rem; }
.haut a { color: var(--blanc); text-decoration: none; font-weight: 500; white-space: nowrap; }
.haut a:hover { text-decoration: underline; }

.entete { background: var(--blanc); border-bottom: 1px solid var(--filet); }
.entete-haut { display: flex; justify-content: center; padding-top: 1.1rem; padding-bottom: 0.9rem; }
.logo { flex: none; display: block; }
.logo img { width: 108px; height: auto; display: block; }
.entete-nav { display: flex; justify-content: center; align-items: center; gap: 2rem; padding-bottom: 0.9rem; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.8rem; }
.nav a { font-family: var(--display); color: var(--encre); text-decoration: none; font-size: 0.98rem; font-weight: 600; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--vert-pale); }
.nav a[aria-current="page"] { border-bottom-color: var(--vert); }
.entete .btn { flex: none; min-height: 42px; padding: 0.55rem 1.2rem; font-size: 0.95rem; }
.burger { display: none; background: none; border: 1px solid var(--filet); border-radius: 8px; width: 48px; height: 48px; color: var(--encre); cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }
.menu-mobile { display: none; }

/* Accueil : bandeau clair. Le texte est posé sur le même blanc cassé que le fond de la photo,
   mesuré sur le bord gauche du portrait (#f8f8f8 en haut, #eaebed en bas) : aucune ligne visible. */
.bandeau { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); min-height: clamp(500px, 42vw, 620px); background: linear-gradient(180deg, #f8f8f8 0%, #f6f6f6 35%, #f0f1f2 70%, #eaebed 100%); color: var(--encre); }
.bandeau-contenu { display: flex; align-items: center; justify-content: flex-end; padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 5vw, 4.5rem) var(--gouttiere); }
.bandeau-texte { width: 100%; max-width: 600px; }
.bandeau-photo { position: relative; margin: 0; min-height: 100%; }
.bandeau-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px); mask-image: linear-gradient(90deg, transparent 0, #000 40px); }
.bandeau-cabinet { font-size: var(--t-15); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vert-fonce); margin: 0 0 0.8rem; }
.bandeau h1 { color: var(--titre); margin-bottom: 0.25em; }
.bandeau-titre { font-size: var(--t-20); color: var(--ardoise); margin: 0 0 1.4rem; }
.bandeau-domaines { font-size: var(--t-20); line-height: 1.5; color: var(--encre); max-width: 36ch; padding-top: 1.2rem; border-top: 1px solid #cdd5de; }
.bandeau .btn-blanc { background: var(--encre); color: var(--blanc); }
.bandeau .btn-blanc:hover { background: var(--bleu); color: var(--blanc); }

/* Section vidéo : les colonnes de l'ancien site en fond, sous un voile bleu */
.section-colonnes { position: relative; background: var(--encre) url("bandeau-colonnes.webp") center 40% / cover no-repeat; }
.section-colonnes::before { content: ""; position: absolute; inset: 0; background: rgba(23, 64, 110, 0.86); }
.section-colonnes > .wrap { position: relative; }

/* Formulaire « Être rappelé » */
.section-rappel { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.rappel-fonce { background: var(--encre); color: #dbe4ee; }
.rappel-fonce h2, .rappel-fonce .champ label, .rappel-fonce a { color: var(--blanc); }
.rappel-clair { background: #e8eef5; }
.rappel-grille { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.section-rappel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.3em; }
.section-rappel p { margin: 0; }
.rappel-champs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 0.75rem; align-items: end; }
.rappel-form .champ label { font-size: var(--t-15); }
.rappel-form .champ input, .rappel-form .champ select { border-radius: 10px; min-height: 50px; }
.btn-rappel { background: var(--encre); color: var(--blanc); }
.btn-rappel:hover { background: var(--bleu); color: var(--blanc); }
.rappel-fonce .btn-rappel { background: #2f6aad; color: var(--blanc); }
.rappel-fonce .btn-rappel:hover { background: #3a78c2; }
.rappel-form .consentement { margin-top: 0.9rem; font-size: var(--t-15); }

/* Page Le cabinet */
.texte-centre { max-width: 880px; margin: 0 auto; text-align: center; }
.texte-centre p { margin-left: auto; margin-right: auto; color: var(--ardoise); }
.duo-mission { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.portrait-mission { margin: 0; justify-self: center; }
.portrait-mission img { width: 100%; max-width: 400px; border-radius: 6px; }

/* Parcours : frise horizontale (verticale sur mobile) */
.frise { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; position: relative; padding-top: 2.4rem; }
.frise::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 2px; background: var(--vert-pale); }
.frise li { position: relative; text-align: center; }
.frise li::before { content: ""; position: absolute; top: -2.25rem; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--blanc); border: 3px solid var(--vert); }
.frise-date { display: block; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--titre); line-height: 1.2; }
.frise-titre { display: block; font-weight: 600; color: var(--vert-fonce); margin-top: 0.35rem; }
.frise-texte { display: block; font-size: var(--t-15); color: var(--ardoise); line-height: 1.45; margin-top: 0.25rem; }

/* Domaines en cercles */
.cercles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); max-width: 1000px; margin: 0 auto; }
.cercles a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--encre); height: 100%; }
.cercle { display: grid; place-items: center; width: clamp(120px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--vert); color: var(--blanc); box-shadow: 0 0 0 7px var(--brume), 0 0 0 8px var(--vert-pale); margin-bottom: 1.6rem; transition: background-color 0.2s; }
.cercle svg { width: 46%; height: 46%; }
.cercles a:hover .cercle { background: var(--encre); }
.cercle-titre { font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin-bottom: 0.4rem; color: var(--titre); }
.cercle-texte { color: var(--ardoise); font-size: 0.98rem; line-height: 1.5; max-width: 26ch; }
.cercle-lien { margin-top: 0.9rem; font-weight: 600; font-size: 0.95rem; color: var(--vert-fonce); text-decoration: underline; text-underline-offset: 0.2em; }

/* Présentation du cabinet avec le logo en grand */
.duo-logo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.grand-logo { width: 100%; max-width: 280px; justify-self: center; }

.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--brume); }
.legende { margin-top: 0.7rem; font-size: var(--t-15); color: var(--ardoise); }

/* Les 4 domaines */
.domaines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--encre); list-style: none; }
.domaine { display: flex; flex-direction: column; padding: 1.6rem 1.5rem 1.8rem; border-left: 1px solid var(--filet); }
.domaine:first-child { border-left: 0; padding-left: 0; }
.domaine:last-child { padding-right: 0; }
.domaine h3 { font-size: clamp(1.3rem, 1.6vw, 1.45rem); margin-bottom: 0.7rem; }
.domaine p { color: var(--ardoise); font-size: 1rem; }
.domaine ul { list-style: none; margin: 0 0 1.5rem; font-size: var(--t-15); display: grid; gap: 0.35rem; }
.domaine li { padding-left: 1rem; position: relative; }
.domaine li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.45rem; height: 1px; background: var(--encre); }
.domaine a { margin-top: auto; font-weight: 600; color: var(--encre); }
.domaine a:hover { color: var(--bleu); }

/* Duo texte + visuel */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.duo-large { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.mobile-seulement { display: none; }

/* Parcours : une vraie chronologie */
.parcours { list-style: none; border-left: 1px solid var(--encre); display: grid; gap: 1.6rem; padding-left: 1.6rem; }
.parcours li { position: relative; }
.parcours li::before { content: ""; position: absolute; left: calc(-1.6rem - 4px); top: 0.75rem; width: 7px; height: 7px; background: var(--encre); border-radius: 50%; }
.parcours strong { display: block; font-family: var(--display); font-size: var(--t-24); font-weight: 500; line-height: 1.2; }
.parcours span { color: var(--ardoise); font-size: 1rem; }

/* Vidéo */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--encre); overflow: hidden; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; color: var(--blanc); }
.video button::after { content: ""; position: absolute; inset: 0; background: rgba(23, 64, 110, 0.18); }
.video .lecture { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: grid; justify-items: center; gap: 0.6rem; font-weight: 600; font-size: 1rem; text-shadow: 0 1px 3px rgba(23, 64, 110, 0.8); }
.video .lecture svg { width: 68px; height: 68px; }
.video button:hover .lecture svg circle { fill: var(--bleu); }

/* Étapes : séquence réelle */
.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.etapes li { counter-increment: etape; border-top: 1px solid var(--encre); padding-top: 1.2rem; }
.etapes li::before { content: counter(etape); display: block; font-family: var(--display); font-size: var(--t-44); line-height: 1; margin-bottom: 0.9rem; }
.etapes h3 { font-family: var(--sans); font-size: var(--t-20); font-weight: 600; }
.etapes p { color: var(--ardoise); font-size: 1rem; }
.etapes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Liste en deux colonnes */
.liste-2 { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--filet); }
.liste-2 li { padding: 1.1rem 0; border-bottom: 1px solid var(--filet); font-family: var(--display); font-size: var(--t-24); line-height: 1.25; }
.liste-2 li:nth-child(odd) { padding-right: 1.5rem; }
.liste-2 small { display: block; font-family: var(--sans); font-size: var(--t-15); color: var(--ardoise); margin-top: 0.2rem; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 1.3rem 0; font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; line-height: 1; color: var(--bleu); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 1.4rem; color: var(--ardoise); }
.faq .reponse p:last-child { margin-bottom: 0; }

/* Pages intérieures */
.page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--filet); }
.page-hero.avec-portrait .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.page-hero .portrait img { max-height: 400px; }
.page-hero p.intro { max-width: 60ch; color: var(--encre); }
/* En-tête de page avec photo (bustes et bibliothèque, repris du site historique) */
.page-hero-photo { position: relative; border-bottom: 0; text-align: center; color: var(--blanc); background-color: #1c2430; background-size: cover; background-position: center 35%; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.page-hero-photo::before { content: ""; position: absolute; inset: 0; background: rgba(14, 22, 34, 0.62); }
.page-hero-photo .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.page-hero-photo h1 { color: var(--blanc); }
.page-hero-photo p.intro { color: #e6ebf1; margin-left: auto; margin-right: auto; }
.page-hero-photo .ariane, .page-hero-photo .ariane a { color: #cfd8e2; }
.page-hero-photo .actions { justify-content: center; }
.page-hero-photo .btn-plein { background: var(--blanc); color: var(--encre); }
.page-hero-photo .btn-plein:hover { background: #e3eaf1; color: var(--encre); }
.page-hero-photo .btn-trait { border-color: rgba(255, 255, 255, 0.85); color: var(--blanc); }
.page-hero-photo .btn-trait:hover { background: var(--blanc); color: var(--encre); }
.ariane { font-size: var(--t-15); color: var(--ardoise); margin-bottom: 1.6rem; }
.ariane a { color: var(--ardoise); }

.sommaire { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; border-top: 1px solid var(--encre); }
.sommaire a { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--filet); text-decoration: none; color: var(--encre); font-family: var(--display); font-size: var(--t-24); line-height: 1.25; }
.sommaire a:hover { color: var(--bleu); }

.bloc-domaine + .bloc-domaine { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--filet); }
.cotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.cote { background: var(--brume); padding: clamp(1.5rem, 3vw, 2.2rem); }
.cote h3 { font-size: var(--t-24); }
.cote > p { color: var(--ardoise); font-size: 1rem; }

.puces { list-style: none; display: grid; gap: 0; }
.puces li { padding: 0.6rem 0 0.6rem 1.2rem; border-top: 1px solid var(--filet); position: relative; font-size: 1rem; }
.puces li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 0.5rem; height: 1px; background: var(--encre); }
.cote .puces li { border-top-color: #dbe2ea; }

.grille-3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.grille-3 > li, .grille-3 > div { border-top: 1px solid var(--encre); padding-top: 1.2rem; }
.grille-3 h3 { font-size: var(--t-24); }
.grille-3 p { color: var(--ardoise); font-size: 1rem; }

.encadre { border-left: 2px solid var(--encre); padding: 0.4rem 0 0.4rem 1.4rem; margin-top: 2.5rem; max-width: 760px; }
.encadre p { margin: 0; }

.programmes { list-style: none; display: grid; gap: 1.5rem; }
.programme { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); background: var(--brume); padding: clamp(1.5rem, 3.5vw, 2.6rem); }
.programme h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
.programme dl { margin: 0; display: grid; gap: 1rem; }
.programme dt { font-weight: 600; font-size: var(--t-15); }
.programme dd { margin: 0.2rem 0 0; color: var(--ardoise); font-size: 1rem; }

/* Contact */
.bloc-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.coordonnees { margin: 0; display: grid; gap: 1.3rem; }
.coordonnees dt { font-size: var(--t-15); color: #9fb3c8; }
.coordonnees dd { margin: 0.15rem 0 0; font-family: var(--display); font-size: var(--t-24); line-height: 1.3; color: var(--blanc); }
.coordonnees dd a { text-decoration: none; }
.coordonnees dd a:hover { text-decoration: underline; }
.coordonnees small { display: block; font-family: var(--sans); font-size: var(--t-15); color: #b5c5d6; margin-top: 0.2rem; }
.page-contact .coordonnees dt { color: var(--ardoise); }
.page-contact .coordonnees dd { color: var(--encre); }
.page-contact .coordonnees small { color: var(--ardoise); }
.carte-liens { font-size: var(--t-15); margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }

.formulaire { display: grid; gap: 1.2rem; max-width: 640px; }
.champ { display: grid; gap: 0.35rem; }
.champ label, .champ legend { font-weight: 600; font-size: 1rem; }
.champ small { color: var(--ardoise); font-size: var(--t-15); }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--encre); background: var(--blanc);
  border: 1px solid #93a5b9; border-radius: 2px; padding: 0.8rem 0.9rem; width: 100%;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--bleu); outline-offset: 0; border-color: var(--bleu); }
fieldset.champ { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.radios label { font-weight: 400; display: inline-flex; gap: 0.45rem; align-items: center; }
.consentement { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1rem; }
.consentement input { margin-top: 0.3rem; width: 18px; height: 18px; flex: none; }
.cache { position: absolute; left: -9999px; }

/* Pages légales */
.legal { max-width: 780px; }
.legal h2 { font-size: var(--t-32); margin-top: 2.6rem; }
.legal h2:first-child { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: 230px 1fr; gap: 0.5rem 1.5rem; margin: 0 0 1rem; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.a-completer { background: #fff4c2; padding: 0 0.3em; font-weight: 600; color: #5a4a00; }

/* Pied de page : centré, bleu marine */
.pied { background: #123760; color: #c3d0dd; text-align: center; font-size: 1rem; }
.pied-centre { display: flex; flex-direction: column; align-items: center; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 2.5rem; }
.pied-centre > img { width: 96px; margin-bottom: 1.2rem; }
.pied-nom { font-size: 1.6rem; font-weight: 700; color: var(--blanc); margin: 0 0 0.2rem; }
.pied p { margin-left: auto; margin-right: auto; }
.pied address { font-style: normal; line-height: 1.7; margin: 0.8rem 0; }
.pied a { color: var(--blanc); text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied .actions { justify-content: center; margin-top: 1.2rem; }
.pied-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; margin-top: 2rem; font-size: var(--t-15); }
.pied-bas { background: var(--vert); color: var(--encre); font-size: var(--t-15); }
.pied .pied-bas a { color: var(--encre); }
.pied-bas .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.5rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.pied-bas p { margin: 0; max-width: none; }

/* Barre mobile */
.barre-mobile { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .entete-nav { display: none; }
  .burger { display: grid; }
  .entete-haut { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .logo { justify-self: center; }
  .logo img { width: 96px; }
  .entete.ouvert .menu-mobile { display: block; border-top: 1px solid var(--filet); background: var(--blanc); }
  .menu-mobile nav { display: grid; padding: 0.5rem var(--gouttiere) 1.5rem; }
  .menu-mobile a { padding: 0.9rem 0; border-bottom: 1px solid var(--filet); color: var(--encre); text-decoration: none; font-family: var(--display); font-size: var(--t-24); }
  .menu-mobile a[aria-current="page"] { color: var(--bleu); }
  .domaines, .etapes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domaine:nth-child(3) { border-left: 0; padding-left: 0; }
  .domaine:nth-child(2) { padding-right: 0; }
  .domaine:nth-child(n + 3) { border-top: 1px solid var(--filet); }
}
@media (max-width: 860px) {
  body { padding-bottom: 74px; }
  .haut-infos .masquable { display: none; }
  .duo-logo, .page-hero.avec-portrait .wrap, .duo, .duo-large, .bloc-contact, .cotes, .programme { grid-template-columns: minmax(0, 1fr); }
  .page-hero .portrait { display: none; }
  .portrait-mission img { max-width: 300px; }
  /* Bandeaux photo sur téléphone : titre et phrase seulement, photo bien cadrée
     (les boutons font doublon avec la barre fixe « Appeler / Être rappelé ») */
  .page-hero-photo { padding: 3.2rem 0 3rem; background-position: var(--cadrage-mobile, 50% 50%); }
  .page-hero-photo::before { background: linear-gradient(180deg, rgba(14, 22, 34, 0.45), rgba(14, 22, 34, 0.7)); }
  .page-hero-photo .ariane, .page-hero-photo .actions { display: none; }
  .page-hero-photo h1 { font-size: 2rem; margin-bottom: 0.4em; }
  .page-hero-photo p.intro { font-size: 1rem; line-height: 1.5; margin-bottom: 0; }
  .texte-centre { text-align: left; }
  .section-head.centre { text-align: left; }
  .frise { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding: 0 0 0 2rem; }
  .frise::before { left: 0.55rem; right: auto; top: 0.4rem; bottom: 0.4rem; width: 2px; height: auto; }
  .frise li { text-align: left; }
  .frise li::before { top: 0.3rem; left: -2rem; margin-left: 0; }
  .bandeau { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .bandeau-photo { order: -1; height: 380px; }
  .bandeau-photo img { -webkit-mask-image: none; mask-image: none; object-position: 50% 20%; }
  .bandeau-contenu { text-align: center; justify-content: center; padding: 2.2rem var(--gouttiere) 2.8rem; }
  .bandeau-domaines { margin-left: auto; margin-right: auto; }
  .bandeau .actions { justify-content: center; }
  .grand-logo { max-width: 200px; }
  .mobile-seulement { display: block; max-width: 340px; }
  .etapes, .grille-3, .sommaire, .liste-2 { grid-template-columns: minmax(0, 1fr); }
  .liste-2 li:nth-child(odd) { padding-right: 0; }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .legal dd { margin-bottom: 0.8rem; }
  .barre-mobile {
    display: grid; grid-template-columns: auto 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem var(--gouttiere) calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--blanc); border-top: 1px solid var(--filet);
  }
  .barre-mobile .btn { width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .rappel-grille, .rappel-champs { grid-template-columns: minmax(0, 1fr); }
  .rappel-champs .btn { width: 100%; }
}
@media (max-width: 600px) {
  .haut { display: none; }
  .domaines { grid-template-columns: minmax(0, 1fr); }
  .domaine, .domaine:first-child, .domaine:nth-child(3) { border-left: 0; padding: 1.6rem 0; }
  .domaine + .domaine { border-top: 1px solid var(--filet); }
  .cercles { grid-template-columns: minmax(0, 1fr); row-gap: 2.8rem; }
  .cercle { width: 112px; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after, .cercle { transition: none; }
}

/* Bandeau cookies (affiché seulement quand le suivi Google Ads est actif) */
.bandeau-cookies {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  max-width: 760px; margin: 0 auto; padding: 1.1rem 1.3rem;
  background: var(--blanc); color: var(--encre); border: 1px solid var(--filet);
  border-radius: 14px; box-shadow: 0 10px 30px rgba(23, 64, 110, 0.18);
  display: flex; gap: 1rem 1.4rem; align-items: center;
}
.bandeau-cookies p { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.bandeau-cookies strong { display: block; margin-bottom: 0.15rem; }
.bandeau-cookies-boutons { display: flex; gap: 0.6rem; flex: none; }
.bandeau-cookies .btn { min-height: 42px; padding: 0.5rem 1.3rem; font-size: 0.95rem; }
@media (max-width: 860px) {
  .bandeau-cookies { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; flex-direction: column; align-items: stretch; }
  .bandeau-cookies-boutons .btn { flex: 1; }
}
