/* Solstice Conseil — booking.solstice.ma
   Direction artistique : Hôtellerie & conciergerie marocaine éditoriale.
   Sobre, lumineux, filets fins, 40–50 % d'espace blanc, typographie soignée. */

:root {
  --paper: #FAF7F2;
  --paper-alt: #F3ECE2;
  --surface: #FFFFFF;
  --night: #1F1429;
  --night-soft: #2D1E3B;
  --ink: #24172F;
  --ink-muted: #665B6B;
  --ink-subtle: #8C8091;
  --rule: #E4DACB;
  --rule-dark: rgba(255, 246, 238, 0.16);
  --terracotta: #B65A3C;
  --terracotta-hover: #9C492E;
  --gold: #B0864B;
  --sage: #2F6F54;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 8.5vw, 7.5rem);
  --radius-sm: 2px;
  --radius-md: 4px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.75rem;
}

.section-index::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-dark .section-index::after {
  background: var(--rule-dark);
}

.section-dark .eyebrow {
  color: #E2B887;
}

h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.35rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 58ch;
  margin: 0;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  height: 24px;
  width: auto;
}

.brand-sep {
  width: 1px;
  height: 18px;
  background: var(--rule);
}

.brand-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--night);
  color: #FAF7F2;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--terracotta);
}

/* ==================== BUTTONS ==================== */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--night);
  color: #FAF7F2;
}

.btn-primary:hover {
  background: var(--terracotta);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #FAF7F2;
}

.btn-light {
  background: #FAF7F2;
  color: var(--night);
}

.btn-light:hover {
  background: #EBDCCF;
}

.btn-outline-light {
  background: transparent;
  color: #FAF7F2;
  border-color: rgba(250, 247, 242, 0.35);
}

.btn-outline-light:hover {
  border-color: #FAF7F2;
  background: rgba(250, 247, 242, 0.08);
}

/* ==================== 1. HERO ==================== */
.hero {
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(4rem, 7vw, 6.5rem);
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-cities {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.hero-lead {
  margin-bottom: 2.25rem;
}

.hero-stat-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 1.4rem;
  margin-bottom: 2.25rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.hero-stat-num span {
  color: var(--terracotta);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ledger {
  margin-top: -2.25rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.5rem;
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-muted);
}

.ledger-head strong {
  color: var(--ink);
  font-weight: 600;
}

.ledger-status {
  color: var(--sage);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ledger-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ledger-metric-val {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.ledger-metric-lbl {
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 3px;
}

/* ==================== BANDE PLATEFORMES ==================== */
.platforms-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.75rem;
}

.platforms-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}

.platforms-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  white-space: nowrap;
}

.platforms-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem 2.75rem;
  flex: 1;
  justify-content: flex-end;
}

.plat-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.plat-logo:hover {
  opacity: 1;
}

.plat-logo svg {
  height: 22px;
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .platforms-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .platforms-logos {
    justify-content: flex-start;
    gap: 1.25rem 2rem;
  }
}

/* ==================== SECTIONS ==================== */
.section {
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--rule);
}

.section-alt {
  background: var(--paper-alt);
}

.section-surface {
  background: var(--surface);
}

.section-dark {
  background: var(--night);
  color: #FAF7F2;
  border-bottom: 1px solid var(--rule-dark);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

/* ==================== 2. LE CONSTAT ==================== */
.constat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.constat-item {
  padding: 2rem 1.75rem 1.75rem 0;
  border-right: 1px solid var(--rule);
}

.constat-item:not(:first-child) {
  padding-left: 1.75rem;
}

.constat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.constat-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}

.constat-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.constat-item p {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
}

