/* ==========================================================================
   Site public — feuille de style unique.
   Palette alignée sur le CRM : vert profond, ivoire, or discret.
   Approche mobile-first : les styles de base sont pour le plus petit écran,
   les media queries (min-width) ajoutent la mise en page large.
   Sommaire :
     1. Variables et base        5. Formulaires
     2. Typographie              6. Composants (boutons, cartes, badges)
     3. Mise en page             7. Sections de la page d'accueil
     4. En-tête et navigation    8. Pied de page
     9. Pages internes          10. Accessibilité et finitions
        11. Impression
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES ET BASE
   ========================================================================== */

:root {
  /* Palette — reprise à l'identique du CRM */
  --green-900: #0e3b32;
  --green-700: #14544a;
  --green-600: #1d6b5c;
  --green-100: #e3efe9;
  --ivory-50: #fffdf8;
  --ivory-100: #f7f3ea;
  --ivory-200: #efe8d9;
  --gold: #b3894a;
  --gold-soft: #d8bd8f;
  --ink: #1c2a26;
  --ink-soft: #46564f;
  --ink-mute: #6b7a73;
  --line: #ddd5c4;
  --danger: #9c2f2f;
  --danger-bg: #fbf0ee;
  --ok: #1e6b46;
  --ok-bg: #eef6f0;

  /* Rythme et dimensions */
  --wrap: 68rem;
  --wrap-narrow: 44rem;
  --gap: 1.25rem;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 1px 2px rgba(14, 59, 50, .06), 0 6px 24px rgba(14, 59, 50, .07);
  --shadow-2: 0 2px 6px rgba(14, 59, 50, .10), 0 18px 48px rgba(14, 59, 50, .12);
  --header-h: 4.25rem;

  /* Polices : système uniquement, aucune ressource externe */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body.site {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory-50);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

img,
svg { max-width: 100%; height: auto; }

/* ==========================================================================
   2. TYPOGRAPHIE
   ========================================================================== */

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-900);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 5.2vw, 2.9rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.05rem); margin: 0 0 1rem; }
h3 { font-size: 1.16rem; margin: 0 0 .5rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--green-900); font-weight: 650; }

.lead {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 38ch;
}

.kicker {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
}

.section-intro {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.text-link {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-underline-offset: .18em;
}
.text-link:hover { color: var(--green-900); text-decoration-color: var(--gold); }

a { color: var(--green-700); }

/* ==========================================================================
   3. MISE EN PAGE
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.wrap-narrow { max-width: var(--wrap-narrow); }

.site-main { flex: 1 0 auto; }

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section-tight { padding-block: clamp(1.75rem, 4vw, 2.75rem); }

.section-alt {
  background: var(--ivory-100);
  border-block: 1px solid var(--line);
}

.note-inline {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: .97rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   4. EN-TÊTE ET NAVIGATION
   ========================================================================== */

.skip-link {
  position: absolute;
  left: .75rem;
  top: -4rem;
  z-index: 100;
  padding: .65rem 1rem;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: .75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  min-height: var(--header-h);
}
/* Sans JavaScript, le burger n'a aucun effet : on le retire, le menu reste affiché. */
html:not(.js) .nav-toggle { display: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--green-900);
  flex-shrink: 0;
}
.brand-mark { border-radius: 8px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; }
.brand-tag {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

/* Accès rapide au CRM, toujours visible à côté du logo public. */
.crm-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: .45rem .75rem;
  border: 1px solid var(--green-900);
  border-radius: var(--radius-sm);
  background: var(--green-900);
  color: #fff;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.crm-header-link:hover,
.crm-header-link:focus-visible {
  background: var(--green-700);
  color: #fff;
}

/* Navigation : visible partout par défaut (le site doit fonctionner sans JS).
   Ce n'est que lorsque public/site.js a ajouté .js à <html> qu'elle se replie
   derrière le bouton burger en mobile. */
.site-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  width: 100%;
  padding-block: .75rem 1rem;
}
html.js .site-nav { display: none; }
html.js .site-nav.is-open { display: flex; }

