/*
 * Theme Name:  Songuart Child
 * Theme URI:   https://songuartprod.com
 * Description: Child theme de Blocksy pour Songuart Prod WCN — songuartprod.com
 * Author:      Daniel Trepy / Songuart Prod WCN
 * Author URI:  https://songuartprod.com
 * Template:    blocksy
 * Version:     1.0.0
 * Text Domain: songuart-child
 * License:     GPL-2.0-or-later
 */

/* ============================================================
   VARIABLES — PALETTE IVOIRE & OR (source : maquette HTML)
   ============================================================ */
:root {
  /* Couleurs principales */
  --ivory:       #F7F3EE;
  --ivory-dark:  #EDE8E1;
  --ivory-deep:  #E3DDD5;
  --gold:        #C09035;
  --gold-light:  #D4AA5A;
  --gold-pale:   #F0E4C8;
  --teal:        #1A8E8E;
  --teal-light:  #22AAAA;
  --charcoal:    #18160F;
  --ink:         #2C2820;
  --muted:       #7A746C;
  --dim:         #B0A898;
  --border:      rgba(192, 144, 53, 0.18);
  --border-soft: rgba(192, 144, 53, 0.10);
  --white:       #FFFFFF;

  /* Typographie */
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;

  /* Animations */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-hover:   0.3s;
  --dur-nav:     0.4s;
  --dur-reveal:  0.75s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--ivory);
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-serif);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

/* Mot-clé en or italique dans les titres */
h1 em, h2 em {
  font-style: italic;
  color: var(--gold);
}

/* Label uppercase doré */
.label,
[class*="__label"] {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

p {
  line-height: 1.8;
  color: var(--ink);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease);
}

a:hover {
  color: var(--gold-light);
}

/* ============================================================
   NAVIGATION FIXE
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  background: transparent;
  transition: background var(--dur-nav) var(--ease),
              backdrop-filter var(--dur-nav) var(--ease),
              box-shadow var(--dur-nav) var(--ease);
}

.site-header.scrolled {
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

/* ============================================================
   SYSTÈME DE REVEAL AU SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease),
              transform var(--dur-reveal) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ============================================================
   HERO — VIDÉO YOUTUBE PLEINE PAGE
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16:9 */
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 8, 0.85) 0%,
    rgba(10, 10, 8, 0.30) 50%,
    rgba(10, 10, 8, 0.20) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 6vw;
  color: var(--white);
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero__subtitle {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.55;
  margin-bottom: 2rem;
}

.hero__tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.80);
  max-width: 600px;
  line-height: 1.5;
}

/* Bouton mute glassmorphism */
.hero__mute-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-hover) var(--ease);
}

.hero__mute-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Indicateur scroll */
.hero__scroll-cta {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-cta svg {
  animation: pulse-down 1.8s ease-in-out infinite;
}

@keyframes pulse-down {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* ============================================================
   SECTION ABOUT
   ============================================================ */
.about {
  background: var(--ivory);
  padding: 7rem 6vw;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-block {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.stat-block__number {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.stat-block__label {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0.5rem;
}

.stat-block__sublabel {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Tags signatures */
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}

.tag {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(26, 142, 142, 0.08);
  border: 1px solid rgba(26, 142, 142, 0.20);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
}

/* ============================================================
   SECTION PRODUCTIONS — GRILLE 3 COLONNES
   ============================================================ */
.productions {
  background: var(--ivory-dark);
  padding: 7rem 6vw;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.prod-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 2rem;
  transition: transform var(--dur-hover) var(--ease),
              box-shadow var(--dur-hover) var(--ease);
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Carte featured (fond sombre) */
.prod-card--featured {
  background: var(--charcoal);
  border-color: transparent;
  grid-column: span 1;
}

.prod-card--featured .prod-card__type,
.prod-card--featured .prod-card__title,
.prod-card--featured .prod-card__detail {
  color: var(--white);
}

.prod-card--featured .prod-card__type {
  color: var(--gold-light);
}

.prod-card__type {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.prod-card__title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.prod-card__detail {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   SECTION STUDIO
   ============================================================ */
.studio {
  background: var(--ivory);
  padding: 7rem 6vw;
}

.studio__services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--ivory-dark);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Panneau expert Daniel Trepy */
.expert-panel {
  background: var(--charcoal);
  border-radius: 8px;
  padding: 3rem;
  margin-top: 3rem;
  color: var(--white);
}

.expert-panel__name {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
}

.expert-panel__titles {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.expert-panel__credential {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   SECTION RÉALISATIONS — MOSAÏQUE ASYMÉTRIQUE
   ============================================================ */
.realisations {
  background: var(--ivory-deep);
  padding: 7rem 6vw;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 3rem;
}

.mosaic-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.mosaic-card--large {
  grid-row: span 2;
}

/* Dégradés uniques par carte */
.mosaic-card:nth-child(1) { background: linear-gradient(135deg, #0d1b2a, #1a3a5c); }
.mosaic-card:nth-child(2) { background: linear-gradient(135deg, #1a2e1a, #2d5a2d); }
.mosaic-card:nth-child(3) { background: linear-gradient(135deg, #2e1a0e, #5a3520); }
.mosaic-card:nth-child(4) { background: linear-gradient(135deg, #1a1428, #3d2b5a); }
.mosaic-card:nth-child(5) { background: linear-gradient(135deg, #0e2014, #1e4a2a); }

.mosaic-card__type {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.mosaic-card__title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.25;
}

.mosaic-card__year {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.50);
  margin-top: 0.25rem;
}

/* ============================================================
   SECTION CONTACT
   ============================================================ */
.contact {
  background: var(--charcoal);
  padding: 7rem 6vw;
  color: var(--white);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transition: border-color var(--dur-hover) var(--ease);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background var(--dur-hover) var(--ease);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 6vw;
  color: var(--dim);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ≤ 1024px */
@media (max-width: 1024px) {
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ≤ 768px — mobile */
@media (max-width: 768px) {
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-grid {
    grid-template-columns: 1fr;
  }

  .studio__services {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-card--large {
    grid-column: span 1;
  }

  .hero__content {
    padding: 2rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ≤ 480px */
@media (max-width: 480px) {
  .about {
    padding: 4rem 1.5rem;
  }

  .productions,
  .studio,
  .realisations,
  .contact {
    padding: 4rem 1.5rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }
}
