/* ============================================================
   INFOSOLUTIONS30 — Composants
   ============================================================ */

/* ===================== TOPBAR ===================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
body[data-dir="clair"] .topbar { --text: #EAF0FF; --muted: #93A3C4; --line: #1E2F52; color: var(--text); }
.topbar-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 46px; width: auto; border-radius: 10px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name strong { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.brand-name strong em { font-style: normal; color: var(--accent); }
.brand-name span { font-size: 12.5px; color: var(--muted); }

.topbar nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.topbar nav a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.topbar nav a:hover { color: var(--text); background: var(--accent-soft); }

.topbar-contact { display: flex; align-items: center; gap: 14px; }
.topbar-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 14.5px; font-weight: 600;
  color: var(--text);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.topbar-phone:hover { border-color: var(--accent-line); box-shadow: var(--glow); }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px;
  background: #1FAF5A; color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -6px #1FAF5A88; }
.btn-wa svg { width: 22px; height: 22px; }

.zone-line {
  font-size: 12.5px; color: var(--faint);
  border-top: 1px solid var(--line);
  padding: 6px 0;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.zone-line b { color: var(--muted); font-weight: 600; }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  width: min(var(--content-w), 100% - 48px);
  margin-inline: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 13px 14px; border-radius: 12px; font-weight: 500; color: var(--muted); font-size: 17px; }
.mobile-nav a:hover { background: var(--accent-soft); color: var(--text); }
.mnav-contact {
  display: flex; align-items: center; gap: 14px;
  margin-top: 12px; padding: 18px 14px 4px;
  border-top: 1px solid var(--line);
}
.mnav-contact .topbar-phone { flex: 1; justify-content: center; }
.mnav-contact a:hover { background: none; }
.mnav-contact .topbar-phone:hover { border-color: var(--accent-line); box-shadow: var(--glow); color: var(--text); }

#progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
}

.burger { display: flex; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===================== HERO ===================== */
.hero {
  background: var(--hero-grad), var(--bg);
  padding: 72px 0 96px;
  overflow: hidden;
  position: relative;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-minis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 52px;
}
.mini {
  display: block; color: inherit;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.mini:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--glow); }
.mini .ic {
  width: 46px; height: 46px; margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.mini .ic svg { width: 24px; height: 24px; }
.mini h3 { font-size: 17px; font-weight: 600; }
.mini p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600; font-size: 15px;
  margin-bottom: 26px;
}
.pill svg { width: 17px; height: 17px; flex: none; }

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero h1 .grad {
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede { color: var(--muted); font-size: 19px; margin-top: 20px; max-width: 50ch; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stat-chip {
  font-family: var(--font-mono); font-size: 13.5px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
}
.stat-chip b { color: var(--text); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--btn-radius);
  font-weight: 600; font-size: 16px;
  transition: transform .2s, box-shadow .25s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -8px color-mix(in oklab, var(--accent) calc(55% * var(--fx)), transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px color-mix(in oklab, var(--accent) calc(70% * var(--fx)), transparent); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--surface-2); }
.btn-ghost:hover { border-color: var(--accent-line); box-shadow: var(--glow); transform: translateY(-2px); }

/* Terminal */
.terminal {
  background: var(--terminal);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--card-shadow), var(--glow);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 15.5px;
  color: #EAF0FF;
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.term-bar i { width: 12px; height: 12px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #FF5F57; }
.term-bar i:nth-child(2) { background: #FEBC2E; }
.term-bar i:nth-child(3) { background: #28C840; }
.term-bar span { margin-left: 10px; color: #93A3C4; font-size: 13.5px; }
.term-body { padding: 24px 26px 30px; display: grid; gap: 13px; }
.term-body .cmd { color: #fff; font-weight: 600; }
.term-body .cmd::before { content: "$ "; color: #FEBC2E; }
.term-body .out { color: var(--accent); padding-left: 8px; }
.term-body .out::before { content: "→ "; color: var(--faint); }
.caret {
  display: inline-block; width: 9px; height: 18px;
  background: var(--accent); vertical-align: -3px; margin-left: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}

/* ===================== ÉTAPES ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--card-shadow); }
.step .num {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  margin-bottom: 20px;
}
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
.step::after {
  content: "→";
  position: absolute; right: -19px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 22px; z-index: 2;
}
.step:last-child::after { display: none; }

/* ===================== À PROPOS ===================== */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.about-grid h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.015em; }
.about-grid .body { color: var(--muted); font-size: 17.5px; margin-top: 20px; display: grid; gap: 14px; }
.about-grid .body strong { color: var(--text); font-weight: 600; }
.id-line {
  margin-top: 22px; font-family: var(--font-mono); font-size: 13.5px;
  color: var(--faint); border-left: 2px solid var(--accent);
  padding-left: 14px; line-height: 1.8;
}
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  padding: 14px 16px;
  font-size: 15px; font-weight: 500;
}
.badge svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

.portrait-card { position: relative; }
.portrait-card .ph {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  position: relative;
}
.portrait-card .ph img { width: 100%; aspect-ratio: .92; object-fit: cover; }
.portrait-card .ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--accent) 28%, #0A1426) 130%);
  mix-blend-mode: multiply;
}
.portrait-card .tag {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: #0A1426E0;
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-line);
  border-radius: 13px;
  padding: 12px 18px;
  color: #EAF0FF;
}
.portrait-card .tag b { display: block; font-size: 16px; }
.portrait-card .tag span { font-size: 13px; color: #93A3C4; }
.portrait-card .deco {
  position: absolute; inset: -18px -18px auto auto;
  width: 120px; height: 120px;
  border: 1px dashed var(--accent-line);
  border-radius: 50%;
  z-index: -1;
}

/* ===================== SERVICES ===================== */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.svc:hover { border-color: var(--accent-line); box-shadow: var(--card-shadow); }
.svc-head {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 18px;
  padding: 26px 28px;
}
.svc-head .ic {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in oklab, var(--accent-2) 14%, transparent));
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.svc-head .ic svg { width: 26px; height: 26px; }
.svc-head h3 { font-size: 21px; font-weight: 600; }
.svc-head p { font-size: 15px; color: var(--muted); margin-top: 3px; }
.svc-head .chev { margin-left: auto; color: var(--faint); transition: transform .3s; flex: none; }
.svc.open .svc-head .chev { transform: rotate(180deg); color: var(--accent); }
.svc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.16, 1, .3, 1);
}
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body > div { overflow: hidden; }
.svc-body-inner { padding: 0 28px 28px; }
.svc-body ul { display: grid; gap: 10px; margin-bottom: 22px; }
.svc-body li { display: flex; gap: 11px; color: var(--muted); font-size: 16px; }
.svc-body li::before { content: "▸"; color: var(--accent); flex: none; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.svc-tag {
  border: 1px solid var(--line); border-radius: 11px;
  padding: 10px 14px; font-size: 13.5px;
  background: var(--surface-2);
}
.svc-tag b { display: block; color: var(--text); font-size: 14px; }
.svc-tag span { color: var(--faint); font-size: 12.5px; }
.svc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.svc .btn { padding: 12px 24px; font-size: 15px; }

.tools-band { margin-top: 48px; text-align: center; }
.tools-band .lbl {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 18px;
}
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tool {
  font-family: var(--font-mono); font-size: 14.5px; font-weight: 600;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.tool:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); }

