/* ======================================================
   ia.welmangbaguidi.com — Premium AI Academy
   Design System v2 — Minimal · Élégant · Premium
   Inspiration : Apple, Notion, Linear, Framer
   ====================================================== */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette — monochrome absolu */
  --bg:          #050505;
  --bg-card:     #0f0f0f;
  --bg-hover:    #151515;
  --border:      #1e1e1e;
  --border-hi:   #2a2a2a;
  --border-muted:#111111;

  /* Textes */
  --text-primary:   #F5F5F5;
  --text-secondary: #909090;
  --text-muted:     #555555;
  --text-dim:       #333333;

  /* Accent = blanc — aucune couleur */
  --accent:         #F5F5F5;
  --accent-dim:     rgba(245, 245, 245, 0.06);
  --accent-border:  rgba(245, 245, 245, 0.12);
  --accent-hover:   #FFFFFF;

  /* Statuts — gris uniquement */
  --white:       #FFFFFF;
  --ok-text:     #AAAAAA;
  --ok-border:   rgba(255,255,255,0.1);
  --err-border:  rgba(255,255,255,0.1);

  /* Typographie */
  --font-heading: 'League Spartan', 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Échelle */
  --fs-xs:   0.70rem;
  --fs-sm:   0.825rem;
  --fs-base: 0.9375rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.75rem;

  /* Poids */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --fw-black:     900;

  /* Rayons */
  --r-sm:  6px;
  --r:     10px;
  --r-md:  14px;
  --r-lg:  18px;
  --r-xl:  24px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t:    0.22s;
  --t-md: 0.35s;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- UTILITAIRES ---- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 680px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-header {
  margin-bottom: 52px;
}

/* Divider horizontal entre sections */
.section + .section::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--border);
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
}

.accent-text {
  color: var(--accent);
}

/* ---- BOUTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    color var(--t) var(--ease),
    transform var(--t) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.4);
  outline-offset: 3px;
}

/* Bouton principal — blanc sur noir */
.btn-primary {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* Bouton secondaire — contour blanc */
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hi);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: #383838;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

/* Bouton WhatsApp — même style secondaire, pas de vert */
.btn-green {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hi);
}

.btn-green:hover {
  background: var(--bg-hover);
  border-color: #383838;
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 56px;
  background: rgba(5, 5, 5, 0);
  transition: background var(--t-md), border-color var(--t-md);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: opacity var(--t);
}

.nav-logo:hover { opacity: 0.6; }

.nav-dot { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color var(--t), background var(--t);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-cta {
  padding: 7px 18px;
  border-radius: var(--r);
  background: var(--text-primary);
  color: var(--bg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  transition: background var(--t);
  margin-left: 8px;
}

.nav-cta:hover { background: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--t);
}

/* =============================================
   HERO — adapté du composant React shadcn/ui
   grid-cols-1 lg:grid-cols-2 · badge · h1 tracking-tighter
   p text-muted-foreground · deux boutons · image carrée
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 56px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
}

/* py-20 lg:py-40 — container mx-auto */
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 33px 28px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* lg:grid-cols-2 */
  gap: 56px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* flex gap-4 flex-col — colonne de gauche */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* <Badge variant="outline"> */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: transparent;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}

/* flex gap-4 flex-col — groupe titre + sous-titre */
.hero-heading-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* text-5xl md:text-7xl tracking-tighter font-regular */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text-primary);
}

.title-line  { display: block; color: var(--text-primary); }
.title-accent { color: var(--text-primary); }

/* text-xl leading-relaxed text-muted-foreground max-w-md */
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 400px;
}

/* flex flex-row gap-4 */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* Poster */
.hero-visual {
  display: flex;
  justify-content: center;
}

/* Hero Image Box (même style que les cartes portfolio) */
.hero-image-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--t);
  cursor: pointer;
}

.hero-image-box:hover {
  border-color: #2A2A2A;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform var(--t-md) var(--ease), filter var(--t-md) var(--ease);
}

.hero-image-box:hover .hero-image,
.hero-image-box:active .hero-image {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  opacity: 0.35;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

.hero-scroll-hint span {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   ABOUT
   ============================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: transparent;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0;
}

.about-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-image-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #E5E5E5;
  border: 1px solid var(--border);
  transition: border-color var(--t);
  cursor: pointer;
}

