/* ==========================================================================
   Hélène Vermette — Thème principal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --jaune:       #EFBB35;
  --vert:        #507d59;
  --beige:       #F5E6DA;
  --ivoire:      #F8F6F1;
  --brun-fonce:  #2C1A0E;
  --gris-doux:   #8A7E74;
  --blanc:       #ffffff;

  /* Ombres tintées */
  --ombre-beige: 0 4px 24px rgba(44, 26, 14, 0.07);
  --ombre-card:  0 8px 40px rgba(44, 26, 14, 0.09);
  --ombre-hover: 0 16px 56px rgba(44, 26, 14, 0.13);

  /* Typographie */
  --font-titre:  'Cormorant Garamond', Georgia, serif;
  --font-corps:  'Jost', system-ui, sans-serif;

  /* Espacements */
  --section-v:   96px;
  --container:   1340px;
  --rayon:       12px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-corps);
  font-weight: 400;
  color: var(--brun-fonce);
  background-color: var(--ivoire);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

/* --------------------------------------------------------------------------
   3. Utilitaires
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
}

.section {
  padding-block: var(--section-v);
}

.section--ivoire { background-color: var(--ivoire); }
.section--beige  { background-color: var(--beige); }
.section--brun   { background-color: var(--brun-fonce); }
.section--vert   { background-color: var(--vert); }

.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-corps);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 16px;
}

.section-eyebrow--light {
  color: rgba(248, 246, 241, 0.6);
}

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-weight: 500;
  line-height: 1.1;
  color: var(--brun-fonce);
}

.heading-xl {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
}

.heading-sm {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 500;
}

.body-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gris-doux);
  line-height: 1.75;
  max-width: 56ch;
}

.body-lead--dark {
  color: rgba(44, 26, 14, 0.75);
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-corps);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              background-color 0.2s ease,
              border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background-color: var(--jaune);
  color: var(--brun-fonce);
  border-color: var(--jaune);
}

.btn-primary:hover {
  background-color: #e5b02a;
  border-color: #e5b02a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 187, 53, 0.35);
}

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

.btn-secondary:hover {
  background-color: var(--vert);
  color: var(--ivoire);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(80, 125, 89, 0.25);
}

.btn-secondary--light {
  color: var(--ivoire);
  border-color: rgba(248, 246, 241, 0.5);
}

.btn-secondary--light:hover {
  background-color: rgba(248, 246, 241, 0.15);
  border-color: var(--ivoire);
  color: var(--ivoire);
}

.btn-ghost {
  padding: 0;
  border: none;
  background: none;
  color: var(--vert);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost::after {
  content: '→';
  transition: transform 0.2s var(--ease-out);
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--ivoire);
  border-bottom: 1px solid rgba(44, 26, 14, 0.07);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(44, 26, 14, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo a {
  font-family: var(--font-titre);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brun-fonce);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-logo a span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-corps);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-doux);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-menu li a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--brun-fonce);
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
  letter-spacing: 0.01em;
}

.site-nav .nav-menu li a:hover,
.site-nav .nav-menu li.current-menu-item > a {
  color: var(--vert);
  background-color: rgba(80, 125, 89, 0.07);
}

.nav-cta {
  margin-left: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--brun-fonce);
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--ivoire);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
}

.mobile-nav .nav-menu {
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mobile-nav .nav-menu li a {
  font-family: var(--font-titre);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--brun-fonce);
  padding: 10px 20px;
  display: block;
  text-align: center;
  transition: color 0.2s ease;
}

.mobile-nav .nav-menu li a:hover { color: var(--vert); }
.mobile-nav .nav-cta { margin-top: 24px; }

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brun-fonce);
  color: rgba(248, 246, 241, 0.75);
  padding-block: 64px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(248, 246, 241, 0.1);
}

.footer-brand .site-logo a {
  color: var(--ivoire);
}

.footer-brand .site-logo a span {
  color: rgba(248, 246, 241, 0.5);
}

.footer-tagline {
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--font-titre);
  color: rgba(248, 246, 241, 0.6);
  margin-top: 12px;
  line-height: 1.5;
  max-width: 28ch;
}

.footer-optin {
  margin-top: 24px;
}

.footer-optin p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.5);
  margin-bottom: 12px;
}

.footer-col-title {
  font-family: var(--font-corps);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.45);
  margin-bottom: 20px;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu li a {
  font-size: 0.9rem;
  color: rgba(248, 246, 241, 0.65);
  transition: color 0.2s ease;
}

.footer-menu li a:hover { color: var(--ivoire); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(248, 246, 241, 0.2);
  color: rgba(248, 246, 241, 0.65);
  font-size: 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.social-link:hover {
  border-color: var(--jaune);
  color: var(--jaune);
  background-color: rgba(239, 187, 53, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(248, 246, 241, 0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(248, 246, 241, 0.35);
  transition: color 0.2s ease;
}

.footer-legal a:hover { color: rgba(248, 246, 241, 0.7); }

/* --------------------------------------------------------------------------
   8. Hero Section — Dark Editorial Centered
   -------------------------------------------------------------------------- */

