/* ==========================================================================
   NOVETIA — Design system (thème sombre bleu nuit / cyan électrique)
   Structure inspirée de studeria.fr — palette Novetia
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Fonds sombres */
  --bg:        #0B1220;
  --bg-soft:   #0F1A2E;
  --surface:   #131F35;
  --surface-2: #182741;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.14);

  /* Texte */
  --ink:       #EAF1FF;
  --ink-soft:  #B7C3DA;
  --muted:     #7E8DA8;

  /* Accents */
  --brand:     #22D3EE;   /* cyan électrique */
  --brand-2:   #3B82F6;   /* bleu */
  --brand-3:   #60A5FA;
  --on-brand:  #04121e;   /* texte sur accent clair */

  --grad:      linear-gradient(120deg, #3B82F6 0%, #22D3EE 100%);
  --grad-soft: linear-gradient(120deg, rgba(59,130,246,.16) 0%, rgba(34,211,238,.16) 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 24px 60px -28px rgba(0,0,0,.75);
  --shadow-sm: 0 10px 30px -16px rgba(0,0,0,.6);
  --glow:      0 0 0 1px rgba(34,211,238,.35), 0 18px 46px -18px rgba(34,211,238,.4);
  --maxw: 1160px;
  --space: clamp(60px, 8vw, 108px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: 'Space Grotesk','Inter',sans-serif; line-height: 1.12; color: #fff; font-weight: 700; letter-spacing: -.015em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1rem; }
a  { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space) 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--grad); color: #eaf6ff; }
.section--deep h1,.section--deep h2,.section--deep h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-family: 'Space Grotesk',sans-serif; font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.section--deep .eyebrow { color: #04121e; }
.lead { font-size: clamp(1.05rem,1.6vw,1.22rem); color: var(--ink-soft); max-width: 62ch; }
.section--deep .lead { color: rgba(4,18,30,.85); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.text-muted { color: var(--muted); }
.mt-s{margin-top:12px}.mt-m{margin-top:28px}.mt-l{margin-top:48px}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: var(--on-brand); box-shadow: 0 12px 30px -12px rgba(34,211,238,.5); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(34,211,238,.7); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background:#fff; color: #0B1220; }
.btn--light:hover{ background:#e9f6ff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Barre d'annonce ---------- */
.topbar { background: var(--grad); color: var(--on-brand); font-size: .88rem; font-weight: 600; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 24px; text-align: center; flex-wrap: wrap; }
.topbar a { color: var(--on-brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family:'Space Grotesk',sans-serif; font-weight: 700; font-size: 1.65rem; color: #fff; letter-spacing:-.02em; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px 2px rgba(34,211,238,.6); }
.brand-logo { height: 48px; width: auto; display: block; }
.site-footer .brand { font-size: 1.3rem; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: #fff; cursor: pointer; }

/* Dropdown nav — Intra-entreprise */
.nav-links .has-dropdown { position: relative; }
.dd-toggle { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.dropdown {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 240px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--shadow); display: none; z-index: 60;
}
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--ink); font-size: .95rem; font-weight: 600; }
.dropdown a small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.dropdown a:hover { background: rgba(255,255,255,.05); color: var(--brand); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.dd-open .dropdown { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(60px,8vw,96px) 0 clamp(56px,7vw,88px); }
.hero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(900px 480px at 82% -12%, rgba(34,211,238,.18), transparent 60%),
              radial-gradient(760px 460px at -5% 0%, rgba(59,130,246,.20), transparent 55%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .lead { font-size: clamp(1.08rem,1.7vw,1.3rem); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  display:inline-flex; align-items:center; gap:7px; font-size:.82rem; font-weight:600;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
  color: var(--ink-soft);
}
.badge .k { color: var(--brand); }

/* Avis / rating */
.ratings { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.rating { display: flex; align-items: center; gap: 10px; }
.rating .stars { color: #FBBF24; letter-spacing: 2px; font-size: 1rem; }
.rating .rtext { font-size: .86rem; color: var(--ink-soft); }
.rating .rtext strong { color: #fff; }

/* Collage hero (visuel abstrait, sans fausses photos) */
.collage { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 118px; gap: 16px; }
.tile { border-radius: 16px; border: 1px solid var(--line-2); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); position: relative; overflow: hidden; }
.tile .ti { font-size: 1.5rem; }
.tile .tl { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.tile.grad { background: var(--grad); color: var(--on-brand); border-color: transparent; }
.tile.grad .tl { color: rgba(4,18,30,.8); }
.tile.tall { grid-row: span 2; }
.tile .big { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.9rem; color:#fff; }
.tile.grad .big { color: var(--on-brand); }
.ph-note { margin-top: 12px; font-size: .78rem; color: var(--muted); text-align: center; }

/* Blocs cliquables du hero (accueil) */
.hero-blocks { display: grid; gap: 18px; }
.hero-block { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 24px; transition: transform .18s ease, border-color .2s, box-shadow .2s; }
.hero-block:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--glow); }
.hero-block .hb-ic { width: 60px; height: 60px; flex: none; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--brand); }
.hero-block .hb-ic svg.ic { width: 32px; height: 32px; }
.hero-block .hb-txt { display: flex; flex-direction: column; }
.hero-block .hb-t { font-family:'Space Grotesk',sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; }
.hero-block .hb-s { color: var(--ink-soft); font-size: .95rem; }
.hero-block .hb-arrow { margin-left: auto; color: var(--brand); font-size: 1.5rem; font-weight: 700; }

/* ---------- Bandeau logos ---------- */
.logos-band { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.logos-title { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.logo-box { height: 54px; min-width: 130px; border: 1px dashed var(--line-2); border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; background: rgba(255,255,255,.02); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.stat-card .n { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: clamp(2rem,4vw,2.8rem); background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stat-card .l { color: var(--ink-soft); font-size: .96rem; margin-top: 6px; }
.stat-row{ display:flex; flex-wrap:wrap; gap:28px; }
.stat .n{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:2rem; background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stat .l{ color:var(--muted); font-size:.9rem; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { margin: 6px 0 10px; color:#fff; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.tag { display:inline-block; font-size:.74rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--brand); margin-bottom:6px; }
.price-mini { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.5rem; color:#fff; margin:6px 0 14px; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); font-size: 1.4rem; margin-bottom: 10px; border: 1px solid var(--line-2);
}

/* Cartes parcours/offres */
.pillar { position: relative; overflow: hidden; }
.pillar .tag { font-size:.74rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--brand); }
.pillar.is-formation .ico { background: rgba(96,165,250,.14); color: var(--brand-3); }
.pillar .card-link { display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:600; font-family:'Space Grotesk',sans-serif; }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.steps.grid-3 { grid-template-columns: repeat(3,1fr); }
.step { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: 1rem; color: var(--on-brand);
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin: 0 0 8px; color:#fff; }
.step p { color: var(--ink-soft); margin: 0; }

/* Timeline horizontale */
.timeline { counter-reset: tl; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tl-step { position: relative; padding-top: 46px; }
.tl-step::before {
  counter-increment: tl; content: counter(tl);
  position: absolute; top: 0; left: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--on-brand);
  font-family:'Space Grotesk',sans-serif; font-weight:700; display: grid; place-items: center;
}
.tl-step::after { content:""; position:absolute; top: 16px; left: 40px; right: -18px; height: 2px; background: var(--line-2); }
.tl-step:last-child::after { display:none; }
.tl-step h4 { color:#fff; font-size: 1rem; margin: 0 0 4px; }
.tl-step p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---------- Feature list ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.checks li::before {
  content:"✓"; position:absolute; left:0; top:1px; width:22px; height:22px; border-radius:50%;
  background: var(--grad-soft); color: var(--brand); font-weight:700; font-size:.8rem;
  display:grid; place-items:center; border:1px solid var(--line-2);
}
.tag-list { display:flex; flex-wrap:wrap; gap:10px; }
.chip { background: rgba(255,255,255,.05); border:1px solid var(--line-2); border-radius:999px; padding:8px 16px; font-size:.9rem; color:var(--ink-soft); font-weight:500; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.pricing.two { grid-template-columns: repeat(2,1fr); max-width: 760px; margin: 0 auto; }
.plan {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  display:flex; flex-direction:column; box-shadow: var(--shadow-sm);
}
.plan.is-featured { border-color: transparent; box-shadow: var(--glow); position: relative; }
.plan.is-featured::after {
  content:""; position:absolute; inset:0; border-radius: var(--radius); padding:1.5px;
  background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none;
}
.plan .flag { align-self:flex-start; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--on-brand); background: var(--grad); padding:5px 12px; border-radius:999px; margin-bottom:14px; }
.plan .pname { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.3rem; color:#fff; }
.plan .pfor { color: var(--muted); font-size:.92rem; margin: 2px 0 18px; }
.plan .price { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:2rem; color:#fff; line-height:1; }
.plan .price small { display:block; font-size:.85rem; font-weight:500; color: var(--muted); margin-top:8px; font-family:'Inter',sans-serif; }
.plan .feats { list-style:none; margin:22px 0 26px; padding:0; display:grid; gap:11px; font-size:.94rem; }
.plan .feats li { position:relative; padding-left:26px; color: var(--ink-soft); }
.plan .feats li::before { content:"✓"; position:absolute; left:0; color: var(--brand); font-weight:700; }
.plan .btn { margin-top:auto; justify-content:center; }
.section--deep .plan { background: rgba(4,18,30,.22); border-color: rgba(255,255,255,.25); }
.section--deep .plan .pname,.section--deep .plan .price { color:#fff; }
.section--deep .plan .pfor { color: rgba(255,255,255,.75); }
.section--deep .plan .feats li { color: rgba(255,255,255,.9); }
.section--deep .plan .feats li::before { color:#fff; }
.section--deep .plan.is-featured { box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.section--deep .plan.is-featured::after { background: #fff; }
.section--deep .flag { background:#fff; color: var(--brand-2); }
.price-note { color: var(--muted); font-size:.9rem; margin-top: 18px; }
.promo { display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap; text-align:center; background: rgba(34,211,238,.08); border:1px solid rgba(34,211,238,.35); border-radius:16px; padding:18px 24px; margin: 28px auto; max-width: 880px; }
.promo .pct { font-family:'Space Grotesk',sans-serif; font-weight:700; color: var(--on-brand); background: var(--grad); padding:8px 20px; border-radius:999px; font-size:1.9rem; line-height:1; white-space:nowrap; box-shadow: 0 8px 24px -10px rgba(34,211,238,.6); }
.promo .ptxt { color: var(--ink); font-size:1.02rem; }
.promo a { font-weight:600; white-space:nowrap; }
.topbar strong { font-size: 1.12em; }
.section--deep .price-note { color: rgba(255,255,255,.8); }

/* ---------- Témoignages ---------- */
.tcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tcard { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tcard .stars { color:#FBBF24; letter-spacing:2px; margin-bottom: 12px; }
.tcard p { color: var(--ink); font-size: .98rem; }
.tcard .who { display:flex; align-items:center; gap:12px; margin-top: 18px; }
.tcard .av { width:44px; height:44px; border-radius:50%; background: var(--grad-soft); border:1px solid var(--line-2); display:grid; place-items:center; color:var(--brand); font-weight:700; }
.tcard .who .nm { color:#fff; font-weight:600; font-size:.92rem; }
.tcard .who .rl { color: var(--muted); font-size:.82rem; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.team.three { grid-template-columns: repeat(3,1fr); max-width: 760px; margin: 0 auto; }
.member { text-align:center; }
.member .av { width: 100%; aspect-ratio: 1/1; border-radius: 16px; background: var(--grad-soft); border:1px solid var(--line-2); display:grid; place-items:center; color: var(--muted); font-size:.8rem; margin-bottom: 12px; }
.member .av svg.ic { width: 44%; height: 44%; }
.member .nm { color:#fff; font-weight:600; }
.member .rl { color: var(--brand); font-size:.86rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor:pointer; font-family:'Space Grotesk',sans-serif; font-weight:600; color:#fff; padding: 16px 0; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color:var(--brand); font-size:1.5rem; font-weight:400; transition:transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- Placeholders ---------- */
.ph {
  border: 1.5px dashed rgba(34,211,238,.45); background: rgba(34,211,238,.05); border-radius: var(--radius-sm);
  padding: 22px; color: var(--ink-soft);
}
.ph .ph-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; background: rgba(34,211,238,.16); color: var(--brand); padding:4px 10px; border-radius:999px; margin-bottom:10px; }
.ph strong { color:#fff; }
.ph-inline { color: var(--brand); font-weight:600; background: rgba(34,211,238,.12); padding:1px 8px; border-radius:6px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); border-radius: 22px; padding: clamp(26px,3.5vw,40px); color: var(--on-brand); text-align:center; max-width: 820px; margin: 0 auto; }
.cta-band h2 { color: var(--on-brand); margin-left:auto; margin-right:auto; max-width: 20ch; }
.cta-band .lead { color: rgba(4,18,30,.85); margin-left:auto; margin-right:auto; }

/* ---------- Split ---------- */
.split { display:grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items:center; }
.split.rev .split-media { order: -1; }
.media-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--surface); border:1px solid var(--line-2); border-radius: var(--radius); padding: 26px; display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.newsletter input { flex:1; min-width: 200px; padding:13px 15px; border:1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; }
.newsletter input:focus { outline:none; border-color: var(--brand); }

/* ---------- Form ---------- */
.form { display:grid; gap:16px; max-width:640px; }
.form .row2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width:100%; padding:13px 15px; border:1px solid var(--line-2); border-radius:12px; font:inherit; color:var(--ink); background: var(--surface);
}
.field input::placeholder,.field textarea::placeholder { color: var(--muted); }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(34,211,238,.15); }

/* ---------- Footer ---------- */
.site-footer { background: #070C16; color: var(--ink-soft); padding: 64px 0 32px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--brand); }
.foot-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color:#fff; font-size:1rem; margin:0 0 14px; }
.foot-grid ul { list-style:none; margin:0; padding:0; display:grid; gap:9px; font-size:.92rem; }
.site-footer .brand { color:#fff; margin-bottom:14px; }
.foot-badges { display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.foot-badge { border:1px dashed var(--line-2); border-radius:10px; padding:8px 12px; font-size:.78rem; color: var(--muted); }
.foot-bottom { border-top:1px solid var(--line); margin-top:40px; padding-top:22px; font-size:.85rem; color:var(--muted); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- Section head ---------- */
.sec-head { max-width: 740px; margin-bottom: 44px; }
.center.sec-head { margin-left:auto; margin-right:auto; }

/* ---------- Icônes SVG ---------- */
svg.ic { width: 1em; height: 1em; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ico svg.ic { width: 26px; height: 26px; color: var(--brand); }
.pillar.is-formation .ico svg.ic { color: var(--brand-3); }
.tile .ti svg.ic { width: 30px; height: 30px; color: var(--brand); }
.tile.grad .ti svg.ic { color: var(--on-brand); }
.mod svg.ic { width: 22px; height: 22px; color: var(--brand); flex: none; }
.btn svg.ic { width: 18px; height: 18px; }
.topbar svg.ic { width: 16px; height: 16px; color: var(--on-brand); }

/* ---------- Carte formation (RS6776) ---------- */
.fcard { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.fcard .fgrid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 36px; }
.fcard .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fcard .mods { display: grid; gap: 26px; margin: 22px 0 0; }
.mod { display: flex; gap: 12px; align-items: flex-start; }
.mod .mtxt { color: var(--ink-soft); font-size: .95rem; line-height: 1.7; }
.mod .mtxt b { color: #fff; font-weight: 600; }
.fpanel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; align-self: start; }
.fpanel .facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.fpanel .facts li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; font-size: .92rem; color: var(--ink-soft); }
.fpanel .facts li:last-child { border: none; padding: 0; }
.fpanel .facts b { color: #fff; font-weight: 600; text-align: right; }
.fpanel .price-big { font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: 2rem; color:#fff; }
.fpanel .price-big small { display:block; font-size:.82rem; font-weight:500; color: var(--muted); }
@media (max-width: 900px){ .fcard .fgrid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .tl-step::after { display:none; }
  .team, .team.three { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); }
  .pricing,.pricing.two,.tcards,.stats { grid-template-columns: 1fr; }
  .steps.grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap:32px; }
  .split.rev .split-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .nav-links { display: none; position:absolute; top:74px; left:0; right:0; background: var(--surface); flex-direction:column; padding:16px 24px; border-bottom:1px solid var(--line); box-shadow: var(--shadow-sm); }
  .nav-links.open { display:flex; }
  .nav-toggle { display:block; }
  .nav-links .has-dropdown { width: 100%; }
  .dropdown { position: static; display: block; box-shadow: none; border: none; padding: 4px 0 8px 16px; min-width: 0; }
  .dropdown a { padding: 8px 0; }
  .nav-cta .btn:not(.nav-toggle) { display:none; }
}
