/* Accroche Studio — DA : blanc, primaire « orange REC », secondaire « bleu nuit ». Police : Inter Tight. */
:root {
  --white: #ffffff;
  --soft: #f6f7f9;
  --line: #e6e8ee;
  --ink: #0e1320;
  --muted: #586070;
  --primary: #d63a06;        /* orange REC : boutons, accents */
  --primary-hover: #b93004;
  --primary-tint: #fff1eb;
  --primary-glow: rgba(214, 58, 6, 0.22);
  --secondary: #10213f;      /* bleu nuit : sections sombres, pied de page */
  --secondary-2: #1b3160;
  --secondary-tint: #eef1f7;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 19, 32, 0.06), 0 12px 32px rgba(14, 19, 32, 0.08);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 88px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.container-narrow { max-width: 780px; }
.accent { color: var(--primary); }
.accent-light { color: #ff8a5c; }
.nowrap { white-space: nowrap; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; letter-spacing: -0.04em; text-decoration: none; color: var(--ink); }
.logo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.logo-studio { font-weight: 500; color: var(--muted); margin-left: 3px; }
.logo-light { color: #fff; }
.logo-light .logo-studio { color: rgba(255,255,255,.6); }
.logo-light .logo-dot { box-shadow: 0 0 0 4px rgba(214,58,6,.25); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 28px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
.btn-block { width: 100%; }

/* Navigation */
.nav-wrap { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; padding: 14px 16px 0; pointer-events: none; }
.nav { pointer-events: auto; max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .25s; }
.nav.is-scrolled { box-shadow: var(--shadow); }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .logo { font-size: 19px; } }

/* En-tête */
.hero { padding-top: 150px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); background: #fff; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); animation: rec 1.6s ease-in-out infinite; flex: none; }
@keyframes rec { 50% { opacity: .25; } }
.hero h1 { margin-top: 26px; max-width: 980px; font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.05em; }
.lead { margin-top: 22px; max-width: 640px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); }
.proofs { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.proofs li { display: inline-flex; align-items: center; gap: 7px; }
.proofs svg { width: 17px; height: 17px; color: var(--primary); flex: none; }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.showreel-wrap { position: relative; margin-top: 58px; max-width: 1060px; }
.showreel-glow { position: absolute; inset: -40px -30px; z-index: -1; border-radius: 60px; background: radial-gradient(60% 60% at 50% 55%, var(--primary-glow), transparent 70%); filter: blur(20px); }
.showreel { margin: 0; position: relative; border-radius: 26px; overflow: hidden; background: var(--secondary); border: 8px solid #fff; box-shadow: 0 30px 80px rgba(16,33,63,.22); aspect-ratio: 16 / 9; }
.showreel video { width: 100%; height: 100%; object-fit: cover; }
.showreel figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(14,19,32,.72); color: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 560px) { .showreel { border-width: 5px; border-radius: 18px; } .hero { padding-top: 120px; } }

/* Faits */
.facts { margin-top: 90px; border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 20px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--secondary); font-variant-numeric: tabular-nums; }
.fact span { font-size: 14.5px; color: var(--muted); max-width: 22ch; }
@media (max-width: 860px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Sections */
.section { padding-block: 110px; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--secondary); color: #fff; }
.section-head { max-width: 700px; margin: 0 auto 50px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.05; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow-light { background: rgba(255,255,255,.1); color: #ffb391; }
@media (max-width: 640px) { .section { padding-block: 80px; } }

/* Réalisations */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab { font: 600 14.5px var(--font); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.tab.is-active { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.work-grid { display: grid; gap: 18px; }
.work-h { grid-template-columns: repeat(3, 1fr); }
.work-v { grid-template-columns: repeat(5, 1fr); margin-top: 18px; }
.work { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--secondary); cursor: pointer; text-align: left; font: inherit; color: #fff; box-shadow: var(--shadow); transition: transform .3s; }
.work:hover { transform: translateY(-4px); }
.work-h .work { aspect-ratio: 16 / 10; }
.work-v .work { aspect-ratio: 9 / 16; }
.work video { width: 100%; height: 100%; object-fit: cover; }
.work-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; display: flex; flex-direction: column; background: linear-gradient(transparent, rgba(8,14,28,.85)); }
.work-meta strong { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.work-meta em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.75); }
.play { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.play::after { content: ""; position: absolute; left: 15px; top: 11px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--primary); }
.work.is-hidden { display: none; }
@media (max-width: 960px) { .work-h { grid-template-columns: repeat(2, 1fr); } .work-v { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .work-h { grid-template-columns: 1fr; } .work-v { grid-template-columns: repeat(2, 1fr); } }

/* Méthode */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-size: 15px; font-weight: 800; color: var(--primary); letter-spacing: .02em; }
.step h3 { font-size: 1.45rem; font-weight: 800; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--soft); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.tile-lg { grid-column: span 2; }
.tile h3 { font-size: 1.25rem; font-weight: 800; margin-top: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 46ch; }
.viz { height: 120px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.viz-swatches span { width: 56px; height: 56px; border-radius: 14px; animation: pop 3.2s ease-in-out infinite; }
.viz-swatches span:nth-child(1) { background: var(--secondary); }
.viz-swatches span:nth-child(2) { background: var(--primary); animation-delay: .2s; }
.viz-swatches span:nth-child(3) { background: #ffb391; animation-delay: .4s; }
.viz-swatches span:nth-child(4) { background: var(--secondary-tint); border: 1px solid var(--line); animation-delay: .6s; }
@keyframes pop { 0%, 70%, 100% { transform: translateY(0); } 35% { transform: translateY(-10px); } }
.viz-number span { font-size: 44px; font-weight: 800; letter-spacing: -0.05em; color: var(--primary); animation: count 3s ease-in-out infinite; }
@keyframes count { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.viz-quote { flex-direction: column; gap: 8px; }
.viz-quote span { color: #f2a93b; letter-spacing: 3px; font-size: 18px; }
.viz-quote i { display: block; height: 8px; border-radius: 4px; background: var(--line); width: 70%; }
.viz-quote i + i { width: 48%; }
.viz-wave { gap: 5px; }
.viz-wave i { width: 6px; border-radius: 3px; background: var(--secondary); animation: wave 1.2s ease-in-out infinite; }
.viz-wave i:nth-child(odd) { background: var(--primary); }
.viz-wave i:nth-child(1) { animation-delay: -.1s; } .viz-wave i:nth-child(2) { animation-delay: -.3s; } .viz-wave i:nth-child(3) { animation-delay: -.5s; }
.viz-wave i:nth-child(4) { animation-delay: -.2s; } .viz-wave i:nth-child(5) { animation-delay: -.6s; } .viz-wave i:nth-child(6) { animation-delay: -.4s; }
.viz-wave i:nth-child(7) { animation-delay: -.7s; } .viz-wave i:nth-child(8) { animation-delay: -.15s; } .viz-wave i:nth-child(9) { animation-delay: -.45s; }
@keyframes wave { 0%, 100% { height: 16px; } 50% { height: 70px; } }
.viz-formats { gap: 16px; align-items: flex-end; padding-bottom: 18px; }
.viz-formats span { display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; }
.f169 { width: 128px; height: 72px; background: var(--secondary); }
.f916 { width: 48px; height: 86px; background: var(--primary); }
.f11 { width: 64px; height: 64px; background: var(--secondary-2); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile-lg { grid-column: auto; } }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.plan h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-desc { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; flex: 1; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }
.plan-featured { border: 2px solid var(--primary); box-shadow: 0 20px 50px var(--primary-glow); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Engagements */
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 22px; background: rgba(255,255,255,.04); }
.promise h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.promise h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--primary); margin-bottom: 16px; }
.promise p { color: rgba(255,255,255,.72); font-size: 15px; }
@media (max-width: 960px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.05rem; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Démo */
.section-cta { background: linear-gradient(180deg, #fff 0%, var(--primary-tint) 100%); }
.cta-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.cta-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.05; }
.cta-copy p { color: var(--muted); font-size: 1.08rem; }
.cta-points { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; font-weight: 500; }
.cta-points li { display: flex; gap: 10px; align-items: center; }
.cta-points li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); flex: none; }
.demo-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.demo-form label { font-size: 14.5px; font-weight: 600; margin: 14px 0 6px; }
.demo-form label:first-child { margin-top: 0; }
.opt { font-weight: 400; color: var(--muted); }
.demo-form input, .demo-form textarea { font: 16px var(--font); color: var(--ink); padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); width: 100%; resize: vertical; }
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-tint); }
.demo-form .btn { margin-top: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 12px; font-size: 15px; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1c7c4a; }
.form-status.err { color: var(--primary-hover); }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--muted); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; gap: 36px; } .demo-form { padding: 22px; } }

/* Pied de page */
.footer { background: var(--secondary); color: #fff; padding-top: 70px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-tag { margin-top: 10px; color: rgba(255,255,255,.65); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 15px; }
.footer-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.legal { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.legal details { border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.legal summary { cursor: pointer; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); }
.legal p { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.62); max-width: 90ch; }
.giant { margin-top: 40px; font-size: clamp(4.5rem, 19vw, 16rem); font-weight: 800; letter-spacing: -0.07em; line-height: .8; color: rgba(255,255,255,.07); user-select: none; white-space: nowrap; }
.giant span { color: var(--primary); opacity: .9; }
.copyright { padding: 18px 0 calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: rgba(255,255,255,.5); }

/* Lecteur */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(8,14,28,.86); backdrop-filter: blur(4px); }
.lightbox video { width: 100%; max-height: 82vh; border-radius: 18px; background: #000; }
.lightbox.is-vertical { max-width: min(460px, 94vw); }
.lightbox-title { color: #fff; font-weight: 700; margin-bottom: 12px; padding-right: 50px; }
.lightbox-close { position: absolute; top: -6px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

/* Apparition */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-pending { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal.is-pending { opacity: 1; transform: none; transition: none; }
  .rec, .viz-swatches span, .viz-number span, .viz-wave i { animation: none; }
}
.work-grid[hidden] { display: none; }
.work-h[hidden] + .work-v { margin-top: 0; }
.tile-full { grid-column: 1 / -1; }
.viz-caption span { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; color: var(--secondary); animation: type 3.2s steps(1) infinite; }
.viz-caption b { color: var(--primary); }
@keyframes type { 0% { opacity: .15; } 20%, 100% { opacity: 1; } }
@media (max-width: 860px) { .tile-full { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .viz-caption span { animation: none; } }
html, body { overflow-x: clip; }
@media (max-width: 560px) {
  .showreel-glow { inset: -30px 0; }
  .nav { padding-left: 14px; gap: 8px; }
  .nav .btn-sm { padding: 0 14px; font-size: 14px; }
  .logo-studio { display: none; }
  .logo-light .logo-studio { display: inline; }
}
