/* ============================================================
   CAPRINEA — style.css
   Palette : terre brûlée, ivoire chaud, rouille & cuivre
   Typographie : Lora (display) + DM Sans (body)
============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  /* Couleurs — teintes terre / rouille / cuivre */
  --terra-900: #2a1a0e;   /* brun très sombre */
  --terra-800: #4a2c18;   /* rouille profond */
  --terra-700: #7a3d20;   /* terracotta foncé */
  --terra-600: #a85030;   /* rouille chaud */
  --terra-400: #c8785a;   /* saumon cuivré */
  --terra-100: #f0ddd5;   /* rose pâle */
  --terra-50:  #faf4f1;   /* blanc rosé */

  --cream:     #faf7f2;
  --cream-100: #f2ebe0;

  --accent:    #b87c2a;   /* cuivre doré */
  --accent-lt: #d9a050;
  --accent-bg: #fdf5e6;

  --text-dark:   #1e1208;
  --text-body:   #3d2918;
  --text-muted:  #8a7060;
  --text-light:  #f2ebe0;

  --border:      rgba(74, 44, 24, 0.12);
  --shadow-sm:   0 2px 8px rgba(42, 26, 14, 0.07);
  --shadow-md:   0 8px 32px rgba(42, 26, 14, 0.10);
  --shadow-lg:   0 20px 60px rgba(42, 26, 14, 0.14);

  /* Typographie */
  --font-display: 'Lora', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Layout */
  --max-w:   1160px;
  --radius:  12px;
  --radius-lg: 20px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilitaires ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: 12px;
}
.section-label--light { color: var(--accent-lt); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.section-title em {
  font-style: italic;
  color: var(--terra-600);
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--accent-lt); }