.hero-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--brun-fonce);
}

/* Photo plein écran */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  animation: heroZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* Voile sombre : vignette radiale */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 140% 100% at 50% 45%,
    rgba(20, 12, 4, 0.44) 0%,
    rgba(20, 12, 4, 0.78) 65%,
    rgba(20, 12, 4, 0.93) 100%
  );
}

/* Contenu centré */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 840px;
  width: 100%;
  padding: clamp(120px, 18vh, 180px) clamp(24px, 6vw, 80px) clamp(100px, 14vh, 160px);
}

/* Eyebrow avec lignes flanquantes */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  font-family: var(--font-corps);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.5);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--jaune);
  opacity: 0.65;
  flex-shrink: 0;
}

.hero-eyebrow-dot { display: none; }

/* Titre principal */
.hero-title {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ivoire);
  margin-bottom: 28px;
  max-width: 16ch;
}

.hero-title em {
  font-style: italic;
  color: var(--jaune);
}

/* Ligne décorative dorée */
.hero-divider {
  width: 44px;
  height: 1px;
  background: var(--jaune);
  margin: 0 auto 28px;
  opacity: 0.7;
}

/* Sous-titre */
.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(248, 246, 241, 0.68);
  max-width: 52ch;
  line-height: 1.85;
  margin-bottom: 48px;
}

/* Boutons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Bouton secondaire inversé sur fond sombre */
.hero-actions .btn-secondary {
  border-color: rgba(248, 246, 241, 0.35);
  color: rgba(248, 246, 241, 0.85);
  background: transparent;
}

.hero-actions .btn-secondary:hover {
  border-color: var(--ivoire);
  color: var(--ivoire);
  background: rgba(248, 246, 241, 0.06);
}

/* Bandeau de confiance — verre dépoli */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 36px;
  border: 1px solid rgba(248, 246, 241, 0.12);
  border-radius: 2px;
  background: rgba(20, 12, 4, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.hero-trust-item strong {
  font-family: var(--font-titre);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--jaune);
  line-height: 1;
}

.hero-trust-item span {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(248, 246, 241, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-trust-sep {
  width: 1px;
  height: 36px;
  background: rgba(248, 246, 241, 0.1);
  flex-shrink: 0;
}

/* Indicateur de défilement — centré vertical */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.3);
  z-index: 2;
  white-space: nowrap;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(248, 246, 241, 0.3), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1);    transform-origin: top; }
  50%       { opacity: 0.8; transform: scaleY(1.18); transform-origin: top; }
}

/* Responsive — hero small screens */
@media (max-width: 640px) {
  .hero-content {
    padding-top: 96px;
    padding-bottom: 72px;
    padding-inline: 20px;
  }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-eyebrow::before,
  .hero-eyebrow::after { display: none; }
  .hero-divider { margin-bottom: 20px; }
  .hero-subtitle { margin-bottom: 32px; font-size: 0.92rem; }
  .hero-actions { margin-bottom: 32px; gap: 12px; }
  .hero-trust { gap: 16px; padding: 14px 20px; }
  .hero-trust-item strong { font-size: 1.25rem; }
  .hero-trust-sep { height: 24px; }
  .hero-scroll-cue { display: none; }
}

@media (max-width: 400px) {
  .hero-trust { flex-direction: column; gap: 10px; padding: 16px 20px; }
  .hero-trust-sep { width: 36px; height: 1px; }
}

/* --------------------------------------------------------------------------
   9. Page Hero (pages intérieures)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: 160px;
  padding-bottom: 64px;
  background-color: var(--ivoire);
  border-bottom: 1px solid rgba(44, 26, 14, 0.07);
}

.page-hero-inner {
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   10. Section Problème
   -------------------------------------------------------------------------- */
.probleme-section {
  background-color: var(--beige);
}

.probleme-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
}

.probleme-quote {
  font-family: var(--font-titre);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--brun-fonce);
  position: relative;
  padding-left: 32px;
}

.probleme-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background-color: var(--jaune);
  border-radius: 2px;
}

.probleme-liste {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.probleme-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}

