/* ============================================================
   v6.css — Design System Bitwip IA
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */

@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/Lora-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/Lora-Italic-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'CabinetGrotesk';
  src: url('../assets/fonts/CabinetGrotesk-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Custom Properties ─────────────────────────────────────── */

:root {
  /* Backgrounds */
  --bg: #FAF8F6;
  --bg-warm: #F3EFEB;
  --bg-dark-teal: #004D49;
  --bg-dark-brown: #3D1E0F;
  --bg-footer: #2D2420;

  /* Colors intense */
  --orange: #fc622a;
  --salmon: #FAD2CF;
  --lime: #CCEA2C;
  --teal: #005955;
  --green: #9FE099;
  --lavender: #BCA8D1;

  /* Colors pastel */
  --orange-p: #FEE8E1;
  --lime-p: #F2F7D4;
  --teal-p: #E0F0EF;
  --lavender-p: #EDE6F3;

  /* Text */
  --text: #2D2420;
  --text-muted: #4D4540;
  --text-subtle: #9A928A;
  --text-faint: #B5ADA5;
  --border: #EDE8E3;

  /* Typography */
  --f-display: 'Lora', serif;
  --f-body: 'CabinetGrotesk', system-ui, -apple-system, sans-serif;
  --fw-display: 600;

  /* Layout */
  --max-w: 1440px;
  --pad-x: 64px;
  --section-gap: 80px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-full: 9999px;
}

/* ── Reset & Base ──────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

/* ── Skip link ────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--orange);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-family: var(--f-body);
  font-size: 0.875rem;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Typography Classes ────────────────────────────────────── */

.display {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.display em,
.display i {
  font-style: italic;
  color: var(--orange);
}

.display--light em,
.display--light i {
  color: var(--lime);
}

.body-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 65ch;
}

.lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-muted);
}

.label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 700;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--orange);
  color: #fff;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--r-full);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(252, 98, 42, 0.35);
  opacity: 1;
}

.btn-primary--lg {
  font-size: 18px;
  padding: 18px 40px;
}

.btn-lime {
  background-color: var(--lime);
  color: var(--bg-dark-teal);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--r-full);
  border: none;
}

.btn-lime:hover {
  box-shadow: 0 4px 16px rgba(204, 234, 44, 0.4);
  opacity: 1;
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

/* ── Layout ────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.section--warm {
  background-color: var(--bg-warm);
}

.section--dark-teal {
  background-color: var(--bg-dark-teal);
}

.section--dark-brown {
  background-color: var(--bg-dark-brown);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .label {
  color: var(--orange);
  margin-bottom: 12px;
}

.section-head .display {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-head .lead {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
}

/* ── Cards ─────────────────────────────────────────────────── */

.card {
  background-color: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card--hoverable:hover {
  border-color: rgba(252, 98, 42, 0.3);
  box-shadow: 0 0 20px rgba(252, 98, 42, 0.12);
}

.card--dark {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ── Badges ────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  padding: 8px 14px 8px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}

.badge-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.badge-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Tags ──────────────────────────────────────────────────── */

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-sm);
}

.tag--teal {
  background-color: var(--teal-p);
  color: var(--teal);
}

/* ── Links ─────────────────────────────────────────────────── */

.link-arrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: #e0521e;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow::after {
  content: '→';
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

/* ── Animations ────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Simulateur ────────────────────────────────────────────── */

.sim-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s;
}

.sim-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.sim-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.sim-range::-moz-range-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.2); }
  40% { transform: scale(1); }
  55% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

/* ── Trust logos ──────────────────────────────────────────── */

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

.trust-logo {
  height: 22px;
  width: auto;
  filter: brightness(0.3);
  opacity: 0.6;
  padding: 6px 10px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.trust-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  background: rgba(252, 98, 42, 0.08);
  border-color: rgba(252, 98, 42, 0.3);
}

