/**
 * MAP — global.css
 * Design System complet
 * =====================
 * 
 * Ce fichier contient TOUT le design system :
 * 1.  CSS Variables (couleurs, typo, easings)
 * 2.  Reset & Base
 * 3.  Layout (section-inner, sections)
 * 4.  Backgrounds (bg-cream, bg-sand, bg-deep)
 * 5.  Typography (section-label, section-title)
 * 6.  Buttons (btn, btn-primary, btn-ghost…)
 * 7.  Navigation (nav, burger, mobile)
 * 8.  Footer (grid, colonnes, bottom)
 * 9.  Loader
 * 10. Reveal Animations
 * 11. Decorative (grain, wave, glow)
 * 12. Portfolio components
 * 13. Testimonial cards
 * 14. FAQ accordion
 * 15. CTA final
 * 16. Responsive
 *
 * Les templates utilisent beaucoup de styles inline pour la flexibilité ACF.
 * Ce CSS fournit la fondation : variables, composants, animations.
 *
 * @version 2.0
 */


/* ═══════════════════════════════════════════════════════
   1. CSS VARIABLES
   ═══════════════════════════════════════════════════════ */

:root {
  /* ─── Couleurs principales ─── */
  --deep:         #0c1a2a;
  --cream:        #faf6f0;
  --sand:         #f2ede4;
  --sand-warm:    #d4b896;
  --ocean:        #1a4a6e;
  --teal:         #3a8a9e;
  --teal-light:   #5cb8c4;
  --copper:       #b87a4b;
  --copper-light: #d4a574;
  --slate:        #5a6b7d;
  --white:        #ffffff;

  /* ─── Couleurs utilitaires ─── */
  --deep-90:      rgba(12, 26, 42, 0.9);
  --deep-80:      rgba(12, 26, 42, 0.8);
  --deep-75:      rgba(12, 26, 42, 0.75);
  --cream-65:     rgba(250, 246, 240, 0.65);
  --cream-50:     rgba(250, 246, 240, 0.5);
  --cream-40:     rgba(250, 246, 240, 0.4);
  --cream-35:     rgba(250, 246, 240, 0.35);
  --cream-20:     rgba(250, 246, 240, 0.2);
  --deep-border:  rgba(26, 49, 72, 0.06);

  /* ─── Typographie ─── */
  --serif:        'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:         'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ─── Easings ─── */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Dimensions ─── */
  --nav-height:   64px;
  --section-pad:  5rem;
  --inner-max:    1200px;
  --inner-pad:    clamp(1.5rem, 4vw, 3rem);
}


/* ═══════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--deep);
  background: var(--cream);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

ul, ol {
  list-style: none;
}

blockquote {
  margin: 0;
}

::selection {
  background: var(--teal);
  color: var(--cream);
}


/* ═══════════════════════════════════════════════════════
   3. LAYOUT
   ═══════════════════════════════════════════════════════ */

.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding-left: var(--inner-pad);
  padding-right: var(--inner-pad);
}

section {
  padding: var(--section-pad) 0;
}

main {
  min-height: 100vh;
}


/* ═══════════════════════════════════════════════════════
   4. BACKGROUND SECTIONS
   ═══════════════════════════════════════════════════════ */

.bg-cream {
  background: var(--cream);
  color: var(--deep);
}

.bg-sand {
  background: var(--sand);
  color: var(--deep);
}

.bg-deep {
  background: var(--deep);
  color: var(--cream);
}


/* ═══════════════════════════════════════════════════════
   5. TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */

/* Section label — petit texte uppercase au-dessus des titres */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.section-label.ocean  { color: var(--ocean); }
.section-label.copper { color: var(--copper); }
.section-label.sand   { color: var(--sand-warm); }
.section-label.teal   { color: var(--teal); }

/* Section title — grand titre serif */
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--deep);
}

.bg-deep .section-title,
.cta-final .section-title {
  color: var(--cream);
}

/* Section subtitle */
.section-subtitle {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 560px;
}


/* ═══════════════════════════════════════════════════════
   6. BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

/* Primary — fond teal */
.btn-primary {
  background: var(--teal);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(58, 138, 158, 0.3);
}

