/* ==========================================================================
   CMI — Cannes Media Influence
   Design system : nuit marine profonde, cyan lumineux, Space Grotesk + Inter
   ========================================================================== */

:root {
  --bg: #0a1628;
  --bg-alt: #0d1c33;
  --bg-card: #111f38;
  --line: #1e3050;
  --text: #eef4fb;
  --text-soft: #b6c4d8;
  --muted: #7e8ea6;
  --accent: #38bdf8;
  --accent-soft: #7dd3fc;
  --accent-deep: #0284c7;
  --accent-glow: rgba(56, 189, 248, 0.32);
  --on-accent: #06121f;
  --radius: 14px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container { width: min(1160px, 92%); margin: 0 auto; }

::selection { background: var(--accent); color: var(--on-accent); }

/* --------------------------------------------------------------------------
   Loader d'intro
   -------------------------------------------------------------------------- */

#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s;
}
#loader.done { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-logo span { color: var(--accent); }

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.985); }
  50% { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Curseur personnalisé (desktop uniquement)
   -------------------------------------------------------------------------- */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
}

@media (pointer: fine) {
  body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: none; }
  body.cursor-on input, body.cursor-on textarea, body.cursor-on select { cursor: auto; }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--font-display); }

h1, h2 { font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }

h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.lead { font-size: 1.12rem; color: var(--text-soft); max-width: 46rem; }

/* Mots d'accent : même police, couleur cyan (l'italique serif a été retiré) */
.gold { color: var(--accent); }
.italic-serif { font-family: inherit; font-style: normal; font-weight: inherit; }

/* Trait qui se déploie sous les titres de section */
.section-head h2 {
  position: relative;
  padding-bottom: 1.1rem;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 4.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(56, 189, 248, 0.15));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) 0.25s;
}
.section-head.center h2::after { left: 50%; transform-origin: center; margin-left: -2.25rem; }
.reveal.visible h2::after, .visible .section-head h2::after, .section-head.visible h2::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(10, 22, 40, 0.92); }

.scroll-progress {
  position: absolute;
  bottom: -1px; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width 0.1s linear;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo span { color: var(--accent); }
.logo small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: 2rem; }

.main-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.25s;
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:not(.btn):hover, .main-nav a:not(.btn).active { color: var(--text); }
.main-nav a:not(.btn).active { color: var(--accent); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s, color 0.3s;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
  z-index: -1;
}
.btn:hover::before { left: 135%; }

.btn-gold {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent) 55%, var(--accent-deep));
  color: var(--on-accent);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 34px var(--accent-glow), 0 2px 10px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
}
.burger span {
  position: absolute; left: 8px; right: 8px;
  height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero cinématique
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  z-index: 0;
  filter: saturate(0.85) brightness(0.9);
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.09) translate(-1.2%, 1%); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 22, 40, 0.94) 28%, rgba(10, 22, 40, 0.55) 65%, rgba(10, 22, 40, 0.45)),
    linear-gradient(to top, var(--bg) 0%, transparent 20%);
}

.hero-inner { position: relative; z-index: 2; padding: 5rem 0; }

.hero-inner > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 1s var(--ease-out) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.55s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.7s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.9s; }
.hero-inner > *:nth-child(4) { animation-delay: 1.05s; }
.hero-inner > *:nth-child(5) { animation-delay: 1.25s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

.hero .lead { margin: 1.6rem 0 2.6rem; font-size: 1.18rem; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 3.4rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.hero-badges span::before { content: "◆ "; color: var(--accent); font-size: 0.6rem; vertical-align: 2px; }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(238, 244, 251, 0.35);
  border-radius: 14px;
  opacity: 0;
  animation: heroIn 1s var(--ease-out) 1.6s forwards;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--accent);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Bandeaux défilants
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--bg-alt);
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 0.8rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee.plain { background: var(--bg); border: none; }

/* Galerie photos en défilement continu (double rangée possible) */
.marquee-photos {
  overflow: hidden;
  padding: 1rem 0 0;
}
.marquee-photos .mp-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: marquee 45s linear infinite;
  margin-bottom: 1.2rem;
}
.marquee-photos .mp-track.mp-reverse { animation-direction: reverse; animation-duration: 55s; }
.marquee-photos:hover .mp-track { animation-play-state: paused; }
.marquee-photos img {
  height: clamp(170px, 24vw, 260px);
  width: auto;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out), filter 0.5s;
  filter: saturate(0.92);
}
.marquee-photos img:hover { transform: scale(1.04); filter: saturate(1.1); }

/* Texte géant en contour qui défile */
.giant-scroll {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.giant-scroll .gs-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(56, 189, 248, 0.2);
  white-space: nowrap;
}
.cta-band .container { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 7rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 46rem; margin-bottom: 3.8rem; }
.section-head p { margin-top: 1.2rem; color: var(--text-soft); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

/* --------------------------------------------------------------------------
   Grilles & cartes
   -------------------------------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.3rem;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: -60%; right: -40%;
  width: 70%; height: 120%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 44px rgba(2, 8, 20, 0.5);
}
.card:hover::after { opacity: 1; }

.card .pole-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.1rem;
}

.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--text-soft); font-size: 0.96rem; flex-grow: 1; }

.card .card-link {
  margin-top: 1.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-soft);
}
.card .card-link::after { content: " →"; display: inline-block; transition: transform 0.3s var(--ease-out); }
.card:hover .card-link::after { transform: translateX(5px); }

/* Cartes packs */

.pack {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}
.pack:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 18px 44px rgba(2, 8, 20, 0.5);
}
.pack.featured {
  border-color: var(--accent);
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(56, 189, 248, 0.07), transparent),
    var(--bg-card);
  animation: featuredGlow 3.2s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(56, 189, 248, 0); }
  50% { box-shadow: 0 6px 34px rgba(56, 189, 248, 0.18); }
}
.pack.featured:hover { animation: none; box-shadow: 0 18px 48px rgba(56, 189, 248, 0.22); }
.pack.featured::before {
  content: "Le plus demandé";
  position: absolute;
  top: -12px; left: 24px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
}

