/* =========================================================
   STEM Tunisia — feuille de style principale
   ========================================================= */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-soft: #eef0ff;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --yellow: #facc15;
  --green: #10b981;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --red: #e11d48;
  --violet: #8b5cf6;
  --ink: #1e1b4b;
  --text: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f7ff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(30, 27, 75, .08);
  --shadow-lg: 0 20px 50px rgba(30, 27, 75, .14);
  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #c7c9e8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.center { text-align: center; }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head p { font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff3e8;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section.dark .eyebrow { background: rgba(249,115,22,.15); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.3); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.3); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(30,27,75,.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.logo img { width: 42px; height: 42px; }
.logo span b { color: var(--red); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 700; color: var(--ink); padding: 8px 13px; border-radius: 999px; font-size: .97rem;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--primary-soft); color: var(--primary); }
.nav a.active { background: var(--primary-soft); color: var(--primary); }
.nav-cta { margin-left: 10px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 12px; }
.burger span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px auto; border-radius: 3px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.topbar { background: var(--ink); color: #c7c9e8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 12px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .tb-links { display: flex; gap: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 100px; background: linear-gradient(180deg, #f6f7ff 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 .hl { color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--yellow); opacity: .55; z-index: -1; border-radius: 6px;
}
.hero-lead { font-size: 1.2rem; max-width: 560px; margin-bottom: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  padding: 7px 16px 7px 8px; border-radius: 999px; font-weight: 700; color: var(--ink); font-size: .92rem;
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-badge i { font-style: normal; background: var(--red); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .78rem; }
.hero-trust { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust div { font-size: .92rem; }
.hero-trust strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); line-height: 1.1; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 500px; margin-left: auto; width: 100%; }
.hero-circle {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #818cf8, #4f46e5 60%, #3730a3);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center; font-size: clamp(5rem, 14vw, 9rem);
}
.orbit-item {
  position: absolute; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink);
  font-size: .95rem; animation: float 5s ease-in-out infinite;
}
.orbit-item .emo { font-size: 1.6rem; }
.orbit-item:nth-child(2) { top: 4%; left: -2%; }
.orbit-item:nth-child(3) { top: 18%; right: -4%; animation-delay: -1.5s; }
.orbit-item:nth-child(4) { bottom: 14%; left: -6%; animation-delay: -3s; }
.orbit-item:nth-child(5) { bottom: 2%; right: 4%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; z-index: 0; pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #6d28d9 100%);
  color: #e0e1ff; padding: 80px 0 90px;
}
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { font-size: 1.2rem; max-width: 680px; }
.page-hero .eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.page-hero::before {
  content: ""; position: absolute; right: 120px; bottom: -160px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(249,115,22,.25);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .9rem; margin-bottom: 18px; opacity: .85; }