/* Ghost — transparent, bordure claire (pour fond sombre) */
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 246, 240, 0.25);
}
.btn-ghost:hover {
  border-color: rgba(250, 246, 240, 0.5);
  background: rgba(250, 246, 240, 0.05);
}

/* Ghost dark — transparent, bordure foncée (pour fond clair) */
.btn-ghost-dark {
  background: transparent;
  color: var(--deep);
  border: 1px solid rgba(12, 26, 42, 0.15);
}
.btn-ghost-dark:hover {
  border-color: rgba(12, 26, 42, 0.4);
  background: rgba(12, 26, 42, 0.03);
}

/* Arrow indicator dans les boutons */
.btn-arrow {
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}


/* ═══════════════════════════════════════════════════════
   7. NAVIGATION
   ═══════════════════════════════════════════════════════ */

/* ═══ NAV BAR ═══ */
nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--inner-pad);
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

nav#nav.scrolled {
  background: rgba(12, 26, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(250, 246, 240, 0.05);
}

/* Logo */
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--cream);
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
  position: relative;
  z-index: 9991;
}
.nav-logo:hover {
  opacity: 0.8;
}

/* ═══ DESKTOP LINKS ═══ */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links-desktop a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream-65);
  padding: 0.45rem 0.7rem;
  border-radius: 3px;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.01em;
}
.nav-links-desktop a:hover {
  color: var(--cream);
  background: rgba(250, 246, 240, 0.08);
}

/* Divider desktop */
.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(250, 246, 240, 0.12);
  margin: 0 0.8rem;
}

/* Special nav buttons */
.btn-portfolio {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--sand-warm) !important;
  padding: 0.4rem 0.65rem !important;
  border: 1px solid rgba(210, 180, 140, 0.25);
  border-radius: 3px !important;
}
.btn-portfolio:hover {
  background: rgba(210, 180, 140, 0.1) !important;
  border-color: rgba(210, 180, 140, 0.45);
}

.btn-cadreur {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--teal-light) !important;
  padding: 0.4rem 0.65rem !important;
  border: 1px solid rgba(92, 184, 196, 0.25);
  border-radius: 3px !important;
}
.btn-cadreur:hover {
  background: rgba(92, 184, 196, 0.1) !important;
  border-color: rgba(92, 184, 196, 0.45);
}

.btn-docu {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--copper-light) !important;
  padding: 0.4rem 0.65rem !important;
  border: 1px solid rgba(184, 122, 75, 0.25);
  border-radius: 3px !important;
}
.btn-docu:hover {
  background: rgba(184, 122, 75, 0.1) !important;
  border-color: rgba(184, 122, 75, 0.45);
}

.btn-contact {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--cream) !important;
  background: var(--teal) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 3px !important;
}
.btn-contact:hover {
  background: var(--teal-light) !important;
}

/* ═══ BURGER — visible mobile/tablette ═══ */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 9995;
  position: relative;
  background: none;
  border: none;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
  display: block;
}
.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══ MOBILE OVERLAY — Élément séparé, hors du <nav> ═══ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9992;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 9993;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.mobile-overlay-close:hover {
  opacity: 1;
}

.mobile-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-overlay-inner a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream-65);
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  transition: color 0.3s var(--ease);
  text-decoration: none;
}
.mobile-overlay-inner a:hover {
  color: var(--cream);
}

.mobile-divider {
  width: 40px;
  height: 1px;
  background: rgba(250, 246, 240, 0.12);
  margin: 0.5rem 0;
}

.mobile-overlay .btn-portfolio,
.mobile-overlay .btn-cadreur,
.mobile-overlay .btn-docu,
.mobile-overlay .btn-contact {
  font-size: 0.9rem !important;
  padding: 0.6rem 1.5rem !important;
}

/* Masquer l'overlay en desktop */
@media (min-width: 1025px) {
  .mobile-overlay {
    display: none !important;
  }
}


/* ═══════════════════════════════════════════════════════
   8. FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
  background: var(--deep);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 246, 240, 0.08);
}

/* Brand column */
.footer-brand-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
  display: block;
  margin-bottom: 0.8rem;
}
.footer-brand-logo:hover {
  opacity: 0.8;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--cream-50);
  max-width: 320px;
}

