/* ============================================
   LP AGENCE VIDÉO B2B — Variante C
   Angle Sur-mesure — Style noir + or institutionnel (ex-CSS de A)
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --ink-soft: #2a2a2a;
  --gold: #c9a961;
  --gold-light: #d9b97a;
  --gold-dark: #a88a47;
  --paper: #f5f1ea;
  --paper-light: #fdfaf5;
  --gray-light: #d4cfc5;
  --gray: #8a8378;
  --gray-dark: #5a5448;
  --white: #ffffff;
  --border: #e0d9cb;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPO ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500;
}

em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

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

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
}

.tag-light {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.section-title { margin-bottom: 22px; }

.section-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--gray-dark);
  max-width: 760px;
  line-height: 1.5;
  font-weight: 400;
}

.sub-light { color: var(--gray-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 38px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary {
  position: relative;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-large {
  padding: 20px 44px;
  font-size: 0.95rem;
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.logo { display: inline-flex; align-items: center; }

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.logo-img-footer {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.header-contact {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-phone {
  font-size: 0.82rem;
  color: var(--gray-dark);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.header-phone strong {
  color: var(--ink);
  font-weight: 600;
  margin-left: 4px;
}

.header-phone:hover strong {
  color: var(--gold);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 90px;
  text-align: center;
  background: var(--paper-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201, 169, 97, 0.15) 1px, transparent 0);
  background-size: 36px 36px;
  opacity: 0.6;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-mark {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.hero-title {
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  color: var(--gray-dark);
  margin: 0 auto 40px;
  max-width: 800px;
  line-height: 1.55;
  font-weight: 400;
  font-style: italic;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.hero-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

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

.sig-text {
  white-space: nowrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: 110px 0;
  position: relative;
}

.section-references {
  background: var(--ink);
  color: var(--paper);
}

.section-references h1,
.section-references h2,
.section-references h3 {
  color: var(--paper);
}

.section-ivory {
  background: var(--paper);
}

.section-head {
  text-align: center;
  margin-bottom: 70px;
}

.section-head-left {
  text-align: left;
  max-width: 700px;
}

.section-head .section-sub {
  margin: 0 auto;
}

/* ===== CONVICTION ===== */
.conviction-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: start;
  margin-top: 30px;
}

.conviction-text .lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 32px;
  font-style: normal;
  font-weight: 500;
}

.conviction-text p {
  font-size: 1.02rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 22px;
}

.conviction-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===== CARD CRAFT ===== */
.card-craft {
  background: var(--ink);
  color: var(--paper);
  padding: 50px 40px;
  border-radius: 2px;
  position: relative;
  border-top: 3px solid var(--gold);
}

.craft-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 600;
}

.craft-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.18);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  position: relative;
  padding-left: 28px;
  color: var(--paper);
  font-style: italic;
  font-weight: 400;
}

.craft-list li:last-child {
  border-bottom: none;
}

.craft-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--gold);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 500;
}

.craft-stamp {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--paper-light);
  color: var(--ink);
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  border: 1px solid var(--gold);
  transform: rotate(-3deg);
}

/* ===== STEPS CRAFT ===== */
.steps-craft {
  max-width: 850px;
  margin: 0 auto;
}

.step-craft {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.step-craft:last-child {
  border-bottom: none;
}

.step-craft:hover {
  background: var(--paper-light);
  padding-left: 16px;
  padding-right: 16px;
}

.step-mark {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  font-weight: 500;
}

.step-body h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.step-body p {
  color: var(--gray-dark);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ===== SHOWREEL ===== */
.showreel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.showreel-large { grid-row: span 2; }

.showreel-item {
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid rgba(201, 169, 97, 0.2);
  aspect-ratio: 1;
  position: relative;
  transition: all 0.4s ease;
}

.showreel-large.showreel-item { aspect-ratio: auto; }



.showreel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--ink-soft) 0%, var(--black) 100%);
  padding: 30px;
}

.showreel-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.showreel-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 6px;
  font-style: italic;
}

.showreel-hint {
  font-size: 0.76rem;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}

.showreel-link { text-align: center; }

.link-arrow {
  display: inline-block;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 12px 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  transition: all 0.3s ease;
}

.link-arrow:hover {
  color: var(--paper);
  border-color: var(--paper);
  transform: translateX(6px);
}

/* ===== QUOTE ===== */
.section-quote {
  background: var(--paper);
  padding: 100px 0;
  text-align: center;
}

.big-quote {
  max-width: 950px;
  margin: 0 auto;
}

