/* Lisière · direction artistique « garrigue provençale ».
   Un carnet de terrain solaire : papier crème, encre olive, vert pin d'Alep, terracotta des tuiles et ocre du soleil.
   DM Serif Display pour les titres, Karla pour le texte. Illustrations botaniques au trait avec aplats décalés,
   horizon de collines en aplats superposés, et en signature le plan vu du ciel d'une maison dans son cercle de 50 m.
   Formes : cercles et pointillés (le périmètre), filets fins et cartouches (le plan), boutons en pastille. */

:root {
  --bg: #f5eedf;
  --surface: #fbf8f1;
  --surface-2: #ede3cc;
  --paper: #fbf6ea;
  --sand: #f0e5cc;
  --ink: #262a1c;
  --ink-2: #45473a;
  --muted: #5f5a46;
  --line: #d8caa9;
  --accent: #a8482a;
  --accent-ink: #8a3a20;
  --accent-soft: #f2dccb;
  --on-accent: #fff8ee;
  --pine: #2c4430;
  --pine-2: #3d5a3c;
  --deep: #1f3123;
  --olive: #5d6633;
  --olive-2: #8d9255;
  --sage-soft: #e4e3c6;
  --sun: #e2a948;
  --ochre-soft: #ecd29c;
  --cream-ink: #f5eedf;
  --cream-2: #d9d3bd;
  --ok: #3f5a2a; --ok-bg: #e9ecd6;
  --warn: #7a4f10; --warn-bg: #f6e6c2;
  --ko: #8a3a20; --ko-bg: #f4dccd;
  --font-body: "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --head-weight: 400;
  --head-tracking: -0.005em;
  --radius: 6px;
  --radius-btn: 999px;
  --shadow: 0 1px 0 rgba(38, 42, 28, .05), 0 14px 32px -16px rgba(38, 42, 28, .35);
  --maxw: 1180px;
  --header-bg: #f5eedf;
  --header-ink: #262a1c;
  --footer-bg: #1f3123;
  --footer-ink: #d9d3bd;
  --footer-strong: #fbf3e2;
  --grid-dots: radial-gradient(circle at 1px 1px, rgba(38, 42, 28, .14) 1px, transparent 1.3px);
}

