/* Philethos — charte du projet : Vert Ethos #135248 (principal), Ethos 60 % #6D9289, Ethos 30 % #B1C1B9 (filets),
   Ethos 12 % #D9DED7 (fonds de section), Pierre #F4F1EA (fond), Encre #1F2421 (texte), Laiton #8C6630 (accent rare).
   Mise en page : texte à gauche, colonne de marge à droite pour les annotations, comme une édition savante.
   Un seul moment animé : les soulignements de la question, les notes, puis le tracé du phi. */
/* Polices hébergées sur le site (aucun appel à Google : pas de transfert d'adresse IP à un tiers) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --ethos-ink: #1f2421;
  --alert: #9b2c1f;
  --paper: #f4f1ea;
  --paper-2: #d9ded7;
  --surface: #fbfaf6;
  --ink: #1f2421;
  --graphite: #535d58;
  --rule: #b1c1b9;
  --pen: #135248;
  --pen-ink: #f4f1ea;
  --ethos: #135248;
  --on-ethos: #f4f1ea;
  --on-ethos-muted: #b1c1b9;
  --ethos-rule: #6d9289;
  --laiton: #7a5726; /* Laiton de la charte (#8C6630) assombri pour un contraste lisible sur les fonds clairs */
  --shadow: 0 10px 30px -12px rgb(31 36 33 / 0.28);
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-small: 0.875rem;
  --t-body: 1.125rem;
  --t-lead: 1.3rem;
  --t-h3: 1.55rem;
  --t-h2: clamp(1.9rem, 3.2vw, 2.5rem);
  --t-dilemma: clamp(2.9rem, 7.5vw, 6.2rem);
  --ease: cubic-bezier(0.25, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111714; --paper-2: #18211d; --surface: #1b2420; --ink: #ebe7de; --graphite: #a3ada8;
    --rule: #34433d; --pen: #8fbcae; --pen-ink: #0f1513; --laiton: #c9a467; --alert: #f0a291;
    --shadow: 0 10px 30px -12px rgb(0 0 0 / 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111714; --paper-2: #18211d; --surface: #1b2420; --ink: #ebe7de; --graphite: #a3ada8;
  --rule: #34433d; --pen: #8fbcae; --pen-ink: #0f1513; --laiton: #c9a467; --alert: #f0a291;
  --shadow: 0 10px 30px -12px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--t-body); line-height: 1.6; }
img { max-width: 100%; height: auto; }

.wrap {
  max-width: 72rem; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.block { padding-block: clamp(3rem, 8vw, 5.5rem); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
p, ul, ol { margin: 0; }
a { color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; border-radius: 2px; }
.lede { font-size: var(--t-lead); line-height: 1.5; color: var(--graphite); max-width: 36em; }
.section-lede { color: var(--graphite); max-width: 40em; margin: -1rem 0 2rem; }
.fine { font-size: var(--t-small); color: var(--graphite); }

/* Logo */
.logo { width: 1.1em; height: 1.32em; fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; flex: none; }

/* En-tête et menu */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 20; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.brand .logo { color: var(--pen); }
.menu-toggle { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.6rem; }
.nav-list > li > a, .sub-toggle {
  color: var(--graphite); text-decoration: none; font: inherit; font-size: 1rem;
  background: none; border: 0; padding: 0.35rem 0; cursor: pointer;
}
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--ink); }
.nav-list a[aria-current="page"], .sub-toggle.is-current {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--pen); text-decoration-thickness: 2px; text-underline-offset: 0.45em;
}
.nav-list > li > a.nav-contact { border: 1px solid var(--pen); border-radius: 4px; padding: 0.35rem 0.9rem; color: var(--pen); }
.nav-list > li > a.nav-contact:hover { background: var(--pen); color: var(--pen-ink); }
.nav-list > li > a.nav-contact[aria-current="page"] { background: var(--pen); color: var(--pen-ink); text-decoration: none; }