/* Footer columns */
.footer-col h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--cream);
}
.footer-col ul li {
  margin-bottom: 0.4rem;
}
.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--cream-50);
  transition: color 0.3s var(--ease);
}
.footer-col ul li a:hover {
  color: var(--cream);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--cream-35);
}
.footer-copy a {
  color: var(--cream-40);
  transition: color 0.3s var(--ease);
}
.footer-copy a:hover {
  color: var(--cream);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}
.footer-social a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cream-40);
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease);
}
.footer-social a:hover {
  color: var(--cream);
}


/* ═══════════════════════════════════════════════════════
   9. LOADER
   ═══════════════════════════════════════════════════════ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream);
  letter-spacing: 0.15em;
  opacity: 0.7;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.8; }
}


/* ═══════════════════════════════════════════════════════
   10. REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Staggered delays */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════
   11. DECORATIVE EFFECTS
   ═══════════════════════════════════════════════════════ */

/* Film grain overlay */
.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* Wave separator */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.wave-bottom svg {
  width: 100%;
  height: clamp(40px, 5vw, 80px);
  display: block;
}

/* Ambient glow effects */
.glow-ambient {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}
.glow-teal   { background: var(--teal); }
.glow-copper { background: var(--copper); }
.glow-ocean  { background: var(--ocean); }


/* ═══════════════════════════════════════════════════════
   12. PORTFOLIO COMPONENTS
   ═══════════════════════════════════════════════════════ */

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.portfolio-item:hover img {
  transform: scale(1.04);
}

/* Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(12, 26, 42, 0.85) 0%,
    rgba(12, 26, 42, 0.3) 50%,
    transparent 100%
  );
  transition: background 0.4s var(--ease);
}
.portfolio-item:hover .portfolio-overlay {
  background: linear-gradient(
    to top,
    rgba(12, 26, 42, 0.92) 0%,
    rgba(12, 26, 42, 0.5) 60%,
    rgba(12, 26, 42, 0.2) 100%
  );
}

.portfolio-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 0.3rem;
}

.portfolio-overlay h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream);
  font-weight: 400;
  line-height: 1.25;
}

.portfolio-overlay .sub {
  font-size: 0.82rem;
  color: var(--cream-50);
  line-height: 1.5;
  margin-top: 0.3rem;
  /* Limiter à 2 lignes par défaut, expandable au hover */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.portfolio-item:hover .portfolio-overlay .sub {
  -webkit-line-clamp: unset;
}

/* Play indicator (video projects) */
.play-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(250, 246, 240, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s var(--ease);
}
.play-indicator::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--cream);
  margin-left: 2px;
}
.portfolio-item:hover .play-indicator {
  background: rgba(250, 246, 240, 0.2);
  transform: scale(1.1);
}


/* ═══════════════════════════════════════════════════════
   13. TESTIMONIAL CARDS
   ═══════════════════════════════════════════════════════ */

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--deep-border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(12, 26, 42, 0.06);
}

.testimonial-stars {
  color: var(--copper);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--deep);
  font-style: italic;
  margin-bottom: 1.2rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--slate);
}


/* ═══════════════════════════════════════════════════════
   14. FAQ ACCORDION
   ═══════════════════════════════════════════════════════ */

.faq-item {
  border-bottom: 1px solid rgba(26, 49, 72, 0.1);
  padding: 1.2rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--deep);
  transition: color 0.3s var(--ease);
}
.faq-item summary:hover {
  color: var(--teal);
}

/* Supprimer le triangle natif dans tous les navigateurs */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-item summary span:last-child {
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary span:last-child {
  transform: rotate(45deg);
}

.faq-item > div {
  padding-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--slate);
}


/* ═══════════════════════════════════════════════════════
   15. CTA FINAL
   ═══════════════════════════════════════════════════════ */

.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════
   16. UTILITY CLASSES
   ═══════════════════════════════════════════════════════ */

/* Process step numbers (vidéaste, interview, formation) */
.process-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--teal);
  opacity: 0.3;
  line-height: 1;
}

/* Pricing cards vedette badge */
.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.75rem;
  color: var(--cream-40);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--cream-40);
  transition: color 0.3s var(--ease);
}
.breadcrumb a:hover {
  color: var(--cream);
}
.breadcrumb span {
  margin: 0 0.3rem;
  opacity: 0.4;
}