.probleme-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--jaune);
  margin-top: 7px;
  flex-shrink: 0;
}

.probleme-item p {
  font-size: 0.95rem;
  color: var(--brun-fonce);
  line-height: 1.65;
}

.probleme-item strong {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. Section Solution
   -------------------------------------------------------------------------- */
.solution-section {
  background-color: var(--ivoire);
}

.solution-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 80px;
  align-items: center;
}

.solution-photo-wrap {
  position: relative;
}

.solution-photo-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-card);
}

.solution-photo-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 160px;
  height: 160px;
  background-color: var(--jaune);
  border-radius: var(--rayon);
  z-index: -1;
  opacity: 0.5;
}

.solution-content {
  padding-left: 24px;
}

.solution-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.solution-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.solution-point-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(80, 125, 89, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--vert);
  margin-top: 2px;
}

.solution-point-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.solution-point-text strong {
  display: block;
  font-family: var(--font-corps);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.solution-point-text p {
  font-size: 0.875rem;
  color: var(--gris-doux);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Cards — Offres
   -------------------------------------------------------------------------- */
.offres-section {
  background-color: var(--beige);
}

.offres-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.offres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.offres-grid .card-offre:first-child {
  grid-row: 1 / 3;
}

.card-offre {
  background-color: var(--ivoire);
  border-radius: var(--rayon);
  padding: 40px;
  box-shadow: var(--ombre-beige);
  border: 1px solid rgba(44, 26, 14, 0.06);
  transition: transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-offre:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-hover);
}

.card-offre--featured {
  background-color: var(--brun-fonce);
  color: var(--ivoire);
}

.card-offre--featured .card-offre-prix,
.card-offre--featured .card-offre-titre,
.card-offre--featured .card-offre-desc,
.card-offre--featured .card-offre-resultat strong {
  color: var(--ivoire);
}

.card-offre--featured .card-offre-desc {
  color: rgba(248, 246, 241, 0.7);
}

.card-offre--featured .card-offre-divider {
  background-color: rgba(248, 246, 241, 0.1);
}

.card-offre-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background-color: var(--jaune);
  color: var(--brun-fonce);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.card-offre-numero {
  font-family: var(--font-titre);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(80, 125, 89, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.card-offre--featured .card-offre-numero {
  color: rgba(248, 246, 241, 0.1);
}

.card-offre-titre {
  font-family: var(--font-titre);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  color: var(--brun-fonce);
  line-height: 1.2;
  margin-bottom: 16px;
}

.card-offre-desc {
  font-size: 0.875rem;
  color: var(--gris-doux);
  line-height: 1.7;
  flex: 1;
}

.card-offre-divider {
  height: 1px;
  background-color: rgba(44, 26, 14, 0.08);
  margin-block: 24px;
}

.card-offre-resultat {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gris-doux);
  margin-bottom: 24px;
}

.card-offre-resultat strong {
  font-style: normal;
  font-weight: 600;
  color: var(--brun-fonce);
  display: block;
  margin-bottom: 4px;
}

.card-offre-prix {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: var(--gris-doux);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   13. Timeline Parcours
   -------------------------------------------------------------------------- */
.parcours-section {
  background-color: var(--ivoire);
}

.parcours-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.parcours-step {
  text-align: center;
  padding: 32px;
  background-color: var(--beige);
  border-radius: var(--rayon);
  border: 1px solid rgba(44, 26, 14, 0.07);
}

.parcours-step-num {
  font-family: var(--font-titre);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(80, 125, 89, 0.2);
  line-height: 1;
  margin-bottom: 8px;
}

.parcours-step-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 12px;
}

.parcours-step-titre {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.parcours-step-desc {
  font-size: 0.85rem;
  color: var(--gris-doux);
  line-height: 1.6;
}

.parcours-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  color: var(--jaune);
}

.parcours-arrow svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* --------------------------------------------------------------------------
   14. Témoignages
   -------------------------------------------------------------------------- */
.temoignages-section {
  background-color: var(--beige);
}

.temoignages-header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.card-temoignage {
  background-color: var(--ivoire);
  border-radius: var(--rayon);
  padding: 36px;
  box-shadow: var(--ombre-beige);
  border: 1px solid rgba(44, 26, 14, 0.05);
  transition: transform 0.3s var(--ease-out);
}

.card-temoignage:hover {
  transform: translateY(-3px);
}

.card-temoignage--featured {
  background-color: var(--vert);
  color: var(--ivoire);
}

.card-temoignage--featured .temoignage-quote-mark,
.card-temoignage--featured .temoignage-texte,
.card-temoignage--featured .temoignage-auteur-nom {
  color: var(--ivoire);
}

.card-temoignage--featured .temoignage-auteur-detail {
  color: rgba(248, 246, 241, 0.65);
}

.temoignage-quote-mark {
  font-family: var(--font-titre);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--jaune);
  margin-bottom: 16px;
  display: block;
}

.temoignage-texte {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brun-fonce);
  line-height: 1.65;
  margin-bottom: 24px;
}