.section-subtitle {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-subtitle {
  margin-inline: auto;
}

/* ── Badge ───────────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid rgba(184, 124, 42, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--terra-800);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 44, 24, 0.28);
}
.btn--primary:hover {
  background: var(--terra-700);
  box-shadow: 0 6px 24px rgba(74, 44, 24, 0.34);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--terra-800);
  border: 1.5px solid var(--terra-700);
}
.btn--outline:hover {
  background: var(--terra-50);
}
.btn--ghost {
  background: transparent;
  color: var(--text-body);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  background: var(--cream-100);
  border-color: var(--terra-400);
}
.btn--light {
  background: var(--cream);
  color: var(--terra-800);
}
.btn--light:hover {
  background: #fff;
  transform: translateY(-1px);
}
.btn--sm { font-size: 0.85rem; padding: 8px 18px; }
.btn--lg { font-size: 1rem; padding: 15px 32px; }
.btn--full { width: 100%; }

/* ── Animations Reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal--right {
  transform: translateX(28px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}
.nav__logo-mark {
  width: 32px; height: 32px;
  background: var(--terra-50);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}
.nav__logo-text {}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text-dark); }
.nav__cta { margin-left: 8px; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--cream);
  overflow: hidden;
}
.hero__bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 40%, rgba(168, 80, 48, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(184, 124, 42, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__content { padding-right: 16px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.hero__title em {
  font-style: italic;
  color: var(--terra-600);
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__reassure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.hero__reassure svg { flex-shrink: 0; }

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ── Dashboard Preview (Hero + Large) ───────────────────── */
.dashboard-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15em;
  width: 100%;
  padding: 1.35em;
  overflow: hidden;
  color: #2a1608;
  background:
    radial-gradient(circle at 5% 15%, rgba(200, 120, 42, 0.10), transparent 20%),
    linear-gradient(145deg, #f8f0e3, #f1e3d0);
  border: 1px solid rgba(120, 70, 30, 0.14);
  border-radius: 2.4em;
  box-shadow: 0 18px 42px rgba(74, 44, 14, 0.16);
}
.dashboard-preview--hero { font-size: 0.55rem; }
.dashboard-preview--large { font-size: 0.72rem; }
.dashboard-preview__header,
.dashboard-preview__panel,
.dashboard-preview__list {
  min-width: 0;
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid rgba(120, 70, 30, 0.10);
  box-shadow: 0 8px 24px rgba(90, 50, 20, 0.08);
}
.dashboard-preview__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2em;
  padding: 1.55em 1.7em;
  border-radius: 1.9em;
}
.dashboard-preview__header > div,
.dashboard-preview__list-header > div {
  min-width: 0;
}
.dashboard-preview__eyebrow,
.dashboard-preview__panel-label {
  display: block;
  color: #a04020;
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dashboard-preview__brand {
  display: block;
  margin-top: 0.12em;
  color: #2a1608;
  font-family: var(--font-display);
  font-size: 3.5em;
  line-height: 1;
}
.dashboard-preview__baseline {
  display: block;
  margin-top: 0.72em;
  color: #7a5038;
  font-size: 1.1em;
}
.dashboard-preview__account,
.dashboard-preview__nav,
.dashboard-preview__chips,
.dashboard-preview__legend,
.dashboard-preview__filters,
.dashboard-preview__list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}
.dashboard-preview__account {
  justify-content: flex-end;
  max-width: 54%;
}
.dashboard-preview__account span,
.dashboard-preview__nav-item,
.dashboard-preview__chips span,
.dashboard-preview__legend span,
.dashboard-preview__filters span,
.dashboard-preview__list-actions span,
.dashboard-preview__add {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.dashboard-preview__account span,
.dashboard-preview__chips span,
.dashboard-preview__list-actions span {
  padding: 0.62em 1em;
  color: #7a3820;
  background: rgba(168, 80, 48, 0.10);
}
.dashboard-preview__account .dashboard-preview__account-primary,
.dashboard-preview__add {
  color: #fff;
  background: #7a3820;
}
.dashboard-preview__nav {
  overflow-x: auto;
  padding-bottom: 0.15em;
  scrollbar-width: none;
}
.dashboard-preview__nav::-webkit-scrollbar { display: none; }
.dashboard-preview__nav-item {
  padding: 0.72em 1.18em;
  color: #7a5038;
  background: rgba(255, 250, 244, 0.8);
  border: 1px solid rgba(120, 70, 30, 0.08);
}
.dashboard-preview__nav-item--active {
  color: #7a3820;
  background: rgba(168, 80, 48, 0.12);
  border-color: rgba(168, 80, 48, 0.22);
}
.dashboard-preview__summary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr);
  gap: 1.15em;
}
.dashboard-preview__panel {
  min-width: 0;
  padding: 1.65em;
  border-radius: 1.7em;
}
.dashboard-preview__panel-title {
  display: block;
  margin-top: 0.55em;
  color: #2a1608;
  font-family: var(--font-display);
  font-size: 1.8em;
  line-height: 1.1;
}
.dashboard-preview__total {
  display: block;
  margin: 0.55em 0 0.5em;
  color: #2a1608;
  font-family: var(--font-display);
  font-size: 3em;
  line-height: 1;
}
.dashboard-preview__chip-warning {
  color: #a05014 !important;
  background: rgba(184, 100, 40, 0.16) !important;
}
.dashboard-preview__bar {
  display: flex;
  height: 1.25em;
  margin: 2.4em 0 1.55em;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(168, 80, 48, 0.10);
}
/* Caprin color coding */
.dashboard-preview__bar-part--doe     { flex: 46; background: #a04030; }  /* chèvres */
.dashboard-preview__bar-part--buck    { flex: 6;  background: #4a6eaa; }  /* boucs */
.dashboard-preview__bar-part--kid     { flex: 18; background: #c88030; }  /* chevreaux */
.dashboard-preview__bar-part--doeling { flex: 14; background: #c05850; }  /* chevrettes */
.dashboard-preview__legend span {
  gap: 0.52em;
  padding: 0.7em 0.9em;
  background: rgba(246, 236, 220, 0.82);
}
.preview-dot {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
}
.preview-dot--doe     { background: #a04030; }
.preview-dot--buck    { background: #4a6eaa; }
.preview-dot--kid     { background: #c88030; }
.preview-dot--doeling { background: #c05850; }
.dashboard-preview__list {
  padding: 1.7em;
  border-radius: 1.9em;
}
.dashboard-preview__list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1.35em;
}
.dashboard-preview__list-actions {
  justify-content: flex-end;
  max-width: 54%;
}
.dashboard-preview__add {
  padding: 0.72em 1.12em;
}
.dashboard-preview__filters {
  margin-bottom: 1.3em;
}
.dashboard-preview__filters span {
  min-width: 7em;
  padding: 0.78em 1em;
  color: #7a5038;
  background: #fffaf4;
  border: 1px solid rgba(120, 70, 30, 0.15);
}
.dashboard-preview__count {
  margin: 0 0 1em;
  color: #7a5038;
}
.dashboard-preview__table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(120, 70, 30, 0.12);
  border-radius: 1.45em;
  scrollbar-width: thin;
}
.dashboard-preview__table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1em;
}
.dashboard-preview--hero .dashboard-preview__table { min-width: 34em; }
.dashboard-preview--large .dashboard-preview__table { min-width: 100em; }
.dashboard-preview--hero .dashboard-preview__table th:last-child,
.dashboard-preview--hero .dashboard-preview__table td:last-child {
  display: none;
}
.dashboard-preview__table th,
.dashboard-preview__table td {
  padding: 0.95em 1em;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(120, 70, 30, 0.10);
}
.dashboard-preview__table th {
  color: #7a5038;
  background: rgba(238, 218, 196, 0.65);
  font-size: 0.86em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dashboard-preview__table tbody tr:last-child td { border-bottom: none; }
.dashboard-preview__table td:first-child {
  color: #7a3820;
  font-weight: 700;
  text-decoration: underline;
}
.dashboard-preview__status {
  display: inline-flex;
  padding: 0.35em 0.72em;
  border-radius: 999px;
}
.dashboard-preview__status--healthy { color: #3a6830; background: rgba(80, 140, 72, 0.13); }
.dashboard-preview__status--warning { color: #9a4020; background: rgba(180, 90, 50, 0.14); }
.dashboard-preview__status--danger  { color: #9a4020; background: rgba(180, 90, 50, 0.14); }

/* ── Demo Interactive ────────────────────────────────────── */
.demo-mockup {
  background:
    radial-gradient(circle at 8% 12%, rgba(200, 120, 42, 0.09), transparent 22%),
    linear-gradient(145deg, #f8f0e3, #f1e3d0);
  border: 1px solid rgba(120, 70, 30, 0.14);
  border-radius: 2em;
  box-shadow: 0 18px 42px rgba(74, 44, 14, 0.14);
  overflow: hidden;
  padding: 1.5rem;
}
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  min-height: 360px;
}

/* Panneau liste */
.demo-panel {
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(120, 70, 30, 0.10);
  border-radius: 1.5em;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 4px 16px rgba(90, 50, 20, 0.06);
}
.demo-panel__header { margin-bottom: 0.2rem; }
.demo-panel__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a04020;
  margin-bottom: 2px;
}
.demo-panel__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #2a1608;
}

/* Filtres demo */
.demo-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.demo-filter {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: #7a5038;
  background: rgba(168, 80, 48, 0.08);
  border: 1px solid rgba(168, 80, 48, 0.15);
  transition: all 0.18s ease;
  cursor: pointer;
}
.demo-filter.is-active,
.demo-filter:hover {
  color: #fff;
  background: #7a3820;
  border-color: #7a3820;
}

/* Liste animaux */
.demo-animal-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  overflow-y: auto;
}
.demo-animal-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.9em;
  cursor: pointer;
  transition: background 0.18s ease;
  border: 1.5px solid transparent;
}
.demo-animal-row:hover { background: rgba(168, 80, 48, 0.06); }
.demo-animal-row.is-active {
  background: rgba(168, 80, 48, 0.10);
  border-color: rgba(168, 80, 48, 0.22);
}
.demo-animal-row.is-hidden { display: none; }
.demo-animal-row__id {
  font-size: 0.68rem;
  font-weight: 700;
  color: #7a3820;
  width: 3.2rem;
  flex-shrink: 0;
}
.demo-animal-row__info { flex: 1; min-width: 0; }
.demo-animal-row__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2a1608;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-animal-row__meta {
  display: block;
  font-size: 0.65rem;
  color: #8a7060;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tags */
.demo-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.demo-tag.green { background: rgba(80, 140, 72, 0.14); color: #3a6830; }
.demo-tag.sand  { background: rgba(180, 150, 90, 0.14); color: #7a5c20; }
.demo-tag.gold  { background: rgba(184, 124, 42, 0.16); color: #8a5c18; }

/* Panneau détail */
.demo-panel--detail {
  gap: 1rem;
}
.demo-detail-header {
  border-bottom: 1px solid rgba(120, 70, 30, 0.10);
  padding-bottom: 0.8rem;
}
.demo-detail-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #2a1608;
  margin-bottom: 2px;
}
.demo-detail-meta {
  display: block;
  font-size: 0.78rem;
  color: #8a7060;
  margin-bottom: 0.6rem;
}
.demo-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.demo-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  flex: 1;
}
.demo-detail-item {
  background: rgba(248, 240, 228, 0.7);
  border: 1px solid rgba(120, 70, 30, 0.09);
  border-radius: 0.8em;
  padding: 0.65rem 0.8rem;
}
.demo-detail-label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7060;
  margin-bottom: 3px;
}
.demo-detail-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a1608;
}

/* ── Problem / Solution ──────────────────────────────────── */
.problem {
  padding: 100px 0;
  background: #fff;
}
.problem__intro { margin-bottom: 60px; }
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pain-card {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.pain-card:last-child { border-bottom: none; }
.pain-card__icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.pain-card p { font-size: 0.97rem; color: var(--text-body); line-height: 1.55; }

.solution-box {
  background: var(--terra-900);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.solution-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 124, 42, 0.18), transparent 70%);
  pointer-events: none;
}
.solution-box__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 12px;
}
.solution-box__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.solution-box__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 20px;
}
.solution-box__list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.solution-box__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.solution-box__list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(184, 124, 42, 0.2);
  border: 1.5px solid var(--accent);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 9l2.5 2.5 5.5-5' stroke='%23b87c2a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ── Features ────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--terra-50);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feat-card__icon {
  width: 52px; height: 52px;
  background: var(--terra-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra-700);
  margin-bottom: 20px;
  border: 1px solid var(--terra-100);
}
.feat-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feat-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Benefits ────────────────────────────────────────────── */
.benefits {
  padding: 100px 0;
  background: #fff;
}
.benefits__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.benefit-visual-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.bvb__row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.bvb__kpi {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.bvb__kpi--accent {
  background: var(--terra-900);
  border-color: transparent;
}
.bvb__kpi--wide { flex: 1; }
.bvb__kpi-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.bvb__kpi--accent .bvb__kpi-val { color: var(--accent-lt); }
.bvb__kpi-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.bvb__kpi--accent .bvb__kpi-label { color: rgba(255, 255, 255, 0.5); }
.bvb__quote {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.benefit-item__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--terra-100);
  min-width: 36px;
  line-height: 1;
  padding-top: 2px;
}
.benefit-item__body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.benefit-item__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Local ───────────────────────────────────────────────── */
.local {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.local__bg {
  position: absolute;
  inset: 0;
  background: var(--terra-800);
  background-image: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(184, 124, 42, 0.14) 0%, transparent 70%);
}
.local__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.local__text {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 16px;
}
.local__text:last-of-type { margin-bottom: 28px; }

.local-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.local-card__flag {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.local-card__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.local-card__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.82);
}
.local-card__item svg { color: var(--accent-lt); flex-shrink: 0; }