.nav-link {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: .98rem;
}
.nav-link:hover { background: var(--green-100); color: var(--green-900); }
.nav-link.is-current { color: var(--green-900); background: var(--ivory-200); }

.nav-cta { margin-top: .5rem; justify-self: start; text-align: center; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ivory-100);
  cursor: pointer;
  flex-shrink: 0;
}

/* Trois traits dessinés en CSS, sans image ni police d'icônes */
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green-900);
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -.4rem; }
.nav-toggle-bars::after { top: .4rem; }

/* État ouvert : les traits forment une croix */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(.4rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-.4rem) rotate(-45deg); }

/* ==========================================================================
   5. FORMULAIRES
   ========================================================================== */

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.recap-form { margin-top: 1.25rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.05rem 1rem;
}

.field { margin: 0; display: flex; flex-direction: column; gap: .35rem; }

.field label {
  font-size: .93rem;
  font-weight: 650;
  color: var(--green-900);
}

.req { color: var(--gold); font-weight: 700; }

.hint {
  display: block;
  font-size: .82rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

.char-count {
  font-size: .78rem;
  color: var(--ink-mute);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .72rem .85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  min-height: 2.95rem;
}

textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }

input::placeholder,
textarea::placeholder { color: #97a49d; }

input:hover,
select:hover,
textarea:hover { border-color: var(--green-600); }

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2314544a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.4rem;
}

/* Case à cocher du consentement, plus lisible qu'une coche de 13 px */
.field-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: .7rem;
  padding-top: .5rem;
  border-top: 1px dashed var(--line);
}

.field-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.3rem;
  height: 1.3rem;
  min-height: 0;
  padding: 0;
  margin: .15rem 0 0;
  flex-shrink: 0;
  border: 1.5px solid var(--green-700);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-content: center;
}

.field-consent input[type="checkbox"]::after {
  content: "";
  width: .75rem;
  height: .75rem;
  clip-path: polygon(14% 44%, 0 60%, 43% 100%, 100% 16%, 84% 4%, 42% 72%);
  background: var(--ivory-50);
  transform: scale(0);
  transition: transform .12s ease;
}
.field-consent input[type="checkbox"]:checked { background: var(--green-700); border-color: var(--green-700); }
.field-consent input[type="checkbox"]:checked::after { transform: scale(1); }

.field-consent label { font-size: .93rem; font-weight: 450; line-height: 1.5; color: var(--ink); }