.about-image-box:hover {
  border-color: #2A2A2A;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform var(--t-md) var(--ease), filter var(--t-md) var(--ease);
}

.about-image-box:hover .about-image,
.about-image-box:active .about-image {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  transition: all var(--t);
  cursor: pointer;
  letter-spacing: 0.03em;
}

.filter-btn:hover {
  border-color: #2A2A2A;
  color: var(--text-secondary);
  background: var(--bg-card);
}

.filter-btn.active {
  background: var(--bg-card);
  border-color: var(--border-hi);
  color: var(--text-primary);
}

/* --- Carrousel wrapper --- */
.portfolio-carousel-wrapper {
  position: relative;
}

/* Flou de bord gauche et droit */
.portfolio-carousel-wrapper::before,
.portfolio-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.portfolio-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-base, #050505) 0%, transparent 100%);
}
.portfolio-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-base, #050505) 0%, transparent 100%);
}

/* Navigation arrows */
.carousel-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  flex-shrink: 0;
}
.carousel-arrow:hover {
  border-color: var(--border-hi);
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Piste défilante */
.portfolio-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
  cursor: grab;
  user-select: none;
  padding-bottom: 4px;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.portfolio-grid::-webkit-scrollbar {
  display: none;
}

.portfolio-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Arrêt de l'animation automatique au survol */
.portfolio-grid.paused {
  animation-play-state: paused;
}

.portfolio-item {
  flex: 0 0 260px;   /* largeur fixe par carte */
  transition: opacity var(--t-md);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--t), transform var(--t);
  height: 340px;
  width: 100%;
}

.portfolio-card:hover {
  border-color: #2A2A2A;
  transform: translateY(-3px);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-md) var(--ease);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t-md);
  display: flex;
  align-items: flex-end;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 16px;
  width: 100%;
}

.portfolio-category {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.portfolio-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.portfolio-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.85);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  backdrop-filter: blur(8px);
  opacity: 0;
}

.portfolio-card:hover .portfolio-zoom {
  opacity: 1;
}

.portfolio-zoom:hover {
  background: var(--bg-hover);
  border-color: var(--border-hi);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.18s ease;
}

.lightbox[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
}

.lightbox-close:hover {
  background: var(--bg-hover);
  border-color: #2A2A2A;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
}

/* =============================================
   FORMATION
   ============================================= */
.formation-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.modules-list {
  display: flex;
  flex-direction: column;
}

.module-item {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}

.module-item:first-child {
  border-top: 1px solid var(--border);
}

.module-num {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.module-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.module-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
  opacity: 0.35;
}

/* Pricing Component (inspiré du PricingCard React) */
.pricing-container {
  position: sticky;
  top: 80px;
  width: 100%;
}

.pricing-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pricing-header {
  margin-bottom: 4px;
}

.pricing-box-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.pricing-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-opt {
  position: relative;
  cursor: pointer;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--border-hi);
  transition: all var(--t) var(--ease);
  overflow: hidden;
}

.pricing-opt:hover {
  border-color: #333333;
}

/* Plan actif / sélectionné */
.pricing-opt.active {
  border-color: var(--text-primary);
  background: var(--bg-card);
}

.opt-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  z-index: 5;
}

/* En-tête de l'option */
.opt-main {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
}

.opt-select {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opt-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.pricing-opt.active .opt-circle {
  border-color: var(--text-primary);
}

.opt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}

.pricing-opt.active .opt-dot {
  transform: scale(1);
}

.opt-info {
  flex: 1;
}

.opt-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: 1.2;
}

.opt-desc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 2px;
}

.opt-price {
  text-align: right;
}

.opt-price-val {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.opt-price-currency {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 1px;
}

/* Zone extensible */
.opt-details {
  display: none; /* géré en JS par toggle */
  padding: 0 16px 16px;
  animation: slideDown 0.3s var(--ease);
}

.pricing-opt.active .opt-details {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.opt-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.opt-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.opt-features li svg {
  flex-shrink: 0;
  color: var(--text-secondary);
}

.opt-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Ligne quantité / participants */
.opt-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qty-label-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.qty-texts {
  display: flex;
  flex-direction: column;
}

.qty-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  line-height: 1.1;
}

.qty-desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 3px;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-hover);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all var(--t);
}

