:root {
  --ink: #17231f;
  --muted: #5d6b66;
  --paper: #ffffff;
  --soft: #f3f7f4;
  --soft-2: #e9f1ec;
  --line: #dce6df;
  --green: #126447;
  --green-dark: #0b4532;
  --green-bright: #1d8a63;
  --gold: #d7aa55;
  --amber: #9a5a14;
  --danger: #a33b35;
  --shadow: 0 18px 50px rgba(18, 55, 42, 0.1);
  --radius: 22px;
  --content: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 10px;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 230, 223, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-bright), var(--green-dark));
  border-radius: 13px 13px 13px 4px;
  font: 800 23px/1 Georgia, serif;
  box-shadow: 0 8px 20px rgba(18, 100, 71, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font: 800 21px/1.05 Georgia, "Times New Roman", serif;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  padding: 10px 11px;
  color: #2c3a35;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-dark);
  background: var(--soft);
  outline: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.page-shell {
  padding: 30px 0 80px;
}

.page-layout {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 820px) 300px;
  align-items: start;
  gap: 58px;
}

.article {
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: #76827d;
  font-size: 13px;
  font-weight: 650;
}

.breadcrumbs a {
  color: #53615c;
  text-decoration: none;
}

.article-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker,
.sidebar-label,
.result-label,
.decision-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-header h1,
.home-hero h1 {
  max-width: 850px;
  margin: 11px 0 18px;
  color: #102019;
  font: 800 clamp(38px, 5vw, 64px) / 1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.article-lead {
  max-width: 760px;
  margin: 0;
  color: #46564f;
  font-size: 21px;
  line-height: 1.55;
}

.editorial-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 22px;
  color: #65736e;
  font-size: 13px;
}

.editorial-line span {
  position: relative;
}

.editorial-line span + span::before {
  content: "·";
  position: absolute;
  left: -11px;
  color: #a8b4af;
}

