/* ==============================
   MADE IN VIDÉO – style.css
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --bleu:     #1a2a4a;
  --bleu-clair: #2c4a7c;
  --or:       #c9a84c;
  --blanc:    #ffffff;
  --gris-clair: #f5f5f5;
  --gris-texte: #555;
  --rouge:    #d0021b;
  --nav-height: 120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  background: var(--blanc);
  line-height: 1.6;
}

/* ─── HEADER / NAV ─── */
header {
  background: var(--bleu);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-block img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; }

.logo-text { color: var(--blanc); }
.logo-text .brand { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.logo-text .tagline { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--or); font-weight: 600; }

/* liens rapides (accès client) */
.header-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.header-links a {
  color: var(--or);
  font-size: 0.78rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color .2s;
  white-space: nowrap;
}
.header-links a:hover { color: var(--blanc); }

/* navigation */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--blanc);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
nav a:hover, nav a.active {
  background: var(--or);
  color: var(--bleu);
}

/* ─── TV FRAME SLIDER ─── */
/*
  La TV PNG (801×443) possède une zone écran transparente.
  On empile : slides (dessous) → PNG châssis (dessus).
  Si l'écran de votre TV n'est pas exactement centré,
  ajustez les 4 variables --tv-* dans :root ci-dessous.
*/
:root {
  /* Position de l'écran DANS le PNG (en % de la taille du PNG) */
  --tv-left:   2.9%;
  --tv-top:    2%;
  --tv-right:  3.2%;
  --tv-bottom: 3%;
}

.tv-scene {
  margin: 40px auto 0;
  max-width: 820px;
  width: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tv-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 801 / 443;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.55));
}
.tv-screen {
  position: absolute;
  top:    var(--tv-top);
  left:   var(--tv-left);
  right:  var(--tv-right);
  bottom: var(--tv-bottom);
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 20px rgba(80,140,255,0.15);
  z-index: 8;   /* ← AJOUTER cette ligne */
}
.tv-screen .slider-track {
  display: flex;
  height: 100%;
  transition: transform .8s cubic-bezier(.77,0,.18,1);
}
.tv-screen .slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
}
.tv-screen .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tv-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 5;
}
.tv-wrapper .slider-btn {
  position: absolute;
  top: calc(var(--tv-top) + (100% - var(--tv-top) - var(--tv-bottom)) / 2);
  transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px;
  font-size: 1rem;
}
.tv-wrapper .slider-btn.prev { left: calc(var(--tv-left) - 50px); }
.tv-wrapper .slider-btn.next { right: calc(var(--tv-right) - 50px); }
.tv-caption {
  color: rgba(255,255,255,0.75);
  font-style: italic;
  font-size: 0.88rem;
  text-align: center;
  max-width: 600px;
  transition: opacity .25s ease;
  min-height: 1.4em;
}
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background .2s;
}
.dot.active { background: var(--or); }
@media (max-width: 600px) {
  .tv-wrapper .slider-btn.prev { left: 4px; }
  .tv-wrapper .slider-btn.next { right: 4px; }
}

/* .slider-btn – styles de base (utilisés par .tv-wrapper .slider-btn) */
.slider-btn {
  background: rgba(26,42,74,0.75);
  border: 2px solid var(--or);
  color: var(--or);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.slider-btn:hover { background: var(--or); color: var(--bleu); }

/* ─── SECTION TITRE HERO ─── */
.hero-intro {
  background: var(--bleu);
  color: var(--blanc);
  text-align: center;
  padding: 60px 24px 50px;
}
.hero-intro h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.15;
}
.hero-intro h1 span { color: var(--or); }
.hero-intro p {
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 680px;
  margin-left: auto; margin-right: auto;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  letter-spacing: 0.5px;
}
/* .tv-hero removed – replaced by .tv-scene */

/* ─── SECTIONS COMMUNES ─── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bleu);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--gris-texte);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 52px;
}
.separator {
  width: 64px;
  height: 4px;
  background: var(--or);
  margin: 12px auto 40px;
  border-radius: 2px;
}

/* ─── CARDS SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 28px;
}
.card {
  background: var(--blanc);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 28px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--or);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 6px;
}
.card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bleu);
  margin-bottom: 14px;
  line-height: 1.2;
}
.card p { color: var(--gris-texte); font-size: 0.9rem; line-height: 1.7; }

/* ─── SECTION ALTERNÉE (prix, vidéos) ─── */
.alt-section { background: var(--gris-clair); }
.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; min-width: 260px; }
.feature-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 6px;
}
.feature-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--bleu);
  margin-bottom: 16px;
}
.feature-text p { color: var(--gris-texte); line-height: 1.8; font-size: 0.95rem; }
.feature-image { flex: 1; min-width: 260px; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.feature-image img { width: 100%; display: block; }

/* ─── TARIF HIGHLIGHT ─── */
.price-highlight {
  background: var(--bleu);
  color: var(--blanc);
  padding: 20px 28px;
  border-radius: 8px;
  margin-top: 24px;
  display: inline-block;
}
.price-highlight strong { color: var(--or); font-size: 1.1rem; }

/* ─── CLIENTS ─── */
.clients-section { background: var(--gris-clair); }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}
.client-card {
  background: var(--blanc);
  padding: 28px 36px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  text-align: center;
  max-width: 280px;
}
.client-card img { max-height: 80px; max-width: 200px; object-fit: contain; margin-bottom: 12px; }
.client-card p { color: var(--gris-texte); font-size: 0.88rem; }

