/* =========================================================
   FONTS – HISENSE ALFABET
   ========================================================= */

@font-face {
  font-family: "Hisense Alfabet";
  src: url("../assets/fonts/HisenseAlfabet-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hisense Alfabet";
  src: url("../assets/fonts/HisenseAlfabet-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hisense Alfabet";
  src: url("../assets/fonts/HisenseAlfabet-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hisense Alfabet";
  src: url("../assets/fonts/HisenseAlfabet-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   VARIABLES & RESET
   ========================================================= */

:root {
  --black: #000;
  --white: #fff;
  --accent: #00f0c8;
  --radius: 32px;
  --container: 1440px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hisense Alfabet", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   LAYOUT GLOBAL
   ========================================================= */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.center {
  text-align: center;
}

/* =========================================================
   HEADER (FIDÈLE MAQUETTE)
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.85); /* si déjà noir, ajuste l’alpha */
  backdrop-filter: blur(6px); /* optionnel mais très premium */

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.06);
	
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-scrolled .header {
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 72px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  height: 28px;
}

.universe {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.header-center {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.header-center a {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.header-center a:hover {
  opacity: 1;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.exit-link {
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.exit-link:hover {
  opacity: 1;
}

/* =========================================================
   BLOC 1 – HERO
   ========================================================= */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hero-video video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
  border-radius: var(--radius);
}

.hero-panel {
  background: var(--black);
  border-radius: var(--radius);
  padding: 48px;
}

.hero-panel h1 {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-panel p {
  font-size: 16px;
  opacity: 0.9;
}

/* =========================================================
   BLOC 2 – ILLUSTRATION
   ========================================================= */

.illustration-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.illustration-media img {
  width: 100%;
  display: block;
}

.illustration-title {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

/* léger voile pour lisibilité, fidèle à la maquette */
.illustration-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.0) 40%
  );
  z-index: 1;
}

/* =========================================================
   BLOC 3 – TECHNOLOGIES
   ========================================================= */


.techno-card {
  border: 2px solid #e6cfa8; /* doré */
  border-radius: 32px;
  background: #000;
  overflow: hidden;
}

/* ===============================
   LIGNE HAUTE
   =============================== */

.techno-top {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  min-height: 280px;
}

/* Image gauche */
.techno-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-left: 4%;
  display: flex;
  align-items: flex-end; /* bas */
  justify-content: flex-start; /* gauche */
}

/* Titre */
.techno-hero h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 520px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: #f3e6d4; /* ivoire / doré clair */
}

.techno-hero h3 strong {
  display: block;
  font-size: 54px;
  font-weight: 700;
  color: #f7e7cf;
}
/* Illustration droite */
.techno-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}

.techno-illustration img {
  max-height: 160px;
  width: auto;
}

.techno-metric {
  font-size: 28px;
  font-weight: 700;
  color: #f5d7b2;
}

/* ===============================
   TEXTE DESCRIPTIF BAS
   =============================== */

.techno-description {
  padding: 24px 32px 32px;
}

.techno-description p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 960px;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 900px) {
  .techno-top {
    grid-template-columns: 1fr;
  }

  .techno-hero {
    min-height: 240px;
  }

  .techno-hero h3 {
    font-size: 24px;
  }

  .techno-metric {
    font-size: 22px;
  }
}

/* =========================================================
   ESPACEMENT ENTRE LES BLOCS TECHNO (BLOC 3)
   ========================================================= */

.techno-card + .techno-card {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .techno-card + .techno-card {
    margin-top: 40px;
  }
}
.techno-stack {
  display: flex;
  flex-direction: column;
}


/* =========================================================
   BLOC 4 – PRODUIT
   ========================================================= */

.gamme-header {
  text-align: center;
  margin-bottom: 72px;
}

.gamme-header h2 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  text-align: center;
}

.section.produit {
  padding-top: 64px;
  padding-bottom: 120px;
}

/* =========================================================
   GRID GLOBAL
   ========================================================= */

.produit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.produit-label {
  font-size: 28px; /* ou ta valeur actuelle */
  font-weight: 600;
  color: #fff;
  display: inline-block;
}

/* Mot RGB uniquement */
.rgb-word {
  position: relative;
  display: inline-block;
}

/* Barre de couleur */
.rgb-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ff2d2d,
    #00ff85,
    #1e90ff
  );
  border-radius: 2px;
}

/* =========================================================
   IMAGE PRODUIT
   ========================================================= */

.produit-image img {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
}

/* =========================================================
   PANEL TEXTE
   ========================================================= */

.produit-panel {
  display: flex;
  flex-direction: column;
}

/* Label RGB MiniLED */
.produit-label {
  display: inline-block;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  width: fit-content;
}

/* Titre produit */
.produit-panel h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

/* Référence */
.produit-ref {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 24px;
}

/* =========================================================
   LISTE DES SPÉCIFICATIONS
   ========================================================= */

.produit-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}

