/* ============================================
   PROSPECTIS — Design System partagé
   ============================================ */

/* ----- VARIABLES ----- */
:root {
  /* Fonds */
  --navy:   #0D1B2A;
  --navy2:  #152638;
  --navy3:  #1e3a52;
  --card:   #162030;
  --border: rgba(255, 255, 255, 0.07);

  /* Accents */
  --teal:   #00C9A7;
  --teal2:  #00B4D8;
  --coral:  #FF6B35;
  --gold:   #F4C95D;

  /* Texte */
  --white:  #F0F4F8;
  --muted:  #7A96B0;

  /* Typographie */
  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Rayons */
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  20px;
  --radius-xl:  24px;
  --radius-2xl: 32px;

  /* Ombres */
  --shadow-teal:  0 8px 24px rgba(0,201,167,0.3);
  --shadow-coral: 0 8px 24px rgba(255,107,53,0.3);
}

/* ----- RESET ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ----- BACKGROUND AMBIANCE ----- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%,    rgba(0,180,216,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%,  rgba(255,107,53,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(0,201,167,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----- LAYOUT ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ----- LOGO ----- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.82); }
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--white);
}

.logo-text span { color: var(--teal); }

/* ----- NAVBAR ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 50px;
  background: transparent;
  border: 1.5px solid rgba(0,201,167,0.3);
  color: var(--teal) !important;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: rgba(0,201,167,0.08);
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,201,167,0.2);
}

/* Mobile menu toggle */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-burger { display: flex; z-index: 100; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(13,27,42,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; color: var(--white); }
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: #00E0BB;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,201,167,0.3);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
}

.btn-coral:hover {
  background: #ff8050;
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

/* ----- CARDS ----- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(0,201,167,0.25);
  transform: translateY(-4px);
}

/* ----- BADGES & LABELS ----- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-teal {
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.22);
  color: var(--teal);
}

.badge-coral {
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.22);
  color: var(--coral);
}

/* ----- SECTION HEADER ----- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge { margin-bottom: 20px; }

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header h2 em {
  font-style: normal;
  color: var(--teal);
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Ligne décorative animée sous les h2 de section */
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 14px auto 0;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.25s;
}
.section-header.visible h2::after {
  transform: scaleX(1);
}

/* ----- DIVIDER ----- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ----- FOOTER ----- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .section    { padding: 80px 0; }
  .section-sm { padding: 53px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ----- RESPONSIVE MOBILE (≤ 480px) ----- */
@media (max-width: 480px) {
  .section        { padding: 64px 0; }
  .section-sm     { padding: 43px 0; }
  .container      { padding: 0 16px; }
  .section-header { margin-bottom: 44px; }
}

/* ----- ANIMATIONS ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ----- UTILITY ----- */
.hidden { display: none !important; }
.text-teal   { color: var(--teal); }
.text-coral  { color: var(--coral); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