/* ── Nav ───────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(45, 36, 32, 0.08);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 16px;
  color: var(--text);
  transition: color 0.2s;
  font-weight: 700;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link.active {
  color: var(--orange);
  font-weight: 700;
}

.nav-dropdown-trigger {
  position: relative;
}

.nav-dropdown-trigger:hover > .nav-link {
  color: var(--orange);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding-top: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}

.nav-dropdown-inner {
  background-color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--border);
}

.nav-dropdown-link {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown-link:hover {
  background-color: var(--bg-warm);
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--bg);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer .nav-link {
  font-size: 18px;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

/* ── Section: Constat ──────────────────────────────────────── */

.constat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.constat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.constat-icon--salmon {
  background-color: var(--salmon);
  color: #8B2020;
}

.constat-icon--lime {
  background-color: var(--lime);
  color: #3B4A00;
}

.constat-icon--lavender {
  background-color: var(--lavender-p);
  color: #5E3F7A;
}

.constat-icon--teal {
  background-color: var(--teal-p);
  color: var(--teal);
}
.constat-icon--orange-p {
  background-color: var(--orange-p);
  color: var(--orange);
}
.constat-icon--teal-p {
  background-color: var(--teal-p);
  color: var(--teal);
}

.transition-text {
  text-align: center;
  margin-top: 48px;
}

/* ── Section: Solution ─────────────────────────────────────── */

