/* ═══════════════════════════════════════════════════════════════
   RIVOAT — Site vitrine
   Style : dark premium éditorial, inspiration Zéfir
═══════════════════════════════════════════════════════════════ */

/* ─── 1. Variables ────────────────────────────────────────────── */
:root {
  /* Couleurs - palette dark warm green-black */
  --bg-deep:        #0B100D;   /* fond principal */
  --bg-surface:     #131A16;   /* surfaces élevées (cards) */
  --bg-elevated:    #182019;   /* surfaces sur-élevées (hover) */
  --border:         #232A24;   /* bordure subtile */
  --border-strong:  #36402F;   /* bordure marquée */

  --text:           #EAE4D2;   /* texte principal cream */
  --text-muted:     #908C7F;   /* texte secondaire */
  --text-faint:     #5C5A52;   /* texte très estompé */

  --gold:           #C9A862;   /* accent doré principal */
  --gold-bright:    #DBC287;   /* gold hover */
  --gold-deep:      #9D7E3D;   /* gold ombré */

  /* Typographie */
  --serif:  'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:   'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espacements */
  --section-y:      clamp(70px, 11vw, 140px);
  --container-px:   clamp(20px, 4vw, 48px);

  /* Transitions */
  --t-fast:  150ms cubic-bezier(.4, 0, .2, 1);
  --t-base:  300ms cubic-bezier(.4, 0, .2, 1);
  --t-slow:  600ms cubic-bezier(.16, 1, .3, 1);
}

/* ─── 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;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ─── 3. Typographie ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--text);
}

em, i {
  font-style: italic;
  font-family: var(--serif);
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ─── 4. Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}

.section-head .eyebrow {
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.section-lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── 5. Top bar dorée ────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  z-index: 100;
}

/* ─── 6. Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 16, 13, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 0.5px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 16, 13, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
}

.brand-mark {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 32px;
}

.primary-nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.primary-nav a:hover { color: var(--text); }

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-base);
}

.primary-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px var(--container-px) 32px;
  border-top: 0.5px solid var(--border);
  background: rgba(11, 16, 13, 0.98);
  backdrop-filter: blur(20px);
}

/* L'attribut [hidden] doit toujours masquer (sinon écrasé par display:flex ci-dessus) */
.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  font-size: 16px;
  padding: 8px 0;
  color: var(--text);
  letter-spacing: 0.05em;
}

.mobile-nav .btn {
  margin-top: 12px;
  align-self: flex-start;
}

/* ─── 7. Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(234, 228, 210, 0.18);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(234, 228, 210, 0.03);
}

.btn-sm { padding: 11px 18px; font-size: 12px; }
.btn-block { width: 100%; display: flex; }

/* ─── 8. HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(201, 168, 98, 0.06), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text .eyebrow { margin-bottom: 32px; }

.hero-title {
  font-size: clamp(42px, 6.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 40px;
  border-top: 0.5px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.meta-num sup {
  font-size: 18px;
  font-weight: 400;
}

.meta-lbl {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 160px;
}

.hero-image figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}

.hero-image:hover img { transform: scale(1.04); }

.hero-image figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--text);
  background: rgba(11, 16, 13, 0.75);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-left: 1px solid var(--gold);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color var(--t-base);
}

.scroll-cue:hover { border-color: var(--gold); }

.scroll-cue span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ─── 9. Approche ─────────────────────────────────────────────── */
.approche-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.approche-text { padding-top: 14px; }

.approche-text .lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 28px;
  font-weight: 400;
}

.approche-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.approche-text p:last-child { margin-bottom: 0; }

.approche-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 0.5px solid var(--border);
  padding-left: clamp(20px, 3vw, 40px);
}

.pillar {
  padding-bottom: 28px;
  border-bottom: 0.5px solid var(--border);
}
.pillar:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pillar-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.pillar h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.pillar p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── 10. Services (timeline numérotée) ──────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  max-width: 920px;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 0.5px solid var(--border);
  align-items: start;
}

.service-row:last-child { border-bottom: 0.5px solid var(--border); }

.service-num {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}

.service-content h3 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 400;
  margin-bottom: 14px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 640px;
}

/* ─── 11. Offres (packs) ──────────────────────────────────────── */
.packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.pack {
  position: relative;
  background: var(--bg-surface);
  border: 0.5px solid var(--border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), border-color var(--t-base);
}

.pack:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.pack-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 168, 98, 0.04), transparent 30%), var(--bg-surface);
}

.pack-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 1px;
  white-space: nowrap;
}

.pack-head {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--border);
}