.decision-box {
  margin: 34px 0;
  padding: 24px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.decision-box > div {
  display: grid;
  gap: 8px;
}

.decision-label {
  color: #b8e8d4;
}

.decision-box strong {
  font: 700 25px/1.3 Georgia, serif;
}

.decision-box p {
  margin: 14px 0 0;
  color: #e1f3eb;
}

.content-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.content-section h2 {
  max-width: 780px;
  margin: 8px 0 16px;
  color: #15251e;
  font: 750 clamp(27px, 3.4vw, 37px) / 1.16 Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.content-section h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.content-section p {
  margin: 0 0 17px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: var(--green);
  background: var(--soft-2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.steps-list {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--green);
  border-radius: 12px;
  font-weight: 800;
}

.steps-list span {
  padding-top: 4px;
}

.notice {
  margin-top: 22px;
  padding: 18px 20px;
  color: #613b13;
  background: #fff8e9;
  border: 1px solid #efdbb9;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}

.table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.data-table th,
.data-table td {
  padding: 15px 17px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: #314039;
  background: var(--soft);
  font-size: 13px;
  letter-spacing: 0.025em;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.document-box {
  margin: 22px 0 16px;
  padding: clamp(24px, 5vw, 48px);
  color: #1d2924;
  background: #fff;
  border: 1px solid #d5ded8;
  border-radius: 10px;
  box-shadow: 0 15px 45px rgba(21, 48, 36, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--green-dark);
  background: #fff;
  border-color: #b7cbc0;
}

.button-secondary:hover {
  color: #fff;
}

.faq-section details {
  border-top: 1px solid var(--line);
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  padding: 18px 36px 18px 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  float: right;
  margin-right: -28px;
  color: var(--green);
  font-size: 23px;
}

.faq-section details[open] summary::after {
  content: "−";
}

.faq-section details p {
  padding: 0 0 20px;
  color: #52615a;
}

.source-list {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding-left: 22px;
}

.source-list li::marker {
  color: var(--green);
  font-weight: 800;
}

.source-list a {
  display: block;
  font-weight: 750;
}

.source-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.source-date {
  margin-top: 18px !important;
  color: #74817c;
  font-size: 13px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.related-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: border 0.18s ease, transform 0.18s ease;
}

.related-card:hover {
  border-color: #a7c5b6;
  transform: translateY(-2px);
}

.related-card span {
  color: var(--muted);
  font-size: 14px;
}

.sidebar {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 16px;
}

.sidebar-card {
  display: grid;
  gap: 9px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 10px 30px rgba(17, 51, 38, 0.04);
}

.sidebar-card strong {
  font: 800 35px/1 Georgia, serif;
}

.sidebar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.sidebar-card a {
  font-size: 14px;
  font-weight: 750;
}

.irl-card {
  color: #fff;
  background: linear-gradient(150deg, var(--green-dark), var(--green));
  border: 0;
}

.irl-card .sidebar-label {
  color: #bce6d6;
}

.irl-card p {
  color: #d6ece3;
}

.irl-card a {
  color: #fff;
}

.tool-panel {
  margin: 34px 0 10px;
  padding: clamp(24px, 5vw, 38px);
  background: #fff;
  border: 1px solid #d7e3db;
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.tool-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.tool-heading h2 {
  margin: 6px 0 0;
  font: 750 30px/1.16 Georgia, serif;
}

.tool-heading p {
  max-width: 255px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tool-badge {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--green);
  background: var(--soft-2);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.tool-form-dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field legend,
.observatory-search label,
.charge-lines legend {
  color: #324139;
  font-size: 13px;
  font-weight: 780;
}

.field input,
.field select,
.observatory-search input,
.charge-lines input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdfb;
  border: 1px solid #c9d8cf;
  border-radius: 10px;
  outline: none;
}

.field input:focus,
.field select:focus,
.observatory-search input:focus,
.charge-lines input:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(29, 138, 99, 0.12);
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 42px;
}

.input-suffix span {
  position: absolute;
  right: 14px;
  top: 50%;
  color: #68766f;
  transform: translateY(-50%);
  pointer-events: none;
}

fieldset.field {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.check,
.radio {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  font-weight: 550 !important;
}

.check input,
.radio input {
  flex: 0 0 auto;
  width: 17px;
  min-height: 17px;
  margin-top: 3px;
}

.tool-form > .button {
  align-self: end;
}

.tool-result {
  margin-top: 24px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(255,255,255,0.13), transparent 32%),
    var(--green-dark);
  border-radius: 16px;
}

.tool-result > strong {
  display: block;
  margin-top: 5px;
  font: 800 40px/1.1 Georgia, serif;
}

.tool-result .result-label {
  color: #aee1cd;
}

.tool-result p {
  margin: 9px 0 4px;
}

.tool-result small {
  color: #cbe6db;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-grid > div {
  display: grid;
  gap: 5px;
}

.result-grid strong {
  font: 750 23px/1.2 Georgia, serif;
}

.result-wide {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.17);
}

.quittance-preview {
  max-width: 690px;
  margin: 30px auto 0;
  padding: clamp(28px, 6vw, 58px);
  background: #fff;
  border: 1px solid #cdd9d2;
  box-shadow: 0 20px 55px rgba(17, 45, 33, 0.09);
  font-family: Georgia, serif;
}

.quittance-preview .document-type {
  margin-bottom: 3px;
  font-size: 30px;
  font-weight: 800;
}

.quittance-preview .document-period {
  margin-top: 0;
  color: var(--green);
  font-weight: 700;
}

.quittance-preview table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.quittance-preview th,
.quittance-preview td {
  padding: 10px 0;
  text-align: left;
  border-bottom: 1px solid #d9e2dc;
}

.quittance-preview td {
  text-align: right;
}

.document-signature {
  margin-top: 34px !important;
}

.tool-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.charge-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.charge-lines legend {
  padding: 0 8px;
}

.charge-lines label {
  display: grid;
  grid-template-columns: 1fr 110px 15px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--soft);
  border-radius: 10px;
  font-size: 13px;
}

.charge-lines input {
  min-height: 40px;
}

.charge-lines em {
  color: var(--muted);
  font-style: normal;
}

.late-check {
  margin-bottom: 18px;
}

.observatory-search {
  position: relative;
  display: grid;
  gap: 7px;
  margin-top: 26px;
}

.suggestions {
  position: absolute;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 20;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbd9d1;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.suggestions:empty {
  display: none;
}

.suggestions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 15px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.suggestions button:last-child {
  border-bottom: 0;
}

.suggestions button:hover,
.suggestions button:focus {
  background: var(--soft);
}

.suggestions span {
  color: var(--muted);
  font-size: 12px;
}

.loading-status {
  min-height: 28px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.observatory-result {
  margin-top: 18px;
}

.observatory-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
}

.observatory-title h3 {
  margin: 3px 0 0;
  font: 750 29px/1.15 Georgia, serif;
}

.quality-chip {
  padding: 7px 10px;
  color: var(--green);
  background: var(--soft-2);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
}

.quality-chip.is-cautious {
  color: var(--amber);
  background: #fff5df;
}

.rent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.rent-grid article {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: var(--soft);
  border-radius: 13px;
}

.rent-grid span {
  font-size: 12px;
  font-weight: 700;
}

.rent-grid strong {
  color: var(--green-dark);
  font: 800 23px/1.1 Georgia, serif;
}

.rent-grid small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.comparison-bar {
  margin-top: 22px;
}

.comparison-bar > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.comparison-bar > div {
  height: 9px;
  overflow: hidden;
  background: var(--soft-2);
  border-radius: 99px;
}

.comparison-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
  border-radius: inherit;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin-top: 22px;
}

.method-grid p {
  display: grid;
  margin: 0;
  font-size: 13px;
}

.method-grid span {
  color: var(--muted);
}

.observatory-warning {
  margin: 20px 0 0;
  padding: 15px;
  color: #5a4b2f;
  background: #fff9ec;
  border-radius: 11px;
  font-size: 13px;
}

.site-footer {
  color: #e8f0ec;
  background: #0d2118;
}

.home-page {
  overflow: hidden;
}

.home-hero {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(65px, 9vw, 118px) 0 85px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.7fr);
  align-items: center;
  gap: 80px;
}

.home-hero h1 {
  margin-top: 14px;
  font-size: clamp(50px, 7.2vw, 87px);
}

.hero-copy > p {
  max-width: 710px;
  margin: 0;
  color: #53625b;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.hero-data {
  position: relative;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 5%, rgba(255,255,255,.16), transparent 35%),
    linear-gradient(150deg, #183f2e, #0b2419);
  border-radius: 28px 28px 28px 8px;
  box-shadow: 0 28px 70px rgba(14, 52, 36, 0.22);
}

.hero-data-label {
  color: #b7ddcd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-data > strong {
  display: block;
  margin: 14px 0 4px;
  font: 800 72px/1 Georgia, serif;
  letter-spacing: -.04em;
}

.hero-data > p {
  margin: 0;
  color: #cee3d9;
}

.hero-data dl {
  margin: 26px 0 22px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-data dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}

.hero-data dt {
  color: #abc4b8;
}

.hero-data dd {
  margin: 0;
  font-weight: 750;
}

.hero-data > a {
  color: #fff;
  font-weight: 800;
}

.home-section {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.toolbox-section {
  position: relative;
}

.toolbox-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: var(--soft);
  transform: translateX(-50%);
}

.home-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 35px;
}

.home-heading h2,
.evidence-copy h2 {
  max-width: 760px;
  margin: 9px 0 0;
  font: 760 clamp(34px, 4.5vw, 52px)/1.08 Georgia, serif;
  letter-spacing: -.025em;
}

.home-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: grid;
  align-content: start;
  min-height: 290px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8e4dc;
  border-radius: 20px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--soft-2);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 850;
}

