/* videaste.be — « cinéma sombre » : fond salle obscure, lumière tungstène, cadres de caméra. */
:root {
  --ink: #0d0c0b;          /* fond, noir chaud de salle */
  --char: #151311;         /* bandes alternées */
  --panel: #1c1916;        /* cartes, formulaire */
  --bone: #efe8dc;         /* texte, papier de scénario */
  --mute: #a59c8f;         /* texte secondaire */
  --line: rgba(239, 232, 220, .13);
  --tungsten: #f0a64a;     /* lumière 3200 K, seul accent */
  --tungsten-ink: #1a1206;
  --rec: #e2483d;          /* voyant d'enregistrement */
  --f-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bone); text-decoration-color: rgba(240, 166, 74, .55); text-underline-offset: 3px; }
a:hover { color: var(--tungsten); }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-weight: 400; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-family: var(--f-display); font-size: clamp(2.6rem, 6.2vw, 5.2rem); letter-spacing: -.01em; }
h1 em, h2 em { color: var(--tungsten); }
h2 { font-family: var(--f-display); font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .02em; }
.small { font-size: .88rem; color: var(--mute); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: #d9d1c4; max-width: 62ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.band { background: var(--char); border-block: 1px solid var(--line); }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.mt { margin-top: 1.6em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tungsten); color: var(--tungsten-ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tungsten); margin-bottom: 1.1em; display: flex; align-items: center; gap: 10px; }
.rec { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 3px rgba(226, 72, 61, .18); animation: rec 1.6s steps(1) infinite; flex: none; }
@keyframes rec { 50% { opacity: .25; } }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--tungsten); color: var(--tungsten-ink); font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer; font: 700 1rem/1 var(--f-body); transition: transform .15s, background .15s; }
.btn:hover { background: #ffb85e; color: var(--tungsten-ink); transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.link { color: var(--bone); font-weight: 600; }

/* en-tête */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px 20px; background: rgba(13, 12, 11, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-size: 1.55rem; text-decoration: none; color: var(--bone); }
.brand .tld { color: var(--mute); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--mute); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--bone); }
@media (max-width: 760px) { .nav { display: none; } .top .btn-sm { margin-left: auto; } }

/* hero : cadre de caméra en 2.39:1 */
.hero { position: relative; padding: clamp(18px, 3vw, 36px) 20px 0; }
.frame { position: relative; max-width: 1240px; margin: 0 auto; aspect-ratio: 2.39 / 1; overflow: hidden; border-radius: 4px; background: #000; }
.frame picture { position: absolute; inset: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; opacity: .62; filter: saturate(.85) contrast(1.05); }
.frame::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(13, 12, 11, .75)), linear-gradient(transparent 55%, rgba(13, 12, 11, .9)); }
.frame::before { content: ''; position: absolute; inset: 7% 5%; z-index: 2; border: 1px solid rgba(239, 232, 220, .0);
  background:
    linear-gradient(var(--bone), var(--bone)) top left / 22px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) top left / 1px 22px no-repeat,
    linear-gradient(var(--bone), var(--bone)) top right / 22px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) top right / 1px 22px no-repeat,
    linear-gradient(var(--bone), var(--bone)) bottom left / 22px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) bottom left / 1px 22px no-repeat,
    linear-gradient(var(--bone), var(--bone)) bottom right / 22px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) bottom right / 1px 22px no-repeat;
  opacity: .55; }
