/* Paris Relais Club — feuille de style */
:root {
  --ink: #14213d;
  --ink-soft: #2b3a5c;
  --brass: #c49a5a;
  --brass-dark: #9c7536;
  --paper: #faf7f2;
  --card: #ffffff;
  --line: #e6dfd3;
  --muted: #6b7180;
  --ok: #2f7d5b;
  --err: #b4443a;
  --info: #2f5d8a;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 8px 24px rgba(20, 33, 61, .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .75em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brass-dark); font-weight: 600; margin-bottom: .75em; display: block; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.page-head { padding: 48px 0 24px; }
.page-head p { color: var(--muted); max-width: 640px; }

/* En-tête */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-text { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text em { font-style: italic; color: var(--brass); font-weight: 500; }
.brand-footer .brand-text { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: .94rem; }
.main-nav a { color: #e9ecf3; text-decoration: none; }
.main-nav a:hover { color: var(--brass); }
.nav-msg { position: relative; }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--brass); color: var(--ink); font-size: .75rem; font-weight: 600; text-align: center; }
.inline-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #aeb6c8; cursor: pointer; }
.link-button:hover { color: var(--brass); }
.nav-toggle, .nav-burger { display: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--brass); background: var(--brass); color: var(--ink) !important; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; font-family: var(--sans); transition: background .15s, transform .15s; }
.btn:hover { background: #d4ad70; transform: translateY(-1px); }
.btn-small { padding: 7px 16px; font-size: .88rem; }
.btn-outline { background: transparent; color: inherit !important; }
.main-nav .btn-outline { color: #fff !important; }
.btn-outline:hover { background: rgba(196, 154, 90, .12); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink) !important; }
.btn-danger { background: transparent; border-color: var(--err); color: var(--err) !important; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Messages flash */
.flashes { margin-top: 20px; }
.flash { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 10px; border-left: 4px solid; background: #fff; box-shadow: var(--shadow); }
.flash-success { border-color: var(--ok); }
.flash-error { border-color: var(--err); }
.flash-info { border-color: var(--info); }

/* Accueil */
.hero { background: var(--ink); color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 2px solid rgba(196, 154, 90, .35); box-shadow: -120px 60px 0 -2px var(--ink), -120px 60px 0 0 rgba(255,255,255,.12); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero h1 em { color: var(--brass); font-style: italic; font-weight: 500; }
.hero p.lead { color: #c9cfdc; font-size: 1.15rem; max-width: 560px; }
.hero .actions { margin-top: 28px; }
.hero .btn-outline { color: #fff !important; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px; backdrop-filter: blur(4px); }
.hero-card h3 { color: #fff; font-size: 1.1rem; }
.hero-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #c9cfdc; }
.hero-stat strong { font-family: var(--serif); font-size: 1.6rem; color: #fff; font-weight: 600; }
.hero-stat:last-child { border-bottom: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; color: #aeb6c8; font-size: .88rem; }
.trust span::before { content: "✓"; color: var(--brass); margin-right: 8px; font-weight: 700; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .num { font-family: var(--serif); font-size: 2.2rem; color: var(--brass); line-height: 1; margin-bottom: 12px; display: block; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.audience { border-radius: 18px; padding: 36px; }
.audience-buyer { background: var(--ink); color: #fff; }
.audience-buyer h3, .audience-buyer h2 { color: #fff; }
.audience-buyer p, .audience-buyer li { color: #c9cfdc; }
.audience-seller { background: #fff; border: 1px solid var(--line); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding: 8px 0 8px 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 9px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg); }
.quote-band { background: #f1ebe0; }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; }

/* Cartes d'annonces */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.listing-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s, border-color .15s; }
.listing-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brass); color: var(--ink); }
.listing-card h3 { font-size: 1.15rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: #f1ebe0; color: var(--ink-soft); font-weight: 500; }
.tag-dark { background: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.kpi span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.ref { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* Recherche */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding-bottom: 72px; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; }
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); }

/* Formulaires */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=datetime-local], select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(196, 154, 90, .2); }
textarea { min-height: 120px; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.error-text { color: var(--err); font-size: .84rem; margin-top: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 5px; accent-color: var(--brass-dark); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 14px; padding: 0; }
.fieldset-note { background: #f6f1e7; border-radius: 10px; padding: 12px 16px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 16px; }
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.role-picker label { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; display: block; }
.role-picker input { position: absolute; opacity: 0; }
.role-picker input:checked + span { color: var(--ink); }
.role-picker label:has(input:checked) { border-color: var(--brass); background: #fbf6ee; box-shadow: 0 0 0 3px rgba(196,154,90,.15); }
.role-picker strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.role-picker small { color: var(--muted); }
.auth-wrap { padding: 56px 0 80px; }

/* Fiche annonce */
.listing-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; padding-bottom: 72px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.panel h2 { font-size: 1.35rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.fact { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact span { display: block; font-size: .78rem; color: var(--muted); }
.fact strong { font-weight: 600; }
.locked { position: relative; background: repeating-linear-gradient(135deg, #f6f1e7, #f6f1e7 10px, #f1ebe0 10px, #f1ebe0 20px); border: 1px dashed var(--brass); border-radius: var(--radius); padding: 26px; }
.locked h3 { display: flex; align-items: center; gap: 10px; }
.sidebar-sticky { position: sticky; top: 88px; }
.price-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.price-box .label { color: #aeb6c8; font-weight: 500; font-size: .82rem; }
.price-box .price { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.prewrap { white-space: pre-line; }
.nda-text { font-size: .88rem; max-height: 220px; overflow: auto; background: #fbf9f5; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }

/* Tableau de bord */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 40px 0 24px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat-card span { font-size: .8rem; color: var(--muted); }
.stat-card strong { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
table.data { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .92rem; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: #f6f1e7; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }
.status { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status-published { background: #e3f1ea; color: var(--ok); }
.status-pending { background: #fbf0dc; color: #8a6420; }
.status-rejected { background: #f8e3e1; color: var(--err); }
.status-closed { background: #eceef2; color: var(--muted); }
.callout { background: #fbf6ee; border: 1px solid #ecdcc0; border-radius: var(--radius); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs a { padding: 10px 16px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.tabs a.active { color: var(--ink); border-color: var(--brass); }

/* Messagerie */
.conv-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.conv-item { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.conv-item:last-child { border-bottom: 0; }
.conv-item:hover { background: #fbf9f5; color: var(--ink); }
.conv-item.unread strong { color: var(--brass-dark); }
.thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.bubble { max-width: 78%; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.bubble.mine { align-self: flex-end; background: var(--ink); color: #fff; border-color: var(--ink); }
.bubble .meta { font-size: .76rem; opacity: .65; margin-top: 6px; }

/* Club */
.event { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event-date { min-width: 64px; text-align: center; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 6px; }
.event-date strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.event-date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brass); }
.resource { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.resource:last-child { border-bottom: 0; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 34px; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--brass); box-shadow: var(--shadow); }
.plan .amount { font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1; }
.plan .amount small { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan .btn { margin-top: auto; }

/* Pages de texte */
.prose { padding-bottom: 72px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose p, .prose li { color: #343b4c; }

/* Pied de page */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid a { display: block; text-decoration: none; color: var(--ink-soft); padding: 3px 0; font-size: .92rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: .8rem; }

/* Mobile */
@media (max-width: 900px) {
  .hero-grid, .split, .listing-layout, .search-layout, .grid-3, .grid-2, .pricing, .footer-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .filters, .sidebar-sticky { position: static; }
  .hero { padding: 56px 0 64px; }
  .hero::after { display: none; }
  .row-2, .row-3, .role-picker { grid-template-columns: 1fr; }
  .nav-burger { display: block; width: 28px; height: 20px; position: relative; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 28px; height: 2px; background: #fff; }
  .nav-burger span { top: 9px; } .nav-burger span::before { top: -8px; } .nav-burger span::after { top: 8px; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 16px 20px 24px; gap: 14px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .bubble { max-width: 92%; }
  table.data { display: block; overflow-x: auto; }
}

/* Connexion avec un compte externe */
.social-buttons { display: grid; gap: 10px; margin-bottom: 6px; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 500; text-decoration: none; transition: border-color .15s, background .15s; }
.btn-social:hover { border-color: var(--ink-soft); background: #fbf9f5; color: var(--ink); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.linked { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.linked:last-child { border-bottom: 0; }

/* Liste d'attente */
.waitlist-band { background: var(--ink); color: #fff; }
.waitlist-band h2 { color: #fff; }
.waitlist-band p, .waitlist-band .check { color: #c9cfdc; }
.waitlist-band .check a { color: #fff; }
.waitlist-row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; margin-bottom: 12px; }
.waitlist .check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .waitlist-row { grid-template-columns: 1fr; } }

/* Newsletter en pied de page */
.footer-newsletter { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.newsletter-footer { max-width: 760px; }
.newsletter-row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; margin-bottom: 10px; }
.newsletter-footer .check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
@media (max-width: 900px) { .newsletter-row { grid-template-columns: 1fr; } }

/* ---------- Outil d'estimation ---------- */
.valuation-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 72px; }
.valuation-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.input-euro { position: relative; }
.input-euro input { padding-right: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.input-euro span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.valuation-result { border-color: var(--brass); scroll-margin-top: 88px; }
.valuation-figure { background: var(--ink); color: #fff; border-radius: 12px; padding: 20px 22px; margin-bottom: 18px; }
.valuation-figure span { font-size: .82rem; opacity: .75; display: block; }
.valuation-figure strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--brass); line-height: 1.2; }
.valuation-figure small { opacity: .8; }
table.valuation-table td, table.valuation-table th { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.valuation-table { font-size: .84rem; }
table.valuation-table { display: block; overflow-x: auto; }
table.valuation-table td, table.valuation-table th { padding: 9px 7px; }
table.valuation-table td:first-child, table.valuation-table th:first-child { text-align: left; white-space: normal; min-width: 8.5em; width: 100%; }
table.valuation-table th { font-size: .72rem; }
.valuation-table tr.total td { background: #f6f1e7; }
.cur-note { text-transform: none; letter-spacing: 0; font-weight: 500; }
.valuation-table .cur { display: none; }
.valuation-detail { margin-top: 16px; }
.valuation-detail summary { cursor: pointer; font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.valuation-detail table.data td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.valuation-help h3 { margin-top: 0; }
.valuation-help h3 + p, .valuation-help ul + p { margin-top: 0; }
.formula { background: #f6f1e7; border-radius: 10px; padding: 12px 16px; font-weight: 600; text-align: center; }
legend .legend-opt { font-family: var(--sans); font-size: .78rem; font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.criterion { margin-bottom: 16px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.segmented label { display: block; margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; font-size: .84rem; font-weight: 500; line-height: 1.3; color: var(--ink-soft); background: #fff; transition: border-color .15s, background .15s; }
.segmented label:hover span { border-color: var(--brass); }
.segmented input:checked + span { border-color: var(--brass); background: #fbf6ee; color: var(--ink); box-shadow: 0 0 0 3px rgba(196, 154, 90, .15); font-weight: 600; }
.segmented input:focus-visible + span { outline: 2px solid var(--brass-dark); outline-offset: 2px; }
.valuation-placeholder { border-style: dashed; box-shadow: none; }
.valuation-warning { border-left: 3px solid var(--err); background: #fbefed; border-radius: 8px; padding: 10px 14px; font-size: .82rem; color: var(--ink-soft); margin: 14px 0 0; }
.valuation-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 8px 28px rgba(20, 33, 61, .3); white-space: nowrap; }
.valuation-bar[hidden] { display: none; }
.valuation-bar:hover { color: #fff; }
.valuation-bar span { font-size: .8rem; opacity: .75; }
.valuation-bar strong { font-family: var(--serif); font-size: 1.25rem; color: var(--brass); }
.valuation-bar em { font-style: normal; font-size: .8rem; text-decoration: underline; text-decoration-color: var(--brass); }
.valuation-send, .valuation-next { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.valuation-send h3, .valuation-next h3 { font-size: 1.05rem; margin-bottom: 12px; }
@media (max-width: 900px) {
  .valuation-layout { grid-template-columns: minmax(0, 1fr); }
  .valuation-table { font-size: .8rem; }
  table.valuation-table td, table.valuation-table th { padding: 8px 5px; }
  table.valuation-table td:first-child, table.valuation-table th:first-child { min-width: 6.5em; padding-left: 10px; }
  table.valuation-table th { white-space: normal; font-size: .7rem; }
  .form-card { padding: 22px 18px; }
  .valuation-side { position: static; }
  .segmented { grid-template-columns: 1fr; }
  .valuation-bar { left: 12px; right: 12px; transform: none; justify-content: space-between; border-radius: 14px; gap: 10px; }
  .valuation-bar span { display: none; }
}
@media print {
  .site-header, .site-footer, .flashes, .no-print { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .valuation-layout { display: block; padding: 0; }
  .valuation-side { position: static; display: block; }
  .form-card { box-shadow: none; border: 0; padding: 0; margin-bottom: 18px; }
  .valuation-figure { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
  .valuation-figure strong { color: var(--ink); }
  details.valuation-detail > *:not(summary) { display: block; }
  .valuation-detail summary { list-style: none; }
  table.data { display: table; }
}