.product-card h3 {
  margin: 32px 0 10px;
  font: 750 25px/1.16 Georgia, serif;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-card > strong {
  align-self: end;
  margin-top: 24px;
  color: var(--green);
  font-size: 13px;
}

.product-card.featured {
  grid-column: span 2;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.14), transparent 35%),
    var(--green-dark);
  border-color: var(--green-dark);
}

.product-card.featured > span {
  color: #fff;
  background: rgba(255,255,255,.14);
}

.product-card.featured p {
  color: #c5dbd1;
}

.product-card.featured > strong {
  color: #fff;
}

.product-card.wide {
  grid-column: span 2;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.situation-grid a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 25px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.situation-grid a:hover {
  background: var(--soft);
}

.situation-grid span {
  color: var(--muted);
  font-size: 14px;
}

.evidence-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, .8fr);
  gap: 80px;
  align-items: center;
}

.evidence-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  height: 650px;
  background: #102a1e;
}

.evidence-copy {
  color: #fff;
}

.evidence-copy .section-kicker {
  color: #9bd6be;
}

.evidence-copy p {
  color: #b8cdc3;
}

.evidence-copy a {
  color: #fff;
  font-weight: 800;
}

.evidence-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
}

.evidence-numbers div {
  display: grid;
  min-height: 150px;
  padding: 23px;
  background: rgba(255,255,255,.055);
}

.evidence-numbers strong {
  color: #fff;
  font: 800 42px/1 Georgia, serif;
}