.qty-btn:hover:not(:disabled) {
  background: var(--bg-card);
  color: var(--text-primary);
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-val {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  min-width: 14px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.opt-action {
  margin-top: 18px;
}

/* =============================================
   PDF SECTION
   ============================================= */
.pdf-section {
  padding: 0 0 88px;
  width: 100%;
}

.pdf-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--t);
}

.pdf-card:hover {
  border-color: #2A2A2A;
}

.pdf-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--bg-hover);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-text { flex: 1; }

.pdf-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.pdf-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.verification-card {
  border-radius: var(--r-md);
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.verification-portal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-self: center;
  width: 100%;
}

.portal-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  text-align: center;
}

.search-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.input-wrap {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-dim);
}

.portal-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color var(--t);
  -webkit-appearance: none;
}

.portal-input::placeholder {
  color: var(--text-dim);
}

.portal-input:focus {
  border-color: var(--border-hi);
}

.input-help {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  margin-top: 7px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* Result */
.verification-result {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.cert-valid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  width: fit-content;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cert-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-secondary);
}

/* Badge organisateur IACademy — affiché dans le résultat de vérification */
.cert-org-badge {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: fit-content;
}

/* Nom IACademy dans la prévisualisation du certificat */
.awards-org {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 4px;
  text-align: center;
}

.cert-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cert-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cert-field-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-field-value {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cert-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-not-found {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Portal examples */
.portal-examples {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.example-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.example-chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all var(--t);
}

.example-chip:hover {
  border-color: #2A2A2A;
  color: var(--text-secondary);
}

/* Layout bi-colonne pour la vérification */
.verification-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.verification-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Design Awards Certificat (adapté de designali-in/award) */
.awards-cert-outer {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  border: 2px dashed var(--border-hi);
  padding: 8px;
  background: transparent;
  width: 100%;
  max-width: 380px;
}

.awards-cert-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 38px 24px 24px;
  text-align: center;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.awards-ribbon {
  color: var(--text-primary);
  margin-top: -50px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.awards-ribbon svg {
  width: 24px;
  height: 36px;
  fill: var(--text-primary);
}

.awards-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 18px;
}

.awards-subtitle {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: none;
  margin-top: 3px;
}

.awards-lead {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.awards-recipient {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin: 0 auto 12px;
  width: fit-content;
  min-width: 140px;
  max-width: 220px;
  letter-spacing: -0.01em;
}

.awards-description {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 0 8px;
}

.awards-icon-wrap {
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.awards-icon-wrap svg {
  opacity: 0.4;
}

.awards-footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border-top: 1px solid var(--border-muted);
  padding-top: 12px;
}

.awards-date {
  font-weight: var(--fw-medium);
}

.awards-id {
  font-family: monospace;
  font-size: 0.75rem;
}

/* =============================================
   WHATSAPP
   ============================================= */
.whatsapp-section {
  padding: 0 0 88px;
}

.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--t);
}

.whatsapp-card:hover {
  border-color: #2A2A2A;
}

.whatsapp-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--bg-hover);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-text { flex: 1; }

.whatsapp-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.whatsapp-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border: none;
  color: var(--text-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  transition: color var(--t);
}

.faq-question:hover {
  color: var(--text-primary);
}

.faq-question[aria-expanded="true"] {
  color: var(--text-primary);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-md) var(--ease), color var(--t);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--text-secondary);
}

.faq-answer[hidden] { display: none; }

.faq-answer p {
  padding: 0 0 18px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-size: 0.9rem;
}

.footer-tagline {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--t);
}

