/* =================================================================
   GEAR MIND CONSULTING — Design system
   Palette : Navy #232860, Signal Red #E63946, Paper #F7F5F1,
             Slate #4A5072, Mint-data #4CAF8E, Ink #15182E
   Type    : Space Grotesk (display), Inter (body), IBM Plex Mono (data)
   ================================================================= */

:root {
  --navy: #232860;
  --navy-soft: #2E3192;
  --red: #E63946;
  --red-soft: #F4A6AC;
  --paper: #F7F5F1;
  --paper-dark: #EFEBE3;
  --slate: #4A5072;
  --mint: #4CAF8E;
  --ink: #15182E;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', 'Arial', sans-serif;
  --font-body: 'Inter', 'Arial', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(35, 40, 96, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 700; }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.36);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ===================== SECTIONS ===================== */
section {
  padding: 96px 0;
}
.section-narrow { max-width: 760px; margin: 0 auto; }

.section-navy {
  background: var(--navy);
  color: var(--paper);
}
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-paper-dark {
  background: var(--paper-dark);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1B1F4D 100%);
  color: var(--white);
  padding: 110px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}
.hero h1 .accent { color: var(--red-soft); }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Geometric low-poly decoration */
.hero-geo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.10;
  pointer-events: none;
}

/* ===================== DASHBOARD MOCK (signature element) ===================== */
.dash-mock {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.dash-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.dash-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(76,175,142,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76,175,142,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(76,175,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,142,0); }
}
.dash-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.dash-kpi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
}
.dash-kpi .kpi-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.dash-kpi .kpi-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}
.dash-kpi .kpi-delta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--mint);
  margin-top: 4px;
}
.dash-kpi .kpi-delta.down { color: var(--red-soft); }

.dash-chart {
  height: 90px;
  position: relative;
}
.dash-chart svg { width: 100%; height: 100%; display: block; }

.dash-cycle {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.dash-cycle-step {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 10px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
}
.dash-cycle-step.active {
  color: var(--white);
  border-color: var(--red);
  background: rgba(230,57,70,0.12);
}

/* ===================== CARDS ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(35,40,96,0.06);
  box-shadow: 0 4px 18px rgba(35,40,96,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(35,40,96,0.10);
}
.card .card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.96rem; }

/* ===================== PROCESS / CYCLE ===================== */
.cycle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 56px;
  position: relative;
}
.cycle-step {
  text-align: left;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(35,40,96,0.07);
  position: relative;
}
.cycle-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.cycle-step h3 { margin-bottom: 10px; }
.cycle-step p { color: var(--slate); font-size: 0.95rem; }
.cycle-arrow {
  display: none;
  position: absolute;
  top: 50%;
  right: -36px;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 1.4rem;
}

/* ===================== STATS / NUMBERS ===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
}
.section-navy .stat .stat-value { color: var(--white); }
.stat .stat-label {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--slate);
}
.section-navy .stat .stat-label { color: rgba(255,255,255,0.7); }

/* ===================== OFFER TABLES ===================== */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.offers.two-col { grid-template-columns: repeat(2, 1fr); }

.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(35,40,96,0.08);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(35,40,96,0.10);
}
.offer-card.featured {
  border: 2px solid var(--red);
}
.offer-card.featured::before {
  content: "Recommandé";
  position: absolute;
  top: -13px; left: 28px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.offer-card h3 { margin-bottom: 6px; }
.offer-card .offer-tag {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 20px;
  min-height: 44px;
}
.offer-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  flex: 1;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--ink);
  border-top: 1px solid rgba(35,40,96,0.06);
}
.offer-list li:first-child { border-top: none; }
.offer-list li .chev { color: var(--red); flex-shrink: 0; margin-top: 3px; font-size: 0.8rem; }

.offer-price {
  font-family: var(--font-mono);
  border-top: 1px solid rgba(35,40,96,0.08);
  padding-top: 18px;
  margin-bottom: 18px;
}
.offer-price .price-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.offer-price .price-line strong {
  color: var(--navy);
  font-size: 1.05rem;
}

/* ===================== QUOTE ===================== */
.quote-block {
  border-left: 4px solid var(--red);
  padding: 20px 28px;
  font-style: italic;
  color: var(--slate);
  font-size: 1.05rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 36px 0;
}

/* ===================== CTA BAND ===================== */
.cta-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; }
.cta-band .btn-primary {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-band .btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.94rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.social-link svg { width: 18px; height: 18px; }

/* ===================== REVEAL (kept simple: always visible) ===================== */
.reveal {
  opacity: 1;
  transform: none;
}

/* ===================== JOURNEY / 3-STEP LADDER ===================== */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.journey-step {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(35,40,96,0.08);
  border-top: 3px solid var(--navy);
  box-shadow: 0 10px 28px rgba(35,40,96,0.08);
  padding: 28px 24px;
  position: relative;
}
.journey-step:nth-child(3) { border-top-color: var(--red); }
.journey-step .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.journey-step:nth-child(3) .step-badge { background: var(--red); }
.journey-step .step-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.journey-step h3 { margin-bottom: 8px; }
.journey-step p { color: var(--slate); font-size: 0.94rem; }

/* ===================== GUARANTEE BOX ===================== */
.guarantee-box {
  border: 1.5px solid var(--navy);
  background: rgba(35,40,96,0.04);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 40px;
}
.guarantee-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.guarantee-box h3::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
}
.guarantee-box p { color: var(--slate); font-size: 0.96rem; margin: 0; }

/* ===================== PRICING DURATION ROWS ===================== */
.offer-price .duration-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.offer-price .duration-row .duration-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.offer-price .duration-row strong { color: var(--navy); font-size: 1.05rem; }
.offer-price .duration-row.best strong { color: var(--red); }
.offer-price .price-note {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 8px;
  font-style: italic;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(35,40,96,0.06);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards, .cycle, .stats, .offers, .footer-grid, .journey { grid-template-columns: 1fr; }
  .offers.two-col { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(3, 1fr); }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(35,40,96,0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-kpis .dash-kpi:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dash-dot { animation: none; }
}