.pack h3 { margin-bottom: 0.4rem; }

.pack .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: 0.6rem 0 1.2rem;
}
.pack .price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); font-family: var(--font-sans); }

.pack ul { list-style: none; margin-bottom: 1.9rem; flex-grow: 1; }
.pack ul li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--text-soft);
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(30, 48, 80, 0.55);
}
.pack ul li:last-child { border-bottom: none; }
.pack ul li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Chiffres clés animés
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat {
  padding: 2.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.stat:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-4px); }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.stat .num sup { font-size: 45%; margin-left: 2px; }
.stat .label {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Images & galeries
   -------------------------------------------------------------------------- */

.media-ph {
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238, 244, 251, 0.5);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  background:
    radial-gradient(ellipse at 30% 30%, rgba(56, 189, 248, 0.1), transparent),
    linear-gradient(160deg, #12213c, #0c182c);
}
.media-ph.tall { aspect-ratio: 3 / 4; }

.media-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.media-img.tall { aspect-ratio: 3 / 4; }
.media-img:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(2, 8, 20, 0.55); }

.media-wrap {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.media-wrap .media-img {
  border-radius: 0;
  transition: transform 0.8s var(--ease-out);
}
.media-wrap:hover .media-img { transform: scale(1.06); box-shadow: none; }
.media-wrap .media-tag {
  position: absolute;
  left: 1.1rem; bottom: 1rem;
  z-index: 2;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.gallery-caption {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Dérive douce des images au scroll (scroll-driven, natif, zéro JS) */
@supports (animation-timeline: view()) {
  .grid-2 .media-img.tall {
    animation: mediaDrift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes mediaDrift {
    from { transform: translateY(28px); }
    to { transform: translateY(-28px); }
  }
}

/* --------------------------------------------------------------------------
   Étapes / process
   -------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }

.step {
  padding: 1.9rem;
  border-left: 1px solid var(--line);
  position: relative;
  transition: border-color 0.4s;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
  transition: transform 0.4s var(--ease-out);
}
.step:hover { border-left-color: var(--accent); }
.step:hover::before { transform: translateX(6px); }
.step h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Bandeau CTA
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 80% at 50% 100%, rgba(56, 189, 248, 0.14), transparent),
    #071120;
}
.cta-band h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta-band p { color: var(--text-soft); margin-bottom: 2.4rem; }

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 11rem 0 4.5rem;
  background:
    radial-gradient(ellipse 55% 60% at 80% 0%, rgba(56, 189, 248, 0.08), transparent),
    var(--bg);
}
.page-hero .container > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.85s var(--ease-out) forwards;
}
.page-hero .container > *:nth-child(1) { animation-delay: 0.05s; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.15s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.25s; }
.page-hero .container > *:nth-child(4) { animation-delay: 0.38s; }
.page-hero .container > *:nth-child(5) { animation-delay: 0.5s; }

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.breadcrumbs a:hover { color: var(--accent-soft); }
.breadcrumbs span { margin: 0 0.5rem; color: var(--line); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.25s;
}
.faq summary:hover { color: var(--accent-soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-top: 0.8rem; color: var(--text-soft); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Formulaire
   -------------------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-soft); }

input, select, textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2.5rem;
  background: #071120;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { font-size: 0.92rem; color: var(--text-soft); transition: color 0.2s, padding-left 0.25s; }
.footer-grid a:hover { color: var(--accent-soft); padding-left: 4px; }

.footer-about p { font-size: 0.92rem; color: var(--muted); margin-top: 1rem; max-width: 20rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Bouton WhatsApp flottant
   -------------------------------------------------------------------------- */

.wa-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  animation: waIn 0.6s var(--ease-out) 2s backwards;
}
.wa-fab:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
}
@keyframes waIn {
  from { opacity: 0; transform: translateY(20px) scale(0.6); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Barre CTA sticky (mobile)
   -------------------------------------------------------------------------- */

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 48px;
}
.sticky-cta .sc-devis { background: linear-gradient(135deg, var(--accent-soft), var(--accent)); color: var(--on-accent); }
.sticky-cta .sc-wa { background: #1f8f4d; color: #fff; }

@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  .wa-fab { display: none; }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   Révélation des titres mot à mot & images en balayage
   -------------------------------------------------------------------------- */

.ww {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.ww > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.75s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 55ms);
}
.words-in .ww > span, .visible .ww > span { transform: none; }

.reveal .media-img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out) 0.15s, transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.reveal.visible .media-img { clip-path: inset(0 0 0 0); }

/* --------------------------------------------------------------------------
   Apparitions au scroll (avec cascade automatique)
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Accessibilité : mouvement réduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .ww > span { transform: none; }
  .reveal .media-img { clip-path: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .grid-3, .grid-2, .steps, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .burger { display: block; }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 1rem 4%;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 0.9rem 0; width: 100%; font-size: 1.05rem; }
  .main-nav .btn { margin: 1rem 0; text-align: center; width: 100%; justify-content: center; }

  .scroll-cue { display: none; }
}
