/* ==========================================================================
   COVERIM — charte (cahier des charges §3)
   ========================================================================== */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #0F5A46;
  --mint: #69D3A5;
  --mid: #1C6E58;
  --dark: #0B3F31;
  --tint: #EAF6F0;
  --tint-2: #F5FBF8;
  --text: #10231D;
  --text-2: #4A5B55;
  --on-green: #E3F4EC;
  --border: #DCEDE5;
  --white: #fff;
  --warn-bg: #FFF4E5;
  --warn-border: #F2C98A;
  --warn-text: #6B3E00;
  --error: #B42318;
  --radius: 8px;
  --radius-card: 16px;
  --wrap: 1180px;
  --gutter: 24px;
  --shadow: 0 18px 50px -20px rgba(11, 63, 49, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--mid); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; position: relative; }
.section--tint { background: var(--tint-2); }
.section--green { background: var(--green); color: #fff; overflow: hidden; }
.section--tight { padding: 56px 0; }
.eyebrow { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.section--green .eyebrow, .hero .eyebrow { color: var(--on-green); }
.lead { font-size: 1.05rem; color: var(--text-2); max-width: 620px; }
.muted { color: var(--text-2); }
.small { font-size: .82rem; line-height: 1.5; }
.rule { display: block; width: 52px; height: 3px; background: var(--mint); border-radius: 2px; margin: 26px 0; }

/* Arcs décoratifs */
.arcs { position: absolute; pointer-events: none; width: 420px; height: 420px; border-radius: 50%; border: 44px solid rgba(255,255,255,.06); z-index: 0; }
.arcs::after { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 44px solid rgba(255,255,255,.05); }
.arcs--bl { left: -170px; bottom: -230px; }
.arcs--tr { right: -160px; top: -210px; }
.arcs--br { right: -140px; bottom: -220px; }
.arcs--c { left: 46%; bottom: -260px; }
.arcs--sm { width: 260px; height: 260px; border-width: 30px; }
.arcs--sm::after { inset: 40px; border-width: 30px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid var(--green); background: var(--green); color: #fff; font: 600 .92rem/1.2 "Poppins", sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--tint); color: var(--green); border-color: var(--green); }
.btn--mint { background: var(--mint); border-color: var(--mint); color: var(--dark); }
.btn--mint:hover { background: #80dcb4; border-color: #80dcb4; color: var(--dark); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .85rem; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; color: inherit; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.topbar { background: var(--dark); color: var(--on-green); font-size: .78rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 22px; }
.topbar a:hover { text-decoration: underline; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--green); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; flex-shrink: 0; }
.logo svg { width: 34px; height: 30px; }
.logo--white { color: #fff; }
.logo-img { max-height: 40px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-active { color: var(--green); border-bottom-color: var(--mint); }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: .86rem; }
.nav-toggle, .header-phone { display: none; background: none; border: 0; color: var(--green); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero { display: grid; grid-template-columns: 1.45fr 1fr; min-height: 560px; }
.hero__main { background: var(--green); color: #fff; position: relative; overflow: hidden; padding: 84px 64px 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero__main > * { position: relative; z-index: 1; }
.hero__main h1 { color: #fff; max-width: 540px; }
.hero__main p { color: var(--on-green); max-width: 540px; font-size: 1.05rem; }
.hero__note { font-size: .8rem; color: var(--on-green); margin-top: 20px; }
.hero__side { background: var(--mint); color: var(--dark); padding: 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 56px 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-product { padding: 8px 0 30px; }
.hero-product + .hero-product { border-top: 1px solid rgba(11,63,49,.25); padding-top: 30px; }
.hero-product__num { font-size: 2.2rem; font-weight: 700; line-height: 1; display: block; margin-bottom: 12px; }
.hero-product h2 { font-size: 1.35rem; margin-bottom: 8px; }
.hero-product p { font-size: .9rem; margin-bottom: 14px; }
.hero-product .link-arrow { color: var(--dark); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 52px 0; }
.stat strong { display: block; font-size: 2.3rem; font-weight: 700; color: var(--green); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--text-2); display: block; max-width: 220px; margin-top: 6px; }
.stats-band { border-bottom: 1px solid var(--border); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; }
.card--tint { background: var(--tint); border-color: transparent; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.card__head h3 { margin: 0; font-size: 1.2rem; }
.card__head span { font-size: .8rem; color: var(--text-2); }

/* Tableaux */
.table-wrap { overflow-x: auto; border-radius: 10px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ptable thead th { background: var(--green); color: #fff; font-weight: 600; text-align: left; padding: 13px 16px; font-size: .84rem; }
.ptable thead th:first-child { border-top-left-radius: 8px; }
.ptable thead th:last-child { border-top-right-radius: 8px; }
.ptable td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable .strong { font-weight: 700; }
.ptable .sub th { background: var(--tint-2); color: var(--text-2); font-weight: 500; font-size: .8rem; padding: 9px 16px; }
.ptable--card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.table-caption { font-size: .8rem; color: var(--text-2); margin-top: 12px; }
.card .btn-row { margin-top: 22px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.step { border-top: 3px solid var(--mint); padding-top: 18px; }
.step__num { font-size: .8rem; font-weight: 700; color: var(--mid); display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .87rem; color: var(--text-2); margin: 0; }

/* Cabinet (fond vert) */
.cabinet-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
.section--green h2 { color: #fff; }
.section--green p, .section--green li { color: var(--on-green); }
.dot-list { list-style: none; font-size: .9rem; }
.dot-list li { padding: 4px 0 4px 16px; position: relative; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 22px; }
.value h3 { color: var(--mint); font-size: 1.15rem; margin-bottom: 8px; }
.value p { font-size: .87rem; margin: 0; }

.insurers { text-align: center; }
.insurers__list { font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); max-width: 900px; margin: 0 auto 14px; line-height: 1.9; }

/* Avis */
.review { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.review blockquote { margin: 0 0 18px; font-size: .95rem; }
/* Avis Google */
.stars { position: relative; display: inline-block; font-size: 1.15rem; line-height: 1; letter-spacing: 2px; color: #D5DCD9; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--r, 100%); overflow: hidden; white-space: nowrap; color: #F5B400; }
.greviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.greviews__score { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; color: var(--text); text-decoration: none; font-size: .9rem; }
.greviews__score:hover { border-color: var(--green); }
.greviews__src { font-weight: 600; }
.greviews__note { display: inline-flex; align-items: center; gap: 8px; }
.greviews__note strong { font-size: 1.1rem; }
.greviews__count { color: var(--text-2); }
.greviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; margin-top: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.greview { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.greview__top { display: flex; align-items: center; gap: 14px; }
.greview__av { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; }
.greview__name { display: block; font-weight: 600; color: var(--text); text-decoration: none; }
a.greview__name:hover { text-decoration: underline; }
.greview__date { display: block; font-size: .85rem; color: var(--text-2); }
.greview blockquote { margin: 0; font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.greviews__legal { margin-top: 14px; }
@media (max-width: 960px) { .greviews { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .greviews { grid-auto-columns: 86%; } }
.review cite { font-style: normal; font-weight: 600; font-size: .85rem; }

/* Ressources */
.resources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.resource { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; min-height: 78px; }
.resource:hover { border-color: var(--mint); box-shadow: 0 6px 20px -12px rgba(15,90,70,.4); color: var(--text); }
.resource .ico { color: var(--green); flex-shrink: 0; }
.resource strong { display: block; font-size: .88rem; line-height: 1.3; }
.resource span { font-size: .75rem; color: var(--text-2); }
.resource.is-disabled { opacity: .55; pointer-events: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 48px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: .95rem; list-style: none; display: flex; gap: 10px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸"; color: var(--green); transition: transform .15s; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details > div { padding: 0 22px 18px 42px; font-size: .9rem; color: var(--text-2); }

/* Bandeau partenaires */
.partner-band { background: var(--mint); color: var(--dark); padding: 40px 0; }
.partner-band .wrap { display: flex; align-items: center; gap: 28px; }
.partner-band__big { font-size: 3.4rem; font-weight: 700; line-height: 1; }
.partner-band h2 { font-size: 1.15rem; margin: 0 0 4px; }
.partner-band p { margin: 0; font-size: .9rem; max-width: 520px; }
.partner-band .btn { margin-left: auto; }

/* Pied de page */
.site-footer { background: var(--dark); color: var(--on-green); padding: 56px 0 30px; font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--on-green); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-top: 14px; line-height: 1.7; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .74rem; line-height: 1.6; color: #b9d9cb; }

/* ==========================================================================
   Pages produit
   ========================================================================== */
.phero { background: var(--green); color: #fff; position: relative; overflow: hidden; padding: 72px 0 80px; }
.phero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
.phero h1 { color: #fff; }
.phero p { color: var(--on-green); font-size: 1.02rem; }
.phero__note { background: rgba(255,255,255,.08); border-radius: 10px; padding: 16px 20px; font-size: .88rem; color: var(--on-green); }
.badges { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.badges li { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--on-green); }
.badge { display: inline-block; background: var(--mint); color: var(--dark); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; flex-shrink: 0; margin-top: 2px; }
.badge--soft { background: var(--tint); color: var(--green); }

.estimator { background: #fff; color: var(--text); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.estimator h2 { font-size: 1.25rem; margin-bottom: 4px; }
.estimator__sub { font-size: .82rem; color: var(--text-2); margin-bottom: 20px; }
.field-label { display: block; font-weight: 600; font-size: .86rem; margin: 18px 0 10px; }
.field-label small { font-weight: 400; color: var(--text-2); }
.result { background: var(--tint); border-radius: 12px; padding: 20px 22px; margin: 22px 0 16px; }
.result__label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); }
.result__value { font-size: 2.3rem; font-weight: 700; color: var(--green); line-height: 1.15; margin: 6px 0; }
.result__value small { font-size: 1rem; font-weight: 500; }
.result__detail { font-size: .82rem; color: var(--text-2); }
.result__detail hr { border: 0; border-top: 1px solid var(--border); margin: 10px 0; }
.result__micro { font-size: .8rem; background: #fff; border-radius: 8px; padding: 8px 12px; margin-top: 10px; }
.mention { font-size: .72rem; color: var(--text-2); line-height: 1.5; margin: 12px 0 0; }

/* Pastilles (chips) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--border); border-radius: 999px; font-size: .86rem; cursor: pointer; background: #fff; transition: all .12s; user-select: none; }
.chip span:hover { border-color: var(--mint); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; font-weight: 500; }
.chip input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.chips--sm .chip span { min-height: 40px; padding: 0 14px; font-size: .8rem; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .88rem; padding: 6px 0; min-height: 44px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex-shrink: 0; }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); }
.opt-row:last-child { border-bottom: 0; }
.opt-row .check { flex: 1; align-items: center; }
.opt-row .price { font-weight: 600; font-size: .86rem; white-space: nowrap; }

.range-head { display: flex; justify-content: space-between; align-items: baseline; }
.range-head output { font-weight: 700; color: var(--green); font-size: .95rem; }
input[type=range] { width: 100%; accent-color: var(--green); height: 32px; }
.range-input { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.range-input input { max-width: 170px; }

.factors { list-style: none; counter-reset: f; }
.factors li { counter-increment: f; position: relative; padding-left: 48px; margin-bottom: 18px; font-size: .92rem; color: var(--text-2); }
.factors li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: var(--dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.factors strong, .factors-plain strong { color: var(--text); }
.factors-plain p { font-size: .92rem; color: var(--text-2); margin-bottom: 14px; }
.pieces { background: var(--green); color: #fff; border-radius: 18px; padding: 34px; position: relative; overflow: hidden; }
.pieces h3 { color: #fff; font-size: 1.3rem; }
.pieces ul { list-style: none; margin: 16px 0 22px; position: relative; z-index: 1; }
.pieces li { display: flex; gap: 10px; font-size: .88rem; color: var(--on-green); padding: 5px 0; }
.pieces li .ico { color: var(--mint); flex-shrink: 0; margin-top: 2px; }
.pieces p { color: var(--on-green); font-size: .86rem; position: relative; z-index: 1; }
.pieces .btn { position: relative; z-index: 1; }

.gar-card h3 { font-size: 1.5rem; color: var(--green); margin-bottom: 2px; }
.gar-card h4 { font-size: 1rem; margin-bottom: 10px; }
.gar-card p { font-size: .86rem; color: var(--text-2); }
.gar-card .rule-txt { font-size: .82rem; font-weight: 600; color: var(--text); margin: 0; }

/* Pages de contenu */
.page-hero { background: var(--green); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: var(--on-green); max-width: 680px; font-size: 1.02rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .3em; }
.todo { background: var(--warn-bg); border: 1px dashed var(--warn-border); color: var(--warn-text); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.callout { background: var(--tint); border-radius: 12px; padding: 18px 22px; font-size: .88rem; color: var(--text-2); }

.partner-hero { display: grid; grid-template-columns: 1.2fr 1fr; }
.partner-hero .hero__main { padding-right: 64px; }
.partner-stats { background: var(--mint); color: var(--dark); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-content: center; padding: 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 64px 56px; }
.partner-stats strong { font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 8px; }
.partner-stats span { font-size: .85rem; }

/* Formulaires */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form .full { grid-column: 1 / -1; }
.f label, .f .label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.f .hint { font-size: .76rem; color: var(--text-2); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #CFE3DA; border-radius: var(--radius); font: inherit; font-size: .92rem; color: var(--text); background: #fff; transition: border-color .12s; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(105, 211, 165, .35); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2310231D' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.f.has-error input, .f.has-error select, .f.has-error textarea { border-color: var(--error); }
.err { color: var(--error); font-size: .78rem; margin-top: 4px; display: block; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { padding: 14px 18px; border-radius: 10px; font-size: .9rem; }
.form-msg--ok { background: var(--tint); color: var(--green); }
.form-msg--err { background: #FDECEA; color: var(--error); }

/* Bandeau mobile fixe */
.mobile-bar { display: none; }

/* ==========================================================================
   Tunnels de souscription
   ========================================================================== */
.tunnel-body { background: var(--tint-2); }
.t-header { background: #fff; border-bottom: 1px solid var(--border); }
.t-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.t-header__title { color: var(--green); font-weight: 600; font-size: 1rem; padding-left: 20px; border-left: 1px solid var(--border); }
.t-header__help { margin-left: auto; font-size: .88rem; display: flex; gap: 22px; align-items: center; }
.t-header__help a { font-weight: 600; }
.t-steps { background: #fff; border-bottom: 1px solid var(--border); }
.t-steps ol { list-style: none; display: flex; gap: 28px; margin: 0; padding: 18px 0; overflow-x: auto; scrollbar-width: none; }
.t-steps li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-2); white-space: nowrap; }
.t-steps li .n { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--green); font-weight: 600; font-size: .82rem; display: flex; align-items: center; justify-content: center; }
.t-steps li.is-current { color: var(--text); font-weight: 600; }
.t-steps li.is-current .n { background: var(--green); color: #fff; }
.t-steps li.is-done .n { background: var(--mint); color: var(--dark); }
.t-steps li button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.t-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 40px 0 80px; align-items: start; }
.t-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 44px; }
.t-card h1 { font-size: 1.85rem; }
.t-card > p.intro { color: var(--text-2); margin-bottom: 26px; }
.t-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 20px; }
.t-fields .f { grid-column: span 3; }
.t-fields .f--third { grid-column: span 1; }
.t-fields .f--half { grid-column: span 1; }
@supports (grid-template-columns: subgrid) { }
.t-fields .f--twothird { grid-column: span 2; }
.t-fields .f > .label { font-size: .9rem; margin-bottom: 10px; }
.t-fields .f > .label small { font-weight: 400; color: var(--text-2); }
.t-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); margin-top: 36px; padding-top: 26px; }
.t-alert { background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); padding: 12px 16px; border-radius: 10px; font-size: .85rem; }
.t-info { background: var(--tint); color: var(--green); padding: 12px 16px; border-radius: 10px; font-size: .85rem; }
.t-heading { grid-column: 1 / -1; font-size: 1.05rem; margin: 14px 0 -4px; padding-top: 14px; border-top: 1px solid var(--border); }
.t-aside { display: grid; gap: 18px; position: sticky; top: 24px; }
.t-est { background: var(--green); color: #fff; border-radius: 18px; padding: 30px; position: relative; overflow: hidden; }
.t-est .result__label { color: var(--on-green); }
.t-est__value { font-size: 2.5rem; font-weight: 700; line-height: 1.15; margin: 10px 0 8px; }
.t-est__value small { font-size: 1rem; font-weight: 500; }
.t-est p { font-size: .86rem; color: var(--on-green); margin: 0; position: relative; z-index: 1; }
.t-est hr { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 16px 0; }
.broker { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px 26px; }
.broker__av { width: 56px; height: 56px; border-radius: 50%; background: var(--tint); color: var(--green); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.broker strong { display: block; }
.broker span { display: block; font-size: .88rem; }
.broker a { display: block; overflow-wrap: anywhere; }
.t-tip { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px 26px; font-size: .88rem; }
.t-tip strong { display: block; margin-bottom: 4px; }
.t-legal { font-size: .74rem; color: var(--text-2); }

.upload { border: 1.5px dashed #BFDCCF; border-radius: 12px; padding: 18px; background: var(--tint-2); }
.upload__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.upload__head strong { font-size: .92rem; }
.upload__req { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 99px; }
.upload__req--yes { background: var(--green); color: #fff; }
.upload__req--no { background: var(--tint); color: var(--green); }
.upload__note { font-size: .78rem; color: var(--text-2); margin: 4px 0 10px; }
.upload__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.upload__btns label { cursor: pointer; }
.upload__btns input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__btns label:focus-within { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 8px; }
.files { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.files li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: .82rem; }
.files li .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li button { background: none; border: 0; color: var(--error); cursor: pointer; font-size: .8rem; min-height: 32px; }
.files li.is-uploading { opacity: .6; }
.pieces-grid { display: grid; gap: 14px; }

.repeater { display: grid; gap: 12px; }
.rep-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr .9fr auto; gap: 10px; align-items: end; background: var(--tint-2); padding: 14px; border-radius: 12px; }
.rep-row label { font-size: .74rem; font-weight: 600; display: block; margin-bottom: 4px; }
.rep-row .rm { background: none; border: 0; color: var(--error); cursor: pointer; min-height: 48px; padding: 0 8px; font-size: .82rem; }

.recap { display: grid; gap: 16px; }
.recap section { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.recap h3 { font-size: .95rem; display: flex; justify-content: space-between; margin-bottom: 8px; }
.recap h3 button { background: none; border: 0; color: var(--green); font: 600 .8rem "Poppins", sans-serif; cursor: pointer; text-decoration: underline; }
.recap dl { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: 6px 16px; font-size: .84rem; margin: 0; }
.recap dt { color: var(--text-2); }
.recap dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.fees { background: var(--tint); border-radius: 12px; padding: 18px 20px; font-size: .88rem; }
.consents { display: grid; gap: 4px; }

.confirm { text-align: center; padding: 20px 0; }
.confirm__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: var(--dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.confirm ol { text-align: left; max-width: 520px; margin: 26px auto; padding: 0; list-style: none; counter-reset: c; }
.confirm ol li { counter-increment: c; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.confirm ol li::before { content: counter(c); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--green); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .82rem; }
.saving { font-size: .76rem; color: var(--text-2); min-height: 1.2em; }
.t-mobile-est { display: none; }

/* Espace client */
.ec-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ec-features .card h3 { font-size: 1rem; }
.ec-features .card p { font-size: .86rem; color: var(--text-2); margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: .85rem; }
  .header-cta .btn--ghost { display: none; }
}
@media (max-width: 960px) {
  .topbar { display: none; }
  .nav, .header-cta { display: none; }
  .nav-toggle, .header-phone { display: inline-flex; }
  .header-phone { margin-left: auto; }
  .site-header .wrap { min-height: 64px; gap: 4px; }
  .mobile-nav { position: fixed; inset: 64px 0 0; background: #fff; z-index: 60; padding: 24px var(--gutter); overflow-y: auto; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 500; }
  .mobile-nav .btn-row { margin-top: 20px; }
  .mobile-nav .btn { flex: 1; }
  .hero, .partner-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__main { padding: 52px var(--gutter) 48px; }
  .hero__side { padding: 22px var(--gutter); gap: 14px; }
  .hero-product { background: #fff; border-radius: 16px; padding: 22px !important; border: 0 !important; }
  .hero-product__num { font-size: .8rem; color: var(--mid); margin-bottom: 6px; }
  .hero-product .btn { width: 100%; }
  .partner-stats { padding: 40px var(--gutter); }
  .stats, .grid-4, .steps, .resources { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .cabinet-grid, .faq-grid, .phero .wrap, .footer-grid, .ec-features { grid-template-columns: 1fr; }
  .cabinet-grid { gap: 32px; }
  .section { padding: 60px 0; }
  .phero { padding: 48px 0 40px; }
  .partner-band .wrap { flex-wrap: wrap; }
  .partner-band .btn { margin-left: 0; }
  .t-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .t-aside { position: static; }
  .t-aside .t-est { display: none; }
  .t-mobile-est { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--green); color: #fff; padding: 12px var(--gutter); justify-content: space-between; align-items: center; font-size: .82rem; box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
  .t-mobile-est strong { font-size: 1.2rem; }
  .tunnel-body { padding-bottom: 64px; }
  .t-header__help .hide-m { display: none; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(11,63,49,.12); }
  .mobile-bar .btn { flex: 1; padding: 0 10px; }
  body.has-mobile-bar { padding-bottom: 72px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .t-header .wrap { min-height: 60px; gap: 12px; }
  .t-header__title { display: none; }
  .t-card { padding: 24px 18px; border-radius: 14px; }
  .t-fields { grid-template-columns: 1fr; }
  .t-fields .f, .t-fields .f--third, .t-fields .f--half, .t-fields .f--twothird { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .resources { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .rep-row { grid-template-columns: 1fr 1fr; }
  .rep-row .rm { grid-column: 1 / -1; min-height: 36px; }
  .estimator { padding: 22px 18px; }
  .result__value { font-size: 2rem; }
  .card { padding: 22px 18px; }
  .ptable td, .ptable thead th { padding: 11px 10px; }
  .recap dl { grid-template-columns: 1fr; gap: 0 0; }
  .recap dd { margin-bottom: 8px; }
  .t-nav .btn { flex: 1; }
  .stat strong { font-size: 1.9rem; }
  .partner-band__big { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .topbar, .site-footer, .mobile-bar, .partner-band { display: none !important; }
}

/* Rappel des avis Google dans le hero */
.hero__reviews { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; text-decoration: none; font-size: .9rem; position: relative; z-index: 1; transition: border-color .2s, background .2s; }
.hero__reviews:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.06); }
.hero__reviews strong { font-weight: 700; }
#avis { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Tunnel : libellés des boutons de dépôt centrés (la règle .f label imposait display:block) */
.f label.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; margin-bottom: 0; }
.upload__head { align-items: center; }

/* Tunnel : modification d'un dossier déjà envoyé */
.t-edit-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--tint); }
.t-edit-box strong { display: block; font-size: .92rem; }
.t-edit-box p { margin: 4px 0 0; font-size: .82rem; color: var(--text-2); }
.t-edit-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.t-edit-banner { margin: 0 0 18px; }
.t-edit-cancel { margin-top: 8px; text-align: center; }
.t-edit-cancel button { background: none; border: 0; color: var(--green); font: 600 .82rem "Poppins", sans-serif; text-decoration: underline; cursor: pointer; min-height: 40px; }
.err[hidden] { display: none !important; }
.t-dup-new { display: block; margin-top: 8px; background: none; border: 0; padding: 0; color: var(--green); font: 600 .82rem 'Poppins', sans-serif; text-decoration: underline; cursor: pointer; text-align: left; }
