/* Cinemmo — feuille de style unique, sans dépendance externe */

:root {
  --ink: #0a0a0a;
  --ink-2: #1c1c1c;
  --paper: #f5f5f5;
  --card: #ffffff;
  --muted: #5c5c5c;
  --muted-on-ink: #bdbdbd;
  --line: #e2e2e2;
  --line-on-ink: #333333;
  --accent: #0a0a0a;
  --accent-hover: #262626;
  --on-accent: #ffffff;
  --ring: #0a0a0a;
  --accent-dark: #525252;
  --accent-on-ink: #d4d4d4;
  --ok: #0a0a0a;
  --error: #b42318;
  --radius: 16px;
  --wrap: 1160px;
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-weight: 650; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }

a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* En-tête */
.site-header.at-top, .hero { --ring: #ffffff; }
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; pointer-events: none; }
.site-header .wrap {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100% - 1.5rem, 1080px); min-height: 60px; padding: 0 .5rem 0 1.1rem;
  background: rgba(240, 240, 238, .9); border: 1px solid rgba(10, 10, 10, .08); border-radius: 16px;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .16);
}
.site-header .wrap { transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-header.at-top .wrap { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .75rem 1.4rem; border-radius: 10px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.btn-glass:hover { background: rgba(255, 255, 255, .24); color: #fff; transform: translateY(-1px); }
.btn-glass svg { background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }
.site-nav { display: flex; gap: .15rem; margin: 0 auto 0 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .55rem .9rem; border-radius: 8px; transition: background .2s ease, color .2s ease; }
.site-nav a:hover { background: rgba(10, 10, 10, .07); color: var(--ink); }
/* En haut de l'accueil, la barre est posée sur la photo : textes clairs. */
.site-header.at-top .brand, .site-header.at-top .site-nav a { color: #fff; }
.site-header.at-top .site-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.site-header .brand svg rect { fill: var(--ink); }
.site-header .brand svg path { fill: #fff; }
.site-header.at-top .brand svg rect { fill: #fff; }
.site-header.at-top .brand svg path { fill: var(--ink); }
.site-actions { display: flex; align-items: center; gap: .25rem; }
.site-actions .btn { margin-left: .4rem; }
.nav-link, .lang summary { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .55rem .8rem; border-radius: 8px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.nav-link:hover, .lang summary:hover { background: rgba(10, 10, 10, .07); color: var(--ink); }
.site-header.at-top .nav-link, .site-header.at-top .lang summary { color: #fff; }
.site-header.at-top .nav-link:hover, .site-header.at-top .lang summary:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.lang { position: relative; }
.lang summary { list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + .6rem); min-width: 11.5rem; margin: 0; padding: .4rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.lang li a, .lang li span { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.lang li a { font-weight: 600; }
.lang li a:hover { background: rgba(10, 10, 10, .07); }
.lang li span { color: var(--muted); }
.lang small { font-size: .75rem; padding: .1rem .45rem; border-radius: 999px; background: var(--paper); }
section[id] { scroll-margin-top: 96px; }
main > section:first-child:not(.hero) { padding-top: 8.5rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-family: Georgia, "Times New Roman", Times, serif; font-style: italic; font-weight: 400; font-size: 1.75rem; letter-spacing: -.03em; line-height: 1; padding-bottom: .12em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; }

/* Bouton : un seul appel à l'action sur tout le site */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .75rem 1.5rem;
  background: var(--accent); color: var(--on-accent);
  border: 0; border-radius: 10px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.btn[disabled] { opacity: .6; cursor: progress; }
.hero .btn, .site-header.at-top .btn { background: rgba(255, 255, 255, .88); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header .btn { background: var(--ink); color: #fff; }
.site-header .btn:hover { background: var(--ink-2); color: #fff; box-shadow: none; }
.hero .btn:hover, .site-header.at-top .btn:hover { background: #fff; color: var(--ink); box-shadow: 0 8px 28px rgba(0, 0, 0, .3); }
.btn-small { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.alt { background: #fff; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }

/* Accueil : fond sombre et scène 3D */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: 8rem 0 5rem; background: var(--ink); color: #fff; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: 0; }
.hero-bg img:first-child { opacity: 1; }
/* Diaporama : 5 vues de 3,5 s en fondu, avec un zoom lent. Lancé par main.js une fois les images chargées. */
.hero-bg.tourne img { animation: vue 17.5s linear infinite backwards; animation-delay: calc(var(--n) * 3.5s - .8s); }
.hero-bg img:nth-child(1) { --n: 0; }
.hero-bg img:nth-child(2) { --n: 1; }
.hero-bg img:nth-child(3) { --n: 2; }
.hero-bg img:nth-child(4) { --n: 3; }
.hero-bg img:nth-child(5) { --n: 4; }
@keyframes vue {
  0% { opacity: 0; transform: scale(1); }
  4.6% { opacity: 1; }
  20% { opacity: 1; }
  24.6% { opacity: 0; transform: scale(1.07); }
  100% { opacity: 0; transform: scale(1.07); }
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 12, .62) 0%, rgba(20, 16, 12, .42) 45%, rgba(10, 10, 10, .9) 100%); }
.hero-copy { max-width: 60rem; align-self: center; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); letter-spacing: -.035em; line-height: 1.02; }
.hero .lead { margin-inline: auto; margin-bottom: 1.75rem; color: #e2e8f0; }
.showcase { background: var(--paper); overflow: hidden; }
.showcase .hero-note, .formats .hero-note { color: var(--muted); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .eyebrow { color: #fff; }

.hero h1 span { display: block; color: rgba(255, 255, 255, .6); }
.hero-note { margin-top: 1.1rem; font-size: .93rem; color: #cbd5e1; }

.scene { perspective: 1300px; padding: 6% 4% 8%; }
.stage {
  position: relative; aspect-ratio: 16 / 11;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 7deg)) rotateY(var(--ry, -16deg));
  transition: transform .25s ease-out;
}
.layer { position: absolute; border-radius: 14px; overflow: hidden; background: var(--ink-2); }
.layer img, .layer video { width: 100%; height: 100%; object-fit: cover; }
.layer-photo { width: 72%; left: 0; top: 0; aspect-ratio: 16 / 9; transform: translateZ(-110px); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(10, 10, 10, .14); }
.layer-clip { width: 72%; right: 0; bottom: 0; aspect-ratio: 16 / 9; transform: translateZ(40px); box-shadow: 0 30px 60px rgba(10, 10, 10, .28), 0 0 0 1px var(--line); }
.chip {
  position: absolute; white-space: nowrap;
  font-size: .82rem; font-weight: 600; line-height: 1;
  padding: .55rem .8rem; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(10, 10, 10, .12);
}
.chip-origine { left: 3%; top: 5%; transform: translateZ(-60px); }
.chip-plan { right: 3%; top: 45%; transform: translateZ(120px); }
.chip-plan::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink); margin-right: .45rem; }
.chip-fidele { left: 22%; bottom: -5%; transform: translateZ(150px); }

.facts { list-style: none; margin: 0; padding: 1.4rem 1.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: left; background: rgba(10, 10, 10, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.facts strong { display: block; font-size: 1.7rem; font-weight: 650; letter-spacing: -.02em; }
.facts span { color: var(--muted-on-ink); font-size: .93rem; }

/* Ce que fait l'IA */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); transition: transform .22s ease, box-shadow .22s ease; }
.panel, .price { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0)); }
.panel:hover, .price:hover { --lift: -4px; box-shadow: 0 22px 46px rgba(10, 10, 10, .14); }
.panel.dark { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.panel ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.panel li { padding: 1rem 0 1rem 2.2rem; border-top: 1px solid var(--line); position: relative; }
.panel li strong { display: block; }
.panel li span { color: var(--muted); }
.panel li::before { content: ""; position: absolute; left: .15rem; top: 1.45rem; width: 1rem; height: .5rem; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.panel.dark li::before { width: 1rem; height: 0; top: 1.75rem; border-left: 0; border-bottom: 3px solid var(--ink); transform: none; }

/* Preuve : départ et arrivée */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.proof figure { margin: 0; }
.proof img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.proof figcaption { margin-top: .7rem; font-size: .95rem; color: var(--muted); }
.proof figcaption strong { color: var(--ink); }
.fineprint { font-size: .93rem; color: var(--muted); margin-top: 1.5rem; max-width: 46rem; }

/* Jeu de photos en 3D */
.flow { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 1.2rem 0 1.2rem 3.4rem; border-top: 1px solid var(--line); position: relative; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 1.15rem; font-size: 1.4rem; font-weight: 650; color: var(--accent-dark); letter-spacing: -.02em; }
.steps h3 { margin-bottom: .25rem; }
.steps p { color: var(--muted); margin: 0; }

.deck { perspective: 1500px; }
.deck ul { list-style: none; margin: 0; padding: 0; position: relative; aspect-ratio: 16 / 8; transform-style: preserve-3d; }
.deck li {
  --i: 0;
  position: absolute; left: 50%; top: 2%; width: 38%;
  border-radius: 10px; overflow: hidden; background: var(--ink-2);
  box-shadow: 0 24px 50px rgba(10, 10, 10, .28);
  transform: translateX(calc(-50% + (var(--i) - 2.5) * 4%)) translateY(65%) translateZ(calc(var(--i) * -40px)) rotateY(-20deg) rotateX(6deg);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i) * 70ms);
}
.deck li:nth-child(2) { --i: 1; }
.deck li:nth-child(3) { --i: 2; }
.deck li:nth-child(4) { --i: 3; }
.deck li:nth-child(5) { --i: 4; }
.deck li:nth-child(6) { --i: 5; }
.deck.in li { transform: translateX(calc(-50% + (var(--i) - 2.5) * 22%)) translateY(calc(var(--i) * 26%)) translateZ(calc(var(--i) * 14px)) rotateY(-20deg) rotateX(6deg); }
.deck img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.deck figure { margin: 0; }
.deck figcaption { position: absolute; left: .5rem; bottom: .5rem; font-size: .72rem; font-weight: 600; line-height: 1; padding: .35rem .55rem; border-radius: 999px; background: rgba(14, 20, 32, .78); color: #fff; }

/* Exemple complet */
.player { border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 30px 70px rgba(14, 20, 32, .22); max-width: 980px; margin-inline: auto; }
.player video { width: 100%; aspect-ratio: 16 / 9; }

/* Tarifs */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.price { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; transition: transform .22s ease, box-shadow .22s ease; }
.price.featured { border: 2px solid var(--ink); }
.price .amount { font-size: 2.8rem; font-weight: 650; letter-spacing: -.03em; line-height: 1; margin: .5rem 0; }
.price .amount small { font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.price .per { color: var(--muted); margin: 0 0 1.1rem; }
.price-tags { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; min-height: 1.6rem; }
.price .save { font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.price-list { list-style: none; margin: 0 0 1.5rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; color: var(--muted); font-size: .95rem; }
.price-list li { padding-left: 1.6rem; position: relative; }
.price-list li::before { content: ""; position: absolute; left: .1rem; top: .45rem; width: .8rem; height: .4rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.price .btn { margin-top: auto; width: 100%; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; box-shadow: none; }
.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem; margin: 2rem 0 0; color: var(--muted); }
.versus-big { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 650; letter-spacing: -.03em; line-height: 1; margin: 1rem 0 .3rem; }
.versus-big small { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.versus-big.is-muted { color: #9a9a9a; }
.versus-sub { color: var(--muted); margin: 0; }
.price .tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; padding: .28rem .65rem; border-radius: 999px; }

/* Questions */
.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 2.2rem 1.15rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .95rem; font-size: 1.5rem; line-height: 1; color: var(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 2rem; }

/* Formulaire */
.request-section { background: var(--paper); }
.request-section .aside-note { color: var(--muted); }
.request { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 24px 60px rgba(10, 10, 10, .08); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .hint { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #868d9a; border-radius: 10px;
}
.field input[type="file"] { padding: .6rem; background: #fff; border-style: dashed; cursor: pointer; }
.field textarea { min-height: 96px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { color: var(--error); font-size: .92rem; font-weight: 600; margin: .35rem 0 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.ko { color: var(--error); }
.form .btn { width: 100%; margin-top: .5rem; }
.form .legal-note { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.cf-turnstile { margin: .25rem 0 .75rem; min-height: 65px; }

/* Pied de page */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: .93rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a, .site-footer .linklike { color: var(--muted); }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Pages légales et 404 */
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; letter-spacing: -.015em; }
.legal mark { background: #ffe9a8; color: var(--ink); padding: 0 .25rem; border-radius: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .6rem .7rem; border: 1px solid var(--line); }
.legal th { background: #fff; }
.table-scroll { overflow-x: auto; }
.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.notfound .lead { margin-inline: auto; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; color: var(--accent-dark); margin: 0; }

/* Bandeau cookies */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 44rem; margin-inline: auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; box-shadow: 0 20px 60px rgba(14, 20, 32, .3);
}
.cookie p { margin: 0 0 .9rem; font-size: .95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie button {
  flex: 1 1 10rem; min-height: 44px; padding: .5rem 1rem;
  font: inherit; font-weight: 600; cursor: pointer;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 10px;
}

/* Démo : le curseur fait avancer la caméra */
.scrub { max-width: 980px; margin-inline: auto; }
.scrub-screen { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .2); }
.scrub-screen video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scrub-time { position: absolute; left: 1rem; top: 1rem; min-width: 4.2rem; text-align: center; font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; padding: .5rem .8rem; border-radius: 999px; background: rgba(10, 10, 10, .72); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.scrub-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: 1.1rem; font-size: .93rem; font-weight: 600; }
.scrub-bar input { width: 100%; height: 44px; margin: 0; accent-color: var(--ink); cursor: ew-resize; }

/* Démo : l'écran se redresse en entrant dans la fenêtre */
#demo .wrap { perspective: 1600px; }
.js-redresse { transform: rotateX(var(--incline, 0deg)) scale(var(--echelle, 1)); transform-origin: 50% 100%; will-change: transform; }

/* Formats : écran et téléphone en 3D */
.formats { background: var(--paper); overflow: hidden; }
.devices { perspective: 1400px; padding: 6% 4%; }
.devices-stage { position: relative; aspect-ratio: 16 / 11; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, 14deg)); transition: transform .25s ease-out; }
.device-screen, .device-phone { position: absolute; overflow: hidden; background: #000; }
.device-screen video, .device-phone video { width: 100%; height: 100%; object-fit: cover; }
.device-screen { left: 0; top: 6%; width: 86%; aspect-ratio: 16 / 9; border: 6px solid #1c1c1c; border-radius: 14px; box-shadow: 0 30px 60px rgba(10, 10, 10, .22); transform: translateZ(-40px); }
.device-phone { right: 2%; bottom: 0; width: 24%; aspect-ratio: 9 / 16; border: 6px solid #0a0a0a; border-radius: 22px; box-shadow: 0 24px 50px rgba(10, 10, 10, .3); transform: translateZ(90px); }
.chip-h { left: 4%; top: -2%; transform: translateZ(20px); }
.chip-v { right: 12%; top: 18%; transform: translateZ(150px); }

/* Galerie d'exemples */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.clip-card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 18px 40px rgba(10, 10, 10, .12); }
.clip-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.clip-card figcaption { position: absolute; left: .75rem; bottom: .75rem; font-size: .8rem; font-weight: 600; line-height: 1; padding: .45rem .7rem; border-radius: 999px; background: rgba(10, 10, 10, .72); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Comparaison avec un tournage */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 60rem; }
.versus dl { margin: 1.25rem 0 0; }
.versus dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: .95rem 0; border-top: 1px solid var(--line); }
.versus dt { color: var(--muted); }
.versus dd { margin: 0; font-weight: 650; text-align: right; }

/* Tout est inclus */
.included-title { margin: 3.5rem 0 1.25rem; font-size: 1.35rem; }
.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.included li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 3.1rem; position: relative; }
.included li::before { content: ""; position: absolute; left: 1.25rem; top: 1.55rem; width: .9rem; height: .45rem; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.included strong { display: block; line-height: 1.3; margin-bottom: .25rem; }
.included span { color: var(--muted); font-size: .93rem; }

/* Pages de formulaire : choix de formule, renvois */
.request h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.choices { border: 0; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .6rem; }
.choices legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.choice { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--muted); transition: border-color .2s ease; }
.choice strong { color: var(--ink); margin-right: .35rem; }
.choice input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--ink); flex: none; }
.choice:has(input:checked) { border: 2px solid var(--ink); padding: calc(.85rem - 1px) calc(1rem - 1px); }
.next-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.next-steps .panel { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--ink); }
.next-steps .panel h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.next-steps .panel p { color: var(--muted); }
.next-steps .panel .btn { margin-top: auto; }

/* Inscription : formulaire à gauche, photos qui défilent à droite */
main > section.auth:first-child { padding: 0; }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; background: #fff; }
.auth-form { display: flex; justify-content: center; padding: 7.5rem 1.5rem 3rem; }
.auth-inner { width: 100%; max-width: 27rem; }
.auth-inner h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.auth-inner .lead { font-size: 1.05rem; margin-bottom: 1.75rem; }
.auth-inner .btn { width: 100%; }
.btn-google { gap: .65rem; }
.auth-or { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--muted); font-size: .9rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-inner #google-status { margin: 0 0 1.25rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; }
.auth-visual { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; padding: clamp(1.5rem, 4vw, 3.5rem); }
.auth-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, .15) 0%, rgba(10, 10, 10, .2) 45%, rgba(10, 10, 10, .78) 100%); }
.auth-slogan { margin: 0; color: #fff; font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.04; }
.auth-slogan span { display: block; color: rgba(255, 255, 255, .62); }

/* Pied de page en colonnes */
.site-footer .footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.site-footer .footer-grid p { margin: 0 0 .7rem; max-width: 26rem; }
.site-footer nav ul { display: grid; gap: .55rem; }
.footer-brand { color: var(--ink); font-family: Georgia, "Times New Roman", Times, serif; font-style: italic; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.footer-title { color: var(--ink); font-weight: 600; }
.site-footer .footer-bottom { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Mobile */
@media (max-width: 880px) {
  .site-nav, .lang, .nav-link { display: none; }
  .showcase-grid, .duo, .flow, .request { grid-template-columns: 1fr; }
  .prices, .gallery, .versus, .next-steps, .site-footer .footer-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .included { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .scene { padding: 8% 6% 10%; }
  .deck li { width: 34%; }
}

@media (max-width: 560px) {
  .included { grid-template-columns: 1fr; }
  .chip { font-size: .72rem; padding: .45rem .65rem; }
  .brand { font-size: 1.45rem; white-space: nowrap; }
  .brand svg { display: none; }
  .btn-small { font-size: .82rem; padding: .4rem .8rem; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