.pack-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.pack-name {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pack-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pack-price {
  text-align: center;
  margin-bottom: 30px;
  font-family: var(--sans);
}

.pack-from {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pack-amount {
  display: inline-block;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.pack-currency {
  font-size: 32px;
  color: var(--gold);
}

.pack-period {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
}

.pack-features {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.pack-features li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  border-bottom: 0.5px solid rgba(35, 42, 36, 0.6);
}

.pack-features li:last-child { border-bottom: 0; }

.pack-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.pack-features li em {
  color: var(--gold);
  font-style: italic;
}

.offres-note {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── 12. Méthode (steps) ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.step {
  padding: 40px 28px;
  border-right: 0.5px solid var(--border);
  position: relative;
}

.step:last-child { border-right: 0; }

.step-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gold);
}

.step h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── 12bis. Pitch (vidéo animée) ─────────────────────────────── */
.pitch-section {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(201, 168, 98, 0.04), transparent 60%),
    var(--bg-deep);
}

.pitch-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.pitch-player {
  max-width: 1100px;
  margin: 0 auto;
}

.pitch-frame-wrap {
  position: relative;
  padding: clamp(14px, 2vw, 26px);
  background: linear-gradient(180deg, rgba(201, 168, 98, 0.06), rgba(201, 168, 98, 0.02));
  border: 0.5px solid rgba(201, 168, 98, 0.18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.pitch-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  overflow: hidden;
  border: 0.5px solid var(--border);
}

.pitch-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Coins dorés décoratifs façon écran de cinéma */
.pitch-frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}
.pitch-corner-tl { top: 0; left: 0; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.pitch-corner-tr { top: 0; right: 0; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.pitch-corner-bl { bottom: 0; left: 0; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.pitch-corner-br { bottom: 0; right: 0; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

.pitch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.pitch-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-faint);
  margin: 0;
}

/* ─── 13. Réalisations ────────────────────────────────────────── */
.case-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 24px 0;
  margin-bottom: 40px;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.case-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-k {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--text);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-bottom: 50px;
}

.g-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  cursor: pointer;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}

.g-item:hover img { transform: scale(1.06); }

.g-large { grid-column: span 2; grid-row: span 2; }
.g-tall  { grid-row: span 2; }
.g-wide  { grid-column: span 2; }

.g-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text);
  background: linear-gradient(to top, rgba(11, 16, 13, 0.9), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base);
}

.g-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.case-cta {
  text-align: center;
}

.case-cta-note {
  margin-top: 14px;
  font-size: 12px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* ─── 14. Citation ────────────────────────────────────────────── */
.quote-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--bg-surface);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.big-quote {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.big-quote p {
  font-family: var(--serif);
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 400;
}

.big-quote p em {
  color: var(--gold);
}

.big-quote footer {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── 15. Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-text .section-title { text-align: left; }
.contact-text .section-lede { margin: 18px 0 40px; max-width: none; }

.contact-coords {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
}

.contact-coords p {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coord-k {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.coord-v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
}

a.coord-v {
  color: var(--gold);
  transition: color var(--t-fast);
}

a.coord-v:hover { color: var(--gold-bright); }

/* Formulaire */
.contact-form {
  background: var(--bg-surface);
  border: 0.5px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-deep);
  border: 0.5px solid var(--border);
  border-radius: 1px;
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--bg-elevated);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--sans);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9A862'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}

.field select option {
  background: var(--bg-deep);
  color: var(--text);
}

.form-fineprint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-faint);
}

.form-fineprint a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-fineprint a:hover { color: var(--gold-bright); }

/* ─── 16. Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 0.5px solid var(--border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 24px;
}

.footer-brand .brand-footer {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a, .footer-col li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-faint);
}

.footer-credit {
  font-style: italic;
  font-family: var(--serif);
  font-size: 13px;
}

/* ─── 17. Reveal animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 900ms cubic-bezier(.16, 1, .3, 1), transform 900ms cubic-bezier(.16, 1, .3, 1);
}

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

.reveal-delay {
  transition-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── 18. Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .approche-grid { grid-template-columns: 1fr; }
  .approche-pillars {
    border-left: 0;
    padding-left: 0;
    padding-top: 30px;
    border-top: 0.5px solid var(--border);
  }
  .packs { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pack-featured { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 0.5px solid var(--border); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-large, .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .case-meta { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .header-inner { height: 60px; }

  .hero { padding-top: 100px; min-height: auto; }
  .hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-meta { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; }
  .meta-item { flex-direction: row; align-items: baseline; gap: 14px; }
  .meta-lbl { max-width: none; }

  .pitch-frame-wrap { padding: 10px; }
  .pitch-frame-corner { width: 14px; height: 14px; }
  .pitch-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .pitch-hint { font-size: 13px; }

  .service-row { grid-template-columns: 50px 1fr; gap: 16px; padding: 28px 0; }
  .service-num { font-size: 22px; }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 0.5px solid var(--border); }
  .step:last-child { border-bottom: 0; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-large, .g-wide, .g-tall { grid-column: span 1; grid-row: span 1; }

  .case-meta { grid-template-columns: 1fr; }

  .field-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .big-quote p { font-size: 22px; }
}

/* ─── Protection desktop : le menu mobile reste caché ≥ 769px ─── */
/* (Évite qu'il réapparaisse si on redimensionne la fenêtre alors qu'il était ouvert) */
@media (min-width: 769px) {
  .mobile-nav { display: none !important; }
}
