/* RCA Tours — site vitrine. Palette « clair premium » reprise de l'application. */
:root {
  --cream: #faf7f2;
  --sand: #f3ede3;
  --surface: #ffffff;
  --ink: #16201b;
  --muted: #5f6661;
  --line: #e9e2d6;
  --emerald: #0f5e46;
  --emerald-deep: #0a4232;
  --emerald-soft: #e3efe8;
  --gold: #c8a15a;
  --gold-soft: #f6eddc;
  --blue: #0d3b8c;
  --orange: #f39a1e;
  --radius: 24px;
  --shadow: 0 18px 40px rgba(22, 32, 25, 0.1);
  --shadow-lifted: 0 28px 60px rgba(22, 32, 25, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 16px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn--primary { background: linear-gradient(135deg, #13755a, var(--emerald-deep)); color: #fff; box-shadow: 0 10px 24px rgba(15, 94, 70, 0.3); }
.btn--gold { background: linear-gradient(135deg, #e2c38a, var(--gold)); color: var(--emerald-deep); }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.8);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(22, 32, 25, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; position: relative; padding: 6px 0; }
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Héros */
.hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, var(--emerald-soft) 0%, rgba(227, 239, 232, 0) 65%); z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--emerald), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  background: var(--ink); color: #fff; border-radius: 16px; text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store-btn svg { width: 26px; height: 26px; fill: currentColor; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.05rem; }
.store-btn small { font-weight: 500; font-size: 0.72rem; opacity: 0.75; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 0.88rem; font-weight: 600; }

.hero-visual { position: relative; height: 640px; perspective: 1200px; }
.glow { position: absolute; inset: 15% 10%; background: radial-gradient(circle, rgba(200, 161, 90, 0.35), transparent 70%); filter: blur(30px); }
.phone {
  margin: 0; position: absolute; border-radius: 42px; overflow: hidden; background: #000;
  border: 8px solid #111; box-shadow: var(--shadow-lifted);
  transition: transform 0.6s var(--ease);
}
.phone img { width: 100%; }
.phone--front { width: 300px; right: 8%; top: 20px; z-index: 2; }
.phone--back { width: 250px; left: 4%; top: 90px; transform: rotate(-7deg); opacity: 0.95; }
.phone--solo { position: relative; width: min(300px, 80vw); margin-inline: auto; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px; border-radius: 18px; box-shadow: var(--shadow); font-size: 0.9rem;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; }
.float-card small { color: var(--muted); }
.float-card--ride { left: 0; bottom: 120px; }
.float-card--booking { right: 0; top: 0; animation-delay: -3s; }
.float-card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(15, 94, 70, 0.5); animation: pulse 2s infinite; }
.float-card .check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #e2c38a, var(--gold)); color: #fff; font-weight: 800; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(15, 94, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 94, 70, 0); } }

/* Sections */
.section { padding: 96px 0; }
.section--tinted { background: var(--sand); }
.section--dark { background: linear-gradient(160deg, #13755a, var(--emerald-deep) 70%); color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-head--light p:last-child { color: rgba(255, 255, 255, 0.78); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lifted); }
.feature-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 18px;
  background: linear-gradient(135deg, #13755a, var(--emerald-deep)); color: #fff; font-size: 1.5rem;
  box-shadow: 0 10px 22px rgba(15, 94, 70, 0.28); transition: transform 0.5s var(--ease);
}
.feature:hover .feature-icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.feature p { color: var(--muted); font-size: 0.96rem; margin: 0; }

.showcase { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.showcase--reverse .showcase-text { order: 2; }
.showcase-text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.showcase-text p { color: var(--muted); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 10px; font-weight: 600; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; color: #fff; background: var(--emerald);
}

.destinations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.destination { background: var(--surface); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.destination p { color: var(--muted); font-size: 0.96rem; margin: 0; }

.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0 0 44px; }
.partner { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 26px; transition: background 0.3s, transform 0.45s var(--ease); }
.partner:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-4px); }
.partner-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, #e2c38a, var(--gold)); color: var(--emerald-deep); font-size: 1.45rem;
}
.partner p { color: rgba(255, 255, 255, 0.78); margin: 0; font-size: 0.96rem; }
.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0 0 40px; }
.steps li { counter-increment: step; position: relative; padding: 52px 18px 18px; border-radius: 18px; background: rgba(0, 0, 0, 0.16); font-size: 0.96rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 14px; left: 18px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--gold); color: var(--emerald-deep);
}

.faq details { background: var(--surface); border-radius: 18px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(22, 32, 25, 0.05); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--gold); transition: rotate 0.35s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 20px; color: var(--muted); margin: 0; }

.cta-final { padding: 40px 0 100px; }
.cta-inner { text-align: center; background: var(--surface); border-radius: 36px; padding: 56px 24px; box-shadow: var(--shadow); }
.cta-inner img { margin: 0 auto 18px; border-radius: 22px; box-shadow: var(--shadow); }
.cta-inner p { color: var(--muted); }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.site-footer img { background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.copyright { grid-column: 1 / -1; font-size: 0.88rem; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; margin: 0; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--emerald); color: #fff; text-decoration: none; font-weight: 800;
  box-shadow: var(--shadow); opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity 0.3s, translate 0.4s var(--ease);
}
.to-top.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }

/* Apparition au défilement (activée par le JavaScript : sans lui, tout reste visible) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Tablettes */
@media (max-width: 1024px) {
  .features, .destinations, .partners { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Mobiles */
@media (max-width: 860px) {
  .menu-toggle {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border: 0; border-radius: 14px;
    background: var(--surface); box-shadow: 0 4px 14px rgba(22, 32, 25, 0.08); cursor: pointer;
  }
  .menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 24px 20px 28px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.45s var(--ease), visibility 0.45s;
  }
  .main-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { display: block; padding: 12px 0; font-size: 1.1rem; }
  .hero { padding-top: 28px; }
  .hero-inner, .showcase { grid-template-columns: 1fr; }
  .showcase--reverse .showcase-text { order: 0; }
  .hero-visual { height: 520px; margin-top: 10px; }
  .phone--front { width: 240px; right: 6%; }
  .phone--back { width: 200px; left: 2%; }
  .float-card { font-size: 0.82rem; }
  .float-card--ride { bottom: 40px; }
  .section { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .features, .destinations, .partners, .steps { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; }
  .phone--front { width: 210px; right: 2%; }
  .phone--back { width: 175px; left: 0; top: 70px; }
  .float-card--booking { top: -6px; }
}

/* Respect des préférences « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   Couche cinématique
   =================================================================== */

/* Délai laissé au rideau d'ouverture (aucun quand il ne s'affiche pas) */
:root { --intro: 1.15s; }
.no-intro { --intro: 0.1s; }

/* Rideau d'ouverture : logo, barre de chargement, puis le rideau se lève */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--cream);
  animation: curtain 0.9s var(--ease) 1s forwards;
}
.intro img { width: 220px; animation: intro-logo 1.1s var(--ease) both; }
.intro-bar { width: 160px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.intro-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--emerald), var(--gold)); transform-origin: left; animation: load 0.95s var(--ease) both; }
@keyframes intro-logo { from { opacity: 0; transform: scale(0.9); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.no-intro .intro { display: none; }

/* Aurores lumineuses du héros */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: #cfe6d9; top: -12%; right: -6%; }
.aurora span:nth-child(2) { background: #f3dfb8; top: 30%; right: 22%; animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { background: #d7e3f5; top: 45%; left: -12%; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.12); } 100% { transform: translate(5%, -6%) scale(0.95); } }
.hero::before { display: none; }

/* Titre révélé mot par mot (les mots sont découpés par le JavaScript) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + var(--intro)); }
.split.is-in .w > span { transform: none; }
.split em .w > span { background: linear-gradient(120deg, var(--emerald), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Entrées des téléphones du héros : montée, mise au point, rotation 3D */
.js .hero-visual .phone, .js .hero-visual .float-card { opacity: 0; filter: blur(14px); }
.hero-visual.is-in .phone { animation: phone-in 1.4s var(--ease) both; }
.hero-visual.is-in .phone--front { animation-delay: calc(var(--intro) + 0.2s); }
.hero-visual.is-in .phone--back { animation-delay: calc(var(--intro) + 0.4s); --r: -7deg; }
.hero-visual.is-in .float-card { animation: card-in 0.9s var(--ease) both, float 6s ease-in-out infinite; }
.hero-visual.is-in .float-card--booking { animation-delay: calc(var(--intro) + 0.95s), calc(var(--intro) + 2s); }
.hero-visual.is-in .float-card--ride { animation-delay: calc(var(--intro) + 1.2s), calc(var(--intro) + 2s); }
@keyframes phone-in {
  from { opacity: 0; filter: blur(14px); transform: translateY(90px) rotateX(18deg) rotate(var(--r, 0deg)) scale(0.92); }
  to { opacity: 1; filter: none; transform: rotate(var(--r, 0deg)); }
}
@keyframes card-in { from { opacity: 0; filter: blur(10px); transform: translateY(24px) scale(0.9); } to { opacity: 1; filter: none; transform: none; } }

/* Apparition au défilement : mise au point du flou au net */
.js .reveal { filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { filter: none; }
.js .reveal-phone { opacity: 0; transform: translateY(80px) scale(0.9) rotate(-4deg); filter: blur(10px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.js .reveal-phone.is-visible { opacity: 1; transform: none; filter: none; }
.parallax { will-change: transform; }

/* Bandeau défilant */
.marquee { overflow: hidden; padding: 22px 0; background: var(--ink); color: #fff; transform: rotate(-1.5deg) scale(1.03); margin: 10px 0 30px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); margin-left: 28px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Halo de lumière qui suit la souris sur les cartes */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 161, 90, 0.22), transparent 45%);
}
.spotlight:hover::before { opacity: 1; }

/* Reflet qui balaie les boutons au survol */
.btn, .store-btn { position: relative; overflow: hidden; }
.btn::after, .store-btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: transform 0.8s var(--ease);
}
.btn:hover::after, .store-btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.magnetic { transition: transform 0.45s var(--ease), box-shadow 0.35s var(--ease); }

/* Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--emerald), var(--gold)); }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .split .w > span, .js .hero-visual .phone, .js .hero-visual .float-card, .js .reveal-phone { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none; }
}

/* Icônes des destinations */
.dest-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 14px; background: var(--gold-soft); color: var(--gold); font-size: 1.25rem; }
.float-card .check i { font-size: 1rem; line-height: 1; }
.to-top i { font-size: 1.2rem; }
.site-footer .bi { color: var(--gold); margin-right: 4px; }

/* ===================================================================
   Effets au défilement
   =================================================================== */

/* Inclinaison selon la vitesse de défilement (piloté par --skew, remis à zéro en douceur) */
.velocity { transform: skewY(var(--skew, 0deg)); transform-origin: center; will-change: transform; }

/* « Impact » des titres de section à leur arrivée : poussée puis léger rebond */
.section-head.is-visible h2 { animation: impact 0.9s var(--ease) both; }
@keyframes impact {
  0% { transform: translateY(18px) scale(0.96); letter-spacing: 0.02em; }
  55% { transform: translateY(-4px) scale(1.015); }
  75% { transform: translateY(1px) scale(0.997); }
  100% { transform: none; letter-spacing: -0.01em; }
}
.section-head.is-visible .eyebrow { animation: eyebrow 0.8s var(--ease) both; }
@keyframes eyebrow { from { opacity: 0; letter-spacing: 0.5em; } to { opacity: 1; letter-spacing: 0.16em; } }

/* Captures qui zooment pendant le défilement (piloté par --zoom) */
.phone--solo img { transform: scale(var(--zoom, 1)); transition: transform 0.2s linear; }

/* Léger tremblement du bandeau à chaque nouvelle section (secousse « caméra ») */
.marquee.shake { animation: shake 0.45s var(--ease); }
@keyframes shake {
  0%, 100% { transform: rotate(-1.5deg) scale(1.03); }
  25% { transform: rotate(-1.9deg) scale(1.035) translateX(-3px); }
  50% { transform: rotate(-1.2deg) scale(1.03) translateX(3px); }
  75% { transform: rotate(-1.6deg) scale(1.03) translateX(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  .velocity { transform: none !important; }
  .section-head.is-visible h2, .section-head.is-visible .eyebrow, .marquee.shake { animation: none; }
}

/* ===================================================================
   Bouton WhatsApp flottant
   =================================================================== */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-btn {
  position: relative; display: flex; align-items: center; height: 62px; min-width: 62px; padding: 0 19px;
  border-radius: 999px; color: #fff; text-decoration: none; font-weight: 800;
  background: linear-gradient(135deg, #2fe375, #128c4a);
  box-shadow: 0 14px 30px rgba(18, 140, 74, 0.45);
  animation: wa-in 0.9s var(--ease) calc(var(--intro) + 1.8s) both, wa-wiggle 6s ease-in-out calc(var(--intro) + 5s) infinite;
  transition: box-shadow 0.35s var(--ease);
}
.wa-btn .bi { font-size: 1.6rem; line-height: 1; position: relative; z-index: 1; }
/* Libellé qui se déplie au survol */
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 0.5s var(--ease), opacity 0.3s, margin 0.5s var(--ease); position: relative; z-index: 1; }
.wa-btn:hover .wa-label, .wa-btn:focus-visible .wa-label { max-width: 200px; opacity: 1; margin-left: 10px; }
.wa-btn:hover { box-shadow: 0 18px 40px rgba(18, 140, 74, 0.55); }
.wa-btn:active { transform: scale(0.94); }
/* Ondes qui se propagent autour du bouton */
.wa-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa-ring 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; pointer-events: none; }
.wa-ring + .wa-ring { animation-delay: 1.3s; }
@keyframes wa-ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.7); opacity: 0; } }
@keyframes wa-in { from { opacity: 0; transform: translateY(40px) scale(0.4) rotate(-30deg); } 70% { transform: translateY(-6px) scale(1.06) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes wa-wiggle {
  0%, 86%, 100% { transform: none; }
  88% { transform: rotate(-12deg) scale(1.08); }
  90% { transform: rotate(10deg) scale(1.08); }
  92% { transform: rotate(-8deg) scale(1.06); }
  94% { transform: rotate(5deg) scale(1.03); }
  96% { transform: rotate(0) scale(1); }
}
/* Bulle d'accueil (apparaît une fois, puis se ferme) */
.wa-bubble {
  position: relative; max-width: 240px; padding: 14px 40px 14px 16px; border-radius: 18px 18px 4px 18px;
  background: var(--surface); box-shadow: var(--shadow-lifted); font-size: 0.9rem; line-height: 1.4;
  opacity: 0; transform: translateY(12px) scale(0.92); transform-origin: bottom right; pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.wa-bubble strong { display: block; }
.wa-bubble span { color: var(--muted); }
.wa.show-bubble .wa-bubble { opacity: 1; transform: none; pointer-events: auto; }
.wa-close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.wa-close:hover { background: var(--sand); }
/* Le bouton « haut de page » se place au-dessus de WhatsApp */
.to-top { bottom: 94px; right: 25px; }
@media (max-width: 520px) { .wa-bubble { max-width: 210px; } }
@media (prefers-reduced-motion: reduce) { .wa-btn, .wa-ring { animation: none !important; } .wa-ring { display: none; } }

/* ===================================================================
   Vidéo de présentation
   =================================================================== */
.section--video { padding-top: 40px; }
.video-frame {
  position: relative; max-width: 1080px; margin: 0 auto; border-radius: 30px; overflow: hidden; background: var(--ink);
  aspect-ratio: 16 / 9; box-shadow: 0 40px 90px rgba(22, 32, 25, 0.25), 0 0 0 1px rgba(200, 161, 90, 0.35);
}
.video-frame::before { /* liseré doré animé */
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), var(--emerald), var(--gold), var(--emerald));
  animation: spin 8s linear infinite;
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }
.video-player { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 104px; height: 104px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--emerald-deep); font-size: 3rem;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.45s var(--ease), opacity 0.4s;
}
.video-play i { margin-left: 6px; }
.video-play:hover { transform: scale(1.08); }
.video-play-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.9); animation: wa-ring 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.video-frame.is-playing .video-play { opacity: 0; transform: scale(0.6); pointer-events: none; }
.video-sound {
  position: absolute; right: 18px; bottom: 18px; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.4rem; color: #fff;
  background: rgba(22, 32, 25, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.video-sound:hover { transform: scale(1.08); background: rgba(22, 32, 25, 0.75); }
@media (max-width: 520px) { .video-frame { border-radius: 20px; } .video-play { width: 78px; height: 78px; font-size: 2.3rem; } }
@media (prefers-reduced-motion: reduce) { .video-frame::before, .video-play-ring { animation: none; } }