/* ==================== 3. LES 4 PILIERS ==================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pillar {
  padding: clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.pillar:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-left: 0;
}

.pillar:nth-child(even) {
  padding-right: 0;
}

.pillar-wide {
  grid-column: 1 / -1;
  border-right: none !important;
  padding-inline: 0 !important;
  border-bottom: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 2rem;
}

.pillar-wide .pillar-proof {
  border-top: none;
  border-left: 1px solid var(--rule);
  padding-top: 0;
  padding-left: 2rem;
  flex-direction: column;
  gap: 0.7rem;
}

.offer-options {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-dark);
}

.offer-options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.offer-opt {
  border-left: 1px solid var(--rule-dark);
  padding-left: 1.15rem;
}

.offer-opt strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #FAF7F2;
  margin-bottom: 0.25rem;
}

.offer-opt span {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.68);
  line-height: 1.5;
}

.offer-options-note {
  margin-top: 1.25rem;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.55);
  line-height: 1.5;
}

.pillar-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.pillar-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.pillar-tag {
  font-size: 12px;
  color: var(--ink-subtle);
}

.pillar h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  margin-bottom: 0.85rem;
}

.pillar p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 14.5px;
}

.pillar-proof {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.pillar-proof span {
  position: relative;
  padding-left: 14px;
}

.pillar-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 1px;
  background: var(--terracotta);
}

/* ==================== RÉFÉRENCES EN LIGNE ==================== */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}

.ref-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.ref-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-alt);
}

.ref-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ref-card:hover .ref-photo img {
  transform: scale(1.025);
}

.ref-body {
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.ref-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ref-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 6px;
}

.ref-city {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.ref-body h3 {
  font-size: 1.55rem;
  margin-top: 2px;
}

.ref-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.ref-link {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease;
}

.ref-link:hover {
  color: var(--terracotta);
}

/* ==================== 4. PARCOURS VOYAGEUR ==================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

.step {
  padding: 2rem 1.25rem 0 0;
  position: relative;
}

.step:not(:first-child) {
  padding-left: 1.25rem;
  border-left: 1px solid var(--rule);
}

.step-marker {
  width: 9px;
  height: 9px;
  background: var(--paper-alt);
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: 0;
}

.step:not(:first-child) .step-marker {
  left: -5px;
}

.step-when {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.65rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.step p {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==================== 5. COMPARATIF & CALCULATEUR ==================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  font-size: 14.5px;
}

.compare-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-muted);
}

.compare-table th:first-child {
  padding-left: 0;
  width: 24%;
}

.compare-table th.col-solstice {
  color: var(--terracotta);
  background: var(--surface);
}

.compare-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.compare-table td:first-child {
  padding-left: 0;
  font-weight: 600;
  color: var(--ink);
}

.compare-table td.col-before {
  color: var(--ink-muted);
}

.compare-table td.col-solstice {
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
}

/* Calculateur */
.calc-box {
  background: var(--surface);
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.calc-inputs {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-right: 1px solid var(--rule);
}

.calc-inputs h3 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.calc-inputs .calc-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

.control {
  margin-bottom: 1.65rem;
}

.control:last-child {
  margin-bottom: 0;
}

.control-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.55rem;
  gap: 1rem;
}

.control-head label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.control-val {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--rule);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--night);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--night);
  cursor: pointer;
}

.rate-toggle {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rate-btn {
  border: none;
  background: transparent;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  border-right: 1px solid var(--rule);
  transition: background 0.15s ease, color 0.15s ease;
}

.rate-btn:last-child {
  border-right: none;
}

.rate-btn.active {
  background: var(--night);
  color: #FAF7F2;
}

.calc-results {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.calc-main-metric {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.calc-main-metric .eyebrow {
  margin-bottom: 0.5rem;
}

.calc-big {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
}

.calc-big span {
  color: var(--terracotta);
}

.calc-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.calc-sec-val {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.calc-sec-lbl {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.calc-payback {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}

.calc-payback strong {
  color: var(--terracotta);
}

.calc-note {
  font-size: 12px;
  color: var(--ink-subtle);
  margin: 0;
}

/* ==================== 6. OFFRE 2 500 DH & FAQ ==================== */
.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.offer-price-block {
  border-top: 1px solid var(--rule-dark);
  padding-top: 2rem;
}

.offer-amount {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 5.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1;
  color: #FAF7F2;
  margin: 0.6rem 0 0.75rem;
}

.offer-amount span {
  font-size: 0.42em;
  color: #E2B887;
  margin-left: 6px;
}

.offer-caption {
  font-size: 14.5px;
  color: rgba(250, 247, 242, 0.74);
  margin: 0 0 2rem;
  max-width: 38ch;
}

.offer-meta {
  border-top: 1px solid var(--rule-dark);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 13px;
  color: rgba(250, 247, 242, 0.65);
  line-height: 1.6;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-dark);
}

.offer-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.offer-list-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #E2B887;
}

.offer-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #FAF7F2;
  margin-bottom: 0.25rem;
}

.offer-list p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(250, 247, 242, 0.7);
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 500;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--terracotta);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.5rem;
  font-size: 14.5px;
  color: var(--ink-muted);
  max-width: 62ch;
  line-height: 1.65;
}