.solution-layout {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.solution-left {
  flex: 1;
}

.solution-right {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solution-benefit {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.solution-benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Dark teal overrides */
.section--dark-teal .display {
  color: #fff;
}

.section--dark-teal .lead {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark-teal .body-text {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark-teal h3 {
  color: #fff;
}

/* Dark brown overrides */
.section--dark-brown .display {
  color: #fff;
}

.section--dark-brown .lead {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark-brown .body-text {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark-brown h3 {
  color: #fff;
}

/* ── Section: Results ──────────────────────────────────────── */

.results-table-wrap {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table thead th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-subtle);
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  text-align: left;
}

.results-table tbody td {
  padding: 14px 16px;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.results-table tbody td:first-child {
  font-weight: 700;
  color: var(--text);
}

.results-table .col-before {
  text-decoration: line-through;
  color: var(--text-subtle);
}

.results-table .col-after {
  color: var(--teal);
  font-weight: 700;
}

/* ── Section: Steps ────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
}

/* ── Section: FAQ ──────────────────────────────────────────── */

.faq-list {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-top: 1px solid var(--border);
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
}

.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
  color: var(--text-subtle);
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
  color: var(--orange);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a {
  max-height: 600px;
}

.faq-a-inner {
  padding-bottom: 20px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

/* ── Section: CTA Final ────────────────────────────────────── */

.cta-final {
  display: flex;
  align-items: center;
  gap: 56px;
}

.photo-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--r-xl);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 13px;
}

/* ── Footer ────────────────────────────────────────────────── */

.footer {
  background-color: var(--bg);
  padding-top: 64px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.footer-link {
  font-size: 15px;
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text);
  text-shadow: 0.4px 0 0 currentColor;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-faint);
}

.footer-legal a {
  color: var(--text-faint);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--text-muted);
}

/* ── Nav extras ───────────────────────────────────────────── */

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-badge-ia {
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.05em;
  border: 2px solid rgba(252, 98, 42, 0.3);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 8px;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-cta {
  font-size: 16px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 24px;
}

.nav-dropdown-step {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid rgba(252, 98, 42, 0.3);
  border-radius: 4px;
  margin-right: 8px;
}

.nav-drawer-cta {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero-section {
  padding-top: 140px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 0;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 56px;
}

/* Homepage centered hero (has .hero-content) */
.hero-layout:has(.hero-content) {
  position: relative;
  justify-content: center;
  min-height: 620px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 768px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-content .hero-title {
  font-size: 72px;
  line-height: 1.1;
}

.hero-title-accent {
  color: var(--orange);
  font-style: italic;
}

.hero-content .hero-lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-content .hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  font-size: 16px;
  padding: 16px 24px;
  border-radius: var(--r-full);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  opacity: 1;
}

/* ── Hero (all pages) ─────────────────────────────────────── */

.hero-left {
  flex: 1.2;
}

.hero-right {
  flex: 1;
}

.hero-title {
  font-size: 51px;
}

.hero-lead {
  margin-top: 20px;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.hero-cta-hint {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-band .hero-badges {
  margin-top: 0;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 20px;
}

.hero-badge {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}

.hero-badge img {
  height: 16px;
  width: auto;
}

.hero-badge--france-num img {
  height: 24px;
  border-radius: 2px;
}

.hero-badge--rse img {
  height: 26px;
}

/* ── Hero decorative shapes ──────────────────────────────── */

.hero-shape {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  width: 170px;
  height: auto;
  will-change: transform;
}

/* Distribution circulaire autour du contenu — toutes à 170px, les 4 du haut mi-cachées sous le nav */
/* Haut : 2 coins visibles + 2 shapes centrales à moitié sous le nav */
.hero-shape--1 { width: 170px; top: 20px;   left: 3%; }       /* coin haut-gauche (visible) */
.hero-shape--2 { width: 220px; top: -170px; left: 22%; }      /* haut centre-gauche, plus grosse, moitié visible */
.hero-shape--3 { width: 220px; top: -170px; right: 22%; }     /* haut centre-droite, plus grosse, moitié visible */
.hero-shape--4 { width: 170px; top: 20px;   right: 3%; }      /* coin haut-droite (visible) */
/* Milieu : 2 shapes qui débordent sur les bords */
.hero-shape--5 { width: 170px; top: 44%;    left: -25px; }    /* bord gauche */
.hero-shape--6 { width: 170px; top: 44%;    right: -25px; }   /* bord droit */
/* Bas : 3 shapes, 2 et 4 encore plus bas et vers les bords */
.hero-shape--7 { width: 170px; bottom: 10px; left: 13%; }     /* bas gauche (image 2) */
.hero-shape--8 { width: 170px; bottom: -50px; left: 43%; }    /* bas centre (sous la CTA) */
.hero-shape--9 { width: 170px; bottom: 10px; right: 13%; }    /* bas droite (image 4) */

/* ── Trust band ───────────────────────────────────────────── */

.trust-band {
  margin-top: 56px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-band--inline {
  margin-top: 32px;
  padding-top: 0;
  justify-content: flex-start;
  gap: 16px;
}

.trust-band--inline .hero-badges {
  gap: 8px;
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  .trust-band--inline {
    flex-wrap: nowrap;
  }
}

.trust-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-faint);
}

.trust-provider {
  height: 28px;
  width: auto;
  filter: brightness(0.3);
  opacity: 0.7;
}

.trust-spacer {
  width: 16px;
  display: inline-block;
}

.trust-feature {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ── Constat extras ───────────────────────────────────────── */

.constat-card-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.constat-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.transition-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
}

.transition-arrow {
  margin-top: 16px;
}

/* ── Section head extras ──────────────────────────────────── */

.section-title {
  font-size: 38px;
}

/* ── Solution extras ──────────────────────────────────────── */

.solution-label {
  color: var(--lime);
  margin-bottom: 12px;
}

.solution-cta {
  margin-top: 28px;
  padding: 14px 28px;
}

.benefit-card {
  padding: 24px;
}

.benefit-icon--salmon {
  background-color: #FAD2CF;
}

.benefit-icon--lime {
  background-color: #F2F7D4;
}

.benefit-icon--lavender {
  background-color: #EDE6F3;
}

.benefit-icon--teal {
  background-color: #E0F0EF;
}

.benefit-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  font-weight: 700;
  color: #FAF8F6;
  margin-bottom: 6px;
}

.benefit-text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Results extras ───────────────────────────────────────── */

.card--flush {
  padding: 0;
  overflow: hidden;
}

/* ── Simulator ────────────────────────────────────────────── */

.simulator {
  max-width: 900px;
  margin: 48px auto 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  text-align: center;
}

.simulator-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 8px;
}

.simulator-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.simulator-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.simulator-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.simulator-count {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--orange);
  min-width: 48px;
}

.simulator-results {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.simulator-number {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
}

.simulator-number--teal {
  color: var(--teal);
}

.simulator-number--orange {
  color: var(--orange);
}

.simulator-number--dark {
  color: var(--text);
}

.simulator-result-label {
  font-size: 14px;
  color: var(--text-subtle);
  margin-top: 4px;
}

.simulator-source {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 20px;
}

/* ── Steps extras ─────────────────────────────────────────── */

.step-card {
  display: flex;
  flex-direction: column;
}

.step-card--featured {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, #fc622a0a, transparent);
  box-shadow: 0 12px 32px rgba(252, 98, 42, 0.18);
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .step-card--featured {
    margin-top: -20px;
    margin-bottom: -20px;
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.step-label {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--orange);
  font-weight: 400;
}

.step-tag-wrap {
  margin-bottom: 16px;
}

.step-subtitle {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border: 1px solid rgba(252, 98, 42, 0.3);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.step-card .nav-dropdown-step {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 6px;
}

.step-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.step-title--lg {
  font-size: 28px;
}

.step-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.step-price--lg {
  font-size: 26px;
}

.steps-cta {
  text-align: center;
  margin-top: 48px;
}

.steps-cta-hint {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 12px;
}

/* ── Engagements ──────────────────────────────────────────── */

.section--salmon {
  background: var(--salmon);
}

.label--brown {
  color: #8B3A2F;
}

.engagement-layout {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.engagement-card {
  flex: 1;
  padding: 36px;
  background: white;
  border: 1px solid rgba(139, 58, 47, 0.1);
}

.engagement-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.engagement-icon--teal {
  background: var(--teal-p);
}

.engagement-icon--lime {
  background: var(--lime-p);
}

.engagement-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}

.engagement-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
}

.engagement-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.engagement-badge {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(45, 36, 32, 0.15);
  border-radius: 10px;
  background: white;
}

/* ── CTA final extras ─────────────────────────────────────── */

.cta-final-col {
  flex: 1;
}

.cta-final-lead {
  margin-top: 20px;
}

.cta-final-actions {
  margin-top: 28px;
}

.cta-final-hint {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 12px;
}

.cta-final-photo-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

/* ── Footer extras ────────────────────────────────────────── */

.footer-logo-col {
  max-width: 300px;
}

.footer-logo-link {
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-badge {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-faint);
}

.footer-copyright a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-copyright a:hover {
  color: var(--text);
}

.footer-heartbeat {
  display: inline-block;
  animation: heartbeat 2.5s ease-in-out infinite;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  font-size: 12px;
  color: var(--text-faint);
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: var(--text);
}

.footer-col-link {
  color: inherit;
  text-decoration: none;
}

/* ── Underline wave ───────────────────────────────────────── */

.underline-wave {
  position: relative;
  display: inline-block;
}

.underline-wave svg {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
}

/* ── SVG dropdown caret ───────────────────────────────────── */

.nav-caret {
  vertical-align: middle;
  margin-left: 2px;
}

/* ── Solution lead override ───────────────────────────────── */

.solution-lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Hero badge (step pill) ───────────────────────────────── */

.hero-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--teal-p);
  border: 1px solid rgba(0, 89, 85, 0.15);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero-step-pill {
  background: var(--orange);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
}

/* ── Hero price block ─────────────────────────────────────── */

.hero-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 48px;
  font-weight: 900;
  color: var(--orange);
  margin: 24px 0 8px;
}

.hero-price-prefix {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
}

.hero-price-suffix {
  font-size: 20px;
  color: var(--text-subtle);
}

.hero-cta-hint-sm {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 10px;
}

.hero-subtext {
  font-size: 15px;
  color: var(--text-subtle);
}

/* ── Section centered lead ────────────────────────────────── */

.section-lead-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
}

.section-lead-centered--wide {
  max-width: 640px;
  margin-bottom: 40px;
}

/* ── Phase card header ────────────────────────────────────── */

.phase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.phase-tag {
  font-size: 12px;
}

.phase-body {
  margin-top: 8px;
}

/* ── Pricing cards ────────────────────────────────────────── */

.pricing-card {
  padding: 32px;
  text-align: center;
}

.pricing-card--featured {
  border-top: 4px solid var(--orange);
}

.pricing-card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}

.pricing-segment {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
}

.pricing-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin: 8px 0 20px;
}

.pricing-price .pricing-price-suffix {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-subtle);
}

