/* ========================================
   COSPO LINE — Showcase Website
   Dark navy + gold premium design
   ======================================== */

/* --- CSS Variables --- */
:root {
  --color-bg: #0a0e1a;
  --color-bg-light: #0f1525;
  --color-bg-card: #131a2e;
  --color-bg-card-hover: #182040;
  --color-gold: #c8a84e;
  --color-gold-light: #e0c878;
  --color-gold-dark: #a08030;
  --color-text: #e8e8ec;
  --color-text-muted: #8a8fa8;
  --color-text-dim: #5a5f78;
  --color-border: rgba(200, 168, 78, 0.15);
  --color-border-light: rgba(255, 255, 255, 0.06);
  --gradient-gold: linear-gradient(135deg, #c8a84e 0%, #e0c878 50%, #a08030 100%);
  --gradient-gold-soft: linear-gradient(135deg, rgba(200, 168, 78, 0.15) 0%, rgba(224, 200, 120, 0.05) 100%);
  --gradient-dark: linear-gradient(180deg, #0a0e1a 0%, #0f1525 100%);
  --shadow-gold: 0 0 30px rgba(200, 168, 78, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold {
  color: var(--color-gold);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--color-bg);
  box-shadow: var(--shadow-gold);
}

.logo-circle.small {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--color-text);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--transition);
}

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

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

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

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

.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);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 168, 78, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  box-shadow: 0 0 60px rgba(200, 168, 78, 0.3), 0 0 120px rgba(200, 168, 78, 0.1);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-logo-circle span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  color: var(--color-bg);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 60px rgba(200, 168, 78, 0.3), 0 0 120px rgba(200, 168, 78, 0.1); }
  50% { box-shadow: 0 0 80px rgba(200, 168, 78, 0.4), 0 0 160px rgba(200, 168, 78, 0.15); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 7vw, 80px);
  letter-spacing: 6px;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 30%, #b0b4c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 6px;
  color: var(--color-gold);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 400;
}

.hero-categories .dot {
  color: var(--color-gold);
  font-size: 18px;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 18px;
  color: var(--color-gold-light);
  font-style: italic;
  margin-bottom: 48px;
  opacity: 0.8;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 12px 28px;
  font-size: 14px;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-bg);
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(200, 168, 78, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.1);
}

.btn-secondary:hover {
  background: rgba(200, 168, 78, 0.1);
  box-shadow: 0 6px 30px rgba(200, 168, 78, 0.2);
  transform: translateY(-2px);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; height: 48px; }
  50% { opacity: 0.3; height: 32px; }
}

/* --- Sections --- */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-description {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* --- About Section --- */
.about {
  background: var(--gradient-dark);
}

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

.about-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
}

.about-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.about-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Services Section --- */
.services {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  border-color: rgba(200, 168, 78, 0.3);
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.08) 0%, var(--color-bg-card) 100%);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-gold);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon.sport {
  background: rgba(78, 140, 200, 0.15);
  color: #4e8cc8;
}

.service-icon.scolaire {
  background: rgba(78, 200, 130, 0.15);
  color: #4ec882;
}

.service-icon.culture {
  background: rgba(200, 78, 168, 0.15);
  color: #c84ea8;
}

.service-icon.caribeen {
  background: rgba(200, 168, 78, 0.15);
  color: var(--color-gold);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-light);
}

/* Services extra */
.services-extra {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.extra-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  transition: all var(--transition);
}

.extra-card:hover {
  border-color: var(--color-border);
}

.extra-icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

.extra-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.extra-card p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* --- How it works --- */
.how-it-works {
  background: var(--color-bg-light);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 40px 32px;
  max-width: 280px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.step-connector {
  color: var(--color-gold);
  opacity: 0.4;
}

/* --- Audience Section --- */
.audience {
  background: var(--color-bg);
}

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

.audience-block {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
}

.audience-block:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.audience-block.pro {
  border-color: rgba(200, 168, 78, 0.2);
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.05) 0%, var(--color-bg-card) 100%);
}

.audience-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.audience-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.audience-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.audience-list {
  margin-bottom: 28px;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 14px;
  color: var(--color-text-muted);
}

.audience-list li:last-child {
  border-bottom: none;
}

.audience-list li svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-list li strong {
  color: var(--color-text);
  font-weight: 600;
}

/* --- Accessibility Section --- */
.accessibility {
  padding: 60px 0;
  background: var(--color-bg-light);
}

.accessibility-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--color-bg-card);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

.accessibility-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.accessibility-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.accessibility-text p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta {
  background: var(--color-bg);
  padding: 120px 0;
  text-align: center;
}

.cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.cta-buttons {
  margin-bottom: 48px;
}

.cta-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border-light);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border-light);
}

.footer-tagline {
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: rgba(200, 168, 78, 0.15);
  border-color: var(--color-border);
  color: var(--color-gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: var(--color-text-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--color-text-dim);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--color-gold);
}

/* --- Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid .about-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 20px;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 100svh;
  }

  .hero-logo-circle {
    width: 90px;
    height: 90px;
    margin-bottom: 32px;
  }

  .hero-logo-circle span {
    font-size: 30px;
  }

  .hero-tagline {
    letter-spacing: 3px;
    font-size: 14px;
  }

  .hero-categories {
    font-size: 13px;
    gap: 8px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

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

  .about-grid .about-card:last-child {
    max-width: 100%;
  }

  .steps-grid {
    flex-direction: column;
    gap: 12px;
  }

  .step-connector {
    transform: rotate(90deg);
  }

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

  .accessibility-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .cta-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .services-extra {
    flex-direction: column;
    align-items: center;
  }

  .extra-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 3px;
  }

  .section-title {
    font-size: 26px;
  }

  .audience-block {
    padding: 28px 20px;
  }
}