/* ─── CONTACT ─── */
.contact-section { background: var(--bleu); color: var(--blanc); }
.contact-section .section-title { color: var(--blanc); }
.contact-section .section-subtitle { color: rgba(255,255,255,0.7); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--or);
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.contact-info p { font-size: 0.95rem; line-height: 2; color: rgba(255,255,255,0.85); }
.contact-info a { color: var(--or); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: var(--blanc);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  transition: border-color .2s, background .2s;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--or);
  background: rgba(255,255,255,0.13);
}
.contact-form select option { background: var(--bleu); color: var(--blanc); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  margin-top: 8px;
  padding: 14px 36px;
  background: var(--or);
  color: var(--bleu);
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: #e0b85a; transform: translateY(-2px); }
.form-success {
  display: none;
  background: rgba(80,200,100,0.15);
  border: 1px solid rgba(80,200,100,0.4);
  border-radius: 8px;
  padding: 16px 20px;
  color: #7ef5a0;
  margin-top: 16px;
  font-size: 0.95rem;
}

/* ─── PAGE SERVICES-8 ─── */
.page-hero {
  background: linear-gradient(135deg, var(--bleu) 60%, var(--bleu-clair) 100%);
  padding: 80px 24px 60px;
  text-align: center;
  color: var(--blanc);
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--or);
  margin-bottom: 20px;
}
.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.page-hero img.tv {
  display: block;
  margin: 36px auto 0;
  max-width: 300px;
  width: 70%;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 12px;
}
.widget-card {
  background: var(--blanc);
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform .25s, box-shadow .25s;
}
.widget-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.widget-card .widget-img {
  background: #eef2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  min-height: 160px;
}
.widget-card .widget-img img { max-height: 130px; max-width: 100%; object-fit: contain; }
.widget-card .widget-body { padding: 22px 24px 24px; }
.widget-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--bleu);
  margin-bottom: 8px;
}
.widget-card p { color: var(--gris-texte); font-size: 0.88rem; line-height: 1.7; }
.widget-card.custom { border-top: 4px solid var(--or); }
.widget-card.custom h3 { color: var(--or); }

.cost-note {
  background: var(--gris-clair);
  border-left: 4px solid var(--or);
  padding: 24px 32px;
  border-radius: 0 8px 8px 0;
  margin-top: 52px;
  color: var(--gris-texte);
  font-size: 0.95rem;
  line-height: 1.8;
}
.cost-note strong { color: var(--bleu); }

/* ─── FOOTER ─── */
footer {
  background: #0d1a2e;
  color: rgba(255,255,255,0.6);
  padding: 40px 24px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.footer-brand .brand { font-family: 'Montserrat', sans-serif; color: var(--blanc); font-size: 1.1rem; font-weight: 900; }
.footer-brand .tagline { color: var(--or); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.footer-brand p { margin-top: 12px; font-size: 0.82rem; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: var(--or); }
.footer-badges { display: flex; align-items: center; gap: 16px; }
.footer-badges img { height: 36px; object-fit: contain; filter: brightness(0.85) grayscale(0.2); transition: filter .2s; }
.footer-badges img:hover { filter: brightness(1); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--or); }
.patent-badge {
  display: inline-block;
  border: 1px solid var(--or);
  color: var(--or);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 16px; gap: 12px; }
  .header-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .clients-grid { flex-direction: column; align-items: center; }
  nav a { font-size: 0.72rem; padding: 6px 10px; }
}


/* ─── TV VIDÉO (page services-8) ─── */
.tv-video-scene {
  margin: 40px auto 0;
  max-width: 820px;
  width: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tv-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 801 / 443;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.55));
}
.tv-video-screen {
  position: absolute;
  top:    2%;
  left:   2.9%;
  right:  3.2%;
  bottom: 3%;
  overflow: hidden;
  background: #000;
  z-index: 8;
}
.tv-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tv-video-wrapper .tv-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 5;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a84c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}