/* =====================================================
   VARIABLES
===================================================== */
:root {
  --bg-main: #070A13;
  --bg-soft: #0E1324;
  --glass: rgba(255, 255, 255, 0.06);
  --accent: #7C7CFF;
  --text-main: #F4F6FF;
  --text-muted: #A5ACC7;
}

/* =====================================================
   RESET GLOBAL
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================================================
   GLOBAL
===================================================== */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

a {
  text-decoration: none;
}

/* =====================================================
   HEADER / TOPBAR
===================================================== */
.topbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

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

/* =====================================================
   LANGUAGE SWITCH — BLANC ABSOLU (DÉFINITIF)
===================================================== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* Tous les éléments FR / EN */
.lang-switch,
.lang-switch span,
.lang-switch a,
.lang-switch a:link,
.lang-switch a:visited,
.lang-switch a:hover,
.lang-switch a:active,
.lang-switch a:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Langue active */
.lang-switch .active {
  font-weight: 700;
  text-decoration: underline;
}

/* Séparateur | */
.lang-switch .separator {
  opacity: 0.7;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 30% 30%, rgba(124,124,255,.25), transparent 60%),
    linear-gradient(180deg, rgba(7,10,19,.6), #070A13),
    url("assets/hero-ai.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-muted);
}

/* =====================================================
   HERO ACTIONS
===================================================== */
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn-primary {
  background: var(--accent);
  color: #ffffff !important;
  border: none;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124,124,255,.4);
}

.btn-secondary {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid var(--accent);
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
}

/* =====================================================
   STATS
===================================================== */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: -80px;
  padding-bottom: 120px;
}

.stat-card {
  background: var(--glass);
  backdrop-filter: blur(14px);
  padding: 30px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.stat-card h3 {
  font-size: 40px;
  color: var(--accent);
}

.stat-card p {
  color: var(--text-muted);
  margin-top: 10px;
}

/* =====================================================
   CONTACT FORM
===================================================== */
.contact {
  max-width: 700px;
  margin: auto;
  padding: 120px 40px;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
}

.contact textarea {
  min-height: 140px;
  resize: vertical;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}



/* ===========================
   MODAL SUCCESS
=========================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #0E1324;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.modal-content h3 {
  margin-bottom: 15px;
  color: #ffffff;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
}



/* =====================================================
   MULTI-CHANNEL AUTOMATION
===================================================== */
.contact-channels {
  max-width: 1000px;
  margin: auto;
  padding: 80px 40px;
  text-align: center;
}

.contact-channels h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-channels p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 17px;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.channel-item {
  background: var(--glass);
  backdrop-filter: blur(14px);
  padding: 18px 20px;
  border-radius: 14px;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.channels-note {
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
}




/* =====================================================
   RESPONSIVE — MOBILE FIRST
===================================================== */
@media (max-width: 768px) {
	
	
	.logo h1 {
    font-size: 34px;   /* au lieu de 20px */
    font-weight: 800;
    letter-spacing: 0.2px;
  }
  /* ---------- HEADER ---------- */
  .topbar {
    padding: 20px;
    position: relative;
  }

  .logo h1 {
    font-size: 30px;
  }

  .lang-switch {
    font-size: 13px;
  }

  /* ---------- HERO ---------- */
  .hero {
    min-height: auto;
    padding: 80px 20px 60px;
    background-position: center top;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  /* Supprime l’effet desktop du <br> */
  .hero h1 br {
    display: none;
  }

  .hero p {
    font-size: 16px;
    margin-top: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  /* ---------- STATS ---------- */
  .stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px 80px;
  }

  .stat-card {
    padding: 24px;
  }

  .stat-card h3 {
    font-size: 32px;
  }

  /* ---------- CONTACT CHANNELS ---------- */
  .contact-channels {
    padding: 60px 20px;
  }

  .contact-channels h2 {
    font-size: 28px;
  }

  /* ---------- CONTACT ---------- */
  .contact {
    padding: 80px 20px;
  }

  .contact h2 {
    font-size: 28px;
  }

}