.produit-specs li {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

/* =========================================================
   CTA – STYLE MAQUETTE
   ========================================================= */

.cta {
  display: inline-block;
  width: fit-content;
  padding: 14px 36px;
  border-radius: 999px;
  border: 2px solid #00f0c8;
  color: #00f0c8;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #00f0c8;
  color: #000;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .produit-grid {
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .section.produit {
    padding: 80px 0;
  }

  .produit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .produit-panel h2 {
    font-size: 26px;
  }

  .produit-ref {
    margin-bottom: 20px;
  }

  .produit-specs {
    margin-bottom: 40px;
  }
   .section.produit {
    padding-top: 48px;
    padding-bottom: 80px;
  }
  .gamme-header {
    margin-bottom: 48px;
  }
  .gamme-header h2 {
    font-size: 36px;
  }
}

/* =========================================================
   BLOC 5 – NEWSLETTER
   ========================================================= */

.section.newsletter {
  padding: 120px 0;
  text-align: center;
  background: #000;
}

/* -------------------------
   TITRES
   ------------------------- */

.section.newsletter h2 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.newsletter-subtitle {
  font-size: 16px;
  opacity: 0.8;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* -------------------------
   FORMULAIRE
   ------------------------- */

#newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Ligne input + bouton */
.newsletter-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}

/* Champ email */
#newsletter-form input[type="email"] {
  width: 480px;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 16px;
}

#newsletter-form input[type="email"]::placeholder {
  color: #aaa;
}

#newsletter-form input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 240, 200, 0.25);
}

/* Bouton */
#newsletter-form button {
  height: 56px;
  padding: 0 36px;
  border-radius: 999px;
  border: none;
  background: #00f0c8;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

#newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 240, 200, 0.35);
}

/* -------------------------
   CHECKBOX RGPD
   ------------------------- */

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.75;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.newsletter-consent input {
  margin-top: 3px;
}

/* -------------------------
   MESSAGE DE CONFIRMATION
   ------------------------- */

#newsletter-form .message {
  margin-top: 24px;
  font-size: 14px;
  color: #00f0c8;
}

/* -------------------------
   RESPONSIVE
   ------------------------- */

@media (max-width: 768px) {

  .section.newsletter {
    padding: 80px 0;
  }

  .section.newsletter h2 {
    font-size: 36px;
  }

  .newsletter-subtitle {
    margin-bottom: 32px;
  }

  .newsletter-row {
    flex-direction: column;
    gap: 16px;
  }

  #newsletter-form input[type="email"] {
    width: 460px;
  }

  #newsletter-form button {
    width: 100%;
  }

  .newsletter-consent {
    font-size: 12px;
  }
}
/* =========================================================
   AJUSTEMENT ESPACE BLOC 4 → BLOC 5
   ========================================================= */

.section.produit {
  padding-bottom: 80px; /* au lieu de 120px ou plus */
}



/* =========================================================
   BLOC 6 – FAQ
   ========================================================= */

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-item button {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-item.open .faq-content {
  max-height: 200px;
  opacity: 1;
}

/* =========================================================
   ANIMATIONS AU SCROLL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1024px) {

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .techno-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }

  .produit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

}