/* ============================================================
   Concept 2D Plan — css/style.css
   Phase 1: Foundations & Visual Identity
   Section order locked by CONTEXT.md D-02
   ============================================================ */

/* ============================================================
   1. Tokens (:root)
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* --- Colors --- */
  --color-bg: #0f1117;
  --color-surface: #1a1d27;
  --color-border: #2a2d3a;
  --color-text: #e8eaf0;
  --color-text-muted: #8b90a0;
  --color-accent-blue: #4a9eff;
  --color-accent-terra: #c1674f;

  /* --- Typography --- */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale — Phase 1 active (4 sizes) */
  --text-sm: 0.875rem;                     /* 14px — muted text, footer, small labels */
  --text-base: 1rem;                       /* 16px — body copy, form labels, nav links */
  --text-2xl: 1.5rem;                      /* 24px — nav brand, section H2 stubs */
  --text-hero: clamp(1.75rem, 5vw, 2.5rem); /* 28px→40px — hero H1 fluid */

  /* Phase 2+: --text-xs: 0.75rem; */    /* 12px — captions, badges */
  /* Phase 2+: --text-lg: 1.125rem; */   /* 18px — hero sub-heading */
  /* Phase 2+: --text-xl: 1.25rem; */    /* 20px — card sub-headings */
  /* Phase 2+: --text-3xl: 2rem; */      /* 32px — major section headings */

  /* --- Spacing (8px grid — multiples of 4) --- */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-4:  1rem;      /* 16px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-24: 6rem;      /* 96px — hero vertical padding (structural exception, on-grid 4×24) */

  /* --- Border radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 20px;

  /* --- Misc --- */
  --nav-height:  64px;
  --max-width:   1200px;
  --transition:  0.2s ease;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);

  /* Phase 2 — Section backgrounds */
  --section-dark:         #1a2540;
  --section-dark-surface: #223055;
  --section-dark-border:  #2e3f6a;
  --section-dark-text:    #e8eaf0;
  --section-dark-muted:   #9aa3b8;
  --section-light:        #ffffff;
  --section-light-surface:#f4f6fa;
  --section-light-border: #e2e6ef;
  --section-light-text:   #1a1d27;
  --section-light-muted:  #6b7280;
}

/* ============================================================
   2. Reset
   ============================================================ */

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

body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

/* Accessible focus ring — never suppress without replacement */
*:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
}

/* ============================================================
   3. Layout
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ============================================================
   4. Header & Nav
   ============================================================ */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

#main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.nav-brand {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.brand-accent {
  color: var(--color-accent-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 400;
  transition: color var(--transition);
  padding: var(--space-2) var(--space-4);
}

.nav-links a:hover {
  color: var(--color-accent-blue);
}

.nav-cta {
  border: 1px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  font-weight: 700;
  transition: var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover {
  background-color: var(--color-accent-blue);
  color: #ffffff;
}

/* ============================================================
   5. Hero
   ============================================================ */

#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  padding-block: var(--space-24);
  scroll-margin-top: 0;
}

.hero-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.hero-headline {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero-sub {
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  min-height: 44px;
}

.btn--primary {
  background-color: var(--color-accent-blue);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--color-accent-terra);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
}

/* ============================================================
   6. Sections (stub)
   ============================================================ */

section[id]:not(#hero) {
  padding-block: var(--space-16);
  scroll-margin-top: var(--nav-height);
}

/* ============================================================
   7. Smooth scroll
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ============================================================
   8. Phase 2 Content Sections
   ============================================================ */

