/* =====================================================================
   KBS DIGITAL AGENCY — FEUILLE DE STYLE PREMIUM
   Direction "Architecture premium" : blanc chaleureux · charcoal ·
   accent terracotta (orange brûlé) · épuré, éditorial, beaucoup d'espace.
   ===================================================================== */

:root {
  /* Palette claire */
  --bg: #faf8f4;          /* blanc chaleureux (paper) */
  --bg-2: #ffffff;        /* blanc pur (sections alternées) */
  --bg-soft: #f3efe8;     /* beige très clair (footer, pills) */
  --surface: #ffffff;
  --surface-2: #f6f2eb;

  --hairline: rgba(28, 24, 20, 0.12);
  --hairline-soft: rgba(28, 24, 20, 0.07);

  --text: #1c1815;        /* charcoal presque noir */
  --text-dim: #6a635b;    /* gris chaud */
  --text-faint: #9a9188;

  /* Accent terracotta / orange brûlé */
  --terra: #bf5a36;
  --terra-deep: #a54a2b;
  --terra-soft: rgba(191, 90, 54, 0.10);
  --terra-tint: rgba(191, 90, 54, 0.06);

  /* Effets doux (ombres chaudes diffuses, pas de noir dur) */
  --shadow-soft: 0 18px 40px -22px rgba(80, 50, 30, 0.22);
  --shadow-float: 0 40px 80px -30px rgba(80, 50, 30, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(100px + var(--banner-h, 0px)); }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3, h4, .logo-mark, .btn {
  font-family: "Poppins", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Mots-clés éditoriaux en italique terracotta */
.grad, .accent-italic {
  font-style: italic;
  color: var(--terra);
  font-weight: 600;
}

/* ---------- FONDS (très subtils, chaleureux) ---------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(191, 90, 54, 0.05), transparent 70%),
    radial-gradient(50% 45% at 100% 8%, rgba(191, 90, 54, 0.035), transparent 70%),
    var(--bg);
  pointer-events: none;
}
.bg-grid { display: none; } /* pas de grille néon dans la version claire */

/* ---------- CARTES / SURFACES CLAIRES (ex-glass) ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-soft);
}
.glass-strong {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-float);
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(191, 90, 54, 0.55);
}
.btn-primary:hover {
  background: var(--terra-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(191, 90, 54, 0.6);
}
.btn-ghost {
  background: transparent;
  border-color: var(--hairline);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); transform: translateY(-2px); }

.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.9rem;
  transition: transform 0.5s var(--ease);
}
.btn-primary:hover .btn-icon { transform: translate(3px, -3px); }

.btn-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 2px;
}

/* ---------- NAVBAR ---------- */
.nav-wrap {
  position: fixed;
  top: var(--banner-h, 0px); left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 20px 16px;
  transition: padding 0.4s var(--ease), top 0.3s var(--ease);
}
.nav-wrap.scrolled { padding: 12px 16px; }

/* ---------- BANDEAU PROMO ---------- */
.promo-banner {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--terra-deep), var(--terra));
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 16px;
  font-size: 0.82rem;
  text-align: center;
}
.promo-banner.visible { display: flex; }
.promo-banner-text strong { font-weight: 800; }
.promo-banner-count {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .promo-banner { font-size: 0.74rem; padding: 8px 12px; }
  .promo-banner-count { font-size: 0.7rem; }
}


.nav {
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--hairline-soft);
  box-shadow: 0 10px 30px -18px rgba(80, 50, 30, 0.25);
}
.nav-logo { display: flex; align-items: baseline; gap: 8px; }
.logo-mark {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}
.logo-mark.big { font-size: 2rem; color: var(--terra); }
.logo-text { font-size: 0.9rem; color: var(--text-dim); font-weight: 500; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--terra);
  border-radius: 2px;
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: scale(1); }
.mobile-menu a {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
}
.mobile-menu a:hover { color: var(--terra); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  position: relative;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--terra-soft);
  border: 1px solid rgba(191, 90, 54, 0.18);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 30px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 26px;
  letter-spacing: -0.03em;
}
.hero-sub {
  max-width: 620px;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--text-dim);
  margin-bottom: 44px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 72px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 760px;
}
.hero-stats li {
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid var(--hairline-soft);
}
.hero-stats li:last-child { border-right: none; }
.stat-value {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.8rem; color: var(--text-faint); letter-spacing: 0.02em; }

/* ---------- SECTIONS GÉNÉRIQUES ---------- */
.section { padding: 120px 0; }
.section:nth-of-type(even) { background: var(--bg-2); }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.section-desc { color: var(--text-dim); font-size: 1.06rem; }
.section-desc.center { text-align: center; }

/* ---------- CARTES : effet HOVER REVEAL + TILT ---------- */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 1px 2px rgba(80, 50, 30, 0.04);
}
/* Halo terracotta révélé au survol (hover reveal) */
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(191, 90, 54, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: rgba(191, 90, 54, 0.35);
  box-shadow: var(--shadow-float);
}

/* ---------- APPS GRID ---------- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.app-card { min-height: 320px; display: flex; flex-direction: column; }
.app-visual {
  height: 150px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--terra-soft), var(--bg-soft));
  border: 1px solid var(--hairline-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.app-visual .glyph {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--terra);
  transition: transform 0.6s var(--ease);
}
.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.6s var(--ease);
}
.app-card:hover .app-visual img,
.formation-card:hover .app-visual img { transform: scale(1.06); }
.brand-visual { display: flex; align-items: center; justify-content: center; gap: 22px; }
.brand-visual .brand-logo { width: 44px; height: 44px; object-fit: contain; opacity: 0.88; transition: transform 0.5s var(--ease), opacity 0.4s var(--ease); }
.formation-card:hover .brand-visual .brand-logo { transform: scale(1.1); opacity: 1; }
/* Effet d'ouverture / zoom fluide au survol */
.app-card:hover .app-visual .glyph { transform: scale(1.18) rotate(-4deg); }

.card-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terra);
  margin-bottom: 10px;
  font-weight: 600;
}
.card-title { font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.card-desc { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.card-tag {
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline-soft);
  color: var(--text-dim);
}
.app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--terra);
  font-size: 0.92rem;
}
.app-link .arrow { transition: transform 0.4s var(--ease); }
.app-card:hover .app-link .arrow { transform: translateX(4px); }

/* ---------- EQUIPE GRID ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
}
.team-card { text-align: center; padding: 30px 24px; }
.team-photo-wrap {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 3px solid var(--terra-soft);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--terra-soft), var(--bg-soft));
}
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar-initial {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--terra);
}
.team-name { font-size: 1.12rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }
.team-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 16px;
  min-height: 28px;
}
.team-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline-soft);
  transition: all 0.3s var(--ease);
}
.team-contact:hover { background: var(--terra-soft); color: var(--terra-deep); }

/* ---------- FORMATIONS GRID ---------- */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.formation-card { padding: 28px; }
.formation-card .card-title { font-size: 1.15rem; margin-bottom: 10px; }
.formation-card .card-desc { font-size: 0.88rem; margin-bottom: 20px; }
.formation-prices { display: flex; gap: 12px; margin-bottom: 22px; }
.price-pill { flex: 1; text-align: center; padding: 13px 8px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--hairline-soft); }
.price-pill .p-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 5px; }
.price-pill .p-val { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.price-pill.presentiel { background: var(--terra-soft); border-color: rgba(191, 90, 54, 0.2); }
.price-pill.presentiel .p-val { color: var(--terra-deep); }

/* ---------- PRESTATIONS GRID ---------- */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prestation-card { text-align: left; }
.prestation-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--terra-soft);
  border: 1px solid rgba(191, 90, 54, 0.16);
  margin-bottom: 22px;
  font-size: 1.5rem;
  transition: transform 0.6s var(--ease);
}
.prestation-card:hover .prestation-icon { transform: scale(1.1) rotate(-6deg); }
.prestation-price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; margin: 16px 0 4px; }
.prestation-unit { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 20px; }

/* ---------- PACKS GRID ---------- */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pack-card { display: flex; flex-direction: column; }
.pack-card.featured {
  border-color: rgba(191, 90, 54, 0.4);
  background: linear-gradient(180deg, var(--terra-tint), var(--surface));
  box-shadow: var(--shadow-float);
}
.pack-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font-weight: 700;
}
.pack-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.pack-tagline { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 22px; }
.pack-price { margin-bottom: 24px; }
.pack-price .amount { font-family: "Poppins", sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.pack-price .cur { font-size: 0.9rem; color: var(--text-dim); margin-left: 4px; }
.pack-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex-grow: 1; }
.pack-features li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-dim); }

/* ---------- PROMO : badge + prix barre / nouveau prix ---------- */
.promo-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  z-index: 2;
}
.price-old {
  display: block;
  font-size: 0.78em;
  color: var(--text-faint);
  text-decoration: line-through;
  font-weight: 500;
}
.price-new { display: block; }
/* Cas Prestations / Packs sur devis : prix en ligne, pas empile */
.prestation-price .price-old,
.pack-price .amount .price-old {
  display: inline;
  margin-right: 8px;
}
.prestation-price .price-new,
.pack-price .amount .price-new {
  display: inline;
  color: var(--terra);
}
.pack-price .amount .price-new { color: var(--text); }
.pack-features li .check { color: var(--terra); font-weight: 700; flex-shrink: 0; }

/* ---------- CONTACT SECTION ---------- */
.contact-section { padding-bottom: 130px; }
.contact-card {
  border-radius: var(--radius-lg);
  padding: 64px 44px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
}
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 36px 0 26px; }
.contact-email { color: var(--text-dim); font-size: 0.95rem; }
.contact-email a { color: var(--terra); font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg-soft);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-baseline { color: var(--text-dim); font-size: 0.95rem; max-width: 300px; margin-top: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { color: var(--text-dim); font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--terra); }
.footer-socials a { display: inline-flex; align-items: center; gap: 8px; }
.social-dot {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.footer-socials a:hover .social-dot { transform: translateY(-3px); border-color: var(--terra); background: var(--terra-soft); }
.footer-bottom {
  border-top: 1px solid var(--hairline-soft);
  padding: 26px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ---------- MODALE ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 22, 16, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.45s var(--ease-spring);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 1.3rem; margin-bottom: 6px; }
.modal-product { color: var(--terra); font-size: 0.95rem; margin-bottom: 28px; font-weight: 600; }
.modal-actions { display: flex; flex-direction: column; gap: 14px; }
.modal-wa { display: flex; flex-direction: column; gap: 10px; }
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: rgba(37, 168, 89, 0.10);
  border: 1px solid rgba(37, 168, 89, 0.35);
  color: #1c8a4a;
  font-weight: 600;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.wa-btn:hover { background: rgba(37, 168, 89, 0.18); transform: translateY(-2px); }

/* ---------- ANIMATIONS D'ENTRÉE (reveal) ---------- */
.reveal, .card {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.in, .card.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.card.in { transition-delay: calc(var(--i, 0) * 0.06s); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .prestations-grid { grid-template-columns: repeat(2, 1fr); }
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
  .formations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 84px 0; }
  .hero { padding: 130px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .hero-stats li:nth-child(2) { border-right: none; }
  .hero-stats li { border-bottom: 1px solid var(--hairline-soft); }
  .apps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-card { padding: 44px 26px; }
  /* Désactive le tilt 3D sur mobile (conflits tactiles) */
  .card { transform: none !important; }
  .card.in { transform: translateY(0); }
}
@media (max-width: 520px) {
  .formations-grid, .prestations-grid, .packs-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
}

/* Accessibilité : réduction du mouvement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .card { opacity: 1; transform: none; }
}