/* ===================== PACKS ===================== */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pack:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); border-color: var(--accent-line); }
.pack.featured {
  border: 1px solid var(--accent-line);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 7%, var(--surface)), var(--surface) 60%);
  box-shadow: var(--glow), var(--card-shadow);
}
.pack .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 999px;
  white-space: nowrap;
}
.pack h3 { font-size: 22px; font-weight: 600; }
.pack .price { font-family: var(--font-display); font-size: 42px; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 4px; }
.pack .price small { font-size: 17px; font-weight: 600; color: var(--muted); }
.pack .for { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.pack ul { display: grid; gap: 11px; margin-bottom: 30px; }
.pack li { display: flex; gap: 11px; font-size: 15.5px; color: var(--muted); }
.pack li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.pack .btn { margin-top: auto; justify-content: center; }

/* ===================== FORMATIONS ===================== */
.formations { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.formation {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.formation:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--card-shadow); }
.formation h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.formation p { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.formation .meta { display: flex; flex-wrap: wrap; gap: 9px; }
.formation .meta span {
  font-family: var(--font-mono); font-size: 13px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 600;
}

/* ===================== GAINS ===================== */
.gains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.gain:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--card-shadow); }
.gain .ic {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent);
}
.gain .ic svg { width: 24px; height: 24px; }
.gain h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.gain p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.gain .kpi {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  color: var(--accent);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

/* ===================== TARIFS ===================== */
.tarif-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.tarif-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tarif-table th, .tarif-table td { text-align: left; padding: 18px 26px; }
.tarif-table thead th {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
}
.tarif-table tbody tr { border-bottom: 1px solid var(--line); transition: background .2s; }
.tarif-table tbody tr:last-child { border-bottom: none; }
.tarif-table tbody tr:hover { background: var(--accent-soft); }
.tarif-table td:first-child { font-weight: 600; }
.tarif-table td:nth-child(2) { color: var(--muted); }
.tarif-table td:last-child { font-family: var(--font-mono); font-weight: 600; color: var(--accent); white-space: nowrap; }
.tarif-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 24px; }
.tarif-note b { color: var(--text); }

/* ===================== ACTUS ===================== */
.actus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.actu {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.actu:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--card-shadow); }
.actu .date {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.actu h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.actu p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.actu .tags { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.actu .tags span {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--faint);
}

/* ===================== AVIS ===================== */
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.avi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.avi:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--card-shadow); }
.avi .quote-mark { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: .6; color: var(--accent); }
.avi blockquote { margin: 0; color: var(--muted); font-size: 15.5px; font-style: italic; }
.avi .who { border-top: 1px solid var(--line); padding-top: 16px; }
.avi .who b { display: block; font-size: 15.5px; }
.avi .who span { font-size: 13.5px; color: var(--faint); }