.hud { position: absolute; z-index: 3; color: rgba(239, 232, 220, .82); font-size: clamp(.62rem, 1.1vw, .8rem); display: inline-flex; align-items: center; gap: 7px; }
.hud-tl { top: 9%; left: 6.5%; } .hud-tr { top: 9%; right: 6.5%; } .hud-tr2 { top: calc(9% + 1.6em); right: 6.5%; color: rgba(239, 232, 220, .55); }
.hero-copy { position: relative; z-index: 4; margin-top: clamp(-160px, -12vw, -60px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero-copy h1 { max-width: 15ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 1.6em; }
.hero-meta { color: var(--mute); margin-top: 1.4em; }
@media (max-width: 760px) { .frame { aspect-ratio: 16 / 10; } .hud-tr2 { display: none; } .hero-copy { margin-top: -40px; } }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: var(--panel); text-decoration: none; border: 1px solid var(--line); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .6s; filter: saturate(.8); }
.svc:hover img { opacity: .75; transform: scale(1.04); }
.svc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(13, 12, 11, .95)); }
.svc-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.svc-name { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--bone); }
.svc-short { font-size: .86rem; color: #cfc7ba; line-height: 1.45; }
.svc-budget { color: var(--tungsten); }
@media (max-width: 520px) { .svc-short { display: none; } .svc-name { font-size: 1.4rem; } }

/* étapes : vraie séquence */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 28px; }
.steps li:last-child { border-right: 0; }
.steps .mono { color: var(--tungsten); font-size: .85rem; }
.steps h3 { margin-top: .7em; }
.steps p { color: var(--mute); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* budgets */
.table-wrap { overflow-x: auto; margin-top: 28px; }
.budgets { width: 100%; border-collapse: collapse; min-width: 560px; }
.budgets caption { text-align: left; color: var(--mute); font-size: .88rem; padding-bottom: 12px; }
.budgets th, .budgets td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.budgets thead th { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.budgets tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; }
.budgets td.mono { color: var(--tungsten); font-size: .95rem; white-space: nowrap; }
.budgets td:last-child { color: #cfc7ba; }

/* régions */
.regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin-top: 32px; }
@media (max-width: 900px) { .regions { grid-template-columns: 1fr; } }
.region h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; margin-bottom: .3em; }
.prov { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 1.2em 0 .35em; font-weight: 500; }
.arrs { line-height: 1.9; }
.arrs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.arrs a:hover { border-color: var(--tungsten); }
.arr-line { color: var(--mute); font-size: .92rem; line-height: 1.8; }
.arr-line a { color: #d9d1c4; }

/* pages intérieures */
.crumbs { padding-top: 26px; font-size: .85rem; color: var(--mute); }
.crumbs a { color: var(--mute); }
.pagehead { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px); }
.pagehead h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; }
.pagehead.center h1 { margin-inline: auto; }
.two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.still { margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.still img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .9; }
.still.tall img { aspect-ratio: 2 / 3; }
.still.wide img { aspect-ratio: 21 / 9; }
.communes { list-style: none; padding: 0; margin: 28px 0 0; columns: 4 180px; column-gap: 28px; }
.communes li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); }
.communes a { text-decoration: none; }
.focus { display: grid; gap: 12px; margin: 22px 0 26px; }
.focus a { display: grid; gap: 4px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.focus a:hover { border-color: rgba(240, 166, 74, .6); }
.focus span { color: var(--mute); font-size: .92rem; }
.focus .mono { color: var(--tungsten); }
.svc-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 700px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-list a { text-decoration: none; font-weight: 600; }
.svc-list span { font-family: var(--f-mono); font-size: .8rem; color: var(--tungsten); white-space: nowrap; }
.budget-line { margin: 1.2em 0 1.6em; }
.budget-line .mono { color: var(--mute); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; display: block; }
.budget-line strong { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--tungsten); }
.checks { list-style: none; padding: 0; margin: 1.2em 0; }
.checks li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--tungsten); border-bottom: 2px solid var(--tungsten); transform: rotate(-45deg); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 820px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-family: var(--f-display); font-size: 2rem; color: var(--tungsten); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: #cfc7ba; padding-bottom: 12px; max-width: 70ch; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
.post { display: grid; gap: 12px; text-decoration: none; }
.post img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); opacity: .85; }
.post span { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; }
.article { padding-block: 36px 72px; max-width: 820px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.article .still { margin: 28px 0 36px; }
.prose { font-size: 1.08rem; color: #ddd5c8; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.4em; color: var(--bone); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .4em 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.prose blockquote { border-left: 2px solid var(--tungsten); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; color: var(--bone); }

/* formulaire */
.devis { background: var(--char); border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 104px); }
.devis-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .devis-grid { grid-template-columns: 1fr; } }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .86rem; color: var(--mute); font-weight: 500; }
.form label em { font-style: normal; opacity: .7; font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--bone); background: var(--ink); border: 1px solid rgba(239, 232, 220, .18); border-radius: 4px; padding: 12px 13px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--tungsten); box-shadow: 0 0 0 3px rgba(240, 166, 74, .2); }
.form input[type="date"] { color-scheme: dark; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form .consent { display: flex; gap: 10px; align-items: flex-start; color: var(--mute); }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--tungsten); }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 4px; font-weight: 600; }
.form-status.ok { background: rgba(240, 166, 74, .14); color: var(--bone); border: 1px solid rgba(240, 166, 74, .5); }
.form-status.err { background: rgba(226, 72, 61, .14); border: 1px solid rgba(226, 72, 61, .5); }
.form .invalid { border-color: var(--rec); }

/* pied de page */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; color: var(--mute); font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h3 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.foot li { padding: 3px 0; }
.foot a { color: var(--mute); text-decoration: none; }
.foot a:hover { color: var(--tungsten); }
.foot-brand .brand { margin-bottom: 14px; }
.credits { margin-top: 36px; font-size: .8rem; }

/* données utiles : fiche, lumière, infos pratiques, communes proches */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 0 0 18px; }
.facts > div { background: var(--panel); padding: 14px 16px; }
.facts dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; }
.facts dd a { color: var(--tungsten); }
.light { width: 100%; border-collapse: collapse; min-width: 560px; }
.light caption { text-align: left; color: var(--mute); font-size: .86rem; padding-bottom: 12px; max-width: 80ch; }
.light th, .light td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.light thead th { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.light tbody th { font-weight: 600; }
.light tbody th small { color: var(--mute); font-weight: 400; }
.light td.mono { font-size: .95rem; }
.light td:nth-child(3) { color: var(--tungsten); }
.practical { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; max-width: 900px; }
.practical > li { padding: 16px 0; border-bottom: 1px solid var(--line); color: #d9d1c4; }
.practical strong { color: var(--bone); }
.practical ul { margin: 8px 0 0; padding-left: 1.1em; }
.practical a { color: var(--tungsten); }
.near { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 900px) { .near { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.near li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.near a { text-decoration: none; }
.near .mono { color: var(--mute); white-space: nowrap; }
.communes small { color: var(--mute); margin-left: 4px; }
