/* ============================================
   LP FILM CORPORATE — Variante B
   Angle Vidéo d'entreprise — Éditorial : anthracite + terre cuite
   ============================================ */

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

:root {
  --terra: #c2410c;
  --terra-dark: #9a3308;
  --terra-light: #ea580c;
  --terra-pale: #fef3eb;
  --anthracite: #1f2937;
  --anthracite-soft: #374151;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --paper: #faf7f0;
  --paper-light: #fdfbf6;
  --white: #ffffff;
  --border: #e7e2d4;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--slate-700);
  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: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPO ===== */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--anthracite);
  font-variation-settings: "opsz" 96;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; }

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 24px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--terra);
}
.section-title { margin-bottom: 22px; }
.section-sub {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: var(--slate-500);
  max-width: 760px;
  line-height: 1.5;
  font-weight: 400;
  font-variation-settings: "opsz" 14;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 36px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
}
.btn-primary { background: var(--terra); color: var(--white); border: 1px solid var(--terra); }
.btn-primary:hover { background: var(--terra-dark); border-color: var(--terra-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(194, 65, 12, 0.3); }
.btn-ghost { background: transparent; color: var(--anthracite); border: 1px solid var(--anthracite); }
.btn-ghost:hover { background: var(--anthracite); color: var(--paper-light); }
.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, 251, 246, 0.95);
  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(--slate-500); letter-spacing: 0.02em; font-weight: 500; }
.header-phone strong { color: var(--anthracite); font-weight: 700; margin-left: 4px; }
.header-phone:hover strong { color: var(--terra); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--paper-light);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-meta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px;
  background: var(--white); border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.82rem; font-weight: 500; color: var(--slate-500);
  margin-bottom: 40px;
}
.meta-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--terra);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { margin-bottom: 36px; letter-spacing: -0.03em; max-width: 1100px; }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--slate-500); margin-bottom: 44px; max-width: 720px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 110px 0; position: relative; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--anthracite); color: var(--slate-300); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { text-align: center; margin-bottom: 70px; }
.section-head .section-tag, .section-head .section-sub { margin-left: auto; margin-right: auto; }
.section-head .section-tag { display: inline-flex; }

/* ===== VIMEO PLAYER ===== */
.section-video {
  padding: 70px 0;
  background: var(--paper-light);
  position: relative; z-index: 1;
}
.vimeo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--anthracite);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(31, 41, 55, 0.15);
  border: 1px solid var(--border);
}
.vimeo-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===== SHOWREEL GRID ===== */
.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(--anthracite);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}
.showreel-item:not(.showreel-large) { aspect-ratio: 1; }
.showreel-large { aspect-ratio: auto; min-height: 320px; }
.showreel-item:hover { border-color: var(--terra); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(194,65,12,0.15); }
.showreel-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.showreel-item:hover img { transform: scale(1.04); }
.showreel-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,41,55,0.75) 0%, rgba(31,41,55,0.1) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 22px;
  transition: opacity 0.3s ease;
}
.showreel-item-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terra-light);
  margin-bottom: 6px;
}
.showreel-item-label {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1rem; color: var(--white); font-weight: 500; line-height: 1.3;
}
.showreel-link { text-align: center; }
.link-arrow {
  display: inline-block; color: var(--terra);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.88rem;
  padding: 12px 0; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--terra); transition: all 0.3s ease;
}
.link-arrow:hover { color: var(--anthracite); border-color: var(--anthracite); transform: translateX(6px); }

/* ===== PILLARS ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  padding: 40px 32px; background: var(--white);
  border: 1px solid var(--border); border-radius: 2px;
  transition: all 0.3s ease; position: relative;
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 36px; height: 2px; background: var(--terra);
  transition: width 0.4s ease;
}
.pillar:hover { border-color: var(--terra); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(31,41,55,0.08); }
.pillar:hover::before { width: 100%; }
.pillar-num { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--terra); margin-bottom: 24px; font-style: italic; font-weight: 500; }
.pillar h3 { margin-bottom: 14px; font-size: 1.2rem; }
.pillar p { color: var(--slate-500); font-size: 0.94rem; line-height: 1.7; }

/* ===== GRID 3 (usages) ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  padding: 36px 30px; background: var(--white);
  border: 1px solid var(--border); border-radius: 2px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--terra); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(31,41,55,0.06); }
.card-num { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--terra); margin-bottom: 22px; font-style: italic; font-weight: 500; }
.card h3 { margin-bottom: 14px; font-size: 1.2rem; }
.card p { color: var(--slate-500); font-size: 0.94rem; line-height: 1.7; }

/* ===== CONTACT ===== */
.section-contact { background: var(--paper); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-intro p { color: var(--slate-500); 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(--white);
  border: 1px solid var(--border); border-radius: 2px; transition: all 0.3s ease;
}
.contact-phones a:hover { border-color: var(--terra); transform: translateY(-2px); }
.contact-phones span { font-size: 0.74rem; color: var(--terra); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-phones strong { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--anthracite); font-weight: 500; }
.contact-form { background: var(--white); padding: 48px 42px; 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-size: 0.74rem; font-weight: 600; color: var(--anthracite); margin-bottom: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px;
  background: var(--paper-light); border: 1px solid var(--border); border-radius: 2px;
  color: var(--anthracite); font-family: 'Inter', sans-serif; font-size: 0.98rem;
  transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--terra); background: var(--white);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.08);
}
.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(--terra); cursor: pointer; }
.form-consent label { font-size: 0.85rem; color: var(--slate-500); 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: 'Fraunces', serif; font-style: italic; }
.form-success { background: var(--terra-pale); color: var(--terra-dark); border-left: 3px solid var(--terra); }
.form-error { background: #fef2f2; color: #991b1b; border-left: 3px solid #ef4444; }

/* ===== FOOTER ===== */
.footer { background: var(--anthracite); color: var(--slate-300); 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(--slate-300); line-height: 1.6; }
.footer-text strong { color: var(--white); font-weight: 600; }
.footer-links a { font-size: 0.82rem; color: var(--terra-light); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .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: 70px 0; }
  .section-video { padding: 40px 0; }
  .hero { padding: 130px 0 70px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .pillars { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .showreel-grid { grid-template-columns: 1fr; }
  .showreel-large { grid-column: auto; aspect-ratio: 16/9; }
  .logo-img { height: 30px; }
}