.evidence-numbers span {
  align-self: end;
  color: #abc0b6;
  font-size: 12px;
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-cards article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.method-cards span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--green);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 850;
}

.method-cards h3 {
  margin: 25px 0 7px;
  font: 750 22px/1.2 Georgia, serif;
}

.method-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 44px;
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 45px;
}

.site-footer h2,
.site-footer strong {
  margin: 0 0 13px;
  color: #fff;
  font-size: 15px;
}

.footer-brand > strong {
  font: 800 27px/1 Georgia, serif;
}

.footer-brand p {
  max-width: 430px;
  color: #adc0b7;
  font-size: 14px;
}

.footer-note {
  color: #7f988d !important;
  font-size: 12px !important;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #b8cac1;
  font-size: 13px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 25px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #748c81;
  border-top: 1px solid #263a31;
  font-size: 11px;
}

@media (max-width: 1080px) {
  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }

  .hero-data {
    max-width: 560px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .page-layout,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, var(--content));
  }

  .brand-copy small {
    display: none;
  }

  .page-shell {
    padding-top: 20px;
  }

  .breadcrumbs {
    margin-bottom: 25px;
  }

  .article-header h1,
  .home-hero h1 {
    font-size: clamp(34px, 11vw, 49px);
  }

  .article-lead {
    font-size: 18px;
  }

  .editorial-line {
    display: grid;
    gap: 5px;
  }

  .editorial-line span + span::before {
    display: none;
  }

  .content-section {
    padding: 30px 0;
  }

  .related-grid,
  .sidebar,
  .tool-form,
  .tool-form-dense,
  .result-grid,
  .charge-lines,
  .rent-grid,
  .method-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-panel {
    margin-left: -4px;
    margin-right: -4px;
    padding: 20px;
    border-radius: 18px;
  }

  .tool-heading,
  .observatory-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-heading {
    display: flex;
  }

  .tool-heading p {
    max-width: none;
  }

  .charge-lines label {
    grid-template-columns: minmax(0, 1fr) 90px 12px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .home-hero,
  .home-section {
    width: min(100% - 28px, var(--content));
  }

  .home-hero {
    padding: 55px 0 65px;
  }

  .home-hero h1 {
    font-size: clamp(45px, 14vw, 66px);
  }

  .hero-copy > p {
    font-size: 18px;
  }

  .hero-data > strong {
    font-size: 58px;
  }

  .home-section {
    padding: 65px 0;
  }

  .home-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .product-grid,
  .situation-grid,
  .method-cards,
  .evidence-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card.featured,
  .product-card.wide {
    grid-column: auto;
  }

  .product-card {
    min-height: 250px;
  }

  .evidence-section {
    gap: 40px;
  }

  .evidence-section::before {
    height: 1050px;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .quittance-preview,
  .quittance-preview * {
    visibility: visible !important;
  }

  .quittance-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
}

/* ==========================================================================
   Direction visuelle premium — grille large, immobilier éditorial, v3
   ========================================================================== */

:root {
  --ink: #14221c;
  --muted: #607069;
  --paper: #fff;
  --soft: #f1f4ef;
  --soft-2: #e5eee8;
  --line: #d8e2db;
  --green: #0d6446;
  --green-dark: #082f22;
  --green-bright: #208260;
  --gold: #cda967;
  --shadow: 0 26px 80px rgba(15, 43, 31, .12);
  --shadow-soft: 0 16px 45px rgba(21, 43, 33, .07);
  --radius: 26px;
  --content: 1520px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

body {
  background: #f6f7f4;
  font-family: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(25, 55, 42, .11);
  backdrop-filter: blur(20px);
}

.header-main {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .96);
}

.header-inner {
  min-height: 90px;
  gap: 34px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 15px 15px 15px 5px;
  font: 800 26px/1 var(--serif);
  box-shadow: 0 10px 26px rgba(15, 92, 65, .22);
}

.brand-copy strong {
  font: 800 25px/1 var(--serif);
  letter-spacing: -.025em;
}

.brand-copy small {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .115em;
}

.main-nav {
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 12px 10px;
  color: #314039;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 720;
}

.main-nav a:not(.header-action)[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 5px;
  left: 11px;
  height: 2px;
  background: var(--green);
  border-radius: 99px;
}

.main-nav .header-action {
  gap: 12px;
  margin-left: 10px;
  padding: 13px 17px;
  color: #fff;
  background: var(--green-dark);
}

.main-nav .header-action:hover,
.main-nav .header-action:focus-visible {
  color: #fff;
  background: var(--green);
}

.main-nav .header-action span {
  color: #b7d7ca;
  font-size: 16px;
}

.guide-bar {
  background: #f3f5f1;
  border-top: 1px solid #e3e8e2;
}

.guide-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 43px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.guide-inner::-webkit-scrollbar {
  display: none;
}

.guide-inner a,
.guide-label {
  flex: 0 0 auto;
  padding: 8px 13px;
  color: #4d5d56;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.guide-label {
  padding-left: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.guide-inner a:hover,
.guide-inner a[aria-current="page"] {
  color: var(--green-dark);
  background: #fff;
}

.guide-all {
  margin-left: auto;
  color: var(--green-dark) !important;
}

.page-shell {
  padding: 52px 0 100px;
  background:
    radial-gradient(circle at 8% 0, rgba(205, 169, 103, .08), transparent 24%),
    #f4f6f2;
}

.page-layout {
  grid-template-columns: minmax(0, 1040px) minmax(320px, 360px);
  justify-content: space-between;
  gap: 72px;
}

.article {
  padding: clamp(38px, 4.6vw, 64px);
  background: #fff;
  border: 1px solid rgba(216, 226, 219, .92);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.breadcrumbs {
  margin-bottom: 44px;
}

.article-header {
  padding-bottom: 42px;
}

.article-header h1,
.home-hero h1,
.content-section h2,
.tool-heading h2,
.decision-box strong,
.footer-cta h2 {
  font-family: var(--serif);
}

.article-header h1 {
  max-width: 930px;
  font-size: clamp(44px, 4.8vw, 72px);
}

.article-lead {
  max-width: 880px;
  font-size: 22px;
}

.content-section {
  padding: 44px 0;
}

.content-section h2 {
  max-width: 860px;
  font-size: clamp(30px, 3.1vw, 43px);
}

.sidebar {
  top: 160px;
  gap: 20px;
}

.sidebar-card {
  padding: 28px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.irl-card {
  padding: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.14), transparent 36%),
    linear-gradient(145deg, #143e2d, #082b1f);
}

.home-page {
  background: #fff;
}

.home-hero {
  min-height: 700px;
  padding: 66px 0 74px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(55px, 5vw, 80px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0px, 1vw, 18px);
}

.home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.home-hero .eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.home-hero h1 {
  max-width: 740px;
  margin: 24px 0 26px;
  font-size: clamp(60px, 5.6vw, 84px);
  line-height: .94;
  letter-spacing: -.054em;
}

.home-hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 690px;
  color: #485950;
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 13px 23px;
  border-radius: 12px;
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  color: #68766f;
  font-size: 12px;
  font-weight: 700;
}

.hero-reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-reassurance i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--soft-2);
}