.big-quote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ===== CONTACT ===== */
.section-contact {
  background: var(--paper);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
}

.contact-intro p {
  color: var(--gray-dark);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-phones a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--paper-light);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.contact-phones a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-phones span {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-phones strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}

/* FORM */
.contact-form {
  background: var(--paper-light);
  padding: 50px 44px;
  border-radius: 2px;
  border: 1px solid var(--border);
}

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

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.form-success,
.form-error {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.form-success {
  background: rgba(201, 169, 97, 0.1);
  color: var(--ink);
  border-left: 3px solid var(--gold);
}

.form-error {
  background: #fdebe5;
  color: #8b3a1f;
  border-left: 3px solid #c87858;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: var(--gray-light);
  padding: 50px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: inline-flex; align-items: center; }

.footer-text p {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.footer-text strong {
  color: var(--paper);
  font-weight: 600;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--paper);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .conviction-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 50px; }
  .showreel-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .showreel-large { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; }
  .header-contact { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero { padding: 130px 0 70px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-signature { flex-direction: column; gap: 12px; }
  .sig-line { width: 60px; }
  .step-craft { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 36px 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .showreel-grid { grid-template-columns: 1fr; }
  .showreel-item.showreel-large { grid-column: auto; aspect-ratio: 16/9; }
  .logo-img { height: 30px; }
  .craft-stamp { right: 12px; bottom: -12px; padding: 8px 14px; font-size: 0.68rem; }
  .big-quote p { font-size: 1.4rem; }
}

/* ===== BLOC VIDÉO 16/9 (séparateur hero / section suivante) ===== */
.section-video {
  padding: 70px 0;
  background: var(--paper-light);
  position: relative;
  z-index: 1;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 5;
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 30px 80px rgba(26, 26, 26, 0.1);
  transition: all 0.4s ease;
}

.video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(201, 169, 97, 0.2);
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ink-soft) 0%, var(--black) 100%);
  gap: 14px;
}

.play-button {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 12px;
  padding-left: 6px;
  transition: all 0.3s ease;
}

.video-wrapper:hover .play-button {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.1);
}

.video-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--paper);
  font-style: italic;
  letter-spacing: -0.01em;
}

.video-hint {
  font-size: 0.78rem;
  color: var(--gray-light);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .section-video { padding: 40px 0; }
  .play-button { width: 70px; height: 70px; font-size: 1.4rem; }
  .video-label { font-size: 1.1rem; }
}


/* ===== IMAGES EN BACKGROUND DES CARTES SHOWREEL ===== */
.showreel-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
  transition: transform 0.5s ease;
}

.showreel-item:hover .showreel-bg-img {
  transform: scale(1.04);
}

.showreel-placeholder {
  background: var(--ink) !important;
}

.showreel-placeholder > .showreel-num,
.showreel-placeholder > .showreel-label {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ===== LITE YOUTUBE EMBED + LIGHTBOX (charte or LP C) ===== */
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  background: #000;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: block;
}

/* Variante ultra-wide 12:5 (1920×800) pour le showreel principal */
.video-thumb-ultrawide {
  aspect-ratio: 12 / 5;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.video-thumb:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.video-thumb .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-thumb:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-light);
}

.video-thumb .play-btn svg {
  margin-left: 4px;
}

.video-thumb:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* ===== BOUTON PLAY OVERLAY SUR CARTES SHOWREEL (or) ===== */
.showreel-item[data-yt-id] {
  cursor: pointer;
}

.showreel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.showreel-item.showreel-large .showreel-play {
  width: 80px;
  height: 80px;
}

.showreel-play svg {
  margin-left: 3px;
}

.showreel-item[data-yt-id]:hover .showreel-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-light);
}

.showreel-item[data-yt-id]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* ===== VIMEO INLINE FAÇADE (marque-employeur) ===== */
.vimeo-inline{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#000;cursor:pointer}
.vimeo-inline img{width:100%;height:100%;object-fit:cover;display:block}
.vimeo-inline .vimeo-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.25);transition:background .25s ease;border:none;cursor:pointer;width:100%}
.vimeo-inline:hover .vimeo-play{background:rgba(0,0,0,.45)}
.vimeo-inline .vimeo-play svg{width:72px;height:72px;color:#fff;filter:drop-shadow(0 4px 14px rgba(0,0,0,.5));transition:transform .25s ease}
.vimeo-inline:hover .vimeo-play svg{transform:scale(1.08)}
.vimeo-inline iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