.footer-nav a:hover {
  color: var(--text-secondary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-label {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-phone {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  transition: color var(--t);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer-phone:hover { color: var(--text-secondary); }

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--t);
  font-weight: var(--fw-medium);
}

.footer-wa:hover {
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border-muted);
  flex-wrap: wrap;
  text-align: center;
}

.footer-copy,
.footer-made {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform var(--t), background var(--t), border-color var(--t);
}

.fab-whatsapp:hover {
  background: var(--bg-hover);
  border-color: #383838;
  transform: translateY(-2px);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 80px 28px 72px;
    gap: 40px;
  }

  .hero-visual { order: -1; }

  .hero-image-box {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-text { align-items: center; text-align: center; }
  .hero-subtitle { margin: 0 auto; }
  .hero-actions { justify-content: center; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about-content { align-items: center; }
  .about-desc { margin: 0 auto; }

  .formation-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-container {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }

  .verification-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .verification-card {
    padding: 24px 20px;
  }

  .portfolio-item {
    flex: 0 0 220px;
  }

  /* Footer — 2 colonnes sur tablette */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }

  /* La marque prend les 2 colonnes */
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =============================================
   RESPONSIVE — PETITE TABLETTE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-desc {
    font-size: var(--fs-base);
    max-width: 100%;
  }

  /* Hero */
  .hero-inner {
    padding: 80px 20px 64px;
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  .hero-image-box {
    max-width: 380px;
  }

  /* About */
  .about-inner {
    gap: 36px;
  }

  .about-image-box {
    max-width: 340px;
  }

  /* Formation */
  .pricing-box {
    padding: 20px 16px;
  }

  /* Verification */
  .awards-cert-outer {
    padding: 20px 16px;
  }

  .awards-cert-inner {
    padding: 20px 16px;
  }

  .awards-title {
    font-size: 1.1rem;
  }

  .awards-recipient {
    font-size: 1.3rem;
  }

  /* PDF + WhatsApp full-width cards */
  .pdf-card,
  .whatsapp-card {
    gap: 16px;
    padding: 24px 20px;
  }

  /* Carrousel */
  .portfolio-item {
    flex: 0 0 200px;
  }

  .portfolio-card {
    height: 290px;
  }

  /* Footer — 1 colonne dès 768px */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
    align-items: center;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================= */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* Nav mobile */
  .nav-inner {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    z-index: 899;
  }

  .nav-links.open { display: flex; }

  .nav-link,
  .nav-cta {
    padding: 10px 14px;
    width: 100%;
    margin-left: 0;
    border-radius: var(--r);
    text-align: center;
  }

  .nav-toggle { display: flex; }

  /* Hero */
  .hero-inner {
    padding: 72px 16px 56px;
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: var(--fs-sm);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-box {
    max-width: 290px;
    margin: 0 auto;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 3px 10px;
  }

  /* About */
  .about-inner {
    gap: 28px;
  }

  .about-image-box {
    max-width: 260px;
  }

  .about-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .about-skills { grid-template-columns: 1fr; }

  /* Portfolio carrousel */
  .portfolio-item {
    flex: 0 0 160px;
  }

  .portfolio-card {
    height: 230px;
  }

  .carousel-nav {
    justify-content: center;
  }

  .portfolio-carousel-wrapper::before,
  .portfolio-carousel-wrapper::after {
    width: 40px;
  }

  /* Formation */
  .module-item {
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }

  .module-icon { display: none; }

  .pricing-box {
    padding: 16px 14px;
  }

  .opt-main {
    gap: 10px;
  }

  .opt-price-val {
    font-size: 1rem;
  }

  /* PDF + WhatsApp */
  .pdf-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 16px;
  }

  .whatsapp-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 16px;
  }

  /* Verification */
  .search-row {
    flex-direction: column;
  }

  .search-row .btn {
    width: 100%;
  }

  .portal-input {
    font-size: var(--fs-sm);
  }

  .cert-details {
    grid-template-columns: 1fr;
  }

  .awards-cert-outer {
    padding: 16px 12px;
  }

  .awards-cert-inner {
    padding: 16px 12px;
  }

  .awards-title {
    font-size: 0.95rem;
  }

  .awards-recipient {
    font-size: 1.1rem;
  }

  .verification-portal {
    gap: 16px;
  }

  /* FAQ */
  .faq-question {
    font-size: var(--fs-sm);
    padding: 14px 16px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
    align-items: center;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-phone {
    font-size: var(--fs-sm);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 0;
    text-align: center;
  }

  /* FAB WhatsApp */
  .fab-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .br-desktop { display: none; }

  /* Booking modal */
  .booking-panel {
    padding: 20px 16px;
    border-radius: 12px;
    max-height: 95vh;
  }

  .booking-header {
    gap: 10px;
  }

  .booking-icon {
    width: 34px;
    height: 34px;
  }

  .booking-title {
    font-size: 1rem;
  }
}

/* =============================================
   RESPONSIVE — PETIT MOBILE (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }

  .hero-inner {
    padding: 68px 14px 52px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .hero-image-box {
    max-width: 260px;
  }

  .about-image-box {
    max-width: 230px;
  }

  .portfolio-item {
    flex: 0 0 140px;
  }

  .portfolio-card {
    height: 200px;
  }

  .portfolio-carousel-wrapper::before,
  .portfolio-carousel-wrapper::after {
    width: 24px;
  }

  .filter-btn {
    padding: 5px 11px;
    font-size: 0.65rem;
  }

  .awards-cert-outer,
  .awards-cert-inner {
    padding: 12px 10px;
  }

  .awards-recipient {
    font-size: 1rem;
  }

  .opt-price-val {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.78rem;
    padding: 9px 18px;
  }

  .pdf-card,
  .whatsapp-card {
    padding: 18px 14px;
  }

  .portal-examples {
    flex-wrap: wrap;
  }

  .example-chip {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
}

/* =============================================
   RESPONSIVE — TRÈS PETIT (≤ 360px)
   ============================================= */
@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(1.5rem, 9.5vw, 1.9rem);
  }

  .container {
    padding: 0 12px;
  }

  .portfolio-item {
    flex: 0 0 130px;
  }

  .portfolio-card {
    height: 185px;
  }

  .nav-inner {
    padding: 0 12px;
  }
}


