/* =============================================================
   style.css — Design MINIMALISTE ÉLÉGANT — Iron TV Pro
   Polices : Sora (titres) + Inter (texte)
   ============================================================= */

/* ---------------------------------------------------------------
   1. VARIABLES CSS — Palette minimaliste sombre
--------------------------------------------------------------- */
:root {
  --bg-dark:     #09090b;   /* Fond principal (noir pur) */
  --bg-card:     #111113;   /* Fond des cartes (gris très sombre) */
  --bg-elevated: #18181b;   /* Fond surélevé (hover, nav mobile) */
  --border:      #1f1f23;   /* Bordures ultra discrètes */
  --accent:      #8b5cf6;   /* Violet clair */
  --gold:        #7c3aed;   /* Violet moyen */
  --gold-light:  #a78bfa;   /* Violet clair pour highlights */
  --text:        #fafafa;   /* Texte principal (blanc pur) */
  --text-muted:  #71717a;   /* Texte secondaire (gris zinc) */
  --text-subtle: #52525b;   /* Texte très discret */
  --radius:      8px;       /* Arrondi discret */
  --radius-lg:   16px;      /* Arrondi large */
}

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

/* ---------------------------------------------------------------
   3. BASE — Typographie Inter + Sora
--------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background-color: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Titres en Sora — moderne et géométrique */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

/* ---------------------------------------------------------------
   4. SCROLLBAR — Ultra fine et discrète
--------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--text-subtle);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---------------------------------------------------------------
   5. NAVIGATION — Barre fine et épurée
--------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: rgba(9, 9, 11, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Logo minimaliste */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.navbar-logo i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Image logo dans la navbar */
.navbar-logo-img {
  height: 36px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
}

/* "PRO" en or */
.navbar-logo span {
  color: var(--gold-light);
  font-weight: 800;
}

/* Liens de navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-elevated);
}

.nav-links a.active {
  color: var(--text);
  background: var(--bg-elevated);
}

/* Hamburger */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
}

/* ---------------------------------------------------------------
   6. BOUTONS — Épurés
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

/* Bouton principal — rouge solid */
.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}

/* Bouton secondaire — contour fin */
.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-subtle);
  background: var(--bg-elevated);
}

/* ---------------------------------------------------------------
   7. TITRES DE SECTION
--------------------------------------------------------------- */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--text);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto;
}

.section-title .underline {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
}

/* ---------------------------------------------------------------
   8. FOOTER — Minimaliste
--------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 56px 40px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  color: var(--text);
  border-color: var(--text-subtle);
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

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

.footer-links a {
  color: var(--text-subtle);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links a i {
  display: none; /* Pas de chevrons — minimaliste */
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-contact i {
  color: var(--text-muted);
  width: 16px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-subtle);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-subtle);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--text-muted);
}

/* ---------------------------------------------------------------
   9. WHATSAPP FLOTTANT — Style intégré au thème
--------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  background: var(--accent);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
  z-index: 998;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float i {
  font-size: 1.2rem;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(139, 92, 246, 0.5);
  background: #7c3aed;
}

/* Texte caché sur mobile, visible sur desktop */
.whatsapp-float span {
  display: inline;
}

@media (max-width: 480px) {
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float i {
    font-size: 1.3rem;
  }
}

/* ---------------------------------------------------------------
   10. BOUTON RETOUR EN HAUT — Discret
--------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  color: var(--text);
  border-color: var(--text-subtle);
}

/* ---------------------------------------------------------------
   11. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 2px;
    z-index: 999;
  }

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

  .hamburger-btn {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

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

  .scroll-top-btn {
    bottom: 84px;
    right: 16px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}
