/* ================================================================
   STYLE.CSS — Professeur particulier Charles
   Mathématiques · NSI · Python
   ================================================================ */

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --navy:     #192840;
  --navy-dk:  #0f1c2e;
  --navy-md:  #1A3D50;
  --white:    #ffffff;
  --off-wh:   #f4f6f9;
  --gray:     #6b7280;
  --gray-lt:  #e8ecf1;
  --green:    #2a7a38;
  --green-lt: #3a9c4a;
  --green-bg: #eef6ef;
  --text:     #1a2433;
  --radius:   12px;
  --shadow:   0 8px 40px rgba(15,28,46,.12);
  --trans:    .3s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(15,28,46,0);
  backdrop-filter: blur(0px);
  transition: background var(--trans), backdrop-filter var(--trans), box-shadow var(--trans);
}
#navbar.scrolled,
body.page-inner #navbar {
  background: rgba(15,28,46,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.nav-logo-img {
  height: 2em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: .4rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.nav-logo span { color: #5dce75; }
.nav-links {
  display: flex; gap: 2.4rem; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: #5dce75;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--trans);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: .5rem 1.2rem !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--trans), transform var(--trans) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-lt) !important; transform: translateY(-1px); }
.nav-cta.active { background: var(--green-lt) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--navy-dk);
  padding: 1.5rem 5%;
  flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.75); font-size: 1rem; font-weight: 500;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--trans);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a.active { color: #5dce75; }

/* ── PAGE HEADER (inner pages) ──────────────────────────────────── */
.page-header {
  background: var(--navy-dk);
  padding: 130px 5% 70px;
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(42,122,56,.12) 0%, transparent 60%),
    linear-gradient(160deg, #0f1c2e 0%, #192840 100%);
}
.page-header-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header-content { position: relative; z-index: 1; max-width: 700px; }
.page-header-label {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
  color: #5dce75;
  margin-bottom: .8rem;
}
.page-header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-header-title em { font-style: normal; color: #5dce75; }
.page-header-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  font-weight: 300;
  max-width: 540px;
}

/* ── SECTION BASE ───────────────────────────────────────────────── */
section { padding: 90px 5%; }
.section-label {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--navy); line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title em { font-style: normal; color: var(--green); }
.section-intro {
  color: var(--gray); font-size: 1.05rem; line-height: 1.75; max-width: 560px;
}
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-intro { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green); color: var(--white);
  padding: .85rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 20px rgba(42,122,56,.4);
}
.btn-primary:hover {
  background: var(--green-lt); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42,122,56,.5);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: rgba(255,255,255,.85);
  padding: .85rem 2rem; border-radius: 8px;
  font-weight: 500; font-size: 1rem;
  border: 1px solid rgba(255,255,255,.25);
  transition: border-color var(--trans), color var(--trans), background var(--trans);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,.6); color: var(--white);
  background: rgba(255,255,255,.06);
}