/* =============================================
   SÉLECTION & SCROLLBAR
   ============================================= */
::selection {
  background: rgba(124, 58, 237, 0.22);
  color: var(--text-primary);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2A2A2A;
}

/* =============================================
   MODAL RÉSERVATION
   ============================================= */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-modal[hidden] {
  display: none;
}

/* Fond sombre */
.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease;
}

/* Panneau principal */
.booking-panel {
  position: relative;
  z-index: 1;
  background: #0e0e0e;
  border: 1px solid var(--border-hi, #2a2a2a);
  border-radius: 18px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  animation: slideUp 0.3s var(--ease, cubic-bezier(.22,1,.36,1));
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
}
.booking-panel::-webkit-scrollbar { display: none; }

@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Header du modal */
.booking-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.booking-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.booking-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: 0 0 3px;
  line-height: 1.3;
}

.booking-subtitle {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 0;
}

.booking-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  flex-shrink: 0;
}
.booking-close:hover {
  border-color: var(--border-hi);
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Badge formule */
.booking-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* Formulaire */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}
.booking-label span {
  color: var(--text-muted);
}

.booking-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  box-sizing: border-box;
}
.booking-input:focus {
  border-color: var(--border-hi);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}
.booking-input.error {
  border-color: rgba(255, 80, 80, 0.6);
}
.booking-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.booking-textarea {
  resize: vertical;
  min-height: 72px;
}

.booking-error {
  font-size: 11px;
  color: rgba(255, 100, 100, 0.85);
}

.booking-submit {
  margin-top: 4px;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive mobile */
@media (max-width: 480px) {
  .booking-panel {
    padding: 24px 18px 22px;
    border-radius: 14px;
  }
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
  padding: 20px 24px;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    right: 28px;
    bottom: 28px;
    width: 400px;
  }
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cookie-banner-text {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-banner-actions .btn {
  padding: 8px 16px;
  font-size: var(--fs-xs);
  border-radius: var(--r-sm);
}

/* ======================================================
   SKIP LINK — Accessibilité
   ====================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--text-primary);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ======================================================
   FOOTER LEGAL — Liens légaux
   ====================================================== */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer-legal a {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

.footer-legal span[aria-hidden] {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-legal {
    margin-top: 0;
  }
}

/* ======================================================
   PREFERS REDUCED MOTION — Accessibilité
   ====================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
