/* ==========================================================================
   SGGK Digital — page Production vidéo
   Complément à styles.css. Réutilise les variables et composants existants
   (--teal, --green, --coral, .container, .section, .service-card, .btn…).
   ========================================================================== */

/* ---------- Hero ---------- */
.hero-video {
  padding: 150px 0 78px;
  color: #f4f8f3;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(17, 167, 155, 0.28), transparent 62%),
    linear-gradient(160deg, #0d1512 0%, #101512 55%, #0b1210 100%);
}
.hero-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-video .section-kicker {
  color: #7bd9cd;
  margin-bottom: 14px;
}
.hero-video h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 18ch;
}
.hero-lede {
  color: rgba(244, 248, 243, 0.76);
  max-width: 58ch;
  margin-bottom: 30px;
}
.hero-lede em {
  font-style: normal;
  color: #7bd9cd;
}
.hero-video-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-facts li {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}
.hero-facts strong {
  display: block;
  font-size: 18px;
  margin-bottom: 3px;
}
.hero-facts span {
  font-size: 13px;
  color: rgba(244, 248, 243, 0.62);
}

/* ---------- Galerie de plans ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  box-shadow: 0 14px 34px rgba(17, 23, 19, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(17, 23, 19, 0.14);
}
.shot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: linear-gradient(150deg, var(--mist), #dfe8de);
}
.shot figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 12px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(9, 14, 12, 0.86));
}
.shot-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Grille d'offres ---------- */
.offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.offer-grid .service-card {
  min-height: 430px;
}
.offer-grid .service-card.is-featured {
  border-color: rgba(17, 167, 155, 0.5);
  box-shadow: 0 18px 42px rgba(17, 167, 155, 0.16);
}
.offer-grid .service-card ul {
  margin: 0 0 76px;
  padding-left: 18px;
}
.offer-grid .service-card li {
  margin-bottom: 7px;
}
.offer-grid .service-foot {
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 14px;
}
.offer-grid .service-foot span {
  min-width: 0;
}
/* styles.css dessine ce lien comme une pastille fixe de 42x42 px, prévue pour une
   flèche. Ici il contient un mot : on lui rend une largeur libre et une allure
   de petit bouton, sinon le texte déborde de la carte. */
.offer-grid .service-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 800;
  font-size: 14px;
  color: var(--teal);
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.offer-grid .service-foot a:hover {
  border-color: var(--teal);
  background: var(--mist);
  color: var(--green);
}

/* ---------- Méthode ---------- */
.video-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.video-steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
/* styles.css force les h3 en blanc dans .method-section (fond sombre à l'origine).
   Ici les cartes sont blanches : on rétablit l'encre. */
.video-steps h3,
.method-section .video-steps h3 {
  font-size: 17px;
  margin-bottom: 7px;
  color: var(--ink);
}
.video-steps p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Spécifications ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.spec-grid > div {
  padding: 22px;
  background: var(--surface);
}
.spec-grid dt {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-grid dd {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.video-faq {
  display: grid;
  gap: 10px;
  max-width: 840px;
}
.video-faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.video-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.video-faq summary::-webkit-details-marker {
  display: none;
}
.video-faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 21px;
  font-weight: 400;
  color: var(--teal);
}
.video-faq details[open] summary::after {
  content: "\2013";
}
.video-faq p {
  margin: 0;
  padding: 0 20px 19px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
/* .contact-section a un fond sombre : la carte doit être sombre elle aussi. */
.video-contact {
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(17, 167, 155, 0.16), rgba(13, 21, 18, 0.82));
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.video-contact h2 {
  margin-bottom: 12px;
  color: #f4f8f3;
}
.video-contact > p {
  max-width: 54ch;
  margin: 0 auto 26px;
  color: rgba(244, 248, 243, 0.76);
}
.video-contact-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.video-contact .btn-secondary {
  color: #f4f8f3;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Révélation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-video {
    padding: 128px 0 60px;
  }
}
@media (max-width: 900px) {
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .shot:hover {
    transform: none;
  }
}