.form-actions { margin-top: 1.5rem; }
.btn-note {
  margin: .8rem 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.btn-note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.form-legal { margin: .4rem 0 0; font-size: .78rem; color: var(--ink-mute); }

/* Retour serveur : succès ou erreur, posé au-dessus du formulaire */
.form-flash {
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  margin-bottom: 1.1rem;
  border: 1px solid;
  font-size: .95rem;
}
.form-flash p { margin: 0; }
.form-flash.is-ok { background: var(--ok-bg); border-color: #bcd9c6; color: var(--ok); }
.form-flash.is-error { background: var(--danger-bg); border-color: #e8c5c0; color: var(--danger); }

/* ==========================================================================
   6. COMPOSANTS : BOUTONS, CARTES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.3rem;
  min-height: 2.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .06s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.03rem; }

.btn-primary { background: var(--green-900); color: var(--ivory-50); }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-primary[disabled],
.btn-primary.is-loading { background: var(--green-600); opacity: .72; cursor: progress; }

.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--line); }
.btn-ghost:hover { background: var(--green-100); border-color: var(--green-600); color: var(--green-900); }

/* Variante posée sur fond sombre (bandeau d'appel) */
.btn-on-dark { background: var(--gold); color: #2b1d09; }
.btn-on-dark:hover { background: var(--gold-soft); color: #241806; }

.card {
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--shadow-1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

/* ==========================================================================
   7. SECTIONS DE LA PAGE D'ACCUEIL
   ========================================================================== */

.hero {
  background:
    radial-gradient(120% 90% at 100% 0%, var(--ivory-100) 0%, rgba(247, 243, 234, 0) 62%),
    linear-gradient(180deg, var(--ivory-100) 0%, var(--ivory-50) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }

.hero-copy .lead { max-width: 46ch; }

.hero-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .97rem;
  color: var(--ink-soft);
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -.05rem;
  color: var(--green-600);
  font-weight: 700;
}

.form-card { box-shadow: var(--shadow-2); border-color: var(--ivory-200); }
.form-card-title { margin-bottom: .35rem; }
.form-card-sub { font-size: .92rem; color: var(--ink-mute); margin-bottom: 0; }

/* Bandeau « ce que le service n'est pas » */
.plain-note {
  background: var(--green-900);
  color: var(--ivory-100);
  padding-block: 1.6rem;
}
.plain-note p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.65;
}
.plain-note strong { color: #fff; }

/* Étapes */
.steps {
  list-style: none;
  counter-reset: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}
.step {
  padding: 1.35rem 1.4rem;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.steps-inline { margin-top: 1rem; gap: .8rem; }
.steps-inline li { background: transparent; border: none; padding: 0 0 0 1.7rem; position: relative; font-size: .97rem; color: var(--ink-soft); }
.steps-inline li::before {
  counter-increment: inline-step;
  content: counter(inline-step);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-900);
  font-size: .78rem;
  font-weight: 700;
  display: grid;
  place-content: center;
}
.steps-inline { counter-reset: inline-step; }

/* Situations */
.cases {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.case {
  padding: 1.25rem 1.35rem;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.case h3 { font-size: 1.04rem; margin-bottom: .35rem; }
.case p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* Ce que je fais / je ne fais pas */
.honest-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2rem; }
.honest-do { border-top: 4px solid var(--green-600); }
.honest-dont { border-top: 4px solid var(--gold); }
.honest-do h3, .honest-dont h3 { font-size: 1.15rem; }
.honest-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.honest-grid li { position: relative; padding-left: 1.5rem; font-size: .96rem; color: var(--ink-soft); }
.honest-do li::before { content: "—"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }
.honest-dont li::before { content: "×"; position: absolute; left: .15rem; color: var(--gold); font-weight: 700; }

/* Accompagnement */
.services { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2rem; }
.service h3 { font-size: 1.1rem; }
.service p { font-size: .96rem; color: var(--ink-soft); }
.service p:last-child { margin-top: 1rem; }

/* FAQ */
.faq-list { margin-top: 1.75rem; display: grid; gap: .6rem; }
.faq-item {
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2.6rem 1rem 1.1rem;
  font-weight: 650;
  font-family: var(--font-head);
  font-size: 1.06rem;
  color: var(--green-900);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { background: var(--ivory-100); }
.faq-item > p {
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  font-size: .97rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* Réassurance données */
.section-data { background: var(--green-900); color: var(--ivory-100); padding-block: clamp(2.5rem, 6vw, 4rem); }
.section-data h2 { color: #fff; }
.section-data p { font-size: 1.02rem; line-height: 1.7; }
.section-data .text-link { color: var(--gold-soft); text-decoration-color: rgba(216, 189, 143, .5); }
.section-data .text-link:hover { color: #fff; }

/* Bandeau d'appel final */
.cta-band {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  color: var(--ivory-100);
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
}
.cta-inner { text-align: center; display: grid; justify-items: center; gap: .25rem; }
.cta-inner h2 { color: #fff; }
.cta-inner p { max-width: 46ch; color: var(--ivory-100); }
.cta-inner .btn { margin-top: 1rem; }
.cta-alt { font-size: .92rem; }
.link-on-dark { color: var(--gold-soft); text-decoration: underline; text-underline-offset: .18em; }
.link-on-dark:hover { color: #fff; }

/* ==========================================================================
   8. PIED DE PAGE
   ========================================================================== */

.site-footer {
  flex-shrink: 0;
  background: var(--green-900);
  color: #cfdcd6;
  padding-block: 2.5rem 2rem;
  border-top: 3px solid var(--gold);
  font-size: .9rem;
}
.site-footer-brand {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .65rem;
}
.site-footer-disclaimer {
  max-width: 62ch;
  color: #a9bcb4;
  font-size: .85rem;
  line-height: 1.6;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.35rem;
  padding-block: 1.15rem;
}
.site-footer-nav a { color: #d9e5e0; text-decoration: none; }
.site-footer-nav a:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: .2em; }
.site-footer-meta { color: #8ba49b; font-size: .8rem; margin: 0; }

/* ==========================================================================
   9. PAGES INTERNES
   ========================================================================== */

.page-head {
  background: var(--ivory-100);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.25rem, 6vw, 3.5rem);
}
.page-head .lead { margin-bottom: 0; }

/* Corps de texte des pages informatives */
.prose { max-width: 62ch; }
.prose h2 { margin-top: 2.5rem; font-size: 1.45rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.15rem; display: grid; gap: .55rem; margin: 0 0 1.25rem; }
.prose li { color: var(--ink-soft); }
.prose li::marker { color: var(--gold); }

/* Encadré « à compléter » : visible, mais sobre */
.to-fill {
  padding: .8rem 1rem;
  background: #fdf6e7;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: #6a5122;
}

.cta-inline { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* Contact */
.contact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.contact-list li {
  padding: 1.15rem 1.25rem;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.contact-list h3 { font-size: 1rem; margin-bottom: .3rem; }
.contact-list p { margin: 0; font-size: .97rem; }
.contact-list .hint { display: block; margin-top: .3rem; }

/* Page merci */
.section-thanks { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.thanks-card { text-align: center; display: grid; justify-items: center; gap: .5rem; padding-block: 2.25rem; }
.thanks-card .form-flash { width: 100%; text-align: left; }
.thanks-card ol { text-align: left; width: 100%; }
.thanks-card .hero-actions { justify-content: center; }
.thanks-mark {
  width: 3rem;
  height: 3rem;
  margin: 0 0 .5rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 1.5rem;
  font-weight: 700;
  display: grid;
  place-content: center;
}
.thanks-quiet { font-size: .92rem; color: var(--ink-mute); margin-top: 1.5rem; }

/* 404 */
.section-404 { padding-block: clamp(3.5rem, 10vw, 6rem); }
.rescue-links {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.rescue-links a { font-weight: 600; }

/* ==========================================================================
   10. ACCESSIBILITÉ ET FINITIONS
   ========================================================================== */

/* Conteneur réservé aux lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Focus visible partout : anneau vert + liseré clair, contraste suffisant */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.section-data :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.plain-note :focus-visible { outline-color: var(--gold-soft); }

/* Sélection de texte dans les couleurs du site */
::selection { background: var(--green-100); color: var(--green-900); }

/* Usager sensible au mouvement : on coupe animations et défilement doux */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Contrastes forcés (mode Windows) : on retire les fonds décoratifs */
@media (prefers-contrast: more) {
  .card, .step, .case, .faq-item, .contact-list li { border-width: 2px; border-color: var(--green-900); }
  .hero, .plain-note, .section-data, .cta-band, .site-footer { background: #fff; color: var(--ink); }
  .plain-note p, .section-data p, .cta-inner p, .site-footer-disclaimer { color: var(--ink); }
  .plain-note strong, .section-data h2, .cta-inner h2 { color: var(--ink); }
}

/* ==========================================================================
   11. ÉCRANS LARGES — agencement mobile-first complété ici
   ========================================================================== */

@media (min-width: 34rem) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

@media (min-width: 48rem) {
  /* Navigation horizontale, burger masqué.
     Le sélecteur « html.js » est répété ici volontairement : une media query
     n'ajoute aucune spécificité, il faut donc égaler celle de la règle
     « html.js .site-nav » ci-dessus pour que le menu se montre sur grand écran. */
  .nav-toggle { display: none; }
  html.js .site-nav,
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .15rem;
    width: auto;
    padding-block: 0;
  }
  .nav-cta { margin-top: 0; margin-left: .5rem; }
  .hero-form { max-width: 30rem; }
  .cta-inner p { margin-inline: auto; }
}

@media (min-width: 62rem) {
  .hero { padding-block: 4.5rem 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(24rem, .92fr); align-items: start; }
  .honest-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cases { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .contact-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 72rem) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ==========================================================================
   12. IMPRESSION — pages lisibles sur papier, sans habillage
   ========================================================================== */

@media print {
  .site-header, .site-footer, .hero-form, .cta-band, .nav-toggle, .skip-link { display: none !important; }
  body.site { background: #fff; color: #000; font-size: 11pt; }
  .section, .hero { padding-block: .8rem; }
  .plain-note, .section-data { background: #fff; color: #000; border: 1px solid #999; }
  .card { box-shadow: none; border: 1px solid #999; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
}

/* Accueil et prise de contact 0.3 : deux publics, une démarche courte. */
.hero-short { padding:76px 0 64px; }
.hero-short .hero-grid { grid-template-columns:1.4fr 1fr;align-items:center;gap:64px; }
.hero-short h1 { font-size:clamp(2.2rem,4.2vw,4rem);line-height:1.08;letter-spacing:-.04em;max-width:740px; }
.hero-short .lead { max-width:620px; }
.hero-reassurance { margin-top:24px;color:var(--text-muted,#50665e);font-size:.9rem;max-width:520px; }
.welcome-card { padding:36px;border:1px solid #e0e6da;border-radius:22px;background:#fffdf8;box-shadow:0 15px 50px #103c3210; }
.welcome-card h2 { font-size:1.8rem;margin:20px 0 12px; }
.welcome-card p { line-height:1.75; }
.welcome-monogram { display:grid;place-items:center;width:72px;height:72px;margin-top:24px;border-radius:24px;background:#164c3c;color:#f9efdb;font:2.5rem Georgia,serif; }
.section-heading { margin-bottom:32px; }.section-heading h2 { margin-top:12px; }
.short-steps { grid-template-columns:repeat(3,1fr);gap:24px; }
.step-number { display:block;font-size:.85rem;letter-spacing:.1em;color:#775d28;margin-bottom:16px; }
.audience-grid { display:grid;grid-template-columns:1fr 1fr;gap:50px; }.audience-grid article { padding:16px 0; }.audience-grid p { line-height:1.8; }
.contact-short-grid { display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start; }
.contact-short-grid>.card { margin:0; }.contact-short-grid h2 { font-size:2.4rem;line-height:1.2; }.contact-short-grid h1 { font-size:3rem;line-height:1.15; }
.optional-context { border-top:1px solid #e6e6da;margin:12px 0; }.optional-context summary { cursor:pointer;padding:14px 0; }
.optional { font-size:.8rem;font-weight:400; }.recap-form .hint { line-height:1.6; }
.partner-points { padding-left:22px; }.partner-points li { margin-bottom:24px;line-height:1.8; }.owner-story { white-space:pre-line;line-height:1.9; }
.site-header .nav-link { padding:10px; }.site-footer-meta { line-height:1.7; }
@media(max-width:850px) { .hero-short { padding:36px 0; }.hero-short .hero-grid,.contact-short-grid,.audience-grid { grid-template-columns:1fr;gap:28px; }.hero-short h1 { font-size:2.7rem; }.welcome-card { padding:24px; }.short-steps { grid-template-columns:1fr; }.contact-short-grid h1 { font-size:2.3rem; }.section { padding-top:40px;padding-bottom:40px; } }
@media(max-width:480px) { .hero-short h1 { font-size:2.35rem; }.hero-short .lead { font-size:1.05rem;line-height:1.75; }.welcome-monogram { width:48px;height:48px;font-size:1.7rem;float:left;margin:0 16px 0 0;border-radius:16px; }.welcome-card h2 { margin:0 0 12px; }.welcome-card .kicker { margin-bottom:20px; }.form-card { padding:22px 18px; }.contact-short-grid h2 { font-size:1.9rem; } }