/* ---------- Base ---------- */
body { background: var(--bg); color: var(--ink); font-size: 17.5px; line-height: 1.66; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.08; color: var(--ink); }
h3 { line-height: 1.2; }
a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ochre-soft); color: var(--ink); }
.section { padding: 88px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 30%, transparent); flex: none; }
.sec-head { max-width: 760px; margin: 0 0 44px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 0 0 16px; }
.sec-lede { font-size: 19px; color: var(--ink-2); margin: 0; max-width: 64ch; }
.lien-fleche { font-weight: 700; color: var(--accent-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.lien-fleche::after { content: "→"; transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(4px); }
.lien-fleche:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn { border-radius: var(--radius-btn); font: 700 16px/1.2 var(--font-body); letter-spacing: .01em; padding: 12px 22px; min-height: 46px; box-shadow: 0 2px 0 #6f2c16; transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn:hover { filter: none; background: #973e22; border-color: #973e22; transform: translateY(-1px); box-shadow: 0 3px 0 #6f2c16; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #6f2c16; }
.btn-big { padding: 16px 28px; font-size: 17px; min-height: 54px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream-ink); box-shadow: none; }
.btn-clair { background: var(--on-accent); color: var(--accent-ink); border-color: var(--on-accent); box-shadow: 0 2px 0 #6f2c16; }
.btn-clair:hover { background: #fff; border-color: #fff; color: var(--accent-ink); }

/* ---------- En-tête ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); box-shadow: 0 3px 0 -2px color-mix(in srgb, var(--line) 70%, transparent); }
.header-in { min-height: 76px; }
.brand { gap: 12px; }
.brand-logo { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-head); font-weight: 400; font-size: 30px; letter-spacing: .005em; line-height: 1; }
.brand-tagline { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-top: 4px; }
.nav { gap: 26px; }
.nav a { font-weight: 600; font-size: 15.5px; opacity: 1; color: var(--ink-2); text-decoration: none; padding: 6px 0; background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 3px no-repeat; transition: background-size .2s; }
.nav a:hover { background-size: 100% 3px; color: var(--ink); }
.nav a.btn { padding: 10px 20px; background: var(--accent); color: var(--on-accent); }
.nav a.btn:hover { background: #973e22; }
.nav-toggle { border-color: var(--line); border-radius: 999px; width: 48px; height: 44px; background: var(--paper); }
@media (max-width: 1180px) { .brand-tagline { display: none; } }
@media (max-width: 940px) {
  .nav { gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: 0 18px 30px -18px rgba(38, 42, 28, .35); }
  .nav a { padding: 14px 4px; border-bottom: 1px dashed var(--line); background: none; font-size: 17px; }
  .nav a.btn { margin-top: 16px; padding: 14px 20px; }
  .brand-name { font-size: 27px; }
}

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; padding: 56px 0 0; background-color: var(--bg); background-image: var(--grid-dots); background-size: 24px 24px; overflow: hidden; }
.hero-in { display: grid; gap: 40px; align-items: center; padding-bottom: 24px; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.08fr .92fr; gap: 64px; padding-bottom: 8px; } }
.hero h1 { font-size: clamp(44px, 6.3vw, 82px); line-height: .98; letter-spacing: -.012em; margin: 0 0 24px; }
.hero h1 em { font-style: italic; color: var(--accent); white-space: nowrap; }
.h1-kicker { display: block; font: 700 15px/1.35 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pine-2); margin: 0 0 18px; }
.hero-lede { font-size: 19.5px; line-height: 1.6; color: var(--ink-2); max-width: 36em; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed var(--accent); background: radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px); flex: none; }

.plan { margin: 0; position: relative; max-width: 560px; justify-self: center; width: 100%; }
.plan-sheet { position: relative; background: var(--paper); padding: 12px; border-radius: 3px; box-shadow: 0 1px 0 rgba(38, 42, 28, .08), 0 24px 48px -24px rgba(38, 42, 28, .45); transform: rotate(1.4deg); }
.plan-sheet::before, .plan-sheet::after { content: ""; position: absolute; width: 104px; height: 28px; background: color-mix(in srgb, var(--ochre-soft) 82%, transparent); z-index: 2; }
.plan-sheet::before { top: -12px; left: 18px; transform: rotate(-7deg); }
.plan-sheet::after { bottom: -10px; right: 22px; transform: rotate(-4deg); }
.plan-sheet img { display: block; width: 100%; height: auto; border-radius: 2px; }
.plan-tag { position: absolute; transform: translate(-50%, -50%); font: 700 12.5px/1 var(--font-body); letter-spacing: .02em; white-space: nowrap; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 10px; box-shadow: 0 2px 0 rgba(38, 42, 28, .25); }
.plan-tag.tag-voisin { color: var(--accent-ink); border-color: var(--accent); }
.plan figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 22px 6px 0; font-family: var(--font-head); font-style: italic; font-size: 19px; color: var(--ink); transform: rotate(1.4deg); }
.plan figcaption span { font: 700 11.5px/1.3 var(--font-body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.horizon { line-height: 0; margin-top: 8px; }
.horizon img { display: block; width: 100%; height: auto; min-height: 60px; object-fit: cover; object-position: 50% 100%; }

/* ---------- Bandeau « la règle » ---------- */
.regle { background: var(--pine); color: var(--cream-ink); padding: 30px 0 84px; margin-top: -1px; }
.regle-in { display: grid; gap: 40px; }
@media (min-width: 980px) { .regle-in { grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; } }
.regle .eyebrow { color: var(--ochre-soft); }
.regle h2 { color: var(--cream-ink); font-size: clamp(30px, 3.6vw, 42px); margin: 0 0 18px; }
.regle-txt p { color: var(--cream-2); margin: 0 0 14px; }
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid rgba(245, 238, 223, .22); }
.chiffres > div { padding: 22px 18px 22px 0; border-bottom: 1px solid rgba(245, 238, 223, .22); }
.chiffres > div:nth-child(odd) { border-right: 1px solid rgba(245, 238, 223, .22); }
.chiffres > div:nth-child(even) { padding-left: 24px; }
.chiffres dt { font-family: var(--font-head); font-size: clamp(40px, 4.6vw, 58px); line-height: 1; color: var(--sun); margin-bottom: 10px; }
.chiffres dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--cream-2); }

/* ---------- Prestations ---------- */
.prest-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .prest-grid { grid-template-columns: 1fr 1fr; } .prest-main { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
  .prest-grid { grid-template-columns: 1.15fr 1fr 1fr; }
  .prest-main { grid-column: 1; grid-row: 1 / span 3; }
  .prest:last-child { grid-column: 2 / span 2; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; }
  .prest:last-child .prest-ico { grid-row: 1 / span 2; }
}
.prest { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.prest:hover { border-color: var(--olive-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.prest-ico { display: block; width: 56px; height: 56px; margin-bottom: 14px; }
.prest h3 { font-size: 23px; margin: 0 0 10px; }
.prest p { margin: 0 0 10px; font-size: 16px; color: var(--ink-2); }
.prest p:last-of-type { margin-bottom: 0; }
.prest-main { background: #efe2bf; border-color: #e3d0a2; overflow: hidden; padding: 34px 32px 300px; }
.prest-main h3 { font-size: clamp(27px, 2.6vw, 34px); max-width: 13em; }
.prest-main p { font-size: 17px; color: var(--ink); max-width: 30em; }
.prest-botanique { position: absolute; right: -6px; bottom: -14px; width: 230px; height: auto; pointer-events: none; }
.prest-urgence { border-top: 4px solid var(--accent); }
@media (max-width: 759px) { .prest-main { padding-bottom: 230px; } .prest-botanique { width: 180px; } }
@media (min-width: 760px) and (max-width: 1039px) { .prest-main { padding: 34px 250px 34px 32px; min-height: 340px; } .prest-botanique { width: 220px; } }

/* ---------- Étapes ---------- */
.etapes { background: var(--surface-2); }
.frise { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 28px; position: relative; counter-reset: none; }
.frise li { position: relative; padding-left: 78px; }
.frise::before { content: ""; position: absolute; left: 29px; top: 30px; bottom: 30px; border-left: 2px dashed var(--accent); }
.frise-n { position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--pine); color: var(--sun); display: grid; place-items: center; font: 400 30px/1 var(--font-head); box-shadow: 0 0 0 6px var(--surface-2); }
.frise h3 { font-size: 22px; margin: 6px 0 8px; }
.frise p { margin: 0; font-size: 16px; color: var(--ink-2); }
@media (min-width: 900px) {
  .frise { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .frise::before { left: 30px; right: calc((100% - 84px) / 4 - 30px); top: 30px; bottom: auto; border-left: 0; border-top: 2px dashed var(--accent); }
  .frise li { padding: 82px 0 0; }
}
.transparence { display: grid; gap: 6px 40px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--sun); border-radius: var(--radius); padding: 26px 28px; }
@media (min-width: 900px) { .transparence { grid-template-columns: 240px 1fr; } .transparence p:not(.transparence-titre) { grid-column: 2; } .transparence-titre { grid-row: 1 / span 2; } }
.transparence-titre { font: italic 400 26px/1.15 var(--font-head); margin: 0 0 8px; color: var(--pine); }
.transparence p { margin: 0 0 10px; color: var(--ink-2); }
.transparence p:last-child { margin-bottom: 0; }

/* ---------- Coupe ---------- */
.coupe { margin: 0 0 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; }
.coupe img { display: block; width: 100%; height: auto; }
.legende { list-style: none; counter-reset: leg; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .legende { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .legende { grid-template-columns: repeat(4, 1fr); } }
.legende li { counter-increment: leg; position: relative; padding-left: 44px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.legende li::before { content: counter(leg); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 15px/1 Georgia, serif; }
.legende b { color: var(--ink); }

/* ---------- Tarifs ---------- */
.tarifs-sec { background: var(--sand); }
.tarifs-in { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .tarifs-in { grid-template-columns: 1fr 1fr; gap: 72px; } }
.tarifs-txt h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 18px; }
.tarifs-txt p { color: var(--ink-2); }
.tarifs-txt .note { font-size: 15.5px; color: var(--muted); border-left: 3px solid var(--sun); padding-left: 14px; }
.tarifs-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 26px; }
.carte-prix { background: var(--paper); border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -8px; padding: 36px 34px 28px; box-shadow: var(--shadow); transform: rotate(-.8deg); }
.carte-prix-titre { font: italic 400 30px/1.1 var(--font-head); text-align: center; margin: 0 0 22px; }
.carte-prix-titre::after { content: ""; display: block; width: 60px; margin: 14px auto 0; border-top: 3px dashed var(--accent); }
.prix-liste { list-style: none; padding: 0; margin: 0; }
.prix-liste li { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 10px; padding: 11px 0; font-size: 16px; line-height: 1.4; }
.prix-liste span { display: flex; align-items: flex-end; gap: 10px; color: var(--ink-2); }
.prix-liste span::after { content: ""; flex: 1 0 18px; border-bottom: 2px dotted var(--olive-2); margin-bottom: 5px; }
.prix-liste b { font-family: var(--font-head); font-weight: 400; font-size: 20px; line-height: 1.2; color: var(--pine); white-space: nowrap; }
.prix-liste small { font: 600 13px/1 var(--font-body); color: var(--muted); margin-left: 2px; }
.carte-prix-pied { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; line-height: 1.5; }
@media (max-width: 520px) { .carte-prix { padding: 30px 22px 24px; } .prix-liste li { grid-template-columns: 1fr; } .prix-liste span::after { display: none; } .prix-liste b { justify-self: end; margin-top: 2px; } }

/* ---------- Mise en demeure ---------- */
.urgence { background: var(--accent); color: var(--on-accent); padding: 64px 0; position: relative; overflow: hidden; }
.urgence::after { content: ""; position: absolute; left: -150px; bottom: -230px; width: 420px; height: 420px; border-radius: 50%; border: 3px dashed rgba(255, 248, 238, .22); pointer-events: none; }
.urgence-in { display: grid; gap: 30px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 860px) { .urgence-in { grid-template-columns: 170px 1fr; gap: 48px; } }
.tampon { width: 156px; height: 156px; border-radius: 50%; border: 3px solid var(--on-accent); display: grid; place-items: center; margin: 0; transform: rotate(-12deg); box-shadow: inset 0 0 0 6px var(--accent), inset 0 0 0 8px var(--on-accent); }
.tampon span { font: italic 400 24px/1.05 var(--font-head); text-align: center; max-width: 6em; }
.urgence h2 { color: var(--on-accent); font-size: clamp(30px, 3.8vw, 44px); margin: 0 0 14px; }
.urgence p { margin: 0 0 12px; max-width: 62em; }
.urgence-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 20px !important; }
.urgence .lien-fleche { color: var(--on-accent); }

/* ---------- Zones ---------- */
.zones-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .zones-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .zones-grid { grid-template-columns: repeat(3, 1fr); } }
.zone { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 18px; display: flex; flex-direction: column; overflow: hidden; }
.zone-num { position: absolute; right: 18px; top: 6px; margin: 0; font: 400 76px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--olive-2); opacity: .75; }
.zone h3 { font-size: 26px; margin: 0 0 4px; padding-right: 90px; }
.zone-arrete { font-size: 14px; font-weight: 700; color: var(--accent-ink); margin: 0 0 14px; padding-right: 70px; }
.zone ul { list-style: none; padding: 0; margin: 0 0 12px; flex: 1; }
.zone li { position: relative; padding: 7px 0 7px 22px; font-size: 15.5px; color: var(--ink-2); border-top: 1px dashed var(--line); line-height: 1.45; }
.zone li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--olive-2); }
.zone-note { background: var(--sage-soft); border-color: #cfcfa6; justify-content: flex-end; min-height: 260px; padding-top: 150px; }
.zone-note img { position: absolute; top: 14px; right: 14px; width: 120px; height: auto; }
.zone-note p { margin: 0 0 8px; font: italic 400 20px/1.3 var(--font-head); color: var(--pine); }

/* ---------- Guides (cartes) ---------- */
.guides { background: var(--surface-2); }
.related { margin-top: 0; }
.related h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 0 0 28px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; gap: 8px; position: relative; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--olive-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-kind { color: var(--olive); font-size: 11.5px; letter-spacing: .14em; display: inline-flex; align-items: center; gap: 8px; }
.card-kind::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.card-title { font-family: var(--font-head); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--ink); }
.card-desc { font-size: 15px; color: var(--muted); }
.card-tool { background: var(--pine); border-color: var(--pine); }
.card-tool .card-title { color: var(--cream-ink); }
.card-tool .card-desc { color: var(--cream-2); }
.card-tool .card-kind { color: var(--ochre-soft); }
.card-service { background: #efe2bf; border-color: #e3d0a2; }
.card-service .card-kind { color: var(--accent-ink); }
.card-service .card-kind::before { background: var(--accent); }

/* ---------- FAQ et sources ---------- */
.faq-in { display: grid; gap: 32px; }
@media (min-width: 980px) { .faq-in { grid-template-columns: 300px 1fr; gap: 72px; } }
.faq-aside-txt { font: italic 400 24px/1.3 var(--font-head); color: var(--pine); margin: 0 0 18px; }
.faq-aside img { width: 170px; height: auto; display: block; }
@media (max-width: 979px) { .faq-aside img { display: none; } }
.faq { margin-top: 0; max-width: none; }
.faq h2, .sources h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 0 0 18px; }
.faq details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; margin: 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; font-size: 17.5px; padding: 18px 56px 18px 0; line-height: 1.4; min-height: 44px; }
.faq summary::after { content: "+"; top: 50%; right: 4px; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 400 22px/1 var(--font-body); transition: transform .2s, background-color .2s; }
.faq details[open] summary::after { content: "–"; background: var(--accent); color: var(--on-accent); }
.faq summary:hover { color: var(--accent-ink); }
.faq details > div { padding: 0 56px 20px 0; color: var(--ink-2); font-size: 16.5px; }
.sources { margin-top: 48px; }
.sources h2 { font-size: 24px; }
.sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.sources li { padding-left: 22px; position: relative; }
.sources li::before { content: "§"; position: absolute; left: 0; top: 0; color: var(--olive-2); font-family: var(--font-head); }
.sources a { color: var(--ink-2); }
.maj { margin: 22px 0 0; }
.updated { font-size: 14px; color: var(--muted); }

