/* ============================================================
   ALUMVERRE PRO – STYLE.CSS
   Premium landing page – Aluminium & Verre Sur Mesure
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --rouge: #A61C1C;
  --red: #A61C1C;
  --rouge-dark: #8a1717;
  --rouge-light: #c04040;
  --blanc: #FFFFFF;
  --noir: #0A0A0A;
  --gris-clair: #F5F5F5;
  --gris-moyen: #8A8A8A;
  --gris-texte: #4A4A4A;
  --gris-border: #E0E0E0;

  --font-titre: 'Cormorant Garamond', Georgia, serif;
  --font-texte: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.16);

  --container-max: 1200px;
  --container-pad: 24px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-texte);
  color: var(--gris-texte);
  background: var(--blanc);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-texte); }
ul { list-style: none; }
input, select, textarea { font-family: var(--font-texte); }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-titre); line-height: 1.15; }

.section-eyebrow {
  font-family: var(--font-texte);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--rouge-light); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 16px;
}
.section-title.light { color: var(--blanc); }
.section-title em { font-style: italic; color: var(--rouge); }

.section-subtitle {
  font-size: 1rem;
  color: var(--gris-texte);
  max-width: 600px;
  line-height: 1.7;
}
.section-subtitle.light { color: rgba(255,255,255,0.72); }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header .section-subtitle { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-texte);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--rouge);
  color: var(--blanc);
  box-shadow: 0 4px 20px rgba(166,28,28,0.35);
}
.btn-primary:hover {
  background: var(--rouge-dark);
  box-shadow: 0 6px 28px rgba(166,28,28,0.50);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--blanc);
}

.btn-white {
  background: var(--blanc);
  color: var(--rouge);
  box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}
.btn-white:hover {
  background: var(--gris-clair);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gris-texte);
  border: 1.5px solid var(--gris-border);
}
.btn-ghost:hover { background: var(--gris-clair); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }


/* ============================================================
   SECTION 1 : HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--noir);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(166,28,28,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(166,28,28,0.10) 0%, transparent 55%),
    linear-gradient(160deg, #0f0f0f 0%, #1a0a0a 50%, #0d0d0d 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.0) 40%, rgba(10,10,10,0.5) 100%);
}

/* NAV */
.hero-nav {
  position: relative;
  z-index: 10;
  padding: 20px 0 8px;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-spacer {
  display: block;
}
.logo {
  grid-column: 2;
  display: flex;
  justify-content: center;
}
.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { color: var(--rouge); font-size: 1.25rem; }
.logo-text {
  font-family: var(--font-titre);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--blanc);
  letter-spacing: 0.02em;
}
.logo-accent { color: var(--rouge); }

.nav-cta {
  grid-column: 3;
  justify-self: end;
}

@media (max-width: 767px) {
  .hero-nav {
    padding: 14px 0 6px;
  }
  .nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .nav-spacer,
  .nav-cta {
    display: none;
  }
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 14px 0 72px;
}

.hero-inner {
  max-width: 760px;
  animation: heroFadeUp 0.9s ease forwards;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rouge);
  box-shadow: 0 0 8px var(--rouge);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 6px var(--rouge); }
  50%       { box-shadow: 0 0 14px var(--rouge-light), 0 0 24px rgba(166,28,28,0.4); }
}

.hero-title,
.headline-xl {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title em { color: var(--rouge-light); font-style: italic; }

.headline-accent {
  color: var(--red, #A61C1C);
  font-style: italic;
  display: inline;
}

.sparkle-icon {
  width: 0.55em;
  height: 0.55em;
  flex-shrink: 0;
  transform: translateY(-2px);
  margin-right: 8px;
  display: inline;
  vertical-align: middle;
  fill: currentColor;
}

.hero-subtitle {
  font-family: var(--font-texte);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.7;
}



.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.70);
}
.proof-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--rouge);
  border-radius: 50%;
  color: var(--blanc);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.40);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  order: -1;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

/* ============================================================
   SECTION 2 : NOS SOLUTIONS
   ============================================================ */
.services {
  background: #F5F5F5;
  padding: 88px 0;
}

.services .section-header {
  text-align: center;
  margin-bottom: 38px;
}

.services .section-eyebrow {
  color: #A61C1C;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.services .section-title {
  font-family: var(--font-titre);
  color: #0A0A0A;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.services .section-subtitle {
  max-width: 560px;
  margin-inline: auto;
  color: #666666;
  font-size: 0.98rem;
  line-height: 1.6;
}