/* ==================== 7. CTA FINAL & FORMULAIRE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-direct {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 14.5px;
}

.contact-direct a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-direct a:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--night);
  background: var(--surface);
}

.field textarea {
  resize: vertical;
  min-height: 92px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.5rem;
}

.form-hint {
  font-size: 12.5px;
  color: var(--ink-subtle);
  margin: 0.9rem 0 0;
}

/* ==================== FOOTER ==================== */
.site-footer {
  padding-block: 2.5rem;
  background: var(--paper);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 20px;
  width: auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-grid,
  .section-header,
  .offer-grid,
  .faq-wrap,
  .contact-grid,
  .calc-box,
  .refs-grid {
    grid-template-columns: 1fr;
  }

  .constat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .constat-item:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }

  .constat-item:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--rule);
  }

  .constat-item:nth-child(4) {
    border-top: 1px solid var(--rule);
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: none;
  }

  .step {
    border-top: 1px solid var(--rule);
    padding: 1.75rem 1.25rem 1.75rem 0;
  }

  .step:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }

  .step:nth-child(even) {
    border-left: 1px solid var(--rule);
    padding-left: 1.25rem;
  }

  .calc-inputs {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .pillar-wide {
    grid-template-columns: 1fr;
  }

  .pillar-wide .pillar-proof {
    border-left: none;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 1rem;
  }

  .offer-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .offer-options-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  /* Petits écrans (375 px) : rien ne dépasse à droite. */
  .platforms-label {
    white-space: normal;
    line-height: 1.6;
  }

  .platforms-logos {
    width: 100%;
    flex: none;
    gap: 1rem 1.5rem;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .brand img {
    height: 20px;
  }

  .brand-sep,
  .brand-tag {
    display: none;
  }

  .hero-stat-band,
  .constat-grid,
  .pillars-grid,
  .timeline,
  .form-row,
  .ledger-metrics {
    grid-template-columns: 1fr;
  }

  .constat-item,
  .pillar,
  .step {
    border-right: none !important;
    border-left: none !important;
    padding-inline: 0 !important;
  }

  .constat-item:not(:first-child) {
    border-top: 1px solid var(--rule);
  }

  .pillar:not(:last-child) {
    border-bottom: 1px solid var(--rule) !important;
  }

  .hero-ledger {
    margin: 0;
    border-top: none;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    border-top: 1px solid var(--rule);
    padding-block: 1rem;
  }

  .compare-table td {
    border-bottom: none;
    padding: 0.35rem 0;
  }

  .compare-table td.col-solstice {
    padding: 0.75rem 1rem;
    margin-top: 0.4rem;
    border: 1px solid var(--rule);
  }
}

/* Tarifs validés le 05/12/2026 */
.hero-stat-from {
  display: block;
  font-size: 12px;
  font-family: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}

.offer-caption + .offer-caption {
  margin-top: 0.6rem;
}

.offer-intl {
  font-size: 12px;
  opacity: 0.7;
}

.offer-options-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .offer-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .offer-options-grid {
    grid-template-columns: 1fr;
  }
}
