/* =================================================================
   ONEPADEL — Static Stylesheet
   Reconstruction fidèle du site Framer
   ================================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Onest';
  src: url('../assets/fonts/onest.woff2') format('woff2'),
       url('../assets/fonts/onest-google.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/fontshare-1.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/fontshare-2.woff2') format('woff2');
  font-weight: 500 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Onest', 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #0f0f1a;
  background: #fcfcfc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }
.container.wide   { max-width: 1320px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .2s ease, background .25s ease, box-shadow .25s ease;
  text-align: center;
}
.btn-primary {
  background: #4760ff;
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(71, 96, 255, .55);
}
.btn-primary:hover {
  background: #3a52f0;
  transform: translateY(-1px);
}
.btn-cta {
  background: #c8ff5b;
  color: #0f0f1a;
  padding: 10px 22px;
  font-size: 14px;
}
.btn-cta:hover { background: #b8ee45; }

/* ---------- Reveal animation (intersection observer) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =================================================================
   NAVIGATION
   ================================================================= */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(640px, calc(100% - 32px));
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-radius: 999px;
  padding: 8px 18px 8px 12px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .15);
}
.nav-logo {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}
.nav-logo img { width: 32px; height: 32px; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a2e;
}
.nav-links a:hover { color: #4760ff; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  width: min(640px, calc(100% - 32px));
  margin: 8px auto 0;
  padding: 16px 24px;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  pointer-events: auto;
  font-size: 16px;
  font-weight: 500;
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile.open { display: flex; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(120, 160, 255, .25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(80, 110, 220, .18) 0%, transparent 60%),
    linear-gradient(180deg, #134591 0%, #0f3679 35%, #0a234a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 90%, rgba(255,255,255,.06), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.05), transparent 30%);
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, #fcfcfc);
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.hero-brand {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  line-height: 1.05;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  max-width: 720px;
  margin: 0 auto 22px;
}
.hero-meta {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}

/* =================================================================
   PITCH
   ================================================================= */
.pitch {
  background: #fcfcfc;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
}
.stars {
  color: #ffb142;
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.pitch-text {
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1a1a2e;
  max-width: 900px;
  margin: 0 auto;
}

/* =================================================================
   PRODUCT IMAGE
   ================================================================= */
.product-image {
  padding: 0 0 80px;
}
.product-figure {
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  background: #f0f0f5;
  max-width: 980px;
  box-shadow: 0 20px 60px -28px rgba(15, 47, 89, .35);
}
.product-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}
@media (min-width: 768px) {
  .product-figure img { aspect-ratio: 16 / 10; }
}

/* =================================================================
   PRODUCT BLOCK
   ================================================================= */
.product-block {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
}
.product-block h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
}
.product-block p {
  color: #4a4a5e;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.6;
}

/* =================================================================
   CAROUSEL
   ================================================================= */
.carousel-section {
  padding: 40px 0 100px;
  background: #fcfcfc;
}
.carousel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0a1a;
}
.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.45,.05,.15,.95);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a1a;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: #0a0a1a;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background .25s ease, transform .2s ease;
}
.carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d0d0dc;
  transition: background .25s, width .25s;
  cursor: pointer;
}
.carousel-dot[aria-selected="true"] {
  background: #4760ff;
  width: 22px;
  border-radius: 4px;
}

/* =================================================================
   FAQ
   ================================================================= */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
  background: #fcfcfc;
  text-align: center;
}
.faq-tag {
  font-size: 14px;
  text-transform: lowercase;
  color: #6b6b80;
  margin-bottom: 12px;
}
.faq h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}
.faq-sub {
  color: #4a4a5e;
  font-size: 16px;
  margin-bottom: 48px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.faq-item {
  border: 1px solid #e8e8ee;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .25s ease;
}
.faq-item[open] {
  border-color: #d8d8e6;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.12);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform .3s ease;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: #1a1a2e;
  transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 14px; height: 2px; }
.faq-toggle::after  { width: 2px; height: 14px; transition: transform .3s ease; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-content {
  padding: 0 24px 22px;
  color: #4a4a5e;
  font-size: 15px;
  line-height: 1.6;
}

/* =================================================================
   CTA NEWSLETTER
   ================================================================= */
.cta-newsletter {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: #0a234a;
}
.cta-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/images/padel-cta.jpg');
  background-size: cover;
  background-position: center;
  opacity: .9;
}
.cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,35,74,.55), rgba(10,35,74,.75));
}
.cta-inner { position: relative; z-index: 2; }
.cta-tag {
  display: inline-block;
  background: rgba(255,255,255,.95);
  color: #0a0a1a;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.cta-newsletter h2 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  max-width: 480px;
  margin: 0 auto 24px;
  gap: 6px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 18px;
  font: inherit;
  font-size: 15px;
  color: #0a0a1a;
  min-width: 0;
}
.newsletter-form input[type="email"]::placeholder { color: #8e8eaa; }
.cta-foot {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto;
}
.hp { position: absolute; left: -9999px; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: #fcfcfc;
  color: #1a1a2e;
  padding: 80px 0 30px;
  border-top: 1px solid #ececf0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  object-fit: contain;
}
.footer-brand p {
  color: #6b6b80;
  font-size: 14px;
  line-height: 1.55;
  max-width: 320px;
}
.footer h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4a4a5e;
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: #1a1a2e;
  font-size: 14px;
  transition: color .2s;
}
.footer ul a:hover { color: #4760ff; }
.footer-bottom {
  border-top: 1px solid #ececf0;
  padding-top: 24px;
  font-size: 13px;
  color: #8e8eaa;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 768px) {
  .nav { padding: 6px 6px 6px 8px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { padding: 120px 20px 60px; min-height: 88vh; }
  .hero-title { font-size: clamp(34px, 9vw, 52px); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .carousel-arrow { width: 38px; height: 38px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-slide { aspect-ratio: 4 / 5; }

  .newsletter-form {
    flex-direction: column;
    border-radius: 22px;
    padding: 12px;
  }
  .newsletter-form input[type="email"] {
    width: 100%;
    text-align: center;
  }
  .newsletter-form .btn-cta { width: 100%; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .pitch-text { font-size: 19px; }
}