.temoignage-auteur {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
}

.card-temoignage--featured .temoignage-auteur {
  border-top-color: rgba(248, 246, 241, 0.15);
}

.temoignage-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.temoignage-auteur-nom {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brun-fonce);
  display: block;
}

.temoignage-auteur-detail {
  font-size: 0.78rem;
  color: var(--gris-doux);
  display: block;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   15. Ebooks
   -------------------------------------------------------------------------- */
.ebooks-section {
  background-color: var(--ivoire);
}

.ebooks-header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.ebooks-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}

.card-ebook {
  border-radius: var(--rayon);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.card-ebook:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-hover);
}

.card-ebook--gratuit {
  background-color: var(--vert);
  color: var(--ivoire);
}

.card-ebook--payant {
  background-color: var(--beige);
  border: 1px solid rgba(44, 26, 14, 0.08);
  box-shadow: var(--ombre-beige);
}

.card-ebook-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-start;
}

.card-ebook--gratuit .card-ebook-badge {
  color: rgba(248, 246, 241, 0.65);
}

.card-ebook-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--jaune);
  flex-shrink: 0;
}

.card-ebook-mockup {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 8px 8px 32px rgba(44, 26, 14, 0.2);
  align-self: flex-start;
}

.card-ebook-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-ebook-titre {
  font-family: var(--font-titre);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.card-ebook--gratuit .card-ebook-titre {
  color: var(--ivoire);
}

.card-ebook-desc {
  font-size: 0.9rem;
  line-height: 1.7;
}

.card-ebook--gratuit .card-ebook-desc {
  color: rgba(248, 246, 241, 0.75);
}

.card-ebook--payant .card-ebook-desc {
  color: var(--gris-doux);
}

.card-ebook-prix {
  font-family: var(--font-titre);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--brun-fonce);
}

.card-ebook-prix span {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gris-doux);
}

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

.optin-form input[type="email"] {
  width: 100%;
  padding: 13px 18px;
  border-radius: 4px;
  border: 1px solid rgba(248, 246, 241, 0.25);
  background-color: rgba(248, 246, 241, 0.1);
  color: var(--ivoire);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  outline: none;
}

.optin-form input[type="email"]::placeholder {
  color: rgba(248, 246, 241, 0.45);
}

.optin-form input[type="email"]:focus {
  border-color: rgba(248, 246, 241, 0.5);
  background-color: rgba(248, 246, 241, 0.15);
}

.optin-form .btn {
  width: 100%;
  justify-content: center;
}

.optin-legal {
  font-size: 0.72rem;
  color: rgba(248, 246, 241, 0.4);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   16. Mini À propos
   -------------------------------------------------------------------------- */
.apropos-mini {
  background-color: var(--beige);
}

.apropos-mini-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}

.apropos-mini-photo {
  position: relative;
}

.apropos-mini-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-card);
}

.apropos-mini-photo-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--jaune);
  border-radius: var(--rayon);
  z-index: -1;
  opacity: 0.6;
}

.apropos-mini-content blockquote {
  font-family: var(--font-titre);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brun-fonce);
  margin-bottom: 32px;
  position: relative;
}

.apropos-mini-content blockquote::before {
  content: '"';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 24px;
  left: -20px;
  color: var(--jaune);
  opacity: 0.4;
  font-style: normal;
}

.apropos-mini-bio {
  font-size: 0.95rem;
  color: var(--gris-doux);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 54ch;
}

/* --------------------------------------------------------------------------
   17. À propos — Page complète
   -------------------------------------------------------------------------- */
.apropos-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  min-height: 70vh;
  padding-top: 140px;
  padding-bottom: 80px;
}

.apropos-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 24px;
}

.apropos-hero-photo img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  object-position: top;
  border-radius: var(--rayon);
}

.apropos-histoire {
  background-color: var(--ivoire);
}

.apropos-histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.apropos-histoire-bloc {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apropos-histoire-bloc p {
  font-size: 0.95rem;
  color: var(--gris-doux);
  line-height: 1.8;
}

.apropos-mission {
  background-color: var(--vert);
  padding-block: 80px;
}

.apropos-mission blockquote {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ivoire);
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.4;
  position: relative;
}