/* ── Preview section ─────────────────────────────────────── */
.preview {
  padding: 100px 0;
  background: var(--terra-50);
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: #fff;
}
.pricing__card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--terra-900);
  border-radius: var(--radius-lg);
  padding: 48px 48px 40px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing__card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 124, 42, 0.20), transparent 70%);
}
.pricing__badge {
  display: inline-block;
  background: rgba(184, 124, 42, 0.20);
  color: var(--accent-lt);
  border: 1px solid rgba(184, 124, 42, 0.30);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.pricing__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}
.pricing__price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
  line-height: 1;
}
.pricing__amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
}
.pricing__currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-lt);
  padding-bottom: 8px;
}
.pricing__period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 8px;
}
.pricing__tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}
.pricing__features {
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}
.pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}
.pricing__features li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%23b87c2a' stroke-width='1.5'/%3E%3Cpath d='M5 8.5l2 2 4-4' stroke='%23b87c2a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}
.pricing__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--cream);
}
.faq__list {
  max-width: 680px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 16px;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--terra-700); }
.faq__chevron { flex-shrink: 0; transition: transform 0.3s ease; color: var(--text-muted); }
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); color: var(--terra-700); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}
.faq__answer.open { grid-template-rows: 1fr; }
.faq__answer p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-bottom: 20px;
  min-height: 0;
}