.pricing-feature-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Pricing note box ─────────────────────────────────────── */

.pricing-note {
  text-align: center;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-note-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Accompagnement cards ─────────────────────────────────── */

.accom-card {
  padding: 32px;
  text-align: center;
}

.accom-card--featured {
  border-top: 3px solid var(--orange);
}

.accom-card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.accom-period {
  font-size: 15px;
  color: var(--text-subtle);
  margin: 0 0 16px;
}

.accom-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
}

.accom-price-strike {
  font-size: 20px;
  color: var(--text-subtle);
  font-weight: 400;
}

.accom-price-note {
  font-size: 13px;
  color: var(--text-subtle);
  margin: 4px 0 16px;
}

.accom-body {
  font-size: 16px;
  text-align: left;
}

.pricing-footnote {
  text-align: center;
  font-size: 14px;
  color: var(--text-subtle);
  margin-top: 24px;
}

/* ── Includes feature grid ────────────────────────────────── */

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-item-icon {
  min-width: 22px;
  margin-top: 2px;
}

.feature-item-text {
  font-size: 18px;
}

/* ── CTA section ──────────────────────────────────────────── */

.cta-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-centered--sm {
  max-width: 600px;
}

.cta-title {
  font-size: 38px;
}

.cta-lead {
  margin-top: 16px;
}