/* ===================== FAQ ===================== */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: var(--accent-line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 17.5px; font-weight: 600;
}
.faq-q .pm { margin-left: auto; color: var(--accent); flex: none; transition: transform .3s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.16, 1, .3, 1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }

/* ===================== CTA BAND ===================== */
.cta-band {
  background:
    radial-gradient(800px 400px at 50% -40%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
  text-align: center;
  padding: 96px 0;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 18px auto 36px; }
.cta-band .hero-ctas { justify-content: center; margin-top: 0; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-side h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.contact-side p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.contact-points { display: grid; gap: 14px; margin-top: 30px; }
.cpoint {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  padding: 16px 18px;
  transition: border-color .2s;
}
.cpoint:hover { border-color: var(--accent-line); }
.cpoint svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.cpoint b { font-size: 15.5px; display: block; }
.cpoint span { font-size: 13.5px; color: var(--faint); }

.cform {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 38px;
  box-shadow: var(--card-shadow);
  display: grid; gap: 18px;
}
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.cform input, .cform textarea, .cform select {
  font: inherit; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.cform input:focus, .cform textarea:focus, .cform select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.cform textarea { min-height: 130px; resize: vertical; }
.cform .rgpd { font-size: 13px; color: var(--faint); }
.cform .btn { justify-content: center; width: 100%; }
.form-ok {
  display: none;
  background: color-mix(in oklab, #1FAF5A 14%, transparent);
  border: 1px solid #1FAF5A66;
  color: #7BE3A8;
  border-radius: 11px; padding: 14px 18px; font-size: 15px;
}
.form-ok.show { display: block; }

/* ===================== LÉGAL ===================== */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.legal-tab {
  padding: 11px 24px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600; font-size: 15px;
  color: var(--muted);
  transition: all .2s;
}
.legal-tab:hover { border-color: var(--accent-line); color: var(--text); }
.legal-tab.active {
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  color: #fff; border-color: transparent;
}
.legal-panel { display: none; max-width: 880px; margin-inline: auto; }
.legal-panel.active { display: block; }
.legal-panel .lblock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
}
.legal-panel h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.legal-panel h3::before { content: "§"; color: var(--accent); font-family: var(--font-mono); }
.legal-panel p, .legal-panel li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-panel p + p { margin-top: 8px; }
.legal-panel strong { color: var(--text); }
.legal-panel ul { display: grid; gap: 7px; margin-top: 10px; }
.legal-panel ul li { display: flex; gap: 10px; }
.legal-panel ul li::before { content: "▸"; color: var(--accent); flex: none; }

/* ===================== FOOTER ===================== */
footer.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
body[data-dir="clair"] footer.site-footer { background: #0A1426; --text: #EAF0FF; --muted: #93A3C4; --line: #1E2F52; --faint: #5E6F94; color: var(--text); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 44px; border-radius: 10px; }
.footer-brand b { font-family: var(--font-display); font-size: 17px; }
.footer-brand span { display: block; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--muted); align-items: center; }
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 13.5px; color: var(--faint);
}
.footer-legal b { color: var(--muted); }

/* ===================== FLOATING ===================== */
.fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: 22px;
  padding: 14px 18px 12px;
  font-size: 12.5px; font-weight: 700; line-height: 1.2;
  box-shadow: 0 14px 40px -8px color-mix(in oklab, var(--accent) 65%, transparent);
  transition: transform .25s, box-shadow .25s;
}
.fab:hover { transform: translateY(-4px) scale(1.04); }
.fab svg { width: 26px; height: 26px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-minis { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .portrait-card { max-width: 460px; }
  .svc-grid { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pack.featured { order: -1; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .step::after { content: "↓"; right: 50%; top: auto; bottom: -34px; transform: translateX(50%); }
  .gains, .actus, .avis { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .formations { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .wrap { width: min(1180px, 100% - 36px); }
  .hero { padding: 48px 0 72px; }
  .hero-minis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mini { padding: 16px 12px; }
  .mini h3 { font-size: 15px; }
  .brand img { height: 40px; }
  .term-body { padding: 18px 18px 22px; font-size: 13.5px; }
  .terminal { font-size: 13.5px; }
  .cform { padding: 26px 22px; }
  .cform .row2 { grid-template-columns: 1fr; }
  .tarif-card { overflow-x: auto; }
  .tarif-table { min-width: 560px; }
  .tarif-table th, .tarif-table td { padding: 14px 18px; }
  .badges { grid-template-columns: 1fr; }
  .svc-gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .fab { right: 16px; bottom: 16px; }
  .legal-panel .lblock { padding: 22px 20px; }
}