/* ── CTA Final ───────────────────────────────────────────── */
.cta-final {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  background: var(--terra-800);
  background-image: radial-gradient(ellipse 50% 50% at 20% 40%, rgba(184, 124, 42, 0.12) 0%, transparent 70%);
}
.cta-final__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: start;
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 12px 0 16px;
  white-space: nowrap;
}
.cta-final__title em {
  font-style: italic;
  color: var(--accent-lt);
}
.cta-final__sub {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.65;
  max-width: 420px;
}
.cta-final__action {
  align-self: center;
  justify-self: end;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--terra-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 0;
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.footer__logo .nav__logo-mark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.20);
}
.footer__baseline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 280px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.40);
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255, 255, 255, 0.80); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 24px;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.20);
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablette */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mockup { order: -1; }
  .hero__content { padding-right: 0; }

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

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

  .benefits__inner { grid-template-columns: 1fr; gap: 40px; }

  .local__inner { grid-template-columns: 1fr; gap: 40px; }

  .cta-final__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-final__title { white-space: normal; }
  .cta-final__action { justify-self: start; }

  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 4px;
    z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .nav__links.mobile-open a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .demo-layout { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }

  .pricing__card { padding: 32px 24px; }
  .pricing__amount { font-size: 2.8rem; }

  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .dashboard-preview { gap: 0.9em; padding: 1em; }
  .dashboard-preview--hero,
  .dashboard-preview--large { font-size: 0.52rem; }
  .dashboard-preview__header { padding: 1.3em; }
  .dashboard-preview__account { display: none; }
  .dashboard-preview__summary { grid-template-columns: 1fr; }
  .dashboard-preview--hero .dashboard-preview__structure { display: none; }
  .dashboard-preview__nav { flex-wrap: nowrap; }
  .dashboard-preview__panel,
  .dashboard-preview__list { padding: 1.35em; }
  .dashboard-preview__filters { flex-wrap: nowrap; overflow: hidden; }
  .dashboard-preview__filters span { min-width: 8.4em; }
  .dashboard-preview--hero .dashboard-preview__table-shell { overflow: hidden; }

  .footer__inner { flex-direction: column; gap: 24px; }
  .footer__links { flex-direction: row; flex-wrap: wrap; gap: 12px; }

  .bvb__row { flex-direction: column; }

  .solution-box { padding: 28px; }

  .demo-detail-grid { grid-template-columns: 1fr 1fr; }
}