/* ── HERO (index.html) ──────────────────────────────────────────── */
#accueil {
  min-height: 100vh;
  background: var(--navy-dk);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(42,122,56,.18) 0%, transparent 70%),
    linear-gradient(160deg, #0f1c2e 0%, #192840 50%, #0f1c2e 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(42,122,56,.18);
  border: 1px solid rgba(93,206,117,.3);
  color: #7de88e;
  font-size: .82rem; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 50px;
  margin-bottom: 1.8rem;
  animation: fadeUp .8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #5dce75;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700; color: var(--white); line-height: 1.15;
  margin-bottom: 1.4rem;
  animation: fadeUp .8s .1s ease both;
  letter-spacing: 3px;
}
.hero-title em { font-style: normal; color: #5dce75; }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.65); line-height: 1.75;
  max-width: 580px; margin: 0 auto 2.4rem;
  font-weight: 300;
  animation: fadeUp .8s .2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .8s .3s ease both;
}
.hero-stats {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
  margin-top: 4rem;
  animation: fadeUp .8s .4s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--white);
}
.hero-stat-num span { color: #5dce75; }
.hero-stat-label { font-size: .82rem; color: rgba(255,255,255,.45); font-weight: 400; margin-top: .2rem; }
.hero-divider { width: 1px; height: 40px; background: rgba(255,255,255,.12); align-self: center; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: fadeUp 1s .8s ease both;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Subjects bar */
.subjects-bar {
  background: var(--navy-md);
  padding: 1rem 5%;
  display: flex; justify-content: center; align-items: center;
  gap: 2rem; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.subject-pill {
  display: flex; align-items: center; gap: .7rem;
  color: rgba(255,255,255,.7);
  font-size: .88rem; font-weight: 500;
}
.subject-tag {
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; letter-spacing: .5px;
  font-family: 'Outfit', sans-serif;
}
.tag-pc  { background: rgba(93,206,117,.15); color: #7de88e; }
.tag-nsi { background: rgba(100,160,255,.15); color: #7eb8fa; }
.tag-py  { background: rgba(255,210,60,.12);  color: #ffd23c; }
.pill-sep { width: 1px; height: 22px; background: rgba(255,255,255,.1); }

/* ── ABOUT (a-propos.html) ──────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: start; max-width: 1100px; margin: 0 auto;
}
.about-visual { position: relative; }
.about-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #ffd23c;
  max-width: 340px;
  width: 100%;
}
.about-photo-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-md) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .8rem;
}
.about-initials {
  font-family: 'Playfair Display', serif;
  font-size: 6rem; font-weight: 700;
  color: rgba(255,255,255,.12); line-height: 1;
}
.about-photo-label {
  font-size: .78rem; color: rgba(255,255,255,.25); letter-spacing: .5px;
}
.about-intro-text {
  font-size: .92rem; color: var(--gray); line-height: 1.75;
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--gray-lt);
}
.about-badge-superprof {
  position: absolute; bottom: -18px; right: -68px;
  background: var(--white); border-radius: 12px;
  padding: 1rem 1.4rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .8rem;
  min-width: 160px;
}
.badge-sp {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-sp svg {
  width: 100%; height: 100%;
}
.badge-sp svg path,
.badge-sp svg g path {
  fill: #cea51f;
}
.about-links {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.about-btn {
  justify-content: center;
}
.badge-text { font-size: .8rem; color: var(--gray); line-height: 1.45; }
.badge-text strong { display: block; font-size: .9rem; color: var(--text); font-weight: 700; }
.about-content { padding-top: 1rem; }
.about-content .section-intro { max-width: 100%; margin-bottom: 1.6rem; }

/* Timeline */
.timeline { margin-top: 2rem; display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 1.2rem; padding-bottom: 1.8rem; }
.timeline-item:last-child { padding-bottom: 0; }
.tl-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green); flex-shrink: 0; margin-top: 4px;
}
.tl-line {
  width: 2px; flex: 1; margin-top: 4px;
  background: linear-gradient(to bottom, var(--green-lt), var(--gray-lt));
}
.timeline-item:last-child .tl-line { display: none; }
.tl-year { font-size: .78rem; font-weight: 600; color: var(--green); letter-spacing: .5px; margin-bottom: .6rem; }
.tl-title { font-weight: 600; color: var(--text); margin-bottom: .3rem; font-size: .95rem; }
.tl-desc { font-size: .88rem; color: var(--gray); line-height: 1.6; }
.tl-sub-group {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.tl-sub-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem;
}
.tl-sub-num {
  font-family: 'Playfair Display', serif;
  font-size: .75rem; font-weight: 700;
  color: var(--green); letter-spacing: .5px;
  flex-shrink: 0; margin-top: 2px;
  opacity: .7;
}
.tl-sub-divider {
  height: 1px; background: rgba(0,0,0,.07); margin: 0 1.2rem;
}

/* Pedagogy cards */
.pedagogy-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.peda-card {
  background: var(--white); border-radius: 10px; padding: 1.3rem;
  border: 1px solid var(--gray-lt);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.peda-card:hover { border-color: rgba(42,122,56,.3); box-shadow: 0 4px 20px rgba(42,122,56,.08); }
.peda-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: rgba(42,122,56,.2); line-height: 1;
  margin-bottom: .5rem;
}
.peda-title { font-weight: 700; font-size: .92rem; color: var(--text); margin-bottom: .3rem; }
.peda-desc { font-size: .82rem; color: var(--gray); line-height: 1.55; }

/* ── FORMULES (cours.html) ──────────────────────────────────────── */
.formules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.formule-card {
  border-radius: 16px; padding: 2.2rem;
  border: 1.5px solid var(--gray-lt); background: var(--white);
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
  overflow: hidden;
}
.formule-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gray-lt); transition: background var(--trans);
}
.formule-card:hover { border-color: rgba(42,122,56,.3); box-shadow: var(--shadow); transform: translateY(-4px); }
.formule-card:hover::before { background: var(--green); }
.formule-card.featured { border-color: var(--green); box-shadow: 0 12px 50px rgba(42,122,56,.14); }
.formule-card.featured::before { background: var(--green); }
.featured-label {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--green); color: var(--white);
  font-size: .68rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  padding: .28rem .75rem; border-radius: 50px;
}
.formule-num {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--green);
  margin-bottom: 1.4rem; flex-shrink: 0;
}
.formule-card.featured .formule-num { background: rgba(42,122,56,.12); }
.formule-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem;
}
.formule-cat-header {
  display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem;
}
.formules-blocs {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  align-items: start;
}
.formule-subcards {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.formule-subname {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem;
}
.formule-premium {
  max-width: none;
}
/* ── Encadré unifié par colonne ───────────────────────────────── */
.formule-bloc {
  border-radius: 16px;
  border: 1.5px solid var(--gray-lt);
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.formule-bloc::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--green);
}
.formule-bloc-header {
  padding: 1.8rem 2rem 1.4rem;
  border-bottom: 1.5px solid var(--gray-lt);
}
.formule-bloc-header .formule-cat-header { margin-bottom: 0; }
.formule-section {
  padding: 1.8rem 2rem;
  display: flex; flex-direction: column;
}
.formule-section + .formule-section {
  border-top: 1.5px solid var(--gray-lt);
}
.formule-section-label {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--green); background: var(--green-bg);
  padding: .2rem .65rem; border-radius: 50px; margin-bottom: .8rem;
}
.formule-footnote {
  font-size: .75rem; color: var(--gray); margin-bottom: 1.2rem; line-height: 1.5;
}
.degressif-table {
  width: 100%; border-collapse: collapse; font-size: .82rem; margin-bottom: 1.4rem; flex: 1;
}
.degressif-table th {
  text-align: left; padding: .45rem .6rem;
  background: var(--green-bg); color: var(--green);
  font-weight: 600; font-size: .75rem; letter-spacing: .3px;
}
.degressif-table td {
  padding: .45rem .6rem; color: var(--text);
  border-bottom: 1px solid var(--gray-lt);
}
.degressif-table tr:last-child td { border-bottom: none; }
.degressif-popular td { background: rgba(42,122,56,.05); font-weight: 600; }
.popular-badge {
  display: inline-block;
  font-size: .6rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--white); background: var(--green);
  padding: .15rem .5rem; border-radius: 50px;
  margin-left: .4rem; vertical-align: middle; white-space: nowrap;
}
.formule-tagline { font-size: .88rem; color: var(--gray); margin-bottom: 1.4rem; line-height: 1.55; }
.formule-price { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .3rem; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--navy);
}
.price-unit { font-size: .88rem; color: var(--gray); }
.price-note { font-size: .78rem; color: var(--green); font-weight: 600; margin-bottom: 1.6rem; }
.formule-features { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.feat-item {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; color: var(--text); line-height: 1.5;
}
.feat-item::before { content: '—'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.formule-btn {
  display: block; width: 100%; text-align: center;
  padding: .8rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem;
  transition: var(--trans); cursor: pointer;
}
.formule-btn-outline {
  border: 1.5px solid var(--green); color: var(--green); background: transparent;
}
.formule-btn-outline:hover { background: var(--green); color: var(--white); }
.formule-btn-fill {
  background: var(--green); color: var(--white);
  border: 1.5px solid var(--green); box-shadow: 0 4px 16px rgba(42,122,56,.3);
}
.formule-btn-fill:hover { background: var(--green-lt); box-shadow: 0 6px 24px rgba(42,122,56,.4); }

/* Options strip */
.options-strip {
  max-width: 1100px; margin: 2.8rem auto 0;
  background: var(--off-wh); border-radius: 14px;
  padding: 1.8rem 2.2rem;
  border: 1px solid var(--gray-lt);
}
.options-strip-title {
  font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 1rem;
}
.options-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.option-tag {
  background: var(--white); border: 1px solid var(--gray-lt);
  border-radius: 6px; padding: .35rem .85rem;
  font-size: .82rem; color: var(--text);
}

/* ── TÉMOIGNAGES ────────────────────────────────────────────────── */
.superprof-banner {
  max-width: 1100px; margin: 0 auto 3.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 1.8rem 2.4rem;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.sp-logo { display: flex; align-items: center; gap: .9rem; }
.sp-badge-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sp-badge-icon svg {
  width: 100%; height: 100%;
}
.sp-badge-icon svg path,
.sp-badge-icon svg g path {
  fill: #cea51f;
}
.sp-logo-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); font-weight: 600; }
.sp-logo-sub { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: .15rem; }
.sp-divider { width: 1px; height: 50px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.sp-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.sp-stat { text-align: center; }
.sp-stat-num { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: #5dce75; }
.sp-stat-lab { font-size: .73rem; color: rgba(255,255,255,.4); letter-spacing: .3px; margin-top: .1rem; }
.sp-cta {
  margin-left: auto;
  background: var(--green); color: var(--white);
  padding: .6rem 1.4rem; border-radius: 8px;
  font-weight: 600; font-size: .88rem;
  transition: background var(--trans);
  white-space: nowrap;
}
.sp-cta:hover { background: var(--green-lt); }
.temoignages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem; max-width: 1100px; margin: 0 auto;
}
.temoignage-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 1.8rem;
  transition: background var(--trans), border-color var(--trans);
}
.temoignage-card:hover { background: rgba(255,255,255,.09); border-color: rgba(93,206,117,.3); }
.temo-stars { color: #fbbf24; letter-spacing: 2px; font-size: .9rem; margin-bottom: .9rem; }
.temo-text {
  font-size: .93rem; color: rgba(255,255,255,.7);
  line-height: 1.75; margin-bottom: 1.4rem;
  font-style: italic;
}
.temo-text::before { content: '\201C'; }
.temo-text::after  { content: '\201D'; }
.temo-author { display: flex; align-items: center; gap: .8rem; }
.temo-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.av-1 { background: rgba(93,206,117,.2);  color: #5dce75; }
.av-2 { background: rgba(100,160,255,.2); color: #7eb8fa; }
.av-3 { background: rgba(255,210,60,.15); color: #ffd23c; }
.av-4 { background: rgba(240,100,90,.15); color: #f47169; }
.av-5 { background: rgba(170,100,240,.15);color: #c084fc; }
.av-6 { background: rgba(42,206,180,.15); color: #5dcea8; }
.temo-name { font-weight: 600; color: var(--white); font-size: .9rem; }
.temo-meta { font-size: .78rem; color: rgba(255,255,255,.38); margin-top: .1rem; }

/* ── CONTACT ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  max-width: 1100px; margin: 0 auto; align-items: start;
}
.contact-info .section-intro { margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-method {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--gray-lt);
  border-radius: 10px; padding: 1rem 1.2rem;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.contact-method:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(42,122,56,.1); }
.cm-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; letter-spacing: .5px;
  color: var(--green); flex-shrink: 0;
}
.cm-label { font-size: .78rem; color: var(--gray); margin-bottom: .15rem; }
.cm-value { font-weight: 600; color: var(--text); font-size: .95rem; }
.booking-cta {
  margin-top: 2rem; background: var(--navy);
  border-radius: 14px; padding: 1.8rem; color: var(--white);
}
.booking-cta-title { font-weight: 700; font-size: 1rem; margin-bottom: .4rem; }
.booking-cta-desc { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 1.2rem; line-height: 1.6; }
.booking-toggle-arrow {
  display: inline-block;
  font-size: 1.1rem; line-height: 1;
  transition: transform .3s ease;
}
.booking-btn[aria-expanded="true"] .booking-toggle-arrow {
  transform: rotate(180deg);
}
.calendly-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease;
  margin-top: 0;
}
.calendly-wrapper.open {
  max-height: 760px;
  margin-top: 1.2rem;
}
.booking-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green); color: var(--white);
  padding: .7rem 1.4rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  border: none; cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.booking-btn:hover { background: var(--green-lt); transform: translateY(-1px); }
.contact-form {
  background: var(--white); border-radius: 16px;
  padding: 2.4rem; box-shadow: var(--shadow); border: 1px solid var(--gray-lt);
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 1.6rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); letter-spacing: .2px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .72rem 1rem;
  border: 1.5px solid var(--gray-lt); border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: .92rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(42,122,56,.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: .9rem;
  background: var(--green); color: var(--white);
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 16px rgba(42,122,56,.3);
}
.form-submit:hover { background: var(--green-lt); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(42,122,56,.4); }
.form-note { font-size: .78rem; color: var(--gray); text-align: center; margin-top: .8rem; }
.form-success {
  display: none;
  background: var(--green-bg);
  border: 1px solid rgba(42,122,56,.25);
  border-radius: 10px; padding: 1.4rem;
  color: var(--green); font-weight: 600; font-size: .95rem;
  text-align: center; margin-top: 1rem; line-height: 1.6;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--navy-dk); color: rgba(255,255,255,.4);
  text-align: center; padding: 2.8rem 5%;
  font-size: .82rem; line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.07);
}
footer strong { color: rgba(255,255,255,.65); }
.footer-links {
  display: flex; justify-content: center; gap: 2rem;
  margin-bottom: 1.2rem; flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,.4); transition: color var(--trans); }
.footer-links a:hover { color: #5dce75; }
.footer-legal-links {
  display: flex; justify-content: center; gap: 1.5rem;
  margin-bottom: 1.2rem; flex-wrap: wrap;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-legal-links a {
  color: rgba(255,255,255,.25); font-size: .76rem;
  transition: color var(--trans);
}
.footer-legal-links a:hover { color: rgba(255,255,255,.55); }
.footer-social {
  display: flex; justify-content: center; gap: 1.4rem;
  margin-bottom: 1.2rem;
}
.footer-social a {
  color: rgba(255,255,255,.35); transition: color var(--trans);
  display: flex; align-items: center;
}
.footer-social a:hover { color: #5dce75; }

/* ── LEGAL PROSE ────────────────────────────────────────────────── */
.legal-prose { font-size: .95rem; line-height: 1.8; color: var(--text); }
.legal-prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin: 2.2rem 0 .6rem; padding-bottom: .4rem;
  border-bottom: 1px solid var(--gray-lt);
}
.legal-prose p { margin-bottom: .9rem; }
.legal-prose ul { margin: .5rem 0 1rem 1.2rem; }
.legal-prose ul li { margin-bottom: .35rem; }
.legal-prose a { color: var(--green); text-decoration: underline; }

/* ── REVEAL ON SCROLL ───────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge-superprof { right: 0; bottom: -14px; }
  .formules-grid { grid-template-columns: 1fr; max-width: 480px; }
  .formules-blocs { grid-template-columns: 1fr; max-width: 520px; }
  .temoignages-grid { grid-template-columns: 1fr 1fr; }
  .pedagogy-cards { grid-template-columns: 1fr; }
  .sp-stats { gap: 1.5rem; }
  .sp-cta { margin-left: 0; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 65px 5%; }
  .hero-stats { gap: 1.5rem; }
  .hero-divider { display: none; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .subjects-bar { gap: 1rem; }
  .superprof-banner { padding: 1.4rem; }
  .contact-form { padding: 1.6rem; }
  .page-header { padding: 110px 5% 55px; }
}