/* Polices hébergées sur le site (licence SIL OFL), rien n'est chargé chez Google */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/fraunces.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/fraunces-italic.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope.woff2) format("woff2"); }

:root {
  --ink: #2b2b2a;
  --ink-soft: #5c5a55;
  --anthracite: #3c3c3b;
  --taupe: #b8ad97;
  --taupe-deep: #8a7f68;
  --taupe-light: #e9e4da;
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --line: rgba(60, 60, 59, .14);
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--anthracite); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em.accent { font-style: italic; color: var(--taupe-deep); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-deep); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 249, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo img { height: 40px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current] { color: var(--anthracite); }
.nav a.btn-dark, .nav a.btn-dark:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--anthracite); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1.5px solid var(--anthracite); transition: transform .15s ease, background .2s, color .2s; cursor: pointer; font-family: var(--sans); }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--anthracite); color: #fff; }
.btn-dark:hover { background: #222; }
.btn-ghost { background: transparent; color: var(--anthracite); }
.btn-ghost:hover { background: var(--anthracite); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 84px 0 96px; }
.hero h1 { margin-bottom: .45em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.reassure { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: var(--ink-soft); padding: 0; margin: 0; list-style: none; }
.reassure li { display: flex; gap: 8px; align-items: center; }
.reassure li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--taupe); }
.hero-art { position: relative; }
.hero-card { position: absolute; left: -10px; top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: 0 18px 40px -22px rgba(40, 35, 25, .45); display: flex; gap: 14px; align-items: center; max-width: 290px; }
.hero-card b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--anthracite); line-height: 1; }
.hero-card span { font-size: .85rem; color: var(--ink-soft); line-height: 1.35; }

/* sections */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.alt { background: var(--cream); }
.dark { background: var(--anthracite); color: #e9e6df; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--taupe); }
.dark .lead { color: #c9c4b8; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.4rem; color: var(--anthracite); line-height: 1.05; }
.stat span { font-size: .92rem; color: var(--ink-soft); }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(40, 35, 25, .45); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--taupe-light); display: grid; place-items: center; margin-bottom: 18px; }
.card .ico svg { width: 26px; height: 26px; }
.card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--anthracite); color: #fff; font-size: .75rem; display: grid; place-items: center; margin-top: 3px; }
.dark .checks li::before { background: var(--taupe); color: var(--anthracite); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 3.2rem; color: var(--taupe); line-height: 1; display: block; margin-bottom: 14px; }
.step p { color: #c9c4b8; }

/* price */
.price { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.price-main { padding: 48px; }
.price-side { background: var(--taupe-light); padding: 48px; }
.big-rate { font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 5.6rem); line-height: 1; color: var(--anthracite); }
.big-rate small { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); margin-left: 6px; }

/* zone */
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.towns span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .9rem; background: var(--paper); }

/* cta band */
.cta-band { background: var(--anthracite); color: #fff; border-radius: 26px; padding: 64px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: #c9c4b8; margin: 0; }
.cta-band .btn-dark { background: var(--taupe); border-color: var(--taupe); color: var(--anthracite); }
.cta-band .btn-dark:hover { background: #fff; border-color: #fff; }

/* faq */
details.faq { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--taupe-deep); line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { color: var(--ink-soft); margin: 12px 0 0; }

/* page head */
.page-head { background: var(--cream); padding: 72px 0 64px; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }

/* form */
.form-shell { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 40px; }
.progress { display: flex; gap: 8px; margin-bottom: 30px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--taupe-light); transition: background .3s; }
.progress span.on { background: var(--anthracite); }
.step-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-deep); }
fieldset { border: 0; padding: 0; margin: 0; }
fieldset[hidden] { display: none; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 8px; }
.fields .full { grid-column: 1 / -1; }
label.f { display: grid; gap: 7px; font-size: .9rem; font-weight: 700; color: var(--anthracite); }
label.f small { font-weight: 500; color: var(--ink-soft); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { font: inherit; font-weight: 500; width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--anthracite); }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; font-weight: 700; font-size: .92rem; background: #fff; transition: border-color .2s, background .2s; }
.choice span svg { width: 34px; height: 34px; }
.choice input:checked + span { border-color: var(--anthracite); background: var(--taupe-light); }
.choice input:focus-visible + span { outline: 2px solid var(--taupe-deep); outline-offset: 2px; }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--ink-soft); align-items: flex-start; }
.consent input { margin-top: 4px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.error { color: #a32d2d; font-size: .88rem; font-weight: 600; min-height: 1.2em; margin-top: 10px; }
.aside-card { background: var(--cream); border-radius: 18px; padding: 28px; position: sticky; top: 100px; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card ul { padding-left: 18px; margin: 0; color: var(--ink-soft); font-size: .95rem; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks h2 { margin-top: 18px; }

/* tables */
table.fees { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.fees th, table.fees td { text-align: left; padding: 15px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.fees th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-deep); }
.todo { background: #fff3cd; color: #6b4f00; padding: 1px 6px; border-radius: 6px; font-size: .85em; font-weight: 700; }

/* footer */
footer { background: #262625; color: #b9b5ac; font-size: .92rem; padding: 72px 0 34px; margin-top: 0; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
footer a { text-decoration: none; color: #b9b5ac; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer .logo-foot { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
footer .logo-foot img { height: 28px; width: auto; }
footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: .8rem; color: #8d897f; line-height: 1.6; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap, .split, .price, .form-shell, .cta-band { grid-template-columns: 1fr; }
  .hero .wrap { padding: 56px 0 64px; gap: 36px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
  .hero-card { left: 10px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px 22px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1.05rem; }
  .menu-btn { display: block; }
  .grid-3, .steps, .fields { grid-template-columns: 1fr; }
  .price-main, .price-side, .form-card, .cta-band { padding: 28px 22px; }
  footer .cols { grid-template-columns: 1fr; }
  .top .wrap { height: 64px; }
  .nav { top: 64px; }
  .logo img { height: 28px; }
}