.hero-visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: #d9d4c8;
  border-radius: 42px 42px 42px 12px;
  box-shadow: 0 35px 90px rgba(26, 47, 37, .18);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(5, 28, 19, .2));
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-photo-label {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  color: #fff;
  background: rgba(8, 35, 25, .76);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.hero-photo-label span {
  color: #c3d7ce;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-photo-label strong {
  font-size: 12px;
}

.hero-data {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 28px;
  width: min(390px, calc(100% - 56px));
  padding: 27px 29px;
  background:
    radial-gradient(circle at 90% 5%, rgba(255,255,255,.13), transparent 35%),
    rgba(7, 42, 29, .95);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px 24px 24px 8px;
  box-shadow: 0 22px 60px rgba(4, 23, 16, .3);
  backdrop-filter: blur(18px);
}

.hero-data > strong {
  margin-top: 11px;
  font: 800 61px/1 var(--serif);
}

.hero-data dl {
  margin: 19px 0 17px;
}

.hero-data dl div {
  padding: 8px 0;
}

.hero-data > a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
}

.trust-strip {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  color: #fff;
  background: var(--green-dark);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.trust-strip div {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 95px;
  padding: 24px 28px;
}

.trust-strip div + div::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 1px;
  background: rgba(255,255,255,.15);
}

.trust-strip strong {
  font: 760 22px/1.1 var(--serif);
}

.trust-strip span {
  color: #a9c1b6;
  font-size: 11px;
  font-weight: 650;
}

.home-section {
  padding: 112px 0;
}