.cta-btn {
  margin-top: 28px;
}

.cta-hint {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 10px;
}

/* ── Program list (on-demarre stacked cards container) ───── */

.program-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* ── Video grid ───────────────────────────────────────────── */

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-card {
  padding: 0;
  overflow: hidden;
}

/* ── Program items (on-demarre stacked cards) ─────────────── */

.program-card {
  padding: 28px 32px;
}

.program-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.program-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-icon--orange {
  background: rgba(252, 98, 42, 0.12);
}

.program-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.program-body {
  font-size: 18px;
  margin: 0;
}

/* ── Section CTA box (inline price + button) ──────────────── */

.section-cta {
  text-align: center;
  margin-top: 40px;
}

.section-cta-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--orange);
  margin-bottom: 8px;
}

.section-cta-tagline {
  font-size: 16px;
  color: var(--text-muted);
}

.section-cta-btn {
  margin-top: 20px;
}

.section-cta-hint {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 10px;
}

/* ── CTA final price block ────────────────────────────────── */

.cta-price-block {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 48px;
  font-weight: 900;
  color: var(--text);
  margin: 20px 0 8px;
}

.cta-secondary-link {
  display: block;
  margin-top: 20px;
  font-size: 15px;
  color: var(--orange);
  font-weight: 700;
}

.cta-payment-hint {
  font-size: 14px;
  color: var(--text-subtle);
  margin-top: 16px;
}

/* ── Video cards ──────────────────────────────────────────── */

.video-embed {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body {
  padding: 20px;
}

.video-caption-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  font-weight: 700;
  color: #FAF8F6;
  margin-bottom: 8px;
}

.video-caption-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ── Tools section (on-demarre) ──────────────────────────────── */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.tool-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}

.tool-shot {
  border-bottom: 1px solid var(--border);
}

.tool-caption-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin: 0 0 6px;
}

.tool-caption-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Guarantee card ───────────────────────────────────────── */

.guarantee-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.guarantee-card {
  padding: 40px 32px;
}

.guarantee-icon {
  margin-bottom: 20px;
}

.guarantee-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
}

