/* ==========================================================================
   AQUAVAULT — Design System
   Inspiré Apple / Nothing / Tesla : minimalisme, espace, typographie forte
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Couleurs de marque — Bleu océan / Blanc / Noir */
  --black: #060708;
  --black-soft: #0d1117;
  --white: #ffffff;
  --ocean-deep: #03203d;
  --ocean: #0a5cc4;
  --ocean-bright: #0d7ae0;
  --ocean-light: #4fb8ff;
  --cyan: #00d4ff;

  --gray-950: #0a0d12;
  --gray-900: #12161d;
  --gray-700: #3c4656;
  --gray-500: #6b7684;
  --gray-400: #94a0ad;
  --gray-200: #dde3ea;
  --gray-100: #eef2f6;
  --gray-50: #f6f9fb;

  --gradient-ocean: linear-gradient(135deg, #03203d 0%, #0a5cc4 55%, #00d4ff 100%);
  --gradient-ocean-soft: linear-gradient(180deg, #eaf6ff 0%, #ffffff 100%);
  --gradient-deep: radial-gradient(120% 120% at 50% 0%, #0d3a66 0%, #03203d 45%, #060708 100%);
  --gradient-glass: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 100%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(6, 20, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(6, 20, 40, 0.10);
  --shadow-lg: 0 24px 64px rgba(6, 20, 40, 0.16);
  --shadow-ocean: 0 20px 50px rgba(10, 92, 196, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select { font-family: inherit; }

::selection { background: var(--ocean); color: var(--white); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 128px 0; }
.section--tight { padding: 88px 0; }
.section--dark { background: var(--gradient-deep); color: var(--white); }
.section--soft { background: var(--gradient-ocean-soft); }

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .section--tight { padding: 64px 0; }
  .wrap { padding: 0 20px; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocean);
}
.section--dark .eyebrow, .section--dark .eyebrow::before { color: var(--cyan); background: var(--cyan); }

/* Signature typographique : chiffres techniques (prix, stats, dimensions) en monospace,
   comme un readout d'instrument — contraste volontaire avec l'Inter du reste de l'interface */
.mono-num {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.display-1 { font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.display-2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.display-3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.02em; }

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.55;
  max-width: 560px;
}
.section--dark .lede { color: rgba(255,255,255,0.68); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-ocean);
  color: var(--white);
  box-shadow: var(--shadow-ocean);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px rgba(10, 92, 196, 0.38); }
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--ocean-deep); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--black);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--ocean); color: var(--ocean); }
.btn-block { width: 100%; }
.btn-lg { padding: 20px 40px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .3s var(--ease);
}
.icon-btn:hover { background: var(--gray-100); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--gray-100);
  padding: 12px 0;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--white); transition: color .4s var(--ease); }
.header.is-solid .logo { color: var(--black); }
.logo svg { width: 26px; height: 26px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82);
  transition: color .3s var(--ease);
  position: relative;
}
.header.is-solid .nav-links a { color: var(--gray-700); }
.nav-links a:hover { color: var(--white); }
.header.is-solid .nav-links a:hover { color: var(--black); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions .icon-btn svg { stroke: var(--white); transition: stroke .4s var(--ease); }
.header.is-solid .header-actions .icon-btn svg { stroke: var(--black); }

.mobile-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1200;
  background: var(--black);
  display: flex; flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { color: var(--white); font-size: 28px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; }
.mobile-nav-close svg { stroke: var(--white); }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  background: var(--gray-100); color: var(--gray-700);
}
.badge svg { width: 14px; height: 14px; }
.badge--ocean { background: rgba(10, 92, 196, 0.10); color: var(--ocean); }
.badge--light { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }

.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: #ffb703; stroke: none; }

/* ---------- Prix produit (fiche produit + accueil) ---------- */
.product-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.product-price .now { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.product-price .old { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; font-size: 19px; color: var(--gray-400); text-decoration: line-through; }
.product-price-note { font-size: 13px; color: var(--gray-500); margin-bottom: 28px; }

/* ---------- Emplacement Shopify Buy Button ---------- */
.cta-stack { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.buy-button-slot {
  border: 1.5px dashed var(--ocean-light);
  border-radius: var(--radius-md);
  background: rgba(10, 92, 196, 0.04);
  padding: 28px 24px;
  text-align: center;
}
.buy-button-slot-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(10, 92, 196, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.buy-button-slot-icon svg { width: 22px; height: 22px; color: var(--ocean); }
.buy-button-slot-label { font-size: 15px; font-weight: 700; color: var(--ocean-deep); margin-bottom: 6px; }
.buy-button-slot-hint { font-size: 13px; color: var(--gray-500); line-height: 1.55; max-width: 380px; margin: 0 auto; }
.buy-button-slot code {
  display: inline-block; margin-top: 14px; padding: 6px 12px;
  background: var(--gray-900); color: var(--cyan);
  border-radius: var(--radius-sm); font-size: 12px; font-family: var(--font-mono);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- Grid utilities ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,0.65); padding: 96px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 64px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.footer h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.01em; }
.footer ul li { margin-bottom: 12px; }
.footer a { font-size: 14px; transition: color .3s var(--ease); }
.footer a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-socials svg { width: 16px; height: 16px; stroke: var(--white); }
.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.payment-icons { display: flex; gap: 10px; }
.payment-icons span { padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,0.08); font-size: 11px; font-weight: 700; letter-spacing: .02em; }

.newsletter-form { display: flex; gap: 8px; max-width: 340px; }
.newsletter-form input {
  flex: 1; padding: 14px 16px; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: var(--white); font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { width: 44px; height: 44px; border-radius: 50%; background: var(--ocean-bright); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.newsletter-form button svg { width: 18px; height: 18px; stroke: var(--white); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 26px 4px; font-size: 17px; font-weight: 600; text-align: left;
  color: var(--black);
}
.accordion-trigger .plus { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: ''; position: absolute; background: var(--ocean); border-radius: 2px;
  transition: transform .4s var(--ease);
}
.accordion-trigger .plus::before { width: 16px; height: 2px; top: 11px; left: 4px; }
.accordion-trigger .plus::after { width: 2px; height: 16px; top: 4px; left: 11px; }
.accordion-item.is-open .plus::after { transform: rotate(90deg) scaleX(0); }
.accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease);
}
.accordion-panel-inner { padding: 0 4px 26px; color: var(--gray-500); font-size: 15px; line-height: 1.65; max-width: 640px; }

/* ---------- Utility ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.text-white { color: var(--white); } .text-muted { color: var(--gray-500); }
.container-narrow { max-width: 780px; margin: 0 auto; }