.services-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 10px 18px;
  transition: all var(--transition);
  cursor: default;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.chip:hover {
  border-color: rgba(166, 28, 28, 0.28);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(166, 28, 28, 0.06);
}

.chip-icon {
  width: 17px;
  height: 17px;
  color: #A61C1C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4A4A4A;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* ============================================================
   SECTION 3 : PORTFOLIO / RÉALISATIONS
   ============================================================ */
.realisations {
  background: #0A0A0A;
  padding: 96px 0 0;
  overflow: hidden;
}

.realisations-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 768px) {
  .realisations-layout {
    grid-template-columns: 360px 1fr;
    gap: 44px;
  }
}
@media (min-width: 1024px) {
  .realisations-layout {
    grid-template-columns: 420px 1fr;
    gap: 52px;
  }
}

.realisations-text {
  padding-bottom: 8px;
}

.realisations .section-eyebrow {
  color: #A61C1C;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.realisations .section-title {
  font-family: var(--font-titre);
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 16px;
}

.realisations .section-subtitle {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}

.realisations-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-titre);
  font-size: 2.3rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* CAROUSEL */
.carousel-wrapper {
  position: relative;
  min-width: 0;
  width: 100%;
}

.carousel {
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 78%;
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 28px) / 3);
  }
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: #181818;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide:hover img {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

/* CAROUSEL CONTROLS */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
}
.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--rouge);
  transform: scale(1.25);
}

/* ============================================================
   SECTION : NOS CHANTIERS EN VIDÉO
   ============================================================ */
.chantiers-video {
  background: var(--blanc);
  padding: 96px 0 72px;
}

.chantiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 520px;
  margin: 0 auto;
}

.chantier-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.chantier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(166, 28, 28, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(166, 28, 28, 0.35);
}

.chantier-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(166, 28, 28, 0.28) 0%, rgba(10, 10, 10, 0.94) 85%), #0c0c0c;
  overflow: hidden;
}

.chantier-thumb.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.chantier-card:hover .chantier-thumb.has-image img {
  transform: scale(1.06);
}

.chantier-thumb.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.chantier-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.03em;
}

/* Slot vidéo in-place (prêt pour iframe Vimeo ou balise <video>) */
.chantier-video-slot {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.chantier-card.is-playing .chantier-video-slot {
  opacity: 1;
  pointer-events: auto;
}

.chantier-video-slot iframe,
.chantier-video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

/* Effet de pulsation / luminosité sur le fond en cours de lecture */
.chantier-pulse-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(166, 28, 28, 0.55) 0%, rgba(166, 28, 28, 0.15) 55%, transparent 80%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.chantier-card.is-playing .chantier-pulse-overlay {
  opacity: 1;
  animation: chantierPlayPulse 2s ease-in-out infinite;
}

@keyframes chantierPlayPulse {
  0% {
    opacity: 0.3;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
  100% {
    opacity: 0.3;
    transform: scale(0.98);
  }
}

/* Bouton Play centré H & V, toujours visible, utilisable au tap mobile */
.chantier-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  z-index: 5;
  opacity: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 0.25s ease, opacity 0.25s ease, box-shadow var(--transition);
}

.chantier-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2.5px;
  transition: transform var(--transition);
}

/* Au survol ou tap : rouge bordeaux (#A61C1C) + scale 1.08 */
.chantier-card:hover .chantier-play-btn,
.chantier-card:focus-visible .chantier-play-btn,
.chantier-card:active .chantier-play-btn,
.chantier-play-btn:hover,
.chantier-play-btn:active {
  background: #A61C1C;
  border-color: #A61C1C;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 24px rgba(166, 28, 28, 0.65), 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* En lecture : disparition du bouton play */
.chantier-card.is-playing .chantier-play-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.75);
}

/* Indicateur discret "Lecture en cours..." */
.chantier-playing-indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--blanc);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--transition);
  white-space: nowrap;
}

.chantier-playing-indicator:hover {
  background: rgba(20, 20, 20, 0.94);
  border-color: rgba(255, 255, 255, 0.35);
}

.chantier-card.is-playing .chantier-playing-indicator {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.playing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3333;
  box-shadow: 0 0 8px #ff3333;
  animation: dotPulse 1.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.65);
  }
}

.chantier-card.is-playing {
  border-color: rgba(166, 28, 28, 0.6);
  box-shadow: 0 0 28px rgba(166, 28, 28, 0.35), 0 12px 28px rgba(0, 0, 0, 0.2);
}