.breadcrumb a { color: #fff; font-weight: 700; }
.page-hero .hero-emoji { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); font-size: 8rem; z-index: 1; opacity: .95; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-6 { grid-template-columns: repeat(6, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-top: 18px; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 800; display: inline-flex; gap: 6px; margin-top: 8px; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }

.icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.9rem; flex-shrink: 0;
}
.center .icon { margin-left: auto; margin-right: auto; }
.c-indigo { background: #eef0ff; }
.c-orange { background: #fff1e6; }
.c-yellow { background: #fef9c3; }
.c-green { background: #dcfce7; }
.c-pink { background: #fce7f3; }
.c-cyan { background: #cffafe; }
.c-red { background: #ffe4e6; }
.c-violet { background: #ede9fe; }

/* Discipline tiles */
.disc {
  text-align: center; padding: 26px 14px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: .25s; cursor: default;
}
.disc:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow); }
.disc .icon { margin: 0 auto 12px; }
.disc h4 { font-size: 1.05rem; margin: 0; }
.disc small { color: var(--muted); }

/* Service card with top color bar */
.service { overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--bar, var(--primary)); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag { font-size: .78rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--primary); }
.tag.orange { background: #fff1e6; color: var(--accent-dark); }
.tag.green { background: #dcfce7; color: #047857; }
.tag.pink { background: #fce7f3; color: #be185d; }

/* Check list */
.check { list-style: none; padding: 0; margin: 0 0 20px; }
.check li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .8rem; font-weight: 900; display: grid; place-items: center;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.06); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.8rem; color: #fff; line-height: 1; }
.stat span { font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 30px 24px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -20px; left: 24px; width: 42px; height: 42px; border-radius: 14px;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(249,115,22,.35);
}
.step h3 { margin-top: 10px; font-size: 1.15rem; }
.step p { margin: 0; font-size: .97rem; }

/* ---------- Mode / format blocks ---------- */
.mode {
  border-radius: var(--radius-lg); padding: 40px; color: #fff; position: relative; overflow: hidden;
}
.mode h3 { color: #fff; font-size: 1.7rem; }
.mode .check li::before { background: #fff; color: var(--primary); }
.mode.online { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.mode.onsite { background: linear-gradient(135deg, #f97316, #e11d48); }
.mode.onsite .check li::before { color: var(--accent); }
.mode .big-emo { position: absolute; right: 20px; top: 16px; font-size: 4rem; opacity: .9; }

/* ---------- Age tracks ---------- */
.age { text-align: center; padding: 34px 26px; }
.age .range { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.age .lvl { font-weight: 800; color: var(--accent); text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }

/* ---------- Program cards (filterable) ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 800; font-family: var(--font-body);
  padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: .92rem; transition: .2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.prog { display: flex; flex-direction: column; }
.prog .head { display: flex; align-items: center; gap: 14px; }
.prog .head h3 { margin: 0; font-size: 1.2rem; }
.prog p { margin-top: 14px; flex: 1; }
.prog .meta { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 6px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.prog.hide { display: none; }

/* ---------- Packages / pricing ---------- */
.pkg { display: flex; flex-direction: column; padding: 36px 30px; }
.pkg.featured { border: 3px solid var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.pkg.featured:hover { transform: scale(1.03) translateY(-6px); }
.pkg .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff;
  font-weight: 800; font-size: .8rem; padding: 5px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.pkg .pkg-name { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); font-weight: 800; }
.pkg .pkg-sub { color: var(--muted); margin-bottom: 20px; }
.pkg .check { flex: 1; }

/* ---------- Kits ---------- */
.kit { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.kit-visual { height: 170px; display: grid; place-items: center; font-size: 4.6rem; position: relative; }
.kit-visual .age-pill { position: absolute; top: 14px; right: 14px; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 800; color: var(--ink); }
.kit-visual .kit-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catalogue-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-weight: 700; padding: 30px 0; }
.kit-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.kit-body h3 { margin: 0 0 8px; }
.kit-body p { flex: 1; font-size: .97rem; }

/* ---------- Competitions ---------- */
.comp { display: flex; gap: 20px; align-items: flex-start; }
.comp .icon { width: 70px; height: 70px; font-size: 2.2rem; }
.comp h3 { margin: 0 0 4px; }
.comp .scope { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.scope.intl { color: var(--primary); }
.scope.nat { color: var(--red); }

.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 3px; background: var(--line); border-radius: 3px; }
.tl-item { position: relative; padding-left: 70px; margin-bottom: 34px; }
.tl-item::before {
  content: attr(data-n); position: absolute; left: 0; top: 0; width: 47px; height: 47px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.tl-item h3 { margin-bottom: 4px; }

/* ---------- Testimonials ---------- */
.quote { font-size: 1.02rem; }
.quote .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 10px; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-family: var(--font-head); }
.quote .who strong { color: var(--ink); display: block; line-height: 1.2; }
.quote .who small { color: var(--muted); }

/* ---------- Partners strip ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partner { padding: 14px 26px; border: 2px dashed var(--line); border-radius: 14px; font-weight: 800; color: var(--muted); font-family: var(--font-head); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 34px; padding: 60px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--primary) 0%, #7c3aed 60%, var(--pink) 130%);
  color: #e0e1ff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band .btn-group { justify-content: flex-end; }
.cta-band::after { content: "🚀"; position: absolute; right: 30px; bottom: -20px; font-size: 7rem; opacity: .15; transform: rotate(-15deg); }

/* ---------- Highlight box / visual panel ---------- */
.panel {
  border-radius: var(--radius-lg); padding: 40px; background: var(--bg-soft); position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.panel .tile { background: #fff; border-radius: 18px; padding: 20px 10px; text-align: center; box-shadow: var(--shadow); font-weight: 800; color: var(--ink); font-size: .9rem; }
.panel .tile span { display: block; font-size: 2.2rem; margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 800; color: var(--ink); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--primary); transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 6px; font-size: .93rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--line);
  background: #fbfbff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; background: #dcfce7; color: #065f46; padding: 14px 18px; border-radius: 14px; font-weight: 700; margin-top: 16px; }
.form-success.show { display: block; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-item h4 { margin: 0 0 2px; font-size: 1.1rem; }
.contact-item p { margin: 0; }
.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 360px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a5a8d6; padding: 80px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.site-footer a { color: #a5a8d6; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem; }
.socials a:hover { background: var(--accent); }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 0; font: inherit; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-item { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Floating WhatsApp ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px rgba(0,0,0,.2);
  transition: transform .2s;
}
.float-cta:hover { transform: scale(1.08); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; font-size: .92rem; }
  .g-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 20px; gap: 6px; transform: translateX(100%); transition: transform .3s; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 18px; font-size: 1.1rem; border-radius: 14px; }
  .nav-cta { margin: 10px 0 0; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0 auto; max-width: 420px; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-band .btn-group { justify-content: flex-start; }
  .pkg.featured { transform: none; }
  .pkg.featured:hover { transform: translateY(-6px); }
  .page-hero .hero-emoji { display: none; }
  .topbar .tb-hide { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .g-6 { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .mode, .panel { padding: 26px; }
  .panel { grid-template-columns: repeat(2, 1fr); }
  .hero h1 .hl { white-space: normal; }
  .orbit-item { font-size: .8rem; padding: 8px 12px; }
  .orbit-item .emo { font-size: 1.2rem; }
  .orbit-item:nth-child(2), .orbit-item:nth-child(4) { left: 0; }
  .orbit-item:nth-child(3) { right: 0; }
  .comp { flex-direction: column; }
  .topbar { display: none; }
}

/* --- Correctifs --- */
a.card { color: var(--text); display: block; }
sup { line-height: 0; }
@media (max-width: 980px) {
  .nav { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  .nav.open { visibility: visible; transition: transform .3s; }
}
html, body { overflow-x: clip; }
