/* ==========================================================================
   CFS — Page "bientôt disponible"
   ========================================================================== */

:root {
  --cfs-green: #0c7c42;
  --cfs-green-dark: #096436;
  --overlay-dark: #0e2a1f;
  --overlay-light: #1c3b30;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.82);
  --text-faint: rgba(255, 255, 255, 0.55);
  --max-width: 900px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background-color: var(--overlay-dark);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Hero section ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(180deg, rgba(10, 30, 22, 0.55) 0%, rgba(10, 30, 22, 0.45) 40%, rgba(8, 24, 18, 0.75) 100%),
    url("images/fond.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ---------- Header / logo ---------- */

.hero__header {
  width: 100%;
  padding: 40px 60px 0;
}

.logo {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* ---------- Main content ---------- */

.hero__content {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
}

.title {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);  /* était clamp(1.9rem, 4.4vw, 3.4rem) */
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  max-width: 26ch;                           /* était 18ch */
}

.subtitle {
  font-size: clamp(0.85rem, 1.3vw, 1rem);    /* était clamp(1rem, 1.7vw, 1.25rem) */
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 66ch;
  font-weight: 400;
}

.launch-note {
  font-size: clamp(0.85rem, 1.2vw, 1rem);   /* était clamp(1rem, 1.6vw, 1.2rem) */
  color: var(--text-white);
  font-weight: 500;
}

.launch-note span {
  font-weight: 100;
}

.cta-button {
  display: inline-block;
  background-color: var(--cfs-green);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;      /* était 1.05rem */
  padding: 13px 34px;     /* était 16px 40px */
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(12, 124, 66, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background-color: var(--cfs-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(12, 124, 66, 0.45);
}

.cta-button:focus-visible {
  outline: 3px solid var(--text-white);
  outline-offset: 3px;
}

/* ---------- Social icons ---------- */

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover,
.social-icon:focus-visible {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.social-icon:focus-visible {
  outline: 2px solid var(--text-white);
  outline-offset: 2px;
}

/* ---------- Footer ---------- */

.hero__footer {
  width: 100%;
  text-align: center;
  padding: 20px 24px 32px;
}

.hero__footer p {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 400;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cfs-green);
  box-shadow: 0 0 0 0 rgba(12, 124, 66, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(12, 124, 66, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(12, 124, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 124, 66, 0); }
}
/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

/* Tablettes */
@media (max-width: 900px) {
  .hero__header {
    padding: 32px 32px 0;
  }

  .hero__content {
    gap: 22px;
    padding: 32px 20px;
  }

  .logo {
    height: 38px;
  }
}

/* Mobiles larges */
@media (max-width: 600px) {
  .hero {
    background-position: 68% center;
  }

  .hero__header {
    padding: 24px 20px 0;
  }

  .logo {
    height: 32px;
  }

  .hero__content {
    gap: 18px;
    padding: 24px 18px;
  }

  .title {
    max-width: 20ch;
  }

  .subtitle {
    max-width: 44ch;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Petits mobiles */
@media (max-width: 360px) {
  .title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .social-links {
    gap: 12px;
  }
}

/* Grands écrans */
@media (min-width: 1600px) {
  .hero__content {
    max-width: 1100px;
  }

  .title {
    font-size: 3.6rem;
  }
}

/* Hauteur réduite (paysage mobile) */
@media (max-height: 500px) {
  .hero__content {
    gap: 14px;
    padding: 20px;
  }

  .hero__header {
    padding: 16px 24px 0;
  }
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .cta-button,
  .social-icon {
    transition: none;
  }
}
