/* ============================================
   Lumière & Énergie — CSS Global
   Mobile-first (375px → 768px → 1060px)
   ============================================ */

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

:root {
  --terre: #8B6F5E;
  --terre-light: #A89080;
  --ocre: #D4A373;
  --ocre-light: #E8C9A4;
  --lin: #FAF3EB;
  --lin-dark: #F0E6D6;
  --blanc: #FFFDF9;
  --ardoise: #3D405B;
  --ardoise-light: #5C5F7A;
  --terracotta: #E07A5F;
  --olive: #81B29A;
  --olive-light: #B5D5C5;
  --text: #3D3A35;
  --text-mid: #6B6560;
  --text-light: #9B948D;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --header-h: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--lin);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ensure footer sticks to bottom */
.site-footer { margin-top: auto; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); color: var(--ardoise); margin-bottom: 1rem; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--ardoise); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; color: var(--terre); margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; color: var(--terre); margin-bottom: 0.4rem; }

/* Hero H1 accent words */
h1 em {
  font-style: italic;
  color: var(--terracotta);
}

p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-small { font-size: 0.82rem; color: var(--text-light); }
.text-accent { color: var(--terracotta); }
.text-center { text-align: center; }

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ardoise-light);
  border-left: 3px solid var(--ocre);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 48px 0;
}

.section-lin { background: var(--lin); }
.section-blanc { background: var(--blanc); }
.section-lin-dark { background: var(--lin-dark); }
.section-ardoise { background: var(--ardoise); color: #fff; }
.section-ardoise p { color: rgba(255,255,255,0.75); }
.section-ardoise h2, .section-ardoise h3 { color: #fff; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-header p {
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  min-height: 48px;
  justify-content: center;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224,122,95,0.3);
}
.btn-primary:hover {
  background: #d06a4f;
  box-shadow: 0 6px 24px rgba(224,122,95,0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--ardoise);
  color: #fff;
  box-shadow: 0 4px 16px rgba(61,64,91,0.2);
}
.btn-secondary:hover {
  background: var(--ardoise-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ocre);
  color: var(--ardoise);
}
.btn-outline:hover {
  background: var(--ocre-light);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
}

.btn svg, .btn i { width: 18px; height: 18px; flex-shrink: 0; }

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Big CTA buttons in ardoise sections */
.section-ardoise .btn {
  padding: 16px 36px;
  font-size: 1.05rem;
  min-height: 54px;
}

/* --- Cards --- */
.card {
  background: var(--blanc);
  border-radius: 12px;
  border: 1px solid rgba(212,163,115,0.08);
  box-shadow: 0 2px 20px rgba(61,64,91,0.06);
  padding: 28px 22px;
  transition: transform 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ocre);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(61,64,91,0.1);
}

/* Card accent colors */
.card-accent-ardoise::before { background: var(--ardoise); }
.card-accent-rainbow::before { background: linear-gradient(90deg, #E07A5F, #D4A373, #F2CC8F, #81B29A, #6A9BC3, #3D405B, #9B5DE5); }
.card-accent-ocre::before { background: var(--ocre); }
.card-accent-olive::before { background: var(--olive); }
.card-accent-terracotta::before { background: var(--terracotta); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--lin-dark);
  color: var(--terracotta);
}
.card-icon svg, .card-icon i { width: 24px; height: 24px; }

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-decouverte { background: var(--ocre-light); color: var(--terre); }
.badge-premium { background: var(--terracotta); color: #fff; }
.badge-exclusif { background: var(--ardoise); color: #fff; }
.badge-olive { background: var(--olive-light); color: #2d6a4f; }

/* --- Photo placeholders --- */
.photo-placeholder {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-light);
  aspect-ratio: 16/9;
  max-height: 300px;
  background: linear-gradient(135deg, var(--lin-dark) 0%, var(--ocre-light) 50%, var(--lin-dark) 100%);
}

/* --- Trust bar — horizontal pills --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  justify-content: center;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--blanc);
  border-radius: 50px;
  border: 1px solid rgba(212,163,115,0.15);
  white-space: nowrap;
}

.trust-item i, .trust-item svg { width: 16px; height: 16px; color: var(--terracotta); flex-shrink: 0; }
.trust-item span { font-size: 0.82rem; font-weight: 600; color: var(--ardoise); line-height: 1; }

/* --- Grid layouts --- */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* --- Tarifs table --- */
.tarif-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(212,163,115,0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tarif-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(61,64,91,0.08);
}
.tarif-card .tarif-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.tarif-card .tarif-name { font-weight: 600; color: var(--ardoise); font-size: 1rem; }
.tarif-card .tarif-price { font-weight: 700; color: var(--terracotta); font-size: 1.2rem; white-space: nowrap; }
.tarif-card .tarif-details { font-size: 0.85rem; color: var(--text-light); }

/* --- FAQ / Accordion --- */
.faq-item {
  border-bottom: 1px solid rgba(212,163,115,0.15);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ardoise);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.faq-question i { transition: transform 0.3s; flex-shrink: 0; width: 20px; height: 20px; color: var(--ocre); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner { padding: 0 0 18px; }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: 28px 22px;
  border: 1px solid rgba(212,163,115,0.1);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--ocre-light);
  position: absolute;
  top: 10px;
  left: 18px;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}
.testimonial-author { font-weight: 600; color: var(--ardoise); font-size: 0.9rem; }

/* Stars — always horizontal single line */
.testimonial-stars {
  color: var(--ocre);
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  gap: 2px;
  flex-wrap: nowrap;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  fill: var(--ocre);
  flex-shrink: 0;
}

/* --- Disclaimer --- */
.disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid rgba(155,148,141,0.2);
  margin-top: 2rem;
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--ocre);
  border-radius: 3px;
  margin: 1.5rem auto;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,243,235,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,163,115,0.1);
  height: var(--header-h);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(61,64,91,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo svg { height: 36px; width: auto; }
.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ardoise);
  display: none;
}
.header-logo-text span { color: var(--ocre); }