/* --- Nav override (Phase 2: section-dark bg + muted link colours) --- */
#site-header {
  background-color: var(--section-dark);
  border-bottom-color: var(--section-dark-border);
}
.nav-links a        { color: var(--section-dark-muted); }
.nav-links a:hover  { color: #ffffff; }

/* --- Section background assignments --- */
#hero             { background: #0c1220; overflow: hidden; position: relative; }
#mission          { background: var(--section-light);        padding-block: var(--space-24); }
#services         { background: var(--section-dark);         padding-block: var(--space-24); }
#visualisation-3d { background: var(--section-light);        padding-block: var(--space-24); }
#methode-valeurs  { background: var(--section-dark);         padding-block: var(--space-24); }
#tarifs           { background: var(--section-light);        padding-block: var(--space-24); }
#chiffres         { background: var(--section-dark);         padding-block: var(--space-24); }
#cta-contact      { background: var(--color-accent-terra);   padding-block: 88px; text-align: center; }
#formulaire       { background: var(--section-light);        padding-block: var(--space-24); }
#site-footer      { background: var(--section-dark); border-top: 1px solid var(--section-dark-border); padding-block: 56px; }

/* --- Button variants --- */
.btn--blue          { background: var(--color-accent-blue); color: #fff; }
.btn--blue:hover    { background: #3a8eef; }
.btn--white         { background: #ffffff; color: var(--color-accent-terra); padding: 14px 32px; }
.btn--white:hover   { background: rgba(255,255,255,.9); }
.btn--outline       { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); padding: 14px 32px; }
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--full          { margin-top: 20px; width: 100%; justify-content: center; }

/* --- Label component --- */
.label        { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.label--blue  { color: var(--color-accent-blue); }
.label--terra { color: var(--color-accent-terra); }
.label--light { color: rgba(255,255,255,.6); }

/* --- H2 + subtitle base --- */
h2        { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.subtitle { font-size: .95rem; margin-bottom: 52px; }

/* --- Hero stage animation --- */
.hero-stages { position: absolute; inset: 0; }
.hero-stage  { position: absolute; inset: 0; opacity: 0; display: flex; align-items: center; justify-content: center; }
.hero-stage.active { opacity: 1; }
.hero-stage svg    { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(12,18,32,.65) 0%, rgba(12,18,32,.55) 60%, rgba(12,18,32,.8) 100%);
}
.hero-stage-label { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.stage-dot        { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .3s; cursor: pointer; }
.stage-dot.active { background: var(--color-accent-blue); }
.hero-stage-name  { position: absolute; top: 90px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--color-accent-blue); background: rgba(74,158,255,.12); border: 1px solid rgba(74,158,255,.25); padding: 5px 14px; border-radius: 20px; opacity: 0; transition: opacity .5s; }
.hero-stage-name.visible { opacity: 1; }
.hero-inner       { position: relative; z-index: 2; max-width: 760px; padding-block: 100px; }
.hero-eyebrow     { display: inline-flex; align-items: center; gap: 8px; background: rgba(74,158,255,.12); border: 1px solid rgba(74,158,255,.3); color: var(--color-accent-blue); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px; border-radius: 20px; margin-bottom: 28px; }
.hero-headline    { font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 700; line-height: 1.1; color: #fff; margin-bottom: 22px; }
.hero-headline em { color: var(--color-accent-blue); font-style: normal; }
.hero-sub         { font-size: 1.05rem; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 40px; max-width: 580px; margin-inline: auto; }
.hero-actions     { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges      { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-badge       { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: rgba(255,255,255,.5); }
.hero-badge-dot   { width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent-blue); }

/* --- Mission section --- */
.mission-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.mission-text h2   { color: var(--section-light-text); margin-bottom: 20px; }
.mission-text p    { color: var(--section-light-muted); line-height: 1.85; font-size: .95rem; margin-bottom: 16px; }
.mission-highlight { border-left: 3px solid var(--color-accent-terra); padding-left: 18px; margin-top: 24px; font-style: italic; color: var(--section-light-muted); font-size: .9rem; }
.mission-photo     { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--section-light-surface); border: 1px solid var(--section-light-border); display: flex; align-items: center; justify-content: center; position: relative; }
.mission-photo svg { width: 90%; height: 90%; }
.photo-note        { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .7rem; color: var(--section-light-muted); font-style: italic; }

/* --- Services section --- */
#services h2         { color: var(--section-dark-text); }
#services .subtitle  { color: var(--section-dark-muted); }
.services-grid       { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; overflow: visible; }
.scard               { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; transition: transform .3s, box-shadow .3s, z-index 0s; z-index: 1; }
.scard:hover         { transform: translateY(-6px) scale(1.04); box-shadow: 0 24px 56px rgba(0,0,0,.55); z-index: 8; }
.scard-bg            { position: absolute; inset: 0; }
.scard-bg svg        { width: 100%; height: 100%; }
.scard-overlay       { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,10,22,.93) 0%, rgba(6,10,22,.25) 55%, transparent 100%); transition: background .3s; }
.scard:hover .scard-overlay { background: linear-gradient(to top, rgba(4,8,18,.97) 0%, rgba(4,8,18,.82) 60%, rgba(4,8,18,.15) 100%); }
.scard-body          { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 20px; }
.scard-tag           { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-blue); margin-bottom: 7px; display: block; }
.scard h3            { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 5px; line-height: 1.3; }
.scard p             { font-size: .77rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.scard-ex            { list-style: none; margin-top: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .25s .08s, margin .3s; }
.scard:hover .scard-ex { max-height: 130px; opacity: 1; margin-top: 10px; }
.scard-ex li         { font-size: .72rem; color: rgba(255,255,255,.72); padding: 3px 0 3px 16px; position: relative; line-height: 1.45; }
.scard-ex li::before { content: '→'; position: absolute; left: 0; color: var(--color-accent-blue); font-size: .65rem; top: 4px; }
.scard:nth-child(3n+2) .scard-ex li::before { color: var(--color-accent-terra); }

/* --- Visualisation 3D section --- */
.viz-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.viz-box       { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--section-light-surface); border: 1px solid var(--section-light-border); display: flex; align-items: center; justify-content: center; position: relative; }
.viz-box svg   { width: 88%; height: 88%; }
.viz-content h2 { margin-bottom: 16px; }
.viz-content p  { color: var(--section-light-muted); line-height: 1.8; margin-bottom: 24px; font-size: .95rem; }
.viz-feats     { display: flex; flex-direction: column; gap: 13px; }
.viz-feat      { display: flex; align-items: flex-start; gap: 12px; font-size: .87rem; color: var(--section-light-muted); }
.viz-ico       { width: 30px; height: 30px; flex-shrink: 0; background: rgba(74,158,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .95rem; margin-top: 1px; }

/* --- Méthode-valeurs timeline --- */
#methode-valeurs h2       { color: var(--section-dark-text); }
#methode-valeurs .subtitle { color: var(--section-dark-muted); }
.timeline                 { display: grid; grid-template-columns: repeat(5,1fr); position: relative; margin-bottom: 72px; }
.timeline::before         { content: ''; position: absolute; top: 20px; left: calc(10% + 6px); right: calc(10% + 6px); height: 2px; background: var(--section-dark-border); }
.tl-step                  { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; position: relative; z-index: 1; }
.tl-num                   { width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent-blue); color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.tl-title                 { font-weight: 700; font-size: .875rem; color: var(--section-dark-text); }
.tl-desc                  { font-size: .78rem; color: var(--section-dark-muted); line-height: 1.5; padding-inline: 6px; }
.divider                  { border: none; border-top: 1px solid var(--section-dark-border); margin-block: 64px; }

/* --- Méthode-valeurs orbital --- */
.orb-wrap      { display: flex; justify-content: center; padding: 20px 0 10px; }
.orb-scene     { position: relative; width: 560px; height: 560px; flex-shrink: 0; }
.orb-ring      { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 420px; height: 420px; border-radius: 50%; border: 1px dashed rgba(74,158,255,.22); }
.orb-center    { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100px; height: 100px; border-radius: 50%; background: var(--color-accent-blue); display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 700; color: #fff; text-align: center; line-height: 1.25; box-shadow: 0 0 48px rgba(74,158,255,.45); z-index: 2; }
.orb-node      { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; background: var(--section-dark-surface); border: 1px solid var(--section-dark-border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; cursor: default; z-index: 3; transition: width .3s, height .3s, margin .3s, border-radius .3s, background .3s, border-color .3s, box-shadow .3s; overflow: hidden; }
.orb-node:hover { width: 164px; height: 164px; margin: -82px 0 0 -82px; border-radius: 20px; background: rgba(74,158,255,.15); border-color: var(--color-accent-blue); box-shadow: 0 10px 36px rgba(74,158,255,.28); }
.orb-node:nth-child(odd):hover { background: rgba(193,103,79,.15); border-color: var(--color-accent-terra); box-shadow: 0 10px 36px rgba(193,103,79,.22); }
.orb-n0 { top: 70px;  left: 280px; }
.orb-n1 { top: 175px; left: 462px; }
.orb-n2 { top: 385px; left: 462px; }
.orb-n3 { top: 490px; left: 280px; }
.orb-n4 { top: 385px; left: 98px;  }
.orb-n5 { top: 175px; left: 98px;  }
.orb-svg  { width: 32px; height: 32px; stroke: var(--section-dark-muted); flex-shrink: 0; display: block; transition: stroke .3s, width .3s, height .3s; }
.orb-node:hover .orb-svg { stroke: var(--color-accent-blue); width: 26px; height: 26px; }
.orb-node:nth-child(odd):hover .orb-svg { stroke: var(--color-accent-terra); }
.orb-text { opacity: 0; font-size: .65rem; font-weight: 700; color: var(--section-dark-text); text-align: center; line-height: 1.35; padding: 0 10px; margin-top: 8px; transition: opacity .2s .1s; }
.orb-node:hover .orb-text { opacity: 1; }

/* --- Motion guard (hero stage + orbital ring) --- */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage { transition: opacity 1s ease; }
  .orb-ring   { animation: ringPulse 5s ease-in-out infinite; }
}
@keyframes ringPulse {
  0%,100% { border-color: rgba(74,158,255,.18); }
  50%      { border-color: rgba(74,158,255,.45); }
}

/* --- Mobile orbital breakpoint (≤620px) --- */
@media (max-width: 620px) {
  .orb-scene { width: 340px; height: 340px; }
  .orb-ring  { width: 260px; height: 260px; }
  .orb-n0 { top: 42px;  left: 170px; }
  .orb-n1 { top: 106px; left: 280px; }
  .orb-n2 { top: 234px; left: 280px; }
  .orb-n3 { top: 298px; left: 170px; }
  .orb-n4 { top: 234px; left: 60px;  }
  .orb-n5 { top: 106px; left: 60px;  }
}

/* --- Tarifs section --- */
.tarifs-grid        { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.tarif-text h2      { margin-bottom: 16px; }
.tarif-text p       { color: var(--section-light-muted); line-height: 1.8; font-size: .95rem; margin-bottom: 14px; }
.tarif-price        { margin-top: 28px; }
.tarif-price .amt   { font-size: 2.2rem; font-weight: 700; color: var(--color-accent-blue); }
.tarif-price .from  { font-size: .83rem; color: var(--section-light-muted); margin-bottom: 4px; }
.devis-box          { background: var(--section-light-surface); border: 1px solid var(--section-light-border); border-radius: var(--radius-lg); padding: 36px; }
.devis-box h3       { font-size: 1rem; font-weight: 700; margin-bottom: 24px; }
.fg                 { margin-bottom: 22px; }
.fg label.head      { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--section-light-muted); margin-bottom: 10px; }
.radio-g, .check-g  { display: flex; flex-direction: column; gap: 9px; }
.ro, .co            { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--section-light-text); cursor: pointer; }
.ro input, .co input { accent-color: var(--color-accent-blue); }
.result-box         { background: rgba(74,158,255,.07); border: 1px solid rgba(74,158,255,.22); border-radius: 10px; padding: 18px 20px; margin-top: 20px; }
.result-price       { font-size: 1.3rem; font-weight: 700; color: var(--color-accent-blue); display: block; margin-bottom: 4px; }
.result-note        { font-size: .74rem; color: var(--section-light-muted); }

/* --- Chiffres section --- */
#chiffres h2        { color: var(--section-dark-text); text-align: center; margin-bottom: 12px; }
#chiffres .subtitle { text-align: center; color: var(--section-dark-muted); }
#chiffres .label    { display: block; text-align: center; }
.stats-grid         { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.stat-card          { background: var(--section-dark-surface); border: 1px solid var(--section-dark-border); border-radius: var(--radius-lg); padding: 36px 20px; text-align: center; position: relative; overflow: hidden; }
.stat-card::before  { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-accent-blue); }
.stat-card:nth-child(2)::before { background: var(--color-accent-terra); }
.stat-card:nth-child(3)::before { background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-terra)); }
.stat-num           { font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat-num span      { font-size: 1.6rem; color: var(--color-accent-blue); }
.stat-num small     { font-size: 1.2rem; font-weight: 700; color: var(--section-dark-muted); margin-left: 4px; }
.stat-label         { font-size: .82rem; color: var(--section-dark-muted); line-height: 1.5; }
.stat-icon          { font-size: 1.6rem; margin-bottom: 14px; }

/* --- CTA Contact section --- */
#cta-contact h2  { color: #fff; margin-bottom: 16px; }
#cta-contact p   { color: rgba(255,255,255,.82); max-width: 540px; margin-inline: auto; margin-bottom: 36px; line-height: 1.75; }
.cta-acts        { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-phone       { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-weight: 700; text-decoration: none; font-size: 1rem; }

/* --- Formulaire section --- */
.form-wrap              { max-width: 700px; margin-inline: auto; }
.form-wrap h2           { margin-bottom: 10px; }
.form-wrap > p          { color: var(--section-light-muted); margin-top: 8px; }
.form-grid              { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.form-grid .full        { grid-column: 1 / -1; }
.ig label               { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--section-light-muted); margin-bottom: 8px; }
.ig input,
.ig select,
.ig textarea            { width: 100%; background: var(--section-light-surface); border: 1px solid var(--section-light-border); border-radius: 8px; padding: 12px 16px; color: var(--section-light-text); font-family: inherit; font-size: .9rem; outline: none; transition: border-color var(--transition); }
.ig input:focus,
.ig select:focus,
.ig textarea:focus      { border-color: var(--color-accent-blue); }
.ig input::placeholder,
.ig textarea::placeholder { color: #bcc3d0; }
.ig textarea            { resize: vertical; min-height: 120px; }
.ig select              { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* --- Responsive — 768px breakpoint --- */
@media (max-width: 768px) {
  /* Stack all 2-column grids */
  .mission-grid,
  .viz-grid,
  .tarifs-grid     { grid-template-columns: 1fr; gap: 40px; }

  /* Services: 2 cols on tablet */
  .services-grid   { grid-template-columns: 1fr 1fr; }

  /* Stats: 2 cols on tablet */
  .stats-grid      { grid-template-columns: 1fr 1fr; }

  /* Form: single column */
  .form-grid       { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }

  /* Viz: show text before image on mobile */
  .viz-content { order: 1; }
  .viz-box     { order: 2; }

  /* Nav: allow wrapping on narrow screens */
  #main-nav { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .nav-links { gap: 12px; font-size: .82rem; }

  /* Hero text */
  .hero-inner { padding-block: 72px; }
}

@media (max-width: 480px) {
  /* Single column on phones */
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr; }

  /* Orbital: full-width centering */
  .orb-wrap { overflow-x: auto; }
}

/* --- Footer --- */
.footer-row    { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand  { font-size: 1rem; font-weight: 700; color: var(--section-dark-text); margin-bottom: 10px; }
.footer-nap    { font-size: .85rem; color: var(--section-dark-muted); line-height: 1.9; }
.footer-nap a  { color: var(--color-accent-blue); text-decoration: none; }
.footer-links  { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .85rem; color: var(--section-dark-muted); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--section-dark-text); }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--section-dark-border); font-size: .78rem; color: var(--section-dark-muted); text-align: center; }