.apropos-valeurs {
  background-color: var(--beige);
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.valeur-item {
  padding: 32px 24px;
  background-color: var(--ivoire);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-beige);
  border: 1px solid rgba(44, 26, 14, 0.06);
  text-align: center;
  transition: transform 0.3s var(--ease-out);
}

.valeur-item:hover { transform: translateY(-3px); }

.valeur-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(80, 125, 89, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 16px;
  color: var(--vert);
}

.valeur-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.valeur-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.valeur-item p {
  font-size: 0.83rem;
  color: var(--gris-doux);
  line-height: 1.6;
}

.certifications-section {
  background-color: var(--ivoire);
}

.certif-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  max-width: 600px;
}

.certif-liste li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background-color: var(--beige);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--brun-fonce);
}

.certif-liste li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--jaune);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   18. Formations — Page
   -------------------------------------------------------------------------- */
.formations-liste {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 64px;
}

.formation-item {
  display: grid;
  gap: 64px;
  align-items: center;
}

.formation-item:nth-child(odd) {
  grid-template-columns: 5fr 4fr;
}

.formation-item:nth-child(even) {
  grid-template-columns: 4fr 5fr;
  direction: rtl;
}

.formation-item:nth-child(even) > * {
  direction: ltr;
}

.formation-number {
  font-family: var(--font-titre);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(44, 26, 14, 0.07);
  margin-bottom: -16px;
}

.formation-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.formation-badge--low  { background-color: rgba(239, 187, 53, 0.2); color: #9a7308; }
.formation-badge--mid  { background-color: rgba(80, 125, 89, 0.15); color: var(--vert); }
.formation-badge--high { background-color: rgba(44, 26, 14, 0.08); color: var(--brun-fonce); }

.formation-titre {
  font-family: var(--font-titre);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
}

.formation-desc {
  font-size: 0.95rem;
  color: var(--gris-doux);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 52ch;
}

.formation-resultat {
  padding: 20px 24px;
  background-color: var(--beige);
  border-radius: 8px;
  border-left: 3px solid var(--jaune);
  margin-bottom: 32px;
}

.formation-resultat span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-doux);
  display: block;
  margin-bottom: 6px;
}

.formation-resultat p {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brun-fonce);
}

.formation-image {
  position: relative;
}

.formation-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-card);
}

.formation-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background-color: var(--jaune);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   19. Diplômées — Mur de certificats
   -------------------------------------------------------------------------- */

/* Stats bar */
.diplomes-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.diplomes-stat {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(248, 246, 241, 0.12);
}

.diplomes-stat:last-child { border-right: none; }

.diplomes-stat-chiffre {
  display: block;
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--jaune);
  line-height: 1;
  margin-bottom: 8px;
}

.diplomes-stat-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.55);
}

/* Certificate wall */
.certificats-mur {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
}

.certificats-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gris-doux);
  margin-top: 48px;
  font-style: italic;
}

.card-certificat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: default;
  transform: rotate(var(--cert-rot, 0deg));
  transition: transform 0.4s var(--ease-out);
}

.card-certificat:hover {
  transform: rotate(0deg) translateY(-6px);
  z-index: 2;
  position: relative;
}

.card-certificat-cadre {
  width: 100%;
  background: #FDFAF6;
  border: 6px solid var(--beige);
  box-shadow:
    0 2px 8px rgba(44, 26, 14, 0.10),
    0 8px 32px rgba(44, 26, 14, 0.08),
    inset 0 0 0 1px rgba(44, 26, 14, 0.06);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-out);
}

.card-certificat:hover .card-certificat-cadre {
  box-shadow:
    0 8px 24px rgba(44, 26, 14, 0.15),
    0 24px 64px rgba(44, 26, 14, 0.12),
    inset 0 0 0 1px rgba(44, 26, 14, 0.08);
}

.card-certificat-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-certificat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.card-certificat:hover .card-certificat-image img {
  transform: scale(1.02);
}

.card-certificat-legende {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-align: center;
}

.cert-laurier {
  color: var(--jaune);
  flex-shrink: 0;
  opacity: 0.8;
}

.card-certificat-nom {
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brun-fonce);
  letter-spacing: 0.01em;
}

/* Testimonials on diplomes page */
.diplomes-temoignages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.diplomes-temoignage {
  background: var(--ivoire);
  border-radius: var(--rayon);
  padding: 32px 28px;
  border: 1px solid rgba(44, 26, 14, 0.07);
  position: relative;
}

.diplomes-temoignage-ornement {
  font-family: var(--font-titre);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--jaune);
  opacity: 0.5;
  margin-bottom: 12px;
  user-select: none;
}

.diplomes-temoignage p {
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--brun-fonce);
  margin-bottom: 20px;
}

.diplomes-temoignage footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.diplomes-temoignage footer strong {
  font-family: var(--font-corps);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brun-fonce);
}

.diplomes-temoignage footer span {
  font-size: 0.78rem;
  color: var(--gris-doux);
}

/* --------------------------------------------------------------------------
   20. Blog
   -------------------------------------------------------------------------- */
.blog-section {
  background-color: var(--ivoire);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

.card-article {
  background-color: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-beige);
  border: 1px solid rgba(44, 26, 14, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.card-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-hover);
}

.card-article--featured {
  background-color: var(--brun-fonce);
  grid-row: span 1;
}

.card-article-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-article--featured .card-article-image {
  aspect-ratio: 3 / 2;
}

.card-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.card-article:hover .card-article-image img {
  transform: scale(1.04);
}

.card-article-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-article-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 10px;
}

.card-article--featured .card-article-cat { color: var(--jaune); }

.card-article-titre {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--brun-fonce);
}

.card-article--featured .card-article-titre { color: var(--ivoire); }

.card-article-extrait {
  font-size: 0.875rem;
  color: var(--gris-doux);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.card-article--featured .card-article-extrait { color: rgba(248, 246, 241, 0.6); }

.card-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(44, 26, 14, 0.07);
}

.card-article--featured .card-article-footer { border-top-color: rgba(248, 246, 241, 0.1); }

.card-article-date {
  font-size: 0.78rem;
  color: var(--gris-doux);
}

.card-article--featured .card-article-date { color: rgba(248, 246, 241, 0.45); }

/* Article single */
.single-article {
  background-color: var(--ivoire);
  padding-top: 140px;
  padding-bottom: 96px;
}

.single-article-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 56px;
  text-align: center;
}

.single-article-image {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 56px;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-card);
}

.single-article-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.single-article-content {
  max-width: 680px;
  margin-inline: auto;
}

.single-article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--brun-fonce);
  margin-bottom: 24px;
}

.single-article-content h2 {
  font-family: var(--font-titre);
  font-size: 1.9rem;
  margin-top: 48px;
  margin-bottom: 20px;
}

.single-article-content h3 {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 16px;
}

.single-article-content blockquote {
  border-left: 3px solid var(--jaune);
  padding-left: 24px;
  margin-block: 32px;
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--brun-fonce);
}

/* --------------------------------------------------------------------------
   21. Contact
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--ivoire);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 20px;
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-doux);
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--brun-fonce);
}

.calendly-wrap {
  background-color: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-beige);
  border: 1px solid rgba(44, 26, 14, 0.07);
}

.calendly-wrap iframe {
  width: 100%;
  border: none;
  display: block;
}

/* --------------------------------------------------------------------------
   22. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding-block: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section.section--brun .heading-md { color: var(--ivoire); }
.cta-section.section--brun p { color: rgba(248, 246, 241, 0.65); }

.cta-section-content {
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   23. Scroll Animations
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out),
              transform 0.65s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   24. Responsive — Tablet (≤ 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-v: 72px; }

  .hero-section { min-height: 100svh; }

  .hero-content { max-width: min(840px, 100%); }

  .hero-trust { gap: 20px; }

  .hero-scroll-cue { display: none; }

  .probleme-grid,
  .solution-grid,
  .apropos-mini-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-content { padding-left: 0; }

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

  .offres-grid .card-offre:first-child {
    grid-row: auto;
  }

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

  .temoignages-grid .card-temoignage:last-child {
    display: none;
  }

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

  .parcours-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .parcours-arrow { transform: rotate(90deg); margin-block: 8px; }

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

  .apropos-hero-grid { grid-template-columns: 1fr; }
  .apropos-hero-photo { order: -1; }
  .apropos-hero-photo img { height: 45vw; }

  .apropos-histoire-grid { grid-template-columns: 1fr; }

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

  .formations-liste { gap: 64px; }
  .formation-item,
  .formation-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .diplomes-stats { grid-template-columns: repeat(2, 1fr); }
  .diplomes-stat { border-right: 1px solid rgba(248,246,241,0.12); border-bottom: 1px solid rgba(248,246,241,0.12); }
  .diplomes-stat:nth-child(even) { border-right: none; }
  .diplomes-stat:nth-last-child(-n+2) { border-bottom: none; }

  .certificats-mur { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .card-certificat { transform: none !important; }

  .diplomes-temoignages { grid-template-columns: 1fr; gap: 20px; }

  .articles-grid { grid-template-columns: 1fr 1fr; }
  .card-article--featured { grid-column: span 2; }

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

/* --------------------------------------------------------------------------
   25. Responsive — Mobile (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-v: 56px;
    --container: 100%;
  }

  .container { padding-inline: 20px; }

  .site-nav { display: none; }
  .hamburger { display: flex; }

  .hero-trust { flex-wrap: wrap; gap: 12px; justify-content: center; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

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

  .temoignages-grid .card-temoignage:last-child {
    display: block;
  }

  .temoignages-grid .card-temoignage:nth-child(2) { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .valeurs-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .diplomes-stats { grid-template-columns: repeat(2, 1fr); }
  .certificats-mur { grid-template-columns: 1fr; gap: 28px; }
  .card-certificat { transform: none !important; }
  .diplomes-temoignages { grid-template-columns: 1fr; }

  .articles-grid {
    grid-template-columns: 1fr;
  }
  .card-article--featured { grid-column: auto; }

  .apropos-hero-photo img { height: 55vw; }

  .container .heading-xl { font-size: 2.4rem; }
  .container .heading-lg { font-size: 1.9rem; }

  .parcours-step { padding: 24px 20px; }

  .card-ebook { padding: 32px 28px; }

  .probleme-quote { font-size: 1.4rem; }

  .reservation-types { grid-template-columns: 1fr; }
  .reservation-type--featured { order: -1; }
  .contact-form-row { grid-template-columns: 1fr; }
  .reservation-faq { max-width: 100%; }
}

/* --------------------------------------------------------------------------
   25b. Responsive — Petits mobiles (≤ 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root { --section-v: 44px; }

  /* Pages intérieures : réduire le padding-top sous la navbar */
  .page-hero { padding-top: 112px; padding-bottom: 40px; }

  /* Cards : moins de padding pour les petits écrans */
  .card-offre       { padding: 28px 20px; }
  .card-temoignage  { padding: 24px 20px; }
  .card-ebook       { padding: 24px 20px; }
  .reservation-type { padding: 24px 20px; }

  /* Limiter la hauteur des photos portrait empilées */
  .solution-photo-wrap img,
  .apropos-mini-photo img { max-height: 320px; object-fit: cover; }

  /* Titres de section */
  .container .heading-xl { font-size: 2rem; }
  .container .heading-lg { font-size: 1.7rem; }
  .container .heading-md { font-size: 1.45rem; }

  /* Footer legal : empiler les liens */
  .footer-legal { flex-direction: column; gap: 10px; align-items: center; }

  /* Ebooks grid : 1 col */
  .ebooks-grid { grid-template-columns: 1fr; }

  /* Valeurs : 1 col */
  .valeurs-grid { grid-template-columns: 1fr; }

  /* Btn full-width dans sections CTA */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; }
}

/* --------------------------------------------------------------------------
   26. Page Contact — Formulaire
   -------------------------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.contact-form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brun-fonce);
}

.contact-form-field label span {
  color: var(--vert);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--ivoire);
  border: 1.5px solid rgba(44, 26, 14, 0.15);
  border-radius: 8px;
  font-family: var(--font-corps);
  font-size: 0.95rem;
  color: var(--brun-fonce);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: var(--gris-doux);
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(80, 125, 89, 0.12);
}

.contact-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A7E74' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-submit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-legal {
  font-size: 0.78rem;
  color: var(--gris-doux);
}

/* CTA vers réservation dans la page contact */
.contact-booking-cta {
  margin-top: 40px;
}

.contact-booking-cta-inner {
  background: var(--beige);
  border-radius: var(--rayon);
  padding: 28px 24px;
  border: 1px solid rgba(44, 26, 14, 0.07);
}

/* --------------------------------------------------------------------------
   27. Page Réservation
   -------------------------------------------------------------------------- */

/* Hero brun override */
.page-hero.section--brun {
  background-color: var(--brun-fonce);
}

/* Types de consultation */
.reservation-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reservation-type {
  background: var(--ivoire);
  border: 1.5px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--rayon);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.reservation-type:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 26, 14, 0.10);
}

.reservation-type--featured {
  background: var(--brun-fonce);
  border-color: var(--brun-fonce);
}

.reservation-type-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vert);
  background: rgba(80, 125, 89, 0.1);
  border-radius: 100px;
  padding: 4px 12px;
  width: fit-content;
}

.reservation-type-badge--featured {
  color: var(--jaune);
  background: rgba(239, 187, 53, 0.15);
}

.reservation-type-titre {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brun-fonce);
  margin: 0;
}

.reservation-type--featured .reservation-type-titre {
  color: var(--ivoire);
}

.reservation-type-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.reservation-type-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gris-doux);
}

.reservation-type-details li svg {
  color: var(--vert);
  flex-shrink: 0;
}

.reservation-type--featured .reservation-type-details li {
  color: rgba(248, 246, 241, 0.65);
}

.reservation-type--featured .reservation-type-details li svg {
  color: var(--jaune);
}

.reservation-type-prix {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brun-fonce);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
}

.reservation-type--featured .reservation-type-prix {
  color: var(--jaune);
  border-top-color: rgba(248, 246, 241, 0.12);
}

/* Calendly section */
.reservation-calendly-header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.reservation-calendly-embed {
  background: white;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44, 26, 14, 0.08);
  border: 1px solid rgba(44, 26, 14, 0.06);
}

.reservation-calendly-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gris-doux);
  padding: 12px 24px 16px;
}

.reservation-calendly-note a {
  color: var(--vert);
}

/* FAQ accordion */
.reservation-faq {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(44, 26, 14, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brun-fonce);
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--vert);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-reponse {
  padding: 0 4px 20px;
}

.faq-reponse p {
  font-size: 0.95rem;
  color: var(--gris-doux);
  line-height: 1.7;
  margin: 0;
}

/* Responsive réservation */
@media (max-width: 1024px) {
  .reservation-types { grid-template-columns: 1fr 1fr; }
  .reservation-type--featured { grid-column: span 2; order: -1; }
}

/* --------------------------------------------------------------------------
   Page 404
   -------------------------------------------------------------------------- */
.quatre-cent-quatre-liens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin-inline: auto;
}

.quatre-cent-quatre-carte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 28px;
  background: var(--ivoire);
  border-radius: var(--rayon);
  border: 1px solid rgba(44,26,14,0.07);
  text-decoration: none;
  color: var(--brun-fonce);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.quatre-cent-quatre-carte:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-hover);
}

.quatre-cent-quatre-icone {
  width: 52px;
  height: 52px;
  background: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vert);
  flex-shrink: 0;
}

.quatre-cent-quatre-carte .heading-sm {
  font-size: 1.1rem;
  margin: 0;
}

.quatre-cent-quatre-carte p {
  font-size: 0.875rem;
  color: var(--gris-doux);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .quatre-cent-quatre-liens { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .quatre-cent-quatre-liens { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Page Politique de confidentialité
   -------------------------------------------------------------------------- */
.politique-contenu {
  max-width: 800px;
  margin-inline: auto;
}

.politique-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(44,26,14,0.07);
}

.politique-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.politique-section h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: var(--brun-fonce);
  margin-bottom: 16px;
}

.politique-section p,
.politique-section li {
  font-size: 0.95rem;
  color: var(--gris-doux);
  line-height: 1.8;
}

.politique-section p {
  margin-bottom: 12px;
}

.politique-section p:last-child {
  margin-bottom: 0;
}

.politique-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.politique-section ul li {
  margin-bottom: 6px;
}

.politique-section a {
  color: var(--vert);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.politique-section a:hover {
  color: var(--brun-fonce);
}

.politique-tableau {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-block: 16px;
}

.politique-tableau th,
.politique-tableau td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(44,26,14,0.08);
  color: var(--brun-fonce);
  vertical-align: top;
}

.politique-tableau th {
  background: var(--ivoire);
  font-weight: 500;
  font-family: var(--font-corps);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gris-doux);
}

.politique-tableau tbody tr:hover td {
  background: rgba(248,246,241,0.6);
}

@media (max-width: 640px) {
  .politique-tableau,
  .politique-tableau thead,
  .politique-tableau tbody,
  .politique-tableau th,
  .politique-tableau td,
  .politique-tableau tr {
    display: block;
  }
  .politique-tableau thead { display: none; }
  .politique-tableau td {
    padding: 8px 12px;
    border-bottom: none;
  }
  .politique-tableau tr {
    border: 1px solid rgba(44,26,14,0.08);
    border-radius: var(--rayon);
    margin-bottom: 12px;
    overflow: hidden;
  }
}

/* --------------------------------------------------------------------------
   Optin form — messages de retour Kit
   -------------------------------------------------------------------------- */
.optin-message {
  font-size: 0.875rem;
  margin-top: 10px;
  min-height: 1.2em;
}
.optin-message--success {
  color: #a8d5b5;
}
.optin-message--error {
  color: #f4a0a0;
}
