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

:root {
  --sand: #f4efe6;
  --sand-deep: #e9e0d0;
  --paper: #fbf8f3;
  --ink: #1f2a24;
  --muted: #55605a;
  --green: #2f4a3b;
  --green-dark: #223629;
  --khaki: #7a6a44;
  --line: #dcd2bf;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.125rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--khaki); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

.btn { display: inline-block; background: var(--green); color: var(--paper); text-decoration: none; font-weight: 600;
  padding: .8em 1.4em; border-radius: 999px; transition: background .15s; }
.btn:hover { background: var(--green-dark); color: var(--paper); }
.btn-small { padding: .55em 1.1em; font-size: 1rem; }
.btn-light { background: var(--paper); color: var(--green); }
.btn-light:hover { background: var(--sand-deep); color: var(--green-dark); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; content: " →" / ""; }

/* En-tête */
.site-header { background: var(--sand); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.brand-role { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.site-header ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; gap: 22px; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 1rem; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--green); text-decoration: underline; }
.menu { display: none; }

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  .menu summary { cursor: pointer; list-style: none; white-space: nowrap; font-weight: 600; padding: 8px 4px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary::after { content: " ☰"; content: " ☰" / ""; }
  .menu[open] summary::after { content: " ✕"; content: " ✕" / ""; }
  .menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .menu li a { display: block; padding: 10px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
}
.header-cta { white-space: nowrap; }
@media (max-width: 560px) {
  .hide-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cta-word { display: inline-block; }
  .cta-word::first-letter { text-transform: uppercase; }
  .header-inner { gap: 12px; }
  .header-cta { padding: .5em .9em; font-size: .95rem; }
}
@media (max-width: 440px) { .brand-role { display: none; } .page-head { padding-top: 48px; } }

/* Accueil */
.hero { position: relative; background: var(--green-dark); color: var(--paper); overflow: hidden; }
.hero picture img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; position: absolute; inset: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(25,38,30,.85) 0%, rgba(25,38,30,.55) 45%, rgba(25,38,30,0) 70%); }
.hero-text { position: relative; z-index: 2; padding: 120px 24px 130px; }
.hero-text > div { max-width: 560px; }
.hero h1 { color: var(--paper); }
.hero .lead { font-size: 1.25rem; color: #e8e3d8; }
.hero .btn { background: var(--paper); color: var(--green-dark); }
.hero .btn:hover { background: var(--sand-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.hero-actions a:not(.btn) { color: var(--paper); }
.hero-facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .98rem; color: #dcd6c9; }
.hero-facts li::before { content: "—  "; content: "—  " / ""; color: #b9ad8c; }

@media (max-width: 760px) {
  .hero picture img { position: static; height: 260px; object-position: 80% 30%; }
  .hero::before { display: none; }
  .hero-text { padding: 36px 24px 48px; }
}

.section { padding: 88px 0; }
.section-alt { background: var(--paper); }
.eyebrow { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--khaki); font-weight: 600; margin-bottom: .8em; }
.eyebrow a { color: inherit; }
.intro { max-width: 680px; color: var(--muted); font-size: 1.15rem; }

.troubles { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.troubles a { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr auto; gap: 24px; align-items: baseline;
  padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.troubles a:hover { background: var(--sand); }
.troubles .t-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--green); }
.troubles .t-desc { color: var(--muted); }
.troubles .t-go { color: var(--green); }
@media (max-width: 700px) {
  .troubles a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .troubles .t-desc { grid-column: 1; }
  .troubles .t-go { grid-row: 1; grid-column: 2; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: 4px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } .split img { max-height: 520px; width: 100%; object-fit: cover; } }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--khaki); color: var(--khaki); font-family: var(--serif); display: grid; place-items: center; }
.steps strong { display: block; }

.price { display: flex; flex-wrap: wrap; gap: 10px 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 24px 0; }
.price span { color: var(--muted); }
.price b { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); display: block; }

.quote-fig { margin: 0; }
.quote-fig figcaption { margin-top: 16px; color: var(--muted); }
.quote-fig figcaption::before { content: "— "; content: "— " / ""; }
.quote p { margin: 0; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.4; max-width: 820px; margin: 0; color: var(--green-dark); }

.articles { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; }
.articles a { display: block; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.art-title { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.art-desc { display: block; color: var(--muted); font-size: 1rem; }
.articles a:hover .art-title { text-decoration: underline; }

.cta-band { background: var(--green); color: var(--paper); padding: 72px 0; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: #e3ddd0; max-width: 620px; }

/* Pages de contenu */
.page-head { padding-top: 72px; padding-bottom: 40px; }
.page-head .lead { font-size: 1.25rem; color: var(--muted); max-width: 720px; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--khaki); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.article { padding: 72px 24px 88px; margin: 0 auto; }
.article .lead { font-size: 1.25rem; color: var(--muted); }
.page-body { padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 64px; align-items: start; }
.aside-card { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); padding: 28px; border-radius: 4px; }
.aside-card p { font-size: 1rem; color: var(--muted); }
.aside-card .aside-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.sources { font-size: .95rem; color: var(--muted); }
.sources li { margin-bottom: .5em; scroll-margin-top: 96px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ref { line-height: 0; font-size: .7em; margin-left: 1px; }
.ref a { text-decoration: none; font-weight: 600; padding: 0 1px; }
.ref a:hover, .ref a:focus-visible { text-decoration: underline; }
.sources li:target { background: var(--paper); outline: 2px solid var(--line); }
.byline { color: var(--muted); font-size: 1rem; margin-top: -.4em; }
.author-box { display: flex; gap: 20px; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { font-size: .95rem; color: var(--muted); margin: 0; }
.author-box .author-name { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.author-box .author-role { font-weight: 600; color: var(--green); margin-bottom: .5em; }
.author-box .author-role a { color: inherit; }
.author-box .author-more { margin-top: .8em; }
@media (max-width: 480px) { .author-box { gap: 16px; } .author-box img { width: 64px; height: 64px; } }
.cta-mobile { display: none; margin: 32px 0; }
@media (max-width: 900px) { .page-body { grid-template-columns: 1fr; } .aside-card { position: static; } .cta-mobile { display: block; } }
.cta-inline { margin-top: 48px; padding: 24px; background: var(--paper); border-left: 3px solid var(--green); }
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.related a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 1rem; background: var(--paper); }
.related a:hover { border-color: var(--green); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--green-dark); color: #d9d3c6; padding: 64px 0 32px; font-size: 1rem; }
.site-footer a { color: #f4efe6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-id { display: flex; gap: 24px; align-items: center; }
.footer-id img { border-radius: 50%; flex: none; }
.footer-id .footer-name { margin-bottom: .1em; }
.footer-role { font-weight: 600; color: #cfc3a3; margin-bottom: .6em; }
.footer-name, .footer-title { font-family: var(--serif); font-size: 1.2rem; color: var(--paper); margin-bottom: .5em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-urgence { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .95rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-id { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-id { flex-direction: column; align-items: flex-start; } }
.site-footer .btn-light { color: var(--green); }
.eyebrow-light { color: #cfc3a3; }
.more { margin: 24px 0 0; }
.aside-card .more { margin-top: 16px; }
.pad-bottom { padding-bottom: 88px; }
.split-top { align-items: start; }
.prose .troubles, .prose .steps { padding-left: 0; }
.faq details ul { margin: 8px 0 0; color: var(--muted); }
.articles + h2 { margin-top: 56px; }
.prose .articles { padding-left: 0; }
