/* ============================================================
   PADEL CÔTIÈRE — Premium Landing Page
   Vanilla CSS — Variables, Animations, Glassmorphism, Responsive
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Palette */
  --royal-blue: #0062E6;
  --royal-blue-deep: #004BB5;
  --golden-yellow: #FFD500;
  --cyan-electric: #00BFFF;
  --cyan-hover: #009FD4;
  --navy-dark: #0B1529;
  --navy-footer: #0D1B2A;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --text-dark: #1A1A2E;
  --text-muted: #5A6278;
  --overlay-dark: rgba(11, 21, 41, 0.60);

  /* Typography */
  --font-main: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 4px 16px rgba(0, 191, 255, 0.35);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Utility ── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--golden-yellow);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  font-weight: 400;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--cyan-electric);
  color: var(--white);
  border-color: var(--cyan-electric);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--cyan-hover);
  border-color: var(--cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 191, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVIGATION — Glassmorphism Sticky
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 0;
  transition: var(--transition);
}

.header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 12px auto;
  width: 90%;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-nav);
}

.header.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo .logo-accent {
  color: var(--golden-yellow);
}

.logo img {
  height: 110px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo {
  color: var(--text-dark);
}

.header.scrolled .logo img {
  transform: scale(0.9);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--golden-yellow);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.header.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.8rem !important;
  border-radius: 50px !important;
  letter-spacing: 0.08em !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--text-dark);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0B1529 0%, #0062E6 50%, #004BB5 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  animation: fadeUp 1s ease-out;
}

.hero-content .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 1s ease-out 0.2s both;
}

.hero-content .hero-separator {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--golden-yellow);
  margin: 24px auto;
  border-radius: 2px;
  animation: fadeUp 1s ease-out 0.15s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SECTION — TEASER OUVERTURE
   ============================================================ */
.teaser-ouverture {
  padding: var(--section-padding);
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.teaser-ouverture::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 213, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.teaser-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.teaser-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 213, 0, 0.15);
  color: var(--golden-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 213, 0, 0.3);
}

.teaser-ouverture h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--golden-yellow);
  letter-spacing: -0.02em;
}

.teaser-ouverture p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 16px;
}

.teaser-ouverture p strong {
  color: var(--white);
}

.teaser-ouverture .btn {
  margin-top: 24px;
}

/* ============================================================
   SECTION — LE PADEL POUR TOUS
   ============================================================ */
.padel-pour-tous {
  padding: var(--section-padding);
  background: var(--white);
}

.padel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.padel-text .section-title {
  text-align: left;
  margin-bottom: 8px;
}

.padel-text .padel-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.padel-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.padel-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #e0e7ef 0%, #c8d6e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.padel-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.placeholder-label {
  position: absolute;
  color: #a0aec0;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* ============================================================
   SECTION — NOS INFRASTRUCTURES
   ============================================================ */
.infrastructures {
  padding: var(--section-padding);
  background: var(--royal-blue);
  position: relative;
}

.infrastructures .section-title {
  color: var(--golden-yellow);
  margin-bottom: 56px;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.infra-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: default;
}

.infra-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.infra-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #e0e7ef 0%, #c8d6e5 100%);
  overflow: hidden;
  position: relative;
}

.infra-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-card-body {
  padding: 24px;
}

.infra-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.infra-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   SECTION — CTA
   ============================================================ */
.cta-section {
  padding: var(--section-padding);
  background: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-section .cta-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION — PARTENAIRES
   ============================================================ */
.partenaires {
  padding: 80px 0;
  background: var(--royal-blue);
}

.partenaires .section-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  width: 160px;
  height: 90px;
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  padding: 16px;
}

.partner-logo:hover {
  background: var(--off-white);
  transform: scale(1.08);
}

.partner-logo a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.partner-logo svg {
  width: 36px;
  height: 36px;
  fill: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-footer);
  padding: 80px 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.footer-info h3 span {
  color: var(--golden-yellow);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--cyan-electric);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-item a:hover {
  color: var(--cyan-electric);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: var(--cyan-electric);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* Footer Form */
.footer-form-section h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 191, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan-electric);
  background: rgba(0, 191, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.footer-form .btn-primary {
  width: 100%;
  margin-top: 4px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   ANIMATIONS — Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 992px) {
  .header .nav-container {
    padding: 8px 20px;
    margin: 8px auto;
  }

  .logo img {
    height: 70px;
  }

  .header.scrolled .logo img {
    height: 60px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 5%;
    right: 5%;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(11, 21, 41, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 999;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    padding: 12px 0;
    margin-top: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    color: var(--white) !important;
    padding: 14px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin: 8px 16px 4px;
    text-align: center !important;
    border-radius: var(--radius-sm) !important;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .padel-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .padel-image-placeholder {
    order: -1;
  }

  .infra-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --section-padding: 64px 0;
  }

  .header .nav-container {
    padding: 6px 16px;
    margin: 6px auto;
  }

  .logo img {
    height: 55px;
  }

  .header.scrolled .logo img {
    height: 48px;
  }

  .hero {
    min-height: 85vh;
  }

  .infra-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .partners-grid {
    gap: 24px;
  }

  .partner-logo {
    width: 64px;
    height: 64px;
  }
}