/* ---------- Formulaire de devis ---------- */
.lead { background-color: var(--pine); background-image: url("/assets/collines-pin.svg"), linear-gradient(var(--bg), var(--bg)); background-size: 100% auto, 100% 10vw; background-position: top center, top center; background-repeat: no-repeat; border-top: 0; padding: calc(12.5vw + 24px) 0 80px; color: var(--cream-ink); scroll-margin-top: 60px; }
.lead h2 { color: var(--cream-ink); font-size: clamp(32px, 4vw, 48px); }
.lead-intro { color: var(--cream-2); font-size: 17.5px; }
.lead-points { gap: 12px; margin-top: 22px; }
.lead-points li { color: var(--cream-ink); font-weight: 600; padding-left: 32px; }
.lead-points li::before { width: 20px; height: 20px; top: 3px; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232c4430' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.lead-form { background: var(--paper); border: 0; border-radius: var(--radius); padding: 30px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); color: var(--ink); }
.field label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea, .tool input:not([type=radio]):not([type=checkbox]), .tool select { background: #fffdf8; border: 1.5px solid #cdbf9c; border-radius: 4px; color: var(--ink); min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus, .tool input:not([type=radio]):not([type=checkbox]):focus, .tool select:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.consent { color: var(--ink-2); }
.consent input { accent-color: var(--pine); }
.form-note { color: var(--muted); }
.form-status { color: var(--ko); }
.form-success { background: var(--paper); border: 2px dashed var(--olive-2); color: var(--ink); }
.success-title { font: 400 26px/1.2 var(--font-head); color: var(--pine); }
@media (max-width: 600px) { .lead-form { padding: 22px 18px; } .lead { padding-bottom: 56px; } }

/* ---------- Pied de page ---------- */
.site-footer { background-color: var(--deep); background-image: url("/assets/collines-nuit.svg"), linear-gradient(var(--pine), var(--pine)); background-size: 100% auto, 100% 10vw; background-position: top center, top center; background-repeat: no-repeat; padding: calc(12.5vw + 20px) 0 32px; font-size: 15.5px; }
.kind-legal .site-footer { background-image: url("/assets/collines-nuit.svg"), linear-gradient(var(--bg), var(--bg)); }
.footer-grid { gap: 40px; }
.brand-footer .brand-name { font-size: 34px; color: var(--footer-strong); }
.brand-footer .brand-logo { width: 48px; height: 48px; }
.footer-text { opacity: 1; color: var(--footer-ink); max-width: 30em; margin-top: 14px; }
.footer-title { font: 400 21px/1.2 var(--font-head); color: var(--sun); margin: 0 0 14px; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--footer-strong); }
.disclaimer { opacity: 1; color: #b7b39c; border-top: 1px dashed rgba(217, 211, 189, .3); line-height: 1.6; }
.disclaimer a { text-decoration: underline; }
.legal-links { gap: 4px 22px; }
.legal-links a { color: #d9d3bd; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer li a { display: inline-block; padding: 4px 0; }

/* ---------- Pages standard ---------- */
.page-head { position: relative; background-color: var(--surface-2); background-image: url("/assets/collines-bas.svg"), var(--grid-dots); background-size: 100% auto, 24px 24px; background-position: bottom center, 0 0; background-repeat: no-repeat, repeat; border-bottom: 0; padding: 40px 0 calc(6.9vw + 30px); overflow: hidden; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.04; margin: 14px 0 14px; max-width: 15em; }
.page-head .lede { font-size: 19px; color: var(--ink-2); max-width: 40em; }
.page-head .meta { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.crumbs { font-size: 14px; font-weight: 600; }
.crumbs a { color: var(--accent-ink); }
@media (min-width: 1100px) {
  .page-head h1, .page-head .lede { max-width: 760px; }
  .page-head .wrap::after { content: ""; position: absolute; right: 28px; top: -16px; width: 210px; height: 260px; background: url("/assets/pin-alep.svg") center / contain no-repeat; pointer-events: none; }
  .kind-tool .page-head .wrap::after { background-image: url("/assets/romarin.svg"); width: 180px; }
  .kind-service .page-head .wrap::after { background-image: url("/assets/chene-kermes.svg"); }
  .kind-legal .page-head .wrap::after { display: none; }
}
.content-wrap { padding-top: 44px; padding-bottom: 72px; }
@media (min-width: 1000px) { .content-grid.has-side { grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; } }
.prose { font-size: 18px; line-height: 1.72; max-width: 740px; }
.prose h2 { font-size: clamp(27px, 2.8vw, 34px); line-height: 1.12; margin: 56px 0 14px; }
.prose h2::before { content: ""; display: block; width: 46px; border-top: 3px dashed var(--accent); margin-bottom: 16px; }
.prose h3 { font-size: 23px; margin: 32px 0 10px; }
.prose strong { color: var(--ink); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 26px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--olive-2); }
.prose ol { padding-left: 0; list-style: none; counter-reset: pr; }
.prose ol > li { counter-increment: pr; position: relative; padding-left: 40px; margin: 10px 0; }
.prose ol > li::before { content: counter(pr); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--pine); color: var(--sun); display: grid; place-items: center; font: 400 16px/1 var(--font-head); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 8px 0 26px; }
table { font-size: 15.5px; }
th { background: var(--pine); color: var(--cream-ink); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
td, th { padding: 12px 16px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) td { background: #f6efdf; }
.bref { background: var(--paper); border: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); border-radius: 14px; padding: 22px 26px; margin: 0 0 34px; }
.bref-title { font: italic 400 24px/1.2 var(--font-head); color: var(--pine); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.bref-title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); flex: none; }
.bref ul { padding-left: 0; list-style: none; }
.bref li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.6; margin: 8px 0; }
.bref li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--olive-2); }
.cta-box { position: relative; overflow: hidden; background: var(--pine); border: 0; border-radius: var(--radius); padding: 26px 28px; margin: 36px 0; gap: 18px 24px; }
.cta-box::before { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--sun); opacity: .9; }
.cta-title { position: relative; font: 400 23px/1.25 var(--font-head); color: var(--cream-ink); max-width: 22em; }
.cta-box .btn { position: relative; }
.sidebar { top: 104px; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--pine); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); gap: 14px; position: relative; overflow: hidden; }
.side-box::after { content: ""; position: absolute; right: -38px; top: -38px; width: 96px; height: 96px; border-radius: 50%; background: var(--ochre-soft); pointer-events: none; }
.side-title { position: relative; z-index: 1; padding-right: 30px; }
.side-title { font: 400 25px/1.15 var(--font-head); }
.side-text { font-size: 15.5px; }
.side-link { font-weight: 700; color: var(--accent-ink); position: relative; z-index: 1; min-height: 44px; display: inline-flex; align-items: center; }
.side-box .btn { position: relative; z-index: 1; }