.chantiers-cta {
  margin-top: 40px;
  text-align: center;
}



/* CTA STRIP */
.cta-strip {
  margin-top: 64px;
}
.cta-strip-dark {
  background: rgba(166,28,28,0.10);
  border-top: 1px solid rgba(166,28,28,0.20);
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px 0;
}
.cta-strip-text {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blanc);
}

/* ============================================================
   SECTION 4 : FORMULAIRE
   ============================================================ */
.formulaire-section {
  background: var(--noir);
  padding: 96px 0;
}

.formulaire-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
}
@media (min-width: 900px) {
  .formulaire-layout { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

/* STEPS INFO */
.form-steps-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0.4;
  transition: opacity var(--transition);
}
.step-info.active { opacity: 1; }

.step-info-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blanc);
  flex-shrink: 0;
  transition: all var(--transition);
}
.step-info.active .step-info-num {
  background: var(--rouge);
  border-color: var(--rouge);
}
.step-info.done .step-info-num {
  background: #1e6e1e;
  border-color: #1e6e1e;
}
.step-info.done .step-info-num::after { content: '✓'; }

.step-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
}
.step-info-content strong {
  font-size: 0.9rem;
  color: var(--blanc);
  font-weight: 600;
}
.step-info-content span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.step-info-line {
  width: 1.5px;
  height: 28px;
  background: rgba(255,255,255,0.10);
  margin-left: 17px;
}

/* FORM CARD */
.form-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 500px) {
  .form-card { padding: 28px 20px; }
}

/* PROGRESS BAR */
.form-progress { margin-bottom: 32px; }
.form-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.progress-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gris-moyen);
  transition: color var(--transition);
}
.progress-label.active { color: var(--rouge); font-weight: 600; }

.form-progress-bar {
  height: 4px;
  background: var(--gris-clair);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.form-progress-fill {
  height: 100%;
  background: var(--rouge);
  border-radius: var(--radius-pill);
  transition: width 0.5s ease;
  width: 50%;
}

.form-progress-text {
  font-size: 0.72rem;
  color: var(--gris-moyen);
  margin-top: 6px;
  text-align: right;
}

/* FORM STEPS */
.form-step { animation: stepFadeIn 0.4s ease; }
.form-step.hidden { display: none; }

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-step-title {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 24px;
}

/* FORM GROUPS */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gris-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--noir);
  background: var(--blanc);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder { color: var(--gris-moyen); }
.form-group input:focus {
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(166,28,28,0.10);
}
.form-group input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 5px;
  min-height: 16px;
}

/* RADIO PILLS */
.radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.radio-pill {
  position: relative;
  cursor: pointer;
}
.radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gris-border);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gris-texte);
  background: var(--blanc);
  transition: all var(--transition);
  user-select: none;
}
.radio-pill:hover span {
  border-color: var(--rouge);
  color: var(--rouge);
  background: rgba(166, 28, 28, 0.03);
}
.radio-pill input:checked + span {
  background: rgba(166, 28, 28, 0.08);
  border-color: var(--rouge);
  color: var(--rouge);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(166, 28, 28, 0.12);
}
.radio-pill input:checked + span:hover {
  background: rgba(166, 28, 28, 0.12);
  border-color: var(--rouge);
  color: var(--rouge);
}

.form-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-btns .btn-primary { flex: 1; min-width: 200px; }

/* SUCCESS */
.form-success {
  text-align: center;
  padding: 24px 0;
  animation: stepFadeIn 0.5s ease;
}
.form-success.hidden { display: none; }

.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #1e6e1e;
  color: var(--blanc);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(30,110,30,0.35);
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.success-title {
  font-size: 1.6rem;
  color: var(--noir);
  margin-bottom: 12px;
}
.success-text {
  font-size: 0.95rem;
  color: var(--gris-texte);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto 24px;
}
.success-details {
  background: var(--gris-clair);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.82rem;
  color: var(--gris-texte);
  text-align: left;
  line-height: 1.8;
}

/* ============================================================
   SECTION 5 : TÉMOIGNAGES
   ============================================================ */
.temoignages {
  background: var(--gris-clair);
  padding: 96px 0 64px;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 700px) {
  .temoignages-grid { grid-template-columns: repeat(3, 1fr); }
}