.has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 0.45rem; }
.sub-toggle::after {
  content: ""; width: 0.42em; height: 0.42em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg); transition: transform 0.25s var(--ease);
}
.has-sub.open .sub-toggle::after, .has-sub:hover .sub-toggle::after { transform: translateY(0.1em) rotate(225deg); }
.sub {
  position: absolute; top: calc(100% + 0.7rem); left: -1rem; width: 23rem; max-width: calc(100vw - 32px);
  list-style: none; margin: 0; padding: 0.5rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.8rem; height: 0.8rem; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.sub a { display: block; padding: 0.65rem 0.8rem; border-radius: 4px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.sub a span { display: block; margin-top: 0.15rem; font-family: var(--font-body); font-size: 0.9rem; color: var(--graphite); }
.sub a:hover, .sub a:focus-visible { background: var(--paper); }
.nav-list .sub a[aria-current="page"] { background: var(--paper); box-shadow: inset 2px 0 0 var(--pen); text-decoration: none; }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.btn { display: inline-block; background: var(--pen); color: var(--pen-ink); text-decoration: none; padding: 0.75rem 1.35rem; border-radius: 4px; font-weight: 600; font-size: 1rem; }
.btn:hover { background: color-mix(in srgb, var(--pen) 85%, var(--ink)); }
.text-link { font-weight: 600; font-size: 1rem; }

/* Accueil : la question annotée */
.hero { background: var(--ethos); color: var(--on-ethos); }
.hero .lede { color: var(--on-ethos-muted); }
.hero .btn { background: var(--on-ethos); color: var(--ethos); }
.hero .btn:hover { background: #ffffff; }
.hero .text-link { color: var(--on-ethos); }
.hero a:focus-visible { outline-color: var(--on-ethos); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 19rem);
  grid-template-areas: "dilemma notes" "text notes";
  column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 2.5rem; padding-block: clamp(3rem, 9vw, 6.5rem);
}
.dilemma { grid-area: dilemma; font-family: var(--font-display); font-weight: 500; font-size: var(--t-dilemma); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; max-width: 11em; }
.mark {
  background-image: linear-gradient(var(--on-ethos-muted), var(--on-ethos-muted));
  background-repeat: no-repeat; background-position: 0 90%; background-size: 100% 0.045em;
  animation: underline 0.7s var(--ease) both;
}
.mark::after { font-style: italic; font-size: 0.36em; color: var(--on-ethos-muted); vertical-align: super; margin-left: 0.08em; line-height: 0; }
.m1::after { content: "a"; } .m2::after { content: "b"; } .m3::after { content: "c"; }
.m1 { animation-delay: 0.5s; } .m2 { animation-delay: 1.1s; } .m3 { animation-delay: 1.7s; }

.hero-margin { grid-area: notes; padding-left: 1.5rem; border-left: 1px solid var(--ethos-rule); display: grid; gap: 2.5rem; align-content: start; margin-top: 0.8rem; min-width: 0; }
.notes { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.note { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: 0.5rem; animation: appear 0.6s var(--ease) both; }
.note .key { font-family: var(--font-display); font-style: italic; color: var(--on-ethos); font-size: 1.3rem; line-height: 1.2; }
.note p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.28rem; line-height: 1.3; color: var(--on-ethos-muted); }
.n1 { animation-delay: 0.9s; } .n2 { animation-delay: 1.5s; } .n3 { animation-delay: 2.1s; }

.logo-fig { margin: 0; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.logo-draw { width: 100%; height: auto; overflow: visible; }
.logo-draw path { fill: none; stroke: var(--on-ethos); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.2s var(--ease) both; }
.logo-draw .axis { animation-delay: 2.4s; }
.logo-draw .arc { animation-delay: 3s; animation-duration: 1.4s; }
.logo-fig figcaption { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.3; color: var(--on-ethos-muted); animation: appear 0.8s var(--ease) 3.6s both; }

.hero-text { grid-area: text; display: grid; gap: 1.25rem; min-width: 0; max-width: 40rem; }
.hero-text h1 { font-size: 1.75rem; line-height: 1.2; }

/* Pourquoi */
.why h2 { margin-bottom: 2rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3.5rem; max-width: 62rem; }
.two-col > div { display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.two-col h3 { font-size: 1.45rem; }
.two-col p { color: var(--graphite); }

/* Interventions : tableau comparatif */
.block > h2 { margin-bottom: 2rem; }
.offer { width: 100%; border-collapse: collapse; text-align: left; }
.offer th, .offer td { padding: 1.1rem 1.25rem 1.1rem 0; vertical-align: top; }
.offer thead th { font-size: var(--t-small); font-weight: 600; color: var(--graphite); border-bottom: 1px solid var(--ink); padding-bottom: 0.6rem; }
.offer tbody tr { border-bottom: 1px solid var(--rule); }
.offer tbody th { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.15; width: 19%; }
.offer tbody th a { color: var(--ink); text-decoration-color: var(--pen); }
.offer td { color: var(--graphite); }
.offer td:nth-of-type(1) { color: var(--ink); width: 38%; }

/* Méthode : une vraie séquence */
.method { background: var(--paper-2); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.roman { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--pen); }
.steps h3 { font-size: 1.4rem; }
.steps h3 i { color: var(--laiton); }
.steps p { color: var(--graphite); font-size: 1rem; }
.more-link { margin-top: 2.5rem; font-weight: 600; text-align: center; }

/* Références */
.ref-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; max-width: 62rem; margin-bottom: 1.25rem; }
.ref-list li { border-top: 1px solid var(--rule); padding-top: 1rem; display: grid; gap: 0.3rem; min-width: 0; }
.ref-theme { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.ref-list li p:last-child { color: var(--graphite); }

/* FAQ */
.faq h2 { margin-bottom: 1.25rem; }
details { border-top: 1px solid var(--rule); max-width: 46rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding-block: 1.1rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 1.7rem; line-height: 0.8; color: var(--pen); flex: none; transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 1.25rem; color: var(--graphite); max-width: 40em; }
details[open] p { animation: appear 0.35s var(--ease) both; }

/* Bande d'appel avec formulaire */
.cta-band { background: var(--ethos); color: var(--on-ethos); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cta-text { display: grid; gap: 1rem; min-width: 0; }
.cta-text p { color: var(--on-ethos-muted); max-width: 30em; }
.cta-text .cta-tel { color: var(--on-ethos); font-weight: 600; }

/* Formulaire de contact */
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; min-width: 0; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.opt { font-weight: 400; color: var(--graphite); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule); border-radius: 4px; padding: 0.65rem 0.75rem;
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible {
  outline: 2px solid var(--pen); outline-offset: 1px; border-color: var(--pen);
}
.hint { font-size: 0.875rem; color: var(--graphite); }
.form-note { font-size: 0.875rem; color: var(--graphite); max-width: 46em; }
.form-status { padding: 0.75rem 1rem; border-left: 3px solid var(--alert); background: var(--surface); color: var(--ink); font-size: 0.95rem; }
.contact-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* … sur fond vert */
.cta-band .field label { color: var(--on-ethos); }
.cta-band .opt, .cta-band .hint, .cta-band .form-note { color: var(--on-ethos-muted); }
.cta-band .form-note a { color: var(--on-ethos); }
.cta-band .contact-form input, .cta-band .contact-form select, .cta-band .contact-form textarea {
  background: var(--on-ethos); color: var(--ethos-ink); border-color: var(--ethos-rule);
}
.cta-band .contact-form :focus-visible { outline-color: var(--on-ethos); }
.cta-band .form-status { background: var(--on-ethos); color: var(--ethos-ink); border-left-color: #9b2c1f; }
.cta-band .btn { background: var(--on-ethos); color: var(--ethos); }
.cta-band .btn:hover { background: #ffffff; }
.prose .contact-form { margin-top: 1rem; }

/* Page légale */
.legal { max-width: 44rem; }
.legal h2 { font-size: 1.6rem; }
.todo { background: color-mix(in srgb, var(--laiton) 22%, transparent); padding: 0 0.25em; border-radius: 2px; }

/* Pages intérieures : texte + marge */
.page { padding-block: 1.5rem clamp(3rem, 8vw, 5rem); }
.crumbs { font-size: var(--t-small); color: var(--graphite); margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.crumbs a { color: var(--graphite); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose { display: grid; gap: 1.1rem; min-width: 0; max-width: 40rem; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 3.8rem); }
.prose h2 { margin-top: 1.5rem; font-size: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.prose li::marker { color: var(--pen); }
.prose .actions { margin-top: 1rem; }
.method-list { padding-left: 0 !important; list-style: none; counter-reset: t; gap: 1.5rem !important; }
.method-list li { counter-increment: t; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.3rem; }
.method-list li::before { content: counter(t, upper-roman); grid-row: span 2; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--pen); }
.method-list h3 { font-size: 1.5rem; }
.method-list .gk { font-style: italic; color: var(--laiton); }
.method-list p { color: var(--graphite); }
.person { display: grid; gap: 0.6rem; padding-top: 1rem; }
.person h3 { font-size: 1.6rem; }
.cv { color: var(--graphite); font-size: 1rem; }
.cv strong { color: var(--ink); font-weight: 600; }
.margin { position: sticky; top: 1.5rem; border-left: 1px solid var(--rule); padding-left: 1.5rem; min-width: 0; }
.margin-title { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--pen); font-weight: 500; margin-bottom: 0.75rem; }
.margin dl { margin: 0; display: grid; gap: 0.15rem; }
.margin dt { font-size: var(--t-small); color: var(--graphite); margin-top: 0.75rem; }
.margin dt:first-child { margin-top: 0; }
.margin dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2rem; padding-block: 2.5rem; color: var(--graphite); font-size: 0.95rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.footer-brand .logo { color: var(--pen); }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; margin-top: 0.25rem; }
.site-footer address { font-style: normal; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 0.2rem; }
.footer-links a, .site-footer address a { color: var(--graphite); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem 1.5rem; border-top: 1px solid var(--rule); font-size: var(--t-small); color: var(--graphite); }
.footer-legal a { color: var(--graphite); }

@keyframes underline { from { background-size: 0% 0.045em; } to { background-size: 100% 0.045em; } }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Tablette et téléphone */
@media (max-width: 58rem) {
  .js .menu-toggle {
    display: inline-block; font: inherit; font-size: 1rem; font-weight: 600; color: var(--pen);
    background: none; border: 1px solid var(--pen); border-radius: 4px; padding: 0.35rem 0.9rem; cursor: pointer;
  }
  .site-nav { flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding-block: 0.5rem; }
  .nav-list > li { border-top: 1px solid var(--rule); }
  .nav-list > li > a, .sub-toggle { display: block; padding: 0.75rem 0; width: 100%; text-align: left; }
  .sub-toggle { pointer-events: none; color: var(--ink); font-weight: 600; }
  .sub-toggle::after { display: none; }
  .sub { position: static; width: auto; max-width: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 1px solid var(--rule); border-radius: 0; background: none; padding: 0 0 0.75rem 1rem; margin-left: 0.25rem; }
  .sub::before { display: none; }
  .nav-list > li > a.nav-contact { display: inline-block; margin-block: 0.75rem; width: auto; text-align: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "dilemma" "notes" "text"; row-gap: 2rem; }
  .hero-margin { margin-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .margin { position: static; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .two-col, .ref-list, .contact-form { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .offer thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .offer, .offer tbody, .offer tr, .offer th, .offer td { display: block; width: auto !important; }
  .offer tbody tr { padding-block: 1.25rem; }
  .offer th, .offer td { padding: 0; }
  .offer tbody th { margin-bottom: 0.4rem; }
  .offer td + td { margin-top: 0.6rem; }
  .offer td:nth-of-type(2)::before { content: "Pour qui : "; font-weight: 600; color: var(--ink); }
  .offer td:nth-of-type(3)::before { content: "Format : "; font-weight: 600; color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Illustrations au trait (Vert Ethos sur fond transparent).
   En thème sombre, elles reposent sur une feuille couleur Pierre pour rester lisibles. */
:root { --illu-bg: transparent; --illu-pad: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --illu-bg: #ebe7de; --illu-pad: 1rem; } }
:root[data-theme="dark"] { --illu-bg: #ebe7de; --illu-pad: 1rem; }
.illu { margin: 0; min-width: 0; }
.illu img { display: block; width: 100%; height: auto; max-width: 100%; background: var(--illu-bg); padding: var(--illu-pad); border-radius: 6px; }
.illu figcaption { margin-top: 0.75rem; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.35; color: var(--graphite); max-width: 40em; }
.why-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem clamp(2rem, 5vw, 4rem); align-items: center; }
.why-grid .two-col { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.illu-why img { width: 100%; }
.illu-wide { margin: clamp(2.5rem, 6vw, 4rem) auto 0; max-width: 54rem; }
.illu-prose { margin-block: 0.75rem; }
.person-with-portrait { grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); column-gap: 1.5rem; align-items: start; }
.person-with-portrait > :not(.portrait) { grid-column: 2; }
.portrait { grid-column: 1; grid-row: 1 / span 3; }
.portrait img { aspect-ratio: 1; border-radius: 50%; background: #d9ded7; padding: 0.5rem; }
@media (max-width: 58rem) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .person-with-portrait { grid-template-columns: minmax(0, 1fr); }
  .person-with-portrait > :not(.portrait) { grid-column: 1; }
  .portrait { grid-row: auto; max-width: 8rem; }
}