/* ---------- Outil (simulateur) ---------- */
.tool { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: 30px 30px 26px; box-shadow: var(--shadow); counter-reset: q; }
.tool .q { counter-increment: q; position: relative; padding-left: 46px; margin-bottom: 24px; }
.tool .q::before { content: counter(q); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--pine); color: var(--sun); display: grid; place-items: center; font: 400 16px/1 var(--font-head); }
.tool .q > label, .tool .q-label, .tool .row label { font-weight: 700; font-size: 16.5px; color: var(--ink); }
.tool .hint { font-size: 14px; color: var(--muted); }
.choices { gap: 10px; }
.choices label { background: #fffdf8; border: 1.5px solid #cdbf9c; border-radius: 999px; padding: 10px 16px; min-height: 44px; font-size: 15.5px; transition: border-color .15s, background-color .15s; }
.choices label:hover { border-color: var(--olive-2); }
.choices label:has(input:checked) { border-color: var(--pine); background: var(--sage-soft); font-weight: 600; }
.choices input, .tool input[type=radio] { accent-color: var(--pine); width: 18px; height: 18px; }
.tool > form > .btn, .tool #old-calc { margin-top: 4px; }
.result { border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--line); background: var(--surface); }
.result.ok { background: var(--ok-bg); border-color: #c3c99a; }
.result.warn { background: var(--warn-bg); border-color: #e2c17d; }
.result.ko { background: var(--ko-bg); border-color: #e3ae95; }
.result-title { font: 400 23px/1.25 var(--font-head); color: var(--ink); }
.result-big { font: 400 clamp(44px, 6vw, 62px)/1 var(--font-head); color: var(--pine); margin: 8px 0 12px; }
.result ul { padding-left: 0; list-style: none; }
.result li { position: relative; padding-left: 22px; margin: 6px 0; }
.result li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--olive-2); }
@media (max-width: 600px) { .tool { padding: 22px 16px 20px; } .tool .q { padding-left: 40px; } }

/* ---------- Mobile et accessibilité ---------- */
@media (max-width: 759px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 36px; }
  .hero-lede { font-size: 18px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .plan-sheet { padding: 8px; transform: rotate(.8deg); }
  .plan-tag { font-size: 10.5px; padding: 4px 7px; }
  .plan figcaption { transform: none; font-size: 17px; }
  .regle { padding-bottom: 64px; }
  .chiffres > div { padding-right: 12px; }
  .chiffres > div:nth-child(even) { padding-left: 14px; }
  .chiffres dd { font-size: 14px; }
  .sec-head { margin-bottom: 32px; }
  .tampon { width: 128px; height: 128px; }
  .tampon span { font-size: 20px; }
  .urgence::after { display: none; }
  .zone-num { font-size: 58px; right: 14px; }
  .zone h3 { padding-right: 70px; }
  .zone-note { padding-top: 178px; min-height: 0; }
  .zone-note img { width: 110px; }
  .coupe { padding: 10px 10px 4px; }
  .prose { font-size: 17.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .prest:hover, .card:hover { transform: none; }
}