.temoignage-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--gris-border);
  transition: all var(--transition);
  position: relative;
}
.temoignage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.temoignage-featured {
  border-color: var(--rouge);
  box-shadow: 0 8px 32px rgba(166,28,28,0.10);
}
.temoignage-featured::before {
  content: '★ Avis vérifié';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rouge);
  color: var(--blanc);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.temoignage-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.temoignage-quote {
  font-size: 0.92rem;
  color: var(--gris-texte);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  quotes: "«\00A0" "\00A0»";
}
.temoignage-quote::before { content: open-quote; }
.temoignage-quote::after { content: close-quote; }

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blanc);
  flex-shrink: 0;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-info strong {
  font-size: 0.9rem;
  color: var(--noir);
  font-weight: 600;
}
.author-info span {
  font-size: 0.75rem;
  color: var(--gris-moyen);
}

.cta-strip-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px;
  background: var(--blanc);
  border-radius: var(--radius-md);
  border: 1px solid var(--gris-border);
}
.cta-strip-inline p {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--noir);
}

/* ============================================================
   SECTION 6 : POURQUOI NOUS CHOISIR
   ============================================================ */
.pourquoi {
  background: var(--gris-clair);
  padding: 96px 0;
  border-top: 1px solid var(--gris-border);
}

.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .pourquoi-grid { grid-template-columns: repeat(4, 1fr); }
}

.pourquoi-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--gris-border);
  transition: all var(--transition);
  text-align: center;
}
.pourquoi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(166,28,28,0.15);
}
.pourquoi-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(166, 28, 28, 0.08);
  color: var(--rouge);
  transition: all var(--transition);
}
.pourquoi-icon svg,
.pourquoi-svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--transition);
}
.pourquoi-card:hover .pourquoi-icon {
  transform: translateY(-3px) scale(1.06);
  background: var(--rouge);
  color: var(--blanc);
  box-shadow: 0 10px 24px rgba(166, 28, 28, 0.28);
}
.pourquoi-card h3 {
  font-family: var(--font-titre);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 10px;
}
.pourquoi-card p {
  font-size: 0.85rem;
  color: var(--gris-moyen);
  line-height: 1.65;
}

.pourquoi-cta { text-align: center; }

/* ============================================================
   SECTION 7 : FAQ
   ============================================================ */
.faq {
  background: var(--blanc);
  padding: 96px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 1.2fr 1fr; align-items: center; }
}

.faq-header { text-align: left; margin-bottom: 36px; }

/* ACCORDION */
.accordion { display: flex; flex-direction: column; gap: 0; }

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

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--noir);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--rouge); }
.accordion-item.active .accordion-trigger { color: var(--rouge); }

.accordion-icon {
  font-size: 1.4rem;
  color: var(--gris-moyen);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
  font-weight: 300;
  line-height: 1;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--rouge);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion-item.active .accordion-body {
  max-height: 300px;
}

.accordion-body p {
  font-size: 0.9rem;
  color: var(--gris-texte);
  line-height: 1.75;
  padding-bottom: 20px;
}

.faq-cta { margin-top: 36px; }

/* FAQ IMAGE */
.faq-right {
  display: none;
}
@media (min-width: 900px) {
  .faq-right { display: block; }
}

.faq-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
}
.faq-img-placeholder {
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.faq-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,0.03) 48px, rgba(255,255,255,0.03) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,0.03) 48px, rgba(255,255,255,0.03) 49px);
}
.faq-img-inner {
  position: relative;
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.faq-img-lines {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.faq-img-line {
  width: 40px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}
.faq-img-icon { font-size: 3.5rem; margin-bottom: 16px; }
.faq-img-inner p {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   SECTION 8 : CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--noir);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166,28,28,0.15) 0%, transparent 70%);
}
.cta-final-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.cta-final-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-final-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gris-clair);
  padding: 48px 0 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gris-border);
}

.logo-placeholder-footer .logo-text { color: var(--noir); }
.logo-placeholder-footer .logo-accent { color: var(--rouge); }
.footer-tagline {
  font-size: 0.78rem;
  color: var(--gris-moyen);
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  color: var(--gris-moyen);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(166,28,28,0.3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--gris-moyen);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--rouge); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--gris-moyen);
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
  section { padding-block: 72px; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-proof { flex-direction: column; gap: 12px; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-inner .btn { width: 100%; }
  .cta-strip-inline { flex-direction: column; text-align: center; }
  .cta-strip-inline .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-links { justify-content: center; }

}

/* ============================================================
   ANIMATIONS / INTERSECTION OBSERVER
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }