/* ==========================================================================
   AQUAVAULT — Styles page d'accueil
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--gradient-deep);
  color: var(--white);
  overflow: hidden;
  padding-top: 90px;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-bg-blob.b1 { width: 520px; height: 520px; background: radial-gradient(circle, #0a5cc4, transparent 70%); top: -120px; left: -120px; }
.hero-bg-blob.b2 { width: 420px; height: 420px; background: radial-gradient(circle, #00d4ff, transparent 70%); bottom: -140px; right: -80px; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.hero-copy .badge { margin-bottom: 24px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 span { background: linear-gradient(90deg, #4fb8ff, #00d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lede { max-width: 480px; margin-bottom: 36px; color: rgba(255,255,255,0.72); }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); }
.hero-trust-item strong { color: var(--white); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 560px; }

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  z-index: 2;
}
.scroll-hint .line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent); animation: float 2.4s ease-in-out infinite; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { height: 420px; order: -1; }
}

/* ---------- Photo produit réelle (hero, teaser, démo) ---------- */
.photo-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(3, 20, 40, 0.5), 0 0 0 1px rgba(255,255,255,0.08);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 70px rgba(3, 20, 40, 0.35);
  pointer-events: none;
}
.hero-photo-frame { max-width: 580px; aspect-ratio: 698 / 430; }
.hero-photo-badge {
  position: absolute; bottom: 18px; left: 18px; z-index: 2;
}
.photo-frame.sm { max-width: 280px; aspect-ratio: 419 / 480; border-radius: var(--radius-md); }
.photo-frame.wide { aspect-ratio: 698 / 430; border-radius: var(--radius-md); }

/* Bulles ambiantes (superposées aux photos produit dans l'eau) */
.pv-bubbles { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 1; }

/* ---------- Marquee trust bar ---------- */
.trust-bar { background: var(--gray-950); padding: 22px 0; overflow: hidden; }
.marquee-item { display: flex; align-items: center; gap: 12px; padding: 0 40px; color: rgba(255,255,255,0.55); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.marquee-item svg { width: 18px; height: 18px; color: var(--cyan); }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.feature-row + .feature-row { margin-top: 120px; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual { display: flex; justify-content: center; }
.feature-visual-box {
  width: 100%; aspect-ratio: 4/3.4;
  border-radius: var(--radius-lg);
  background: var(--gradient-ocean-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual-box .icon-hero { width: 96px; height: 96px; color: var(--ocean); opacity: 0.9; }
.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--gray-700); }
.feature-list svg { width: 20px; height: 20px; color: var(--ocean); flex-shrink: 0; margin-top: 1px; }

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .feature-row.reverse .feature-visual { order: 0; }
  .feature-row + .feature-row { margin-top: 72px; }
}

/* ---------- Démo étanchéité ---------- */
.demo-section { position: relative; overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.demo-visual { position: relative; height: 440px; display: flex; align-items: center; justify-content: center; }
.demo-rings { position: absolute; width: 260px; height: 260px; }
.demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.demo-stat { text-align: left; }
.demo-stat .num { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; background: linear-gradient(90deg, #4fb8ff, #00d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

.video-card {
  margin-top: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  cursor: pointer;
  transition: background .4s var(--ease);
}
.video-card:hover { background: rgba(255,255,255,0.09); }
.video-card .play-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-ocean);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.video-card .play-circle svg { width: 18px; height: 18px; color: var(--white); }
.video-card strong { display: block; font-size: 15px; }
.video-card span { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ---------- Why us grid ---------- */
.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-card { text-align: left; }
.why-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(10, 92, 196, 0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 24px; height: 24px; color: var(--ocean); }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ---------- Use cases ---------- */
.usecase-grid { grid-template-columns: repeat(4, 1fr); }
.usecase-card {
  border-radius: var(--radius-md);
  background: var(--gradient-deep);
  color: var(--white);
  padding: 32px 24px;
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease);
}
.usecase-card:hover { transform: translateY(-8px); }
.usecase-card .why-icon { background: rgba(255,255,255,0.12); }
.usecase-card .why-icon svg { color: var(--cyan); }
.usecase-card h3 { font-size: 17px; margin-bottom: 6px; }
.usecase-card p { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.5; }

@media (max-width: 900px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.compare-table th, .compare-table td { padding: 20px 24px; text-align: center; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--gray-700); font-weight: 500; }
.compare-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-400); padding-top: 28px; padding-bottom: 20px; }
.compare-table thead th.brand { color: var(--ocean); font-weight: 800; font-size: 15px; text-transform: none; letter-spacing: normal; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--ocean); }
.compare-table .yes svg { width: 20px; height: 20px; }
.compare-table .no { color: var(--gray-400); }
.compare-table .no svg { width: 16px; height: 16px; }
.compare-table td.highlight, .compare-table th.highlight { background: rgba(10, 92, 196, 0.05); }
.table-scroll { overflow-x: auto; }

/* ---------- Testimonials ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 24px; transition: transform .6s var(--ease); }
.testimonial-card { min-width: calc(33.333% - 16px); }
.testimonial-card .stars { margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; color: var(--gray-700); line-height: 1.65; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-ocean); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.testimonial-author .name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.testimonial-author .loc { font-size: 13px; color: var(--gray-400); }
.verified { color: var(--ocean); width: 15px; height: 15px; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.carousel-controls .icon-btn { background: var(--gray-100); }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); transition: background .3s var(--ease), transform .3s var(--ease); }
.carousel-dot.is-active { background: var(--ocean); transform: scale(1.3); }
[data-carousel-dots] { display: flex; gap: 8px; }

@media (max-width: 900px) { .testimonial-card { min-width: calc(50% - 12px); } }
@media (max-width: 620px) { .testimonial-card { min-width: 100%; } }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; background: var(--black); color: var(--white); }
.stats-grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-num { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -0.02em; background: linear-gradient(90deg, #4fb8ff, #00d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-lbl { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.55); }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } }

/* ---------- Final CTA ---------- */
.final-cta {
  border-radius: var(--radius-lg);
  background: var(--gradient-ocean);
  color: var(--white);
  padding: 96px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 32px;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 55%);
}
.final-cta h2 { max-width: 640px; margin: 0 auto 20px; position: relative; z-index: 1; }
.final-cta .lede { color: rgba(255,255,255,0.82); margin: 0 auto 40px; position: relative; z-index: 1; }
.final-cta-badges { display: flex; justify-content: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.final-cta-badges .hero-trust-item { color: rgba(255,255,255,0.85); }
.final-cta-actions { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .final-cta { padding: 64px 28px; margin: 0 16px; }
}

/* ---------- Mini shop card (aperçu produit) ---------- */
.shop-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; background: var(--gray-50); border-radius: var(--radius-lg); padding: 56px; }
.shop-teaser-visual { display: flex; justify-content: center; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 28px; }
.price-now { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--black); }
.price-old { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: 18px; color: var(--gray-400); text-decoration: line-through; }
.price-save { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ocean); background: rgba(10,92,196,0.1); padding: 4px 10px; border-radius: var(--radius-full); }
@media (max-width: 900px) { .shop-teaser { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; } .shop-teaser-visual { order: -1; } .price-row { justify-content: center; } }