.header-nav,
.nav-desktop {
  display: none;
}
.header-nav a,
.nav-desktop a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ardoise);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.header-nav a::after,
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s;
}
.header-nav a:hover, .nav-desktop a:hover { color: var(--terracotta); }
.header-nav a:hover::after, .nav-desktop a:hover::after { width: 100%; }
.header-nav a.active, .nav-desktop a.active { color: var(--terracotta); }
.header-nav a.active::after, .nav-desktop a.active::after { width: 100%; }

.header-cta {
  flex-shrink: 0;
}
.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  min-height: 44px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ardoise);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250,243,235,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ardoise);
  padding: 14px 0;
  border-bottom: 1px solid rgba(212,163,115,0.1);
  transition: color 0.3s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--terracotta); }
.mobile-nav .btn { margin-top: 20px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: calc(var(--header-h) + 40px) 0 48px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--ocre-light);
  color: var(--terre);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-image {
  display: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ardoise);
  color: rgba(255,255,255,0.9);
  padding: 50px 0 30px;
}
.site-footer * { color: inherit; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 4px 0;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--ocre); }
.footer-col p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.footer-col .footer-phone {
  color: var(--ocre);
  font-weight: 600;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.footer-bottom .footer-legal {
  color: rgba(255,255,255,0.5);
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.2);
}
.floating-btn svg { width: 24px; height: 24px; }
.floating-btn-phone { background: var(--terracotta); color: #fff; }
.floating-btn-wa { background: #25D366; color: #fff; }

/* ============================================
   PAGE-SPECIFIC: Content sections
   ============================================ */
.page-hero {
  padding: calc(var(--header-h) + 40px) 0 40px;
  background: var(--lin);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; max-width: 640px; }

.content-section { padding: 48px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--blanc);
}
.benefit-item i { width: 20px; height: 20px; color: var(--olive); flex-shrink: 0; margin-top: 2px; }
.benefit-item span { font-size: 0.95rem; color: var(--text-mid); }

/* Color grid for chromotherapy */
.color-card {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}
.color-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Formation levels */
.formation-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: 28px 22px;
  border: 1px solid rgba(212,163,115,0.1);
  border-left: 4px solid var(--ocre);
}
.formation-card h3 { margin-bottom: 4px; }
.formation-card .formation-level { font-size: 0.82rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.formation-card .formation-price { font-size: 1.4rem; font-weight: 700; color: var(--terracotta); margin-bottom: 8px; }
.formation-card .formation-duration { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }
.formation-card ul { margin-bottom: 16px; }
.formation-card ul li { padding: 4px 0; font-size: 0.92rem; color: var(--text-mid); padding-left: 20px; position: relative; }
.formation-card ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--olive-light); }

/* Contact page */
.contact-info-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(212,163,115,0.08);
}
.contact-info-card i { width: 24px; height: 24px; color: var(--terracotta); flex-shrink: 0; margin-top: 2px; }

.map-placeholder {
  border-radius: 12px;
  background: var(--lin-dark);
  min-height: 250px;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border: 1px solid rgba(212,163,115,0.1);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212,163,115,0.1);
  box-shadow: 0 2px 20px rgba(61,64,91,0.06);
}
.map-container iframe {
  display: block;
  width: 100%;
  min-height: 300px;
}
.map-container-small iframe {
  min-height: 220px;
  height: 220px;
}

/* About page timeline */
.timeline-item {
  padding-left: 28px;
  border-left: 2px solid var(--ocre-light);
  padding-bottom: 28px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { font-weight: 700; color: var(--terracotta); font-size: 0.85rem; margin-bottom: 4px; }

/* Steps (déroulement séance) */
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.step-content { flex: 1; }
.step-content h4 { margin-bottom: 4px; }

/* ============================================
   ANIMATIONS
   ============================================ */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Scroll reveal (staggered) --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.reveal-stagger.visible > * {
  opacity: 0;
  transform: translateY(20px);
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero entrance --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgeFade {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
  animation: heroBadgeFade 0.6s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero h1 {
  animation: heroFadeUp 0.7s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero p {
  animation: heroFadeUp 0.7s 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero .btn-group {
  animation: heroFadeUp 0.7s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-image {
  animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Page hero (subpages) */
.page-hero h1 {
  animation: heroFadeUp 0.6s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.page-hero p {
  animation: heroFadeUp 0.6s 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.page-hero .btn-group {
  animation: heroFadeUp 0.6s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.page-hero .hero-badge {
  animation: heroBadgeFade 0.5s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* --- Card icon subtle pulse on hover --- */
.card:hover .card-icon {
  animation: iconPulse 0.6s ease;
}
@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* --- Card top bar shimmer on hover --- */
.card::before {
  transition: opacity 0.4s ease;
}
.card:hover::before {
  opacity: 0.85;
}

/* --- Trust item entrance --- */
@keyframes trustPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* --- Floating CTA entrance + gentle pulse --- */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gentlePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 4px 28px rgba(224,122,95,0.35); }
}

.floating-cta .floating-btn {
  animation: floatIn 0.5s 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.floating-cta .floating-btn:nth-child(2) {
  animation-delay: 1.15s;
}
.floating-btn-phone {
  animation: floatIn 0.5s 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both,
             gentlePulse 3s 2s ease-in-out infinite;
}

/* --- Section header divider grow --- */
.divider {
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible .divider,
.visible .divider,
.section-header .divider {
  transform: scaleX(1);
}

/* --- Step number count-in --- */
.step-number {
  transition: transform 0.4s ease, background 0.3s ease;
}
.step:hover .step-number {
  transform: scale(1.12);
  background: var(--ardoise);
}

/* --- Timeline dot pulse on scroll --- */
.timeline-item::before {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.timeline-item:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(224,122,95,0.2);
}

/* --- Link arrow slide --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--terracotta);
  transition: gap 0.3s ease;
}
.link-arrow:hover { gap: 10px; }
.link-arrow i, .link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.link-arrow:hover i, .link-arrow:hover svg { transform: translateX(3px); }

/* --- Color dot glow (chromotherapy) --- */
.color-dot {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.color-card:hover .color-dot {
  transform: scale(1.15);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

/* --- FAQ chevron smooth --- */
.faq-question i {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Testimonial card subtle lift --- */
.testimonial-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(61,64,91,0.1);
}

/* --- Footer link underline slide --- */
.footer-col a {
  position: relative;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ocre);
  transition: width 0.3s ease;
}
.footer-col a:hover::after { width: 100%; }

/* --- Formation card border glow --- */
.formation-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.formation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(61,64,91,0.1);
  border-left-color: var(--terracotta);
}

/* --- Tarif price highlight on hover --- */
.tarif-card .tarif-price {
  transition: transform 0.3s ease;
}
.tarif-card:hover .tarif-price {
  transform: scale(1.05);
}

/* --- Contact info card hover --- */
.contact-info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61,64,91,0.08);
  border-color: var(--ocre-light);
}

/* --- Benefit item check pop --- */
.benefit-item {
  transition: transform 0.3s ease, background 0.3s ease;
}
.benefit-item:hover {
  transform: translateX(4px);
  background: var(--lin-dark);
}

/* ============================================
   MOBILE — buttons full-width + responsive fixes
   ============================================ */
@media (max-width: 767px) {
  .btn-group .btn,
  .section-ardoise .btn-group .btn {
    width: 100%;
  }

  /* Ensure single-column grids */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .two-col, .two-columns {
    grid-template-columns: 1fr !important;
  }

  /* Footer stacked on mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  /* Tarif cards full-width */
  .tarif-card .tarif-header {
    flex-direction: column;
    gap: 4px;
  }

  /* Trust bar wraps nicely */
  .trust-bar {
    justify-content: center;
    gap: 8px;
  }
  .trust-item {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  /* Hero adjustments */
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-image { display: none; }

  /* Page hero padding */
  .page-hero { padding-bottom: 30px; }

  /* Section CTA text center on mobile */
  .section-ardoise { text-align: center; }
  .section-ardoise .btn-group { align-items: center; }

  /* Contact cards stack */
  .contact-info-card { flex-direction: column; text-align: center; align-items: center; }

  /* Overflow prevention */
  body { overflow-x: hidden; }
  img, svg, iframe { max-width: 100%; }
  .container { overflow: hidden; }
}

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  :root { --header-h: 72px; }

  section { padding: 64px 0; }

  .container { padding: 0 32px; }

  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .two-col { grid-template-columns: 1fr 1fr; gap: 40px; }

  .hero { min-height: 80vh; }
  .hero-content { max-width: 520px; }
  .hero-image { display: block; }
  .hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

  .btn-group { flex-direction: row; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .benefits-list { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   DESKTOP (1060px+)
   ============================================ */
@media (min-width: 1060px) {
  :root { --header-h: 76px; }

  .header-logo-text { display: block; }

  .hamburger { display: none; }

  .header-nav,
  .nav-desktop {
    display: flex;
    gap: 32px;
    align-items: center;
  }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  .hero .container { grid-template-columns: 1fr 1fr; gap: 60px; }

  .footer-grid { grid-template-columns: repeat(4, 1fr); }

  .page-hero .container { max-width: 780px; }

  section { padding: 80px 0; }
}