/* ═══════════════════════════════════════════════════════
   17. RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   A. INLINE GRID OVERRIDES
   Les templates utilisent beaucoup de style="display:grid;
   grid-template-columns:..." en inline.
   On ne peut overrider l'inline qu'avec !important.
   ───────────────────────────────────────────────────── */

/* Tous les grids multi-col inline → 1 col en mobile */
@media (max-width: 768px) {
  /* Grids fractionnaires */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1fr 2fr"],
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns:3fr 2fr"],
  div[style*="grid-template-columns:5fr 4fr"],
  /* Grids repeat fixes */
  div[style*="grid-template-columns:repeat(3"],
  div[style*="grid-template-columns:repeat(4"],
  div[style*="grid-template-columns:repeat(6"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Grids auto-fit avec minmax — plus petit seuil en mobile */
@media (max-width: 480px) {
  div[style*="grid-template-columns:repeat(auto-fit"],
  div[style*="grid-template-columns:repeat(auto-fill"] {
    grid-template-columns: 1fr !important;
  }
}


/* ─────────────────────────────────────────────────────
   B. TABLETTE (≤ 1024px)
   ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-pad: 4rem;
  }

  /* Nav — burger visible, desktop links masqués */
  .nav-burger {
    display: flex;
  }

  .nav-links-desktop {
    display: none !important;
  }

  /* Footer tablette */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Hero — ajuster le padding top */
  .hero .section-inner {
    padding-top: 6rem !important;
  }

  /* Formation, About, Interview — grids 2 col → 1 col */
  section > .section-inner > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


/* ─────────────────────────────────────────────────────
   C. MOBILE (≤ 768px)
   ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: 3rem;
    --nav-height: 56px;
  }

  /* Hero sections — laisser le contenu définir la hauteur */
  .hero {
    min-height: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .hero .section-inner {
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
  }
  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem) !important;
  }
  /* Description hero — plus compact */
  .hero .section-inner > p {
    font-size: 0.95rem !important;
  }

  /* Trust badges hero — stacker verticalement */
  .hero div[style*="display:flex"][style*="gap:2rem"],
  .hero div[style*="display:flex"][style*="gap:1.5rem"] {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  /* Ancres hero (vidéaste/photographe) — sortir du absolute */
  .hero > nav[style*="position:absolute"] {
    position: relative !important;
    bottom: auto !important;
    margin-top: 0 !important;
  }
  .hero > nav .section-inner {
    padding: 0.8rem var(--inner-pad) !important;
  }

  /* Trust badges — wrap proprement */
  .hero div[style*="display:flex"][style*="gap:2rem"] {
    gap: 0.8rem !important;
    flex-direction: column;
  }

  /* CTA buttons — stack vertical en mobile */
  .hero div[style*="display:flex"][style*="gap:1rem"][style*="flex-wrap"] {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  /* Portfolio mobile — single column */
  .portfolio-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  div[style*="grid-template-columns:repeat(6"] {
    grid-template-columns: 1fr !important;
  }

  /* Stats grid — 2 col en mobile au lieu de 4 */
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
  }

  /* Section titles smaller */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  /* Scroll indicator — masquer en mobile */
  .hero > div[style*="bottom:2rem"][style*="left:50%"] {
    display: none !important;
  }

  /* Wave separator — réduire */
  .wave-bottom svg {
    height: 40px;
  }

  /* Testimonial grid responsive */
  div[style*="grid-template-columns:repeat(auto-fit,minmax(300px"] {
    grid-template-columns: 1fr !important;
  }

  /* BTS grid responsive */
  div[style*="grid-template-columns:repeat(auto-fill,minmax(160px"],
  div[style*="grid-template-columns:repeat(auto-fill,minmax(180px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Logos wrap */
  div[style*="display:flex"][style*="flex-wrap:wrap"][style*="gap:2.5rem"] {
    gap: 1.5rem 1rem !important;
  }

  /* Blockquote dans sections */
  blockquote {
    padding-left: 0.8rem !important;
  }
}


/* ─────────────────────────────────────────────────────
   D. PETIT MOBILE (≤ 480px)
   ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --section-pad: 2.5rem;
  }

  .hero {
    min-height: auto !important;
  }
  .hero .section-inner {
    padding-top: 4.5rem !important;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
  }
  .hero p {
    font-size: 0.95rem !important;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  /* Stats — 1 col sur petit écran */
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* BTS — 1 col */
  div[style*="grid-template-columns:repeat(auto-fill"] {
    grid-template-columns: 1fr !important;
  }

  /* FAQ summary text */
  .faq-item summary {
    font-size: 0.92rem;
    padding-right: 0.5rem;
  }

  /* Intro E-E-A-T — taille lisible */
  article[itemprop="about"] {
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
  }
}


/* ═══════════════════════════════════════════════════════
   18. PRINT
   ═══════════════════════════════════════════════════════ */

@media print {
  .nav, .footer, .loader, .grain-overlay,
  .wave-bottom, .glow-ambient, .btn {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ═══════════════════════════════════════════════════════
   19. VIDEO LIGHTBOX
   ═══════════════════════════════════════════════════════ */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.video-lightbox .lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-lightbox .lightbox-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.video-lightbox .lightbox-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-lightbox.open .lightbox-content {
  transform: scale(1) translateY(0);
}

.video-lightbox .lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(250, 246, 240, 0.1);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-lightbox .lightbox-close:hover {
  background: rgba(250, 246, 240, 0.2);
  transform: scale(1.1);
}

.video-lightbox .lightbox-close:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.video-lightbox .lightbox-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  text-align: center;
  opacity: 0.9;
}

.video-lightbox .lightbox-title:empty {
  display: none;
}

.video-lightbox .lightbox-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
              0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-lightbox .lightbox-video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-lightbox .lightbox-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-lightbox.open .lightbox-video-container {
  animation: lightboxVideoIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes lightboxVideoIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Showreel button styles */
.showreel-trigger {
  cursor: pointer;
}

.showreel-trigger:hover .play-btn-large {
  transform: scale(1.1);
  background: rgba(250, 246, 240, 0.25);
}

.showreel-trigger:hover img {
  transform: scale(1.03);
}

.play-btn-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(250, 246, 240, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-btn-large .play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--cream);
  margin-left: 4px;
}

/* Portfolio video items */
.portfolio-item.video-trigger,
.portfolio-item[data-video-url] {
  cursor: pointer;
}

.portfolio-item.video-trigger:hover img,
.portfolio-item[data-video-url]:hover img {
  transform: scale(1.05);
}

.portfolio-item.video-trigger:hover .play-indicator,
.portfolio-item[data-video-url]:hover .play-indicator {
  background: rgba(58, 138, 158, 0.8);
  border-color: rgba(58, 138, 158, 1);
  transform: scale(1.1);
}

/* Lightbox responsive */
@media (max-width: 768px) {
  .video-lightbox {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 4rem;
  }
  
  .video-lightbox .lightbox-close {
    top: -52px;
  }
  
  .video-lightbox .lightbox-video-container {
    border-radius: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-lightbox,
  .video-lightbox .lightbox-content,
  .video-lightbox.open .lightbox-video-container {
    transition: none;
    animation: none;
  }
}


/* ═══════════════════════════════════════════════════════
   20. UTILITY — Desktop-only vertical center
   ═══════════════════════════════════════════════════════ */

.grid-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .grid-service {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .grid-service {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .materiel-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}


/* ═══════════════════════════════════════════════════════
   21. IMAGE LIGHTBOX
   ═══════════════════════════════════════════════════════ */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.image-lightbox .lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 42, 0.95);
  backdrop-filter: blur(8px);
}

.image-lightbox .lightbox-content {
  position: relative;
  z-index: 1;
  animation: lightboxIn 0.3s ease;
}

.image-lightbox .lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(250, 246, 240, 0.1);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.image-lightbox .lightbox-close:hover {
  background: rgba(250, 246, 240, 0.2);
}

.image-lightbox .lightbox-title {
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.9rem;
}


/* ═══════════════════════════════════════════════════════
   22. SCROLL OFFSET FOR ANCHORS (navbar compensation)
   ═══════════════════════════════════════════════════════ */

/* Compense la hauteur de la navbar fixe lors du scroll vers les ancres */
[id="corporate"],
[id="packshot"],
[id="immobilier"],
[id="evenementiel"],
[id="sport"],
[id="specialites"] {
  scroll-margin-top: 100px;
}
