/* ============================================================
   LUMIDANCE — Page d'attente
   ============================================================
   Organisation :
   1. Variables & reset
   2. Fond & grille LED
   3. Overlay
   4. Hero (contenu central)
   5. Badge
   6. Titre
   7. Sous-titre
   8. Boutons de contact
   9. Chiffres clés
   10. Animations
   11. Responsive
   ============================================================ */


/* ============================================================
   1. VARIABLES & RESET
   ✏️ Modifiez les couleurs ici pour changer toute la charte
   ============================================================ */

  @font-face {
  font-family: 'Uniclo';
  src: url('./fonts/Uniclo/Uniclo-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway';
  src: url('./fonts/Raleway-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Couleur principale (violet LED) */
  --color-primary:       #2C89FE;
  --color-primary-dark:  #FD7C0E;
  --color-accent:        #FD0B5B;

  /* Fond */
  --color-bg:            #061033;

  /* Texte */
  --color-text:          #ffffff;
  --color-text-muted:    rgba(255, 255, 255, 0.9);
  --color-text-faint:    rgba(255, 255, 255, 0.75);

  /* Bordures */
  --color-border:        rgba(255, 255, 255, 0.25);
  --color-border-faint:  rgba(255, 255, 255, 0.25);

  /* Typographie */
  --font-display: 'Uniclo', 'Times New Roman', serif;
  --font-body:    'Raleway', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Vitesse des animations de pulsation LED */
  --pulse-speed: 3s;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


/* ============================================================
   2. FOND — GRILLE DE DALLES LED
   ✏️ Ajoutez ou retirez des <div class="led-tile"> dans le HTML
      pour changer le nombre de dalles
   ============================================================ */
.led-grid {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  padding: 3px;
  z-index: 0;
}

.led-tile {
  border-radius: 4px;
  background-color: var(--color);
  animation: pulse var(--pulse-speed) ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.1;
}


/* ============================================================
   3. OVERLAY — GRADIENT RADIAL
   ✏️ Ajustez les valeurs rgba pour rendre le fond plus ou moins
      visible derrière le texte
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(var(--color-bg), 0.75) 20%,
    rgba(var(--color-bg), 0.94) 100%
  );
  z-index: 1;
}


/* ============================================================
   4. HERO — CONTENU CENTRAL
   ============================================================ */
.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}


/* ============================================================
   5. BADGE "BIENTÔT DISPONIBLE"
   ✏️ Changez le texte dans le HTML
   ============================================================ */
.badge {
  display: inline-block;
  border: 1px solid var(--color-primary);
  border-radius: 40px;
  padding: 5px 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.75rem;
}

/* ============================================================
   6. LOGO
   ============================================================ */

   .logo{
    width: 90%;
    max-width: 200px;
   }

   @media (min-width: 640px) {
    .logo {
      max-width: 300px;
    }
  }

/* ============================================================
   6. TITRE PRINCIPAL
   ✏️ Modifiez la taille avec font-size ou clamp()
   ============================================================ */
.headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 45px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

/* Portion colorée du titre */
.headline-accent {
  color: var(--color-primary);
}


/* ============================================================
   7. SOUS-TITRE
   ✏️ Modifiez la taille, la couleur ou l'espacement
   ============================================================ */
.subline {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 420px;
}

@media (min-width: 640px) {
  .subline {
    margin-bottom: 2.5rem;
  }
}


/* ============================================================
   8. BOUTONS DE CONTACT
   ============================================================ */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .cta-group {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 990px) {
  .cta-group {
    margin-bottom: 3rem;
  }
}

.cta-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

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

/* Style de base commun aux deux boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 40px;
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

/* Bouton contour (Instagram) */
.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

/* Bouton principal (Devis) */
.btn-primary {
  background: var(--color-primary);
  border: 1px solid transparent;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--color-accent);
}


/* ============================================================
   9. CHIFFRES CLÉS
   ✏️ Ajoutez ou retirez des blocs .stat dans le HTML
   ============================================================ */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
}

/* Séparateur vertical entre les stats */
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border-faint);
}


/* ============================================================
   10. ANIMATIONS
   ============================================================ */

/* Pulsation des dalles LED */
@keyframes pulse {
  0%, 100% { opacity: 0.08; }
  50%       { opacity: 0.50; }
}

/* Apparition vers le haut au chargement */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fade-up 0.75s ease forwards;
  animation-delay: var(--fade-delay, 0s);
}


/* ============================================================
   11. RESPONSIVE
   ✏️ Adaptez les breakpoints à vos besoins
   ============================================================ */

/* Tablette */
@media (max-width: 640px) {
  .led-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .subline {
    font-size: 14px;
  }

  .stats {
    gap: 14px;
  }

  .stat-value {
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 400px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .stat-divider {
    display: none;
  }

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