.toolbox-section::before {
  background:
    linear-gradient(90deg, rgba(226, 234, 228, .55) 1px, transparent 1px),
    linear-gradient(rgba(226, 234, 228, .55) 1px, transparent 1px),
    #f3f5f1;
  background-size: 64px 64px;
}

.home-heading {
  margin-bottom: 48px;
}

.home-heading h2,
.evidence-copy h2,
.directory-intro h2 {
  max-width: 880px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.02;
}

.home-heading > p {
  max-width: 490px;
  font-size: 16px;
}

.product-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  grid-column: span 3;
  min-height: 410px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid #d5e0d8;
  border-radius: 25px;
  box-shadow: 0 8px 24px rgba(20, 48, 36, .035);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
  border-color: #adc7b8;
  box-shadow: 0 24px 65px rgba(17, 51, 38, .13);
  transform: translateY(-6px);
}

.product-card.featured {
  grid-column: span 6;
  min-height: 440px;
  padding: 37px;
}

.product-card:nth-child(4) {
  grid-column: span 4;
  min-height: 350px;
}

.product-card.wide {
  grid-column: span 8;
  min-height: 350px;
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.product-card-head > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--soft-2);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 850;
}

.product-card-head > small {
  color: #7a8982;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.product-card.featured .product-card-head > span,
.observatory-card .product-card-head > span {
  color: #fff;
  background: rgba(255,255,255,.14);
}

.product-card.featured .product-card-head > small,
.observatory-card .product-card-head > small {
  color: #bbd3c8;
}

.product-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 40px;
  align-items: end;
  margin-top: 54px;
}

.product-card h3 {
  margin: 30px 0 11px;
  font: 760 28px/1.12 var(--serif);
  letter-spacing: -.02em;
}

.product-card.featured h3 {
  margin-top: 0;
  font-size: clamp(34px, 3.2vw, 49px);
}

.product-card p {
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.product-card.featured .card-link,
.observatory-card .card-link {
  border-top-color: rgba(255,255,255,.17);
}

.irl-preview {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
}

.irl-preview small {
  color: #aac7ba;
  font-size: 10px;
}

.irl-preview strong {
  color: #fff;
  font: 800 46px/1 var(--serif);
}

.irl-preview span {
  color: #d0e1d9;
  font-size: 11px;
}

.card-visual {
  height: 86px;
  margin-top: 30px;
}

.document-visual {
  position: relative;
  width: 100px;
  padding: 20px 17px;
  background: #f4f6f2;
  border: 1px solid #d7e0da;
  border-radius: 12px 12px 12px 3px;
  transform: rotate(-2deg);
}

.document-visual i {
  display: block;
  height: 4px;
  margin-bottom: 8px;
  background: #c8d3cc;
  border-radius: 99px;
}

.document-visual i:nth-child(2) {
  width: 72%;
}

.document-visual b {
  position: absolute;
  right: -17px;
  bottom: -12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--green);
  border: 4px solid #fff;
  border-radius: 50%;
}

.deadline-visual {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.deadline-visual strong {
  color: var(--green-dark);
  font: 800 62px/.8 var(--serif);
}

.deadline-visual span,
.deadline-visual small {
  color: #77857e;
  font-size: 12px;
  font-weight: 750;
}

.charges-visual {
  display: grid;
  align-content: end;
  gap: 9px;
  width: min(270px, 100%);
}

.charges-visual span {
  position: relative;
  height: 10px;
  overflow: hidden;
  background: #e8eee9;
  border-radius: 99px;
}

.charges-visual span::after {
  content: "";
  display: block;
  width: var(--bar);
  height: 100%;
  background: linear-gradient(90deg, var(--green-dark), var(--green-bright));
  border-radius: inherit;
}

.observatory-card {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 31, 22, .95) 0%, rgba(5, 31, 22, .78) 52%, rgba(5, 31, 22, .12) 100%),
    url("/assets/images/home-observatoire-premium.webp") center 52% / cover no-repeat;
  border-color: #294c3d;
}

.observatory-card::after {
  content: "34 900";
  position: absolute;
  right: 33px;
  bottom: 22px;
  color: rgba(255,255,255,.16);
  font: 800 clamp(52px, 6.5vw, 104px)/1 var(--serif);
  letter-spacing: -.06em;
}

.observatory-card h3,
.observatory-card p,
.observatory-card .card-link {
  position: relative;
  z-index: 1;
  max-width: 58%;
}

.observatory-card h3 {
  margin-top: 48px;
  font-size: clamp(32px, 3.2vw, 48px);
}

