:root {
  color-scheme: dark;
  --bg: #111313;
  --surface: #191c1b;
  --paper: #efede4;
  --text: #faf8f0;
  --muted: #bbbbaf;
  --line: #393c36;
  --accent: #e8fa7c;
  --ink: #191c13;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
img { max-width: 100%; }
[id] { scroll-margin-top: 20px; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 16px; top: -60px; padding: 12px; color: var(--ink); background: var(--accent); }
.skip:focus { top: 12px; }
.header { background: #111313; border-bottom: 1px solid #2e322d; }
.header-inner, .footer-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 132px; height: auto; }
nav { display: flex; gap: clamp(12px, 3.2vw, 36px); align-items: center; }
nav a { font-size: 14px; text-decoration: none; font-weight: 650; color: #e5e3d8; }
nav a:hover, .footer a:hover { color: var(--accent); }
nav .nav-contact { border: 1px solid var(--line); padding: 10px 15px; border-radius: 6px; }
.nav-contact span, .service-link span { margin-left: .3em; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 620px; overflow: hidden; background: #161e20; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { object-fit: cover; object-position: center; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0b0e0eee 0%, #0c1110bf 36%, #171a1306 84%), linear-gradient(0deg, #1316159e, transparent 37%); }
.hero-copy { padding-block: 82px 95px; }
.eyebrow { margin: 0 0 18px; font-size: .73rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: #e4e6d5; display: flex; align-items: center; gap: 9px; }
.hero .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -.06em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 6.1vw, 5.85rem); font-weight: 780; }
h1 em { font-style: normal; color: var(--accent); }
.hero-description { margin: 24px 0 28px; max-width: 32rem; color: #e9e9dc; font-size: clamp(1.06rem, 1.8vw, 1.25rem); line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 47px; padding: 11px 16px; border: 1px solid transparent; border-radius: 6px; font: inherit; font-size: .92rem; font-weight: 780; text-decoration: none; cursor: pointer; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #f0ff9a; }
.button:disabled { opacity: .56; cursor: progress; }
.section { padding-block: clamp(64px, 9vw, 106px); }
.section h2 { font-size: clamp(2.35rem, 5vw, 4.12rem); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 3.5vw, 38px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.service-card h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-top: 26px; }
.service-card p, .contact-grid > div p { font-size: 1rem; line-height: 1.65; color: var(--muted); }
.service-card p { margin: 15px 0 22px; max-width: 40ch; }
.service-list { list-style: none; margin: auto 0 0; padding: 0; }
.service-list li { position: relative; padding: 10px 8px 10px 19px; border-top: 1px solid var(--line); line-height: 1.4; font-size: .94rem; }
.service-list li::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; top: 17px; left: 2px; background: var(--accent); }
.service-link { display: inline-block; align-self: flex-start; margin-top: 19px; padding-block: 6px; text-underline-offset: 4px; color: var(--accent); font-weight: 680; }
.service-icon { width: 43px; height: 36px; position: relative; color: var(--accent); }
.video-icon { border: 2px solid currentColor; border-radius: 7px; }
.video-icon i { position: absolute; width: 0; height: 0; top: 9px; left: 15px; border: 7px solid transparent; border-right: 0; border-left: 11px solid currentColor; }
.workflow-icon { display: grid; align-content: space-evenly; }
.workflow-icon i { display: block; width: 78%; height: 2px; margin-left: 15%; background: currentColor; position: relative; }
.workflow-icon i::before { content: ""; position: absolute; width: 7px; height: 7px; background: currentColor; border-radius: 50%; top: -2px; left: -9px; }
.workflow-icon i:nth-child(2) { width: 56%; }
.portfolio { background: var(--surface); border-top: 1px solid var(--line); }
.portfolio-project { margin-top: 30px; }
.portfolio-copy { margin-bottom: 20px; }
.portfolio-copy h3 { font-size: clamp(1.75rem, 3.6vw, 2.65rem); }
.portfolio-copy p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.portfolio-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.portfolio-gallery figure { margin: 0; }
.portfolio-gallery img { display: block; width: 100%; height: auto; border-radius: 12px; }
.portfolio-gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.portfolio-project + .portfolio-project { margin-top: clamp(42px, 7vw, 78px); }
.clip-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
/* The source captures share a centered player. Crop its margins at each film ratio. */
.clip-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 2092 / 1179;
}
.clip-wide { aspect-ratio: 2092 / 886; }
.clip-frame img {
  position: absolute;
  width: 122.18%;
  max-width: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0;
}
.clip-details { margin-top: 20px; }
.clip-details summary {
  width: fit-content;
  cursor: pointer;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
}
.clip-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.clip-details .clip-gallery { margin-top: 18px; }
.project { background: var(--paper); color: #1d211b; }
.project-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 8vw, 116px); align-items: center; }
.project .eyebrow { color: #4a5441; }
.project h2 { font-size: clamp(3.2rem, 7vw, 5.7rem); }
.project-lead { font-weight: 750; font-size: 1.25rem; }
.project p:last-child { max-width: 43ch; line-height: 1.62; }
.project-steps { list-style: none; margin: 0; padding: 0; }
.project-steps li { min-height: 60px; display: flex; align-items: center; gap: 13px; border-top: 1px solid #c7c9bc; padding: 10px 0; }
.project-steps li:last-child { border-bottom: 1px solid #c7c9bc; }
.step-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 6px; color: #1d211b; background: #dce792; }
.contact-grid { align-items: start; grid-template-columns: .85fr 1.15fr; }
.contact-grid > div p { max-width: 37ch; }
form { display: grid; gap: 15px; }
form[hidden] { display: none; }
.contact-indisponible { margin: 0; color: var(--muted); line-height: 1.6; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
form label { display: grid; gap: 7px; font-size: .92rem; font-weight: 680; min-width: 0; }
input, select, textarea { width: 100%; min-width: 0; color: var(--text); background: var(--surface); border: 1px solid #55594e; border-radius: 6px; padding: 12px; font: inherit; min-height: 46px; font-size: 1rem; }
textarea { min-height: 126px; resize: vertical; }
textarea::placeholder { color: #aeafa1; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.form-footer small, .footer { color: var(--muted); }
.form-status { margin: 0; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.error { color: #ffb79b; }
.footer { border-top: 1px solid var(--line); font-size: .85rem; }
.footer-inner { min-height: 92px; }
.footer-brand { display: block; width: 98px; height: auto; }
.footer a { text-underline-offset: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-block: 20px 36px; }
.legal h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 32px; }
.legal p { color: var(--muted); line-height: 1.65; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 38px); }
  .hero { min-height: 570px; }
  .hero-image { object-position: 63% center; }
  .hero::after { background: linear-gradient(90deg, #0b0e0edf, #0c111078 60%, #0c111036), linear-gradient(0deg, #111614c4 0%, transparent 85%); }
  .hero-copy { padding-block: 66px 75px; }
  .service-grid, .portfolio-gallery, .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .clip-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card p { max-width: none; }
}
@media (max-width: 470px) {
  .header-inner { min-height: 67px; gap: 8px; }
  nav { gap: 10px; }
  nav a { font-size: .77rem; }
  nav .nav-contact { padding: 8px; }
  .brand img { width: 98px; }
  .hero { min-height: 515px; }
  h1 { font-size: clamp(2.7rem, 10.1vw, 3.55rem); }
  .form-pair { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: 8px 20px; padding-block: 20px; }
}
@media (max-width: 350px) {
  .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .header-inner nav { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
