/* Office notarial de Cestas — feuille de style */


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

:root {
  --navy: #0B2A5B;
  --navy-deep: #071D40;
  --night: #0E1A2E;
  --blue: #1A4C8B;
  --blue-soft: #A9C1E2;
  --blue-pale: #E7EEF7;
  --blue-line: #CBD8EA;
  --cream: #F5F0E4;
  --cream-line: #DCD3BF;
  --ink: #1C2433;
  --text: #3A4456;
  --muted: #5A6273;
  --label: #3E5679;
  --white: #FFFFFF;
  --sans: "Source Sans 3", Arial, Helvetica, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 4px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.kicker { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.h2 { font-size: 36px; font-weight: 700; }
.lead { color: var(--text); }
.stack { display: flex; flex-direction: column; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 4px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--navy); font-family: var(--sans); font-size: 17px; cursor: pointer; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.card { background: var(--white); border: 1px solid var(--cream-line); border-radius: 6px; }

/* En-tête */
.site-header { background: var(--cream); border-bottom: 1px solid var(--cream-line); }
.brand { max-width: var(--wrap); margin: 0 auto; padding: 18px 16px; display: grid; grid-template-columns: clamp(40px, 8vw, 72px) minmax(0, 1fr) clamp(40px, 8vw, 72px); align-items: center; gap: 12px; }
.brand img { width: 100%; height: auto; }
.brand-text { text-align: center; min-width: 0; text-decoration: none; }
.brand-name { white-space: nowrap; font-size: clamp(15px, 3vw, 34px); font-weight: 700; letter-spacing: 0.06em; color: var(--navy); line-height: 1.15; }
.brand-sub { margin-top: 4px; font-size: clamp(13px, 1.4vw, 17px); letter-spacing: 0.04em; color: var(--label); }
.nav-bar { border-top: 1px solid var(--cream-line); }
.nav { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink); padding: 6px 0; }
.nav a:hover { color: var(--blue); }
.nav a.nav-cta { color: var(--white); background: var(--navy); padding: 10px 20px; border-radius: 4px; }
.nav a.nav-cta:hover { background: var(--blue); }

/* Bandeau */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; border-bottom: 1px solid var(--cream-line); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,240,228,0.72) 0%, rgba(245,240,228,0.35) 38%, rgba(245,240,228,0) 62%); }
.hero-inner { position: relative; width: 100%; padding-top: 72px; padding-bottom: 72px; }
.hero-card { max-width: 640px; background: rgba(245,240,228,0.72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); border: 1px solid rgba(11,42,91,0.12); border-radius: 6px; padding: 40px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 12px 40px rgba(11,42,91,0.12); }
.hero-card h1 { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); font-weight: 600; line-height: 1.4; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--navy); padding-left: 22px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--navy); }
.quote figcaption { font-size: 14px; color: var(--label); }
.hero .quote blockquote { font-size: 27px; line-height: 1.35; }
.hero-card p { font-size: 18px; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Infos pratiques */
.infos { padding-top: 56px; padding-bottom: 72px; }
.infos-box { background: var(--navy); color: var(--cream); border-radius: 6px; padding: 32px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.infos-box dt { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-soft); }
.infos-box dd { margin: 0; }
.infos-box a { color: var(--white); }
.infos-box dl { margin: 0; }

/* Conseil fiscal */
.fiscal { padding-top: 16px; padding-bottom: 88px; gap: 40px; }
.fiscal-intro { max-width: 720px; gap: 12px; }
.fiscal-claim { font-size: 20px; font-weight: 700; color: var(--blue); }
.fiscal .quote { margin-top: 4px; gap: 8px; padding-left: 20px; }
.fiscal .quote blockquote { font-size: 22px; line-height: 1.4; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fiscal-card { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.fiscal-card .label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.fiscal-card h3 { font-size: 19px; font-weight: 700; }
.fiscal-card p { color: var(--text); }
.split { background: var(--blue-pale); border: 1px solid var(--blue-line); border-radius: 6px; padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.split h3 { font-size: 19px; }
.split-bar { display: flex; height: 44px; border-radius: 4px; overflow: hidden; font-size: 14px; font-weight: 600; }
.split-bar .taxes { flex: 80; background: var(--navy); color: var(--white); display: flex; align-items: center; padding: 0 14px; white-space: nowrap; overflow: hidden; }
.split-bar .office { flex: 20; background: var(--blue-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; padding: 0 6px; white-space: nowrap; }

/* Domaines */
.domains { background: var(--blue-pale); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); }
.domains .wrap { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.domain { display: flex; flex-direction: column; gap: 8px; }
.domain h3 { font-size: 20px; font-weight: 700; }
.domain p { color: var(--text); }

/* Simulateurs */
.simus { padding-top: 88px; padding-bottom: 88px; gap: 40px; }
.simus-intro { max-width: 680px; gap: 12px; }
.grid-simus { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.simu { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.simu-icon { width: 56px; height: 56px; border-radius: 6px; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; }
.simu h3 { font-size: 24px; font-weight: 700; }
.simu p { color: var(--text); }
.simu .btn { margin-top: auto; align-self: flex-start; }
.note { font-size: 14px; color: var(--muted); }

/* Questions */
.faq { background: var(--navy); color: var(--cream); }
.faq .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; }
.faq-intro { flex: 1 1 300px; gap: 16px; }
.faq-intro .kicker { color: var(--blue-soft); }
.faq-intro h2 { color: var(--white); }
.faq-intro p { color: #D3DEEE; }
.faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); color: var(--ink); border-radius: 6px; }
.faq-item summary { list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; font-size: 20px; font-weight: 700; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-pale); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 24px 24px; color: var(--text); display: flex; flex-direction: column; gap: 10px; }

/* Lettre */
.letter { background: var(--blue-pale); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); }
.letter .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.letter-intro { max-width: 720px; gap: 12px; }
.letter-row { display: flex; flex-wrap: wrap; gap: 28px; }
.letter-card { flex: 999 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--blue-line); border-radius: 6px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; }
.letter-card img { flex: 1 1 240px; max-width: 320px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.letter-body { flex: 999 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.issue { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.issue-num { background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 3px; }
.issue-date { font-size: 14px; color: var(--muted); }
.letter-body h3 { font-size: 24px; line-height: 1.25; }
.letter-body p { color: var(--text); }
.subscribe { flex: 1 1 300px; background: var(--navy); color: var(--cream); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.subscribe h3 { font-size: 20px; color: var(--white); }
.subscribe p { color: #D3DEEE; font-size: 15px; }
.subscribe .btn { background: var(--cream); color: var(--navy); border-color: var(--cream); align-self: flex-start; }
.subscribe .btn:hover { background: var(--white); }

/* Contact */
.contact { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; }
.contact-info { gap: 16px; }
.address { font-style: normal; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.map { margin-top: 12px; border: 1px solid var(--cream-line); border-radius: 6px; overflow: hidden; background: var(--white); }
.map-frame { position: relative; height: 260px; background: #E8ECE3; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; background: linear-gradient(rgba(232,236,227,0.88), rgba(232,236,227,0.88)), repeating-linear-gradient(45deg, #DDE3D6 0 12px, #E8ECE3 12px 24px); color: var(--text); font-size: 14px; }
.map-consent .btn { min-height: 44px; font-size: 15px; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; }
.map-links .btn { flex: 1 1 180px; min-height: 44px; font-size: 15px; }
.form { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); }
.field input, .field select, .field textarea { min-height: 44px; padding: 0 12px; border: 1px solid #B9C3D3; border-radius: 4px; font: inherit; font-weight: 400; color: var(--ink); background: #FBF9F4; width: 100%; }
.field textarea { padding: 10px 12px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--text); }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.form .btn { align-self: flex-start; }
.form-hint { font-size: 13px; color: var(--muted); }
.form-status { font-size: 15px; color: var(--blue); min-height: 1em; }

/* Locaux */
.rooms { background: var(--night); color: var(--cream); }
.rooms .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 16px; }
.rooms h2 { font-size: 18px; letter-spacing: 0.04em; color: var(--white); }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.rooms-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* Pied de page */
.site-footer { background: var(--navy-deep); color: #C5D3E8; font-size: 15px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer strong { color: var(--white); font-size: 16px; letter-spacing: 0.06em; }
.site-footer a { color: #C5D3E8; }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Pages intérieures */
.page { padding-top: 48px; padding-bottom: 80px; max-width: 900px; }
.page h1 { font-size: 34px; margin-bottom: 8px; }
.page h2 { font-size: 22px; margin-top: 32px; margin-bottom: 8px; }
.page p, .page li { color: var(--text); }
.page p + p { margin-top: 10px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--navy); font-weight: 600; }
.todo { background: #FFF6DB; border: 1px solid #E8D28A; padding: 2px 6px; border-radius: 3px; }
.letter-pages { display: flex; flex-direction: column; gap: 28px; }
.letter-pages img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 4px; box-shadow: 0 6px 24px rgba(11,42,91,0.12); background: var(--white); }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .h2 { font-size: 28px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 220px; padding-bottom: 24px; }
  .hero-img { object-position: 78% 30%; height: 300px; }
  .hero-veil { display: none; }
  .hero-card { padding: 24px; background: rgba(245,240,228,0.94); }
  .hero .quote blockquote { font-size: 21px; }
  .infos-box { padding: 24px; }
  .fiscal .quote blockquote { font-size: 19px; }
  .simu { padding: 24px; }
  .faq-item summary { font-size: 18px; padding: 16px 18px; }
  .faq-answer { padding: 0 18px 18px; }
  .letter-card { padding: 20px; }
  .letter-card img { max-width: none; }
  .form { padding: 22px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact, .simus, .letter .wrap, .faq .wrap { padding-top: 56px; padding-bottom: 56px; }
  .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Article (lettres rédigées) */
.article { max-width: 820px; padding-top: 32px; padding-bottom: 72px; }
.article-head { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 32px; }
.article-head h1 { font-size: 38px; line-height: 1.12; }
.article-head .chapo { font-size: 20px; color: var(--text); }
.article h2 { font-size: 26px; margin: 44px 0 14px; }
.article h3 { font-size: 19px; margin: 28px 0 8px; }
.article p { color: var(--text); }
.article p + p { margin-top: 12px; }
.article ul { color: var(--text); padding-left: 22px; margin: 10px 0 0; }
.article li + li { margin-top: 6px; }
.article strong { color: var(--ink); }
.callout { background: var(--blue-pale); border: 1px solid var(--blue-line); border-radius: 6px; padding: 22px 26px; margin: 24px 0; display: flex; flex-direction: column; gap: 8px; }
.callout-title { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.callout p { color: var(--ink); }
.callout.key { background: var(--navy); border-color: var(--navy); }
.callout.key .callout-title { color: var(--blue-soft); }
.callout.key p { color: var(--cream); font-size: 19px; }
.callout.key strong { color: var(--white); }
.split-figure { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.split-figure .bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.split-figure .whole { background: var(--navy); color: var(--white); border-radius: 4px; padding: 14px 16px; text-align: center; font-weight: 700; }
.split-figure .part { border-radius: 4px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.split-figure .part b { font-size: 17px; }
.split-figure .part span { font-size: 15px; }
.split-figure .usu { background: #F3E3BF; color: #5A3E08; }
.split-figure .np { background: var(--blue-pale); color: var(--navy); border: 1px solid var(--blue-line); }
.split-figure .arrow { text-align: center; color: var(--muted); font-size: 14px; }
.table-box { overflow-x: auto; margin: 18px 0; border: 1px solid var(--cream-line); border-radius: 6px; background: var(--white); }
.table-box table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 16px; }
.table-box th, .table-box td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #ECE6D6; }
.table-box th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.table-box td.num, .table-box th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-box tr:last-child td { border-bottom: 0; }
.table-box tr.hl td { background: #FBF6E8; font-weight: 700; color: var(--navy); }
.table-note { font-size: 14px; color: var(--muted); margin-top: -6px; }
.legal { font-size: 14px; color: var(--muted); border-top: 1px solid var(--cream-line); padding-top: 16px; margin-top: 40px; }
.archives { display: flex; flex-direction: column; gap: 10px; }
.archives h3 { font-size: 17px; }
.archive-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; background: var(--white); border: 1px solid var(--blue-line); border-radius: 6px; padding: 14px 18px; }
.archive-item .t { flex: 1 1 260px; color: var(--navy); font-weight: 600; }
.archive-item a { font-weight: 600; }
@media (max-width: 640px) {
  .article-head h1 { font-size: 30px; }
  .article-head .chapo { font-size: 18px; }
  .article h2 { font-size: 22px; }
  .split-figure .bar { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff; font-size: 11.5pt; }
  .article { max-width: none; padding: 0; }
  .article h2 { break-after: avoid; }
  .callout, .table-box, .split-figure { break-inside: avoid; }
  .print-head { display: flex !important; }
  a { color: inherit; text-decoration: none; }
}
.print-head { display: none; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 8px; color: var(--navy); font-size: 10pt; }
.print-head b { letter-spacing: 0.06em; }

.text-version { margin-top: 36px; background: var(--white); border: 1px solid var(--cream-line); border-radius: 6px; }
.text-version summary { cursor: pointer; padding: 16px 22px; font-weight: 700; color: var(--navy); min-height: 44px; }
.text-version .text-body { padding: 0 22px 22px; }
.text-version .text-body h2:first-child { margin-top: 8px; }

/* Chiffres de l'immobilier */
.figures-page { padding-top: 48px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.kpi { background: var(--white); border: 1px solid var(--cream-line); border-radius: 6px; padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.kpi-l { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.kpi-n { font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-n small { font-size: 17px; font-weight: 600; }
.kpi-s { font-size: 14px; color: var(--muted); }
.evo { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; padding: 2px 8px; border-radius: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.evo span { font-size: 10px; }
.evo.up { background: #E1EAF6; color: #163F75; }
.evo.down { background: #F6E7C8; color: #7A4F05; }
.evo.flat { background: #ECE8DE; color: var(--muted); }
.evo.small { font-size: 12.5px; padding: 1px 6px; margin-left: 6px; }
.fig-block { display: flex; flex-direction: column; gap: 16px; }
.fig-head h2 { font-size: 26px; }
.fig-head p { color: var(--text); margin-top: 4px; }
.paris-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--white); border: 1px dashed var(--cream-line); border-radius: 6px; padding: 10px 16px; color: var(--navy); font-variant-numeric: tabular-nums; }
.paris-note span:last-child { font-size: 14px; color: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 28px 160px minmax(0, 1fr) 110px 96px; align-items: center; gap: 12px; padding: 4px 8px; border-radius: 4px; }
.bar-row.local { background: #FBF6E8; outline: 1px solid #EBD9A8; }
.bar-rank { font-weight: 700; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.bar-city { font-weight: 600; color: var(--navy); }
.bar-city em { font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8A6214; margin-left: 6px; }
.bar-track { height: 18px; background: #EBE5D6; border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--navy); border-radius: 3px; }
.bar-row.local .bar-fill { background: #C9962E; }
.bar-val { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.src { font-size: 13px; color: var(--muted); }
.fig-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 32px; }
.fig-two .table-box table { min-width: 420px; font-size: 15px; }
.fig-two th[scope="row"] { font-weight: 600; color: var(--navy); background: transparent; }
.cta-band { background: var(--navy); color: var(--cream); border-radius: 6px; padding: 26px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-band p { max-width: 620px; color: #E7EEF7; }
.cta-band b { color: var(--white); }
.cta-band .btn-ghost { color: var(--white); border-color: var(--white); }
@media (max-width: 640px) {
  .bar-row { grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "r c v" "t t e"; row-gap: 4px; }
  .bar-rank { grid-area: r; } .bar-city { grid-area: c; } .bar-val { grid-area: v; } .bar-track { grid-area: t; } .bar-row .evo { grid-area: e; }
  .fig-two { grid-template-columns: minmax(0, 1fr); }
  .kpi-n { font-size: 28px; }
}
.cta-band .btn-primary { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--navy); }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .kpi { padding: 14px; } .kpi-l { font-size: 11px; } .kpi-n { font-size: 22px; } }
.text-body blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold, #D9A441); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--navy); }
.text-body blockquote cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 13px; color: #5b6475; }
.text-body h3 { font-size: 17px; margin: 20px 0 6px; color: var(--navy); }

/* Filigrane : aquarelle du Bassin derrière les simulateurs */
.simus-band { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--cream-line); }
.simus-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/filigrane-bassin.jpg") center 70% / cover no-repeat; opacity: 0.22; }
.simus-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--cream) 0%, rgba(245,240,228,0) 30%, rgba(245,240,228,0) 85%, var(--cream) 100%); }
.simus-band .card { background: rgba(255,255,255,0.93); }
@media print { .simus-band::before, .simus-band::after { display: none; } }
.simus-band .btn-ghost { background: rgba(245,240,228,0.9); }

/* Filigrane : la dune du Pilat derrière le contact et la carte */
.contact-band { position: relative; isolation: isolate; overflow: hidden; }
.contact-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/filigrane-dune.jpg") 35% 70% / cover no-repeat; opacity: 0.22; }
.contact-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--cream) 0%, rgba(245,240,228,0) 25%, rgba(245,240,228,0) 80%, var(--cream) 100%); }
@media print { .contact-band::before, .contact-band::after { display: none; } }

.map-credit { margin: 0; padding: 4px 10px; font-size: 11px; color: var(--muted, #5b6475); background: var(--white); text-align: right; }
.map-credit a { color: inherit; }

/* Billet d'humeur */
.billet { font-size: 18.5px; line-height: 1.7; }
.billet blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 3px solid #D9A441; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--navy); }
.billet .signature { margin-top: 28px; text-align: right; }
.billet-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; background: var(--navy); color: var(--cream); border-radius: 6px; padding: 16px 18px; margin-bottom: 8px; }
.billet-item .issue-num { background: #D9A441; color: var(--navy); }
.billet-item .t { flex: 1 1 260px; font-weight: 600; }
.billet-item .t em { font-family: var(--serif); font-weight: 500; }
.billet-item a { color: var(--cream); font-weight: 600; }
.billet .caption { font-size: 14px; color: #5b6475; margin-top: -6px; }
.billet h2 { margin-top: 40px; }
.billet ol { color: var(--text); padding-left: 22px; }

/* À lire aussi */
.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--cream-line); }
.related h2 { font-size: 20px; margin: 0 0 14px; }
.related-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.related-item { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--white); border: 1px solid var(--cream-line); border-radius: 6px; color: var(--navy); font-weight: 600; text-decoration: none; }
.related-item:hover { border-color: var(--navy); }
.related-item .issue-num { align-self: flex-start; }
.faq-more a { font-weight: 600; }

/* À télécharger */
.dl-group { margin-top: 40px; }
.dl-group h2 { font-size: 24px; margin: 0 0 16px; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.dl-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--cream-line); border-radius: 8px; overflow: hidden; }
.dl-thumb { display: block; aspect-ratio: 297 / 160; overflow: hidden; background: #E9E3D4; border-bottom: 1px solid var(--cream-line); }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.dl-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.dl-body h3 { margin: 0; font-size: 19px; color: var(--navy); }
.dl-body p { margin: 0; }
.dl-kind { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8a6a1f; }
.dl-meta { font-size: 13px; color: #5b6475; }
.dl-body .actions { margin-top: auto; padding-top: 8px; }
.dl-help { margin-top: 40px; }
.dl-help h2 { font-size: 20px; margin: 0 0 10px; }
.dl-help ol { margin: 0 0 10px; padding-left: 20px; }
.dl-help li { margin-bottom: 6px; }

/* Fiches pratiques */
.fiche-body { font-size: 17.5px; line-height: 1.7; }
.fiche-body h2 { display: flex; align-items: baseline; gap: 12px; margin: 44px 0 14px; font-size: 25px; line-height: 1.3; color: var(--navy); }
.fiche-body h2 .num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #F5F0E4; font-size: 17px; font-weight: 700; transform: translateY(-3px); }
.fiche-body h3 { margin: 0; font-size: 18px; color: var(--navy); }
.fiche-body ul.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.fiche-body ul.ticks li { position: relative; padding-left: 28px; }
.fiche-body ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: #D9A441; }
.key-label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a6a1f; margin-bottom: 6px; }
.key-box { margin: 28px 0 8px; padding: 22px 26px; background: var(--navy); color: #F5F0E4; border-radius: 8px; border-left: 6px solid #D9A441; }
.key-box .key-label { color: #E9B44C; }
.key-box p { margin: 0; color: #F5F0E4; font-size: 17.5px; }
.timeline { position: relative; margin: 20px 0 22px; padding-left: 26px; display: flex; flex-direction: column; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--blue-line); }
.tl-item { position: relative; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--navy); box-sizing: border-box; }
.tl-date { flex: 0 0 150px; font-weight: 700; color: var(--navy); }
.tl-text { flex: 1 1 280px; }
.compare td, .compare th { vertical-align: top; }
.compare td:first-child { width: 24%; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 8px 0 12px; }
.benefit { background: var(--white); border: 1px solid var(--cream-line); border-top: 4px solid var(--navy); border-radius: 6px; padding: 18px 20px; }
.benefit p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }
.benefit .ref { margin-top: 2px; font-size: 13px; color: #8a6a1f; font-weight: 600; }
.verdict { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 8px 0 18px; }
.verdict-card { background: var(--blue-pale); border: 1px solid var(--blue-line); border-radius: 8px; padding: 18px 20px; }
.verdict-card.decisive { background: #FBF3E2; border-color: #E6CF9C; }
.verdict-card p { margin: 0; }
.v-label { font-weight: 700; color: var(--navy); }
.advice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 22px 26px; background: var(--blue-pale); border: 1px solid var(--blue-line); border-radius: 8px; }
.advice p { margin: 0; max-width: 520px; }
@media print {
  .key-box { background: #fff; color: var(--ink); border: 1px solid var(--navy); border-left: 6px solid #D9A441; }
  .key-box p { color: var(--ink); }
  .benefit, .verdict-card, .tl-item, .key-box, .advice { break-inside: avoid; }
}
.fiche-item { background: #1A4C8B; }
.billet ul.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.billet ul.ticks li { position: relative; padding-left: 26px; }
.billet ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.66em; width: 9px; height: 9px; border-radius: 50%; background: #D9A441; }
.dl-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dl-nav a { padding: 8px 16px; border: 1px solid var(--cream-line); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; }
.dl-nav a:hover { border-color: #D9A441; background: #FBF6EA; }
.dl-group { scroll-margin-top: 90px; }
.dl-group h2 { padding-bottom: 8px; border-bottom: 2px solid #D9A441; }
.dl-sub { font-size: 17px; color: #1A4C8B; margin: 22px 0 12px; font-weight: 700; }
.dl-group h2 + .dl-sub { margin-top: 4px; }
.billet-figure { margin: 26px 0 8px; }
.billet-figure img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--cream-line); }
@media print { .billet-figure { break-inside: avoid; margin: 14px 0; } .billet-figure img { border: 0; } }
.dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .dl-grid { grid-template-columns: 1fr; } }

/* Typographie B : titres en Cormorant Garamond, texte en Source Sans 3 */
body { font-size: 18px; }
h1, h2, h3, .h2, .brand-name { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; }
.brand-name { font-weight: 700; letter-spacing: 0.08em; }
.h2 { font-size: 42px; }
.hero-card h1 { font-family: var(--sans); font-weight: 600; letter-spacing: 0.16em; }
.hero .quote blockquote, .billet blockquote, .text-body blockquote { font-weight: 500; }
.hero .quote blockquote { font-size: 30px; }
@media (max-width: 720px) { .h2 { font-size: 32px; } .hero .quote blockquote { font-size: 23px; } }
/* Logo Notaires de France : taille moyenne */
.brand { grid-template-columns: clamp(60px, 10vw, 104px) minmax(0, 1fr) clamp(60px, 10vw, 104px); padding-top: 24px; padding-bottom: 24px; }
/* Filigrane cabane de plage dans la section bleu nuit (Vos questions) */
.faq { position: relative; isolation: isolate; overflow: hidden; }
.faq::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/filigrane-cabane.jpg") 96% 72% / cover no-repeat; opacity: 0.3; mix-blend-mode: screen; }
@media (max-width: 720px) { .faq::before { background-position: 50% 85%; } }
.faq::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(11,42,91,0.55) 0%, rgba(11,42,91,0) 30%, rgba(11,42,91,0) 75%, rgba(11,42,91,0.6) 100%); }
@media print { .faq::before, .faq::after { display: none; } }
/* Filigrane plage en famille dans la section bleu ciel (La lettre) */
.letter { position: relative; isolation: isolate; overflow: hidden; }
.letter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/filigrane-plage.jpg?v=2") 60% 50% / cover no-repeat; opacity: 0.3; mix-blend-mode: multiply; }
@media (max-width: 720px) { .letter::before { background-position: 64% 50%; } }
.letter::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--blue-pale) 0%, rgba(231,238,247,0) 22%, rgba(231,238,247,0) 85%, var(--blue-pale) 100%); }
@media print { .letter::before, .letter::after { display: none; } }
/* Fiche trêve hivernale */
.fiche-figure { max-width: 520px; margin: 18px auto 8px; }
.fiche-body .chapo { font-size: 19px; line-height: 1.6; color: var(--navy); font-weight: 600; margin: 18px 0 0; }
.key-box ol.key-list { margin: 10px 0 0; padding-left: 22px; color: #F5F0E4; font-size: 17px; line-height: 1.55; display: flex; flex-direction: column; gap: 8px; }
.key-box ol.key-list strong { color: #fff; }
.key-box ol.key-list li::marker { color: #E9B44C; font-weight: 700; }
.fiche-body ol.steps { list-style: none; counter-reset: st; padding: 0; margin: 18px 0 18px; display: flex; flex-direction: column; gap: 14px; }
.fiche-body ol.steps li { counter-increment: st; position: relative; padding: 14px 18px 14px 62px; background: var(--white); border: 1px solid var(--cream-line); border-radius: 8px; }
.fiche-body ol.steps li::before { content: counter(st); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #F5F0E4; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
@media print { .key-box ol.key-list, .key-box ol.key-list strong { color: var(--ink); } .fiche-body ol.steps li { break-inside: avoid; } .fiche-figure { max-width: 300px; } }
/* Paragraphe local de l'accueil */
.local-intro { max-width: 820px; margin: 0 0 28px; }
.local-intro .h2 { margin: 0 0 12px; }
.local-intro p { margin: 0; font-size: 18px; line-height: 1.65; }
.local-intro a { color: var(--navy); font-weight: 600; }
.fiche-sources { margin-top: 28px; font-size: 14px; color: #4a5568; }
.fiche-sources h3 { font-size: 17px; margin: 0 0 6px; color: var(--navy); }
.fiche-sources ul { margin: 0; padding-left: 18px; }
.fiche-sources a { color: var(--blue); }
/* Lettre n° 5 */
.article-head .subtitle { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--blue); margin: 4px 0 0; }
.benefit h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 21px; }
.benefit h3 .num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #F5F0E4; font-family: var(--sans); font-size: 15px; font-weight: 700; display: grid; place-items: center; }
.key-box.key-gold { background: #FBF3DF; border-left-color: #D9A441; }
.key-box.key-gold .key-label { color: #8a6a1f; }
.key-box.key-gold p { color: var(--ink); }
@media print { .key-box.key-gold { background: #FBF3DF !important; } .key-box.key-gold p { color: #1d2433 !important; } }
.ph-brand { display: inline-flex; align-items: center; gap: 12px; }
.ph-brand img { height: 46px; width: auto; }
.article-head.xmas { position: relative; }
.article-head.xmas .xmas-flakes { position: absolute; right: 0; top: -6px; width: 200px; height: auto; }
@media (max-width: 640px) { .article-head.xmas .xmas-flakes { width: 110px; top: -14px; } }
@media print { .article-head.xmas .xmas-flakes { width: 150px; top: 0; } }
.evo.flat { color: var(--muted); }
.table-box .tq { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
/* Archives des chiffres */
.fig-archive { margin: 36px 0 8px; padding: 22px 26px; background: var(--white); border: 1px solid var(--cream-line); border-radius: 8px; }
.fig-archive h2 { margin: 0 0 12px; font-size: 24px; }
.fig-archive ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fig-archive a, .fig-archive span[aria-current] { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--cream-line); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--navy); }
.fig-archive a:hover { border-color: #D9A441; background: #FBF6EA; }
.fig-archive span[aria-current] { background: var(--navy); color: #F5F0E4; border-color: var(--navy); }
.arch-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 24px; padding: 14px 20px; background: #FBF3DF; border-left: 6px solid #D9A441; border-radius: 6px; font-weight: 600; color: #7A4F05; }