.observatory-card p {
  color: #c8d9d1;
}

.observatory-card .card-link {
  color: #fff;
}

.situation-section {
  padding-top: 120px;
}

.situation-grid {
  gap: 14px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.situation-grid a {
  position: relative;
  min-height: 220px;
  padding: 30px 64px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(20, 48, 36, .035);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.situation-grid a:hover {
  background: #fff;
  border-color: #abc4b6;
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.situation-grid small {
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.situation-grid strong {
  font: 750 22px/1.25 var(--serif);
}

.situation-grid i {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--green);
  background: var(--soft);
  border-radius: 50%;
  font-style: normal;
}

.directory-section {
  display: grid;
  grid-template-columns: minmax(310px, .62fr) minmax(0, 1.38fr);
  gap: clamp(60px, 7vw, 115px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.directory-intro {
  position: sticky;
  top: 170px;
}

.directory-intro h2 {
  margin: 13px 0 24px;
}

.directory-intro p {
  max-width: 470px;
  color: var(--muted);
}

.directory-intro > a {
  display: inline-flex;
  gap: 18px;
  margin-top: 14px;
  font-weight: 800;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.directory-grid a {
  position: relative;
  min-height: 164px;
  padding: 25px 56px 24px 25px;
  color: var(--ink);
  background: #f4f6f2;
  border: 1px solid #e0e7e1;
  border-radius: 18px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.directory-grid a:hover {
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-3px);
}

.directory-grid span {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.directory-grid strong {
  display: block;
  margin-top: 8px;
  font: 760 24px/1.15 var(--serif);
}

.directory-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.directory-grid i {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #789087;
  font-style: normal;
}

.directory-grid a:hover span,
.directory-grid a:hover p,
.directory-grid a:hover i {
  color: #bcd0c6;
}

.evidence-section {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, .75fr);
  gap: 55px;
  padding-top: 105px;
  padding-bottom: 105px;
}

.evidence-section::before {
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(5, 27, 19, .82), rgba(5, 27, 19, .3)),
    url("/assets/images/home-observatoire-premium.webp") center / cover no-repeat;
  transform: translateX(-50%);
}

.evidence-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: calc(100% + 70px);
  margin-left: -35px;
  background: linear-gradient(110deg, rgba(6, 39, 27, .93), rgba(6, 39, 27, .71));
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 34px;
  box-shadow: 0 35px 100px rgba(2, 20, 13, .32);
  backdrop-filter: blur(5px);
}

.evidence-copy,
.evidence-numbers {
  position: relative;
  z-index: 1;
}

.evidence-copy {
  padding-left: 18px;
}

.evidence-copy h2 {
  margin-top: 17px;
  font-size: clamp(43px, 4.4vw, 68px);
}

.evidence-copy p {
  max-width: 790px;
  font-size: 16px;
  line-height: 1.75;
}

.evidence-copy a {
  display: inline-flex;
  gap: 18px;
  margin-top: 10px;
}

.evidence-numbers {
  border-radius: 24px;
}

.evidence-numbers div {
  min-height: 175px;
  padding: 28px;
}

.evidence-numbers strong {
  font-family: var(--serif);
  font-size: 46px;
}

.method-section {
  padding-bottom: 126px;
}

.method-cards {
  gap: 20px;
}

.method-cards article {
  min-height: 275px;
  padding: 34px;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(20, 48, 36, .035);
}

.method-cards span {
  width: auto;
  height: auto;
  display: block;
  color: var(--green);
  background: none;
  border-radius: 0;
  font-size: 10px;
  letter-spacing: .12em;
}

.method-cards h3 {
  margin-top: 48px;
  font: 760 27px/1.15 var(--serif);
}

.method-cards p {
  min-height: 68px;
}

.method-cards a {
  display: inline-flex;
  gap: 12px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.method-cards i {
  font-style: normal;
}

.site-footer {
  background:
    radial-gradient(circle at 15% 10%, rgba(35, 112, 81, .16), transparent 25%),
    #071e15;
}

.footer-cta {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 64px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.footer-kicker {
  color: #8ec3ad;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 800px;
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(37px, 3.8vw, 58px);
  line-height: 1.03;
  letter-spacing: -.03em;
}

.footer-cta-actions {
  display: grid;
  justify-items: end;
  gap: 17px;
  flex: 0 0 auto;
}

.button-light {
  color: var(--green-dark) !important;
  background: #fff !important;
  border-color: #fff !important;
}

.footer-text-link {
  color: #a9c5b9 !important;
  font-size: 12px !important;
}

.footer-inner {
  padding-top: 70px;
  padding-bottom: 55px;
  grid-template-columns: 1.9fr repeat(3, 1fr);
  gap: 70px;
}

.footer-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
  margin: 0 0 21px !important;
  color: #fff !important;
}

.footer-logo .brand-mark {
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.footer-logo strong {
  margin: 0;
  font: 800 30px/1 var(--serif);
}

.footer-brand p {
  max-width: 500px;
}

@media (max-width: 1600px) {
  .evidence-section::after {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 1450px) {
  .header-inner {
    min-height: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a,
  .main-nav .header-action {
    margin-left: 0;
    padding: 13px 15px;
  }

  .main-nav a:not(.header-action)[aria-current="page"]::after {
    display: none;
  }

  .home-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
  }

  .home-hero h1 {
    font-size: clamp(55px, 5.5vw, 72px);
  }

  .home-hero h1 span {
    white-space: normal;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
  }
}

@media (max-width: 1050px) {
  .guide-bar {
    display: none;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero h1 span {
    white-space: normal;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.featured {
    grid-column: span 12;
  }

  .product-card:nth-child(2),
  .product-card:nth-child(3) {
    grid-column: span 6;
  }

  .product-card:nth-child(4) {
    grid-column: span 5;
  }

  .product-card.wide {
    grid-column: span 7;
  }

  .directory-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .directory-intro {
    position: static;
    max-width: 760px;
  }

  .evidence-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .evidence-numbers {
    max-width: 720px;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta-actions {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .page-layout,
  .footer-inner,
  .footer-bottom,
  .footer-cta,
  .trust-strip {
    width: min(100% - 28px, var(--content));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .brand-copy strong {
    font-size: 23px;
  }

  .main-nav {
    top: 70px;
    right: 14px;
    left: 14px;
  }

  .article {
    padding: 28px 21px;
    border-radius: 20px;
  }

  .page-shell {
    padding: 20px 0 60px;
  }

  .home-hero {
    padding: 48px 0 45px;
  }

  .home-hero h1 {
    margin-top: 19px;
    font-size: clamp(47px, 15vw, 65px);
    line-height: .96;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-reassurance {
    display: grid;
  }

  .hero-visual {
    min-height: 570px;
    border-radius: 25px 25px 25px 8px;
  }

  .hero-visual > img {
    min-height: 570px;
    object-position: 58% center;
  }

  .hero-photo-label {
    top: 16px;
    right: 16px;
  }

  .hero-data {
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    padding: 23px;
  }

  .hero-data > strong {
    font-size: 53px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0;
  }

  .trust-strip div {
    min-height: 105px;
    padding: 20px;
  }

  .trust-strip div + div::before {
    display: none;
  }

  .trust-strip div:nth-child(2n) {
    border-left: 1px solid rgba(255,255,255,.13);
  }

  .trust-strip div:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.13);
  }

  .home-section {
    padding: 78px 0;
  }

  .home-heading h2,
  .evidence-copy h2,
  .directory-intro h2 {
    font-size: clamp(37px, 11vw, 50px);
  }

  .product-grid,
  .situation-grid,
  .method-cards,
  .directory-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card,
  .product-card.featured,
  .product-card:nth-child(2),
  .product-card:nth-child(3),
  .product-card:nth-child(4),
  .product-card.wide {
    grid-column: auto;
    min-height: 340px;
    padding: 26px;
  }

  .product-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 38px;
  }

  .irl-preview {
    max-width: 210px;
  }

  .observatory-card h3,
  .observatory-card p,
  .observatory-card .card-link {
    max-width: 90%;
  }

  .observatory-card::after {
    font-size: 58px;
  }

  .situation-grid a {
    min-height: 195px;
  }

  .directory-section {
    gap: 48px;
  }

  .evidence-section {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .evidence-section::after {
    width: calc(100% + 14px);
    margin-left: -7px;
    border-radius: 24px;
  }

  .evidence-copy {
    padding: 0 12px;
  }

  .evidence-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-numbers div {
    min-height: 135px;
    padding: 20px;
  }

  .evidence-numbers strong {
    font-size: 34px;
  }

  .method-cards article {
    min-height: 245px;
  }

  .footer-cta {
    padding: 58px 0 52px;
  }

  .footer-cta h2 {
    font-size: clamp(37px, 11vw, 49px);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 22px;
  }
}