.guarantee-body {
  font-size: 17px;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   Notre approche — Agent cards
   ══════════════════════════════════════════════════════════════ */

.agent-card {
  flex-direction: column;
  gap: 0;
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.agent-avatar {
  width: 68px;
  height: 68px;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.sticker-ok {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.agent-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 12px;
  background: rgba(252, 98, 42, 0.08);
  border: 1px solid rgba(252, 98, 42, 0.2);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.agent-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.agent-body {
  margin-bottom: 16px;
}

.agent-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agent-example-item {
  font-size: 17px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.agent-example-item .sticker-ok {
  margin-top: 3px;
}

/* ── Notre approche — "Besoin d'aller plus loin" bloc ───────── */

.agents-more {
  text-align: center;
  margin-top: 40px;
}

.agents-more-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  margin-bottom: 12px;
}

.agents-more-text {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.agents-more-note {
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
}

/* ── Notre approche — Skills section ───────────────────────── */

.skills-section {
  margin-top: 56px;
}

.skills-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  margin-bottom: 24px;
}

/* ── Notre approche — Tools / outils connectés ─────────────── */

.tools-section {
  margin-top: 48px;
  text-align: center;
}

.tools-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 20px;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 15px;
  color: var(--text);
}

.tool-pill img {
  width: 18px;
  height: 18px;
}

.tools-count {
  font-size: 14px;
  color: var(--text-subtle);
}

/* ── Notre approche — Dust logo ─────────────────────────────── */

.dust-logo {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   Qui sommes-nous — Team cards
   ══════════════════════════════════════════════════════════════ */

.team-card {
  padding: 32px;
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
  display: block;
}

.team-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 18px;
}

/* ── Qui sommes-nous — Section lead centered ────────────────── */

.section-lead-centered {
  text-align: center;
  max-width: 680px;
  margin: 16px auto 0;
  line-height: 1.5;
}

/* ── Shared — inline link style ─────────────────────────────── */

.morpho-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Merci page ────────────────────────────────────────────── */

.merci-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.merci-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.merci-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.merci-checklist-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.merci-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* ── Responsive ────────────────────────────────────────────── */

/* Prevent horizontal overflow on all pages */
html {
  overflow-x: hidden;
}

/* 1024px */
@media (max-width: 1024px) {
  :root {
    --pad-x: 32px;
    --section-gap: 64px;
  }

  .hero-content .hero-title {
    font-size: 52px;
  }

  /* Tablette : même layout qu'en desktop, shapes plus petites (130px) */
  .hero-shape--1 { width: 130px; top: -80px;  left: 2%; }
  .hero-shape--2 { width: 130px; top: -110px; left: 22%; }
  .hero-shape--3 { width: 130px; top: -110px; right: 22%; }
  .hero-shape--4 { width: 130px; top: -80px;  right: 2%; }
  .hero-shape--5 { width: 130px; top: 44%;    left: -25px; }
  .hero-shape--6 { width: 130px; top: 44%;    right: -25px; }
  .hero-shape--7 { width: 130px; bottom: -20px; left: 2%; }
  .hero-shape--8 { width: 130px; bottom: -40px; left: 45%; }
  .hero-shape--9 { width: 130px; bottom: -20px; right: 2%; }
}

/* 768px */
@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
    --section-gap: 56px;
  }

  /* Typography — scale down large headings */
  .display {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-title {
    font-size: 28px;
  }

  .hero-price {
    font-size: 36px;
  }

  .cta-price-block {
    font-size: 36px;
  }

  .pricing-segment {
    margin: 0;
  }

  .pricing-price {
    font-size: 28px;
    line-height: 1;
    margin: 8px 0 20px;
  }

  .accom-price {
    font-size: 26px;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    /* 44x44 minimum touch target */
    width: 44px;
    height: 44px;
  }

  /* Layouts — single column */
  .hero-layout {
    flex-direction: column;
    gap: 32px;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-title br {
    display: none;
  }

  .hero-cta {
    flex-wrap: wrap;
  }

  /* Homepage hero — mobile overrides */
  .hero-layout:has(.hero-content) {
    flex-direction: row;
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content .hero-title {
    font-size: 36px;
  }

  .hero-content .hero-lead {
    font-size: 17px;
  }

  .hero-content .hero-cta {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
  }

  .hero-content .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero shapes mobile : 4 shapes très espacées, alternant gauche/droite, chacune à moitié (ou moins) visible */
  .hero-shape--2,
  .hero-shape--3,
  .hero-shape--5,
  .hero-shape--6,
  .hero-shape--8 {
    display: none;
  }

  /* z-index 1 pour passer derrière .hero-content (z-index 3) */
  /* Position à -80/-85px sur un shape de 140px = ~40% visible */
  .hero-shape--1 { width: 140px; top: -30px;      right: -85px; left: auto; z-index: 1; }  /* haut-droite, plus haut */
  .hero-shape--4 { width: 140px; top: 18%;        left: -85px;  right: auto; z-index: 1; } /* milieu-gauche, aligné "à leurs côtés" */
  .hero-shape--7 { width: 140px; top: 58%;        right: -85px; left: auto; z-index: 1; }  /* milieu-droite (descendue de moitié) */
  .hero-shape--9 { width: 140px; top: auto;       left: -85px;  right: auto; bottom: -110px; z-index: 1; } /* bas-gauche, bien sous les CTAs */

  .hero-grid-bg {
    background-size: 100px 100px;
  }

  .solution-layout {
    flex-direction: column;
    gap: 40px;
  }

  .engagement-layout {
    flex-direction: column;
    gap: 24px;
  }

  .cta-final {
    flex-direction: column;
    gap: 32px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
  }

  /* Grids — single column */
  .constat-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Table — scrollable */
  .results-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .includes-grid {
    grid-template-columns: 1fr;
  }

  /* Simulateur — stack controls, smaller numbers */
  .simulator {
    padding: 28px 20px;
  }

  .simulator-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .simulator-results {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
  }

  .simulator-number {
    font-size: 28px !important;
  }

  /* Trust band — centrage badges, lignes distinctes */
  .trust-band {
    justify-content: center;
    text-align: center;
    gap: 14px;
  }

  /* Mobile : on masque le badge RSE pour garder 2 badges lisibles côte à côte */
  .hero-badge--rse {
    display: none;
  }

  .trust-text {
    flex-basis: 100%;
  }

  .trust-spacer {
    flex-basis: 100%;
    height: 0;
    width: 0;
  }

  .trust-feature {
    font-size: 12px;
  }

  /* Buttons — allow text wrapping on narrow screens */
  .btn {
    white-space: normal;
    text-align: center;
  }

  /* CTA principaux : ramener btn-primary--lg à la taille standard sur mobile + pleine largeur, pour que "Rejoindre le programme gratuitement" tienne sur une ligne */
  .btn-primary--lg {
    font-size: 16px;
    padding: 16px 32px;
    width: 100%;
    justify-content: center;
  }

  /* Hero badges : compacter pour que Partenaire Dust + Activateur France Num tiennent sur une ligne */
  .hero-badges {
    gap: 6px;
  }
  .hero-badge {
    font-size: 13px;
    padding: 6px 10px;
    gap: 6px;
  }

  /* Min font sizes — enforce 12px minimum */
  .badge-sub,
  .trust-name,
  .footer-col-title,
  .results-table thead th {
    font-size: 12px;
  }

  /* Touch targets — ensure minimum 44x44 on interactive elements */
  .faq-q {
    min-height: 44px;
  }

  .nav-drawer .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Footer copyright — retour à la ligne avant "Fait avec" */
  .footer-copyright .footer-heartbreak {
    display: block;
  }

  /* Checkout — inline-styled price block scales down */
  .checkout-columns {
    flex-direction: column-reverse !important;
  }

  .checkout-columns > div {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .checkout-reassurance .card {
    position: static !important;
  }

  /* Step price — strikethrough price passes on a new line below on mobile */
  .step-price s {
    display: block;
    margin-left: 0 !important;
    margin-top: 4px;
  }
}

/* ── Accessibility ────────────────────────────────────────── */

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

/* Disabled link — accessible contrast instead of opacity:0.5 */
.disabled-link {
  color: #9A928A !important;
  cursor: default;
  pointer-events: none;
}

.disabled-link .nav-dropdown-step {
  color: #9A928A;
  border-color: rgba(154, 146, 138, 0.3);
}

/* ── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hero-shape,
  [data-hero-anim] {
    transform: none !important;
  }
}
