/* ==========================================================
   Refina Digital — estilos
   Paleta: preto, branco, mármore P&B + amarelos #EDE582 / #B89E25
   Tipografia (manual da marca):
     títulos     → Poppins Bold,  tracking -60
     subtítulos  → Poppins Light, tracking -60
     especiais   → Butler Black
   ========================================================== */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 300; font-style: italic; font-display: swap; src: url("../fonts/poppins-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
/* Butler Black: coloque butler-black.woff2 (ou .otf) em assets/fonts/.
   Enquanto não estiver lá, o navegador usa a Playfair Display Black, de desenho parecido. */
@font-face { font-family: "Butler"; font-weight: 900; font-style: normal; font-display: swap;
  src: local("Butler Black"), local("Butler-Black"), url("../fonts/butler-black.woff2") format("woff2"), url("../fonts/butler-black.otf") format("opentype"); }
@font-face { font-family: "Butler Fallback"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/playfair-display-900.woff2") format("woff2"); }

:root {
  --ink: #0b0b0b;
  --ink-2: #151515;
  --ink-3: #222;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #fff;
  --line-dark: rgba(255, 255, 255, .14);
  --line-light: #ddd7ca;
  --muted-dark: rgba(255, 255, 255, .66);
  --muted-light: #5f5a51;
  --gold: #B89E25;        /* amarelo envelhecido (manual) */
  --gold-soft: #EDE582;   /* amarelo claro do logotipo */
  --gold-deep: #8C7818;   /* versão escura só para texto pequeno em fundo claro (contraste) */

  --font-display: "Poppins", system-ui, sans-serif;           /* títulos: Bold */
  --font-light: "Poppins", system-ui, sans-serif;             /* subtítulos: Light */
  --font-special: "Butler", "Butler Fallback", Georgia, serif; /* ocasiões especiais */
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track: -0.06em;       /* tracking -60 */

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
.special { font-family: var(--font-special); font-weight: 900; letter-spacing: -0.01em; color: var(--gold-soft); }
.section-light .special, .marble-light .special { color: var(--gold); }
.special-block { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 22px;
}
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1.06;
  letter-spacing: var(--track);
}
.lead { font-family: var(--font-light); font-size: clamp(20px, 2vw, 24px); line-height: 1.45; font-weight: 300; letter-spacing: var(--track); }
.section-intro { font-family: var(--font-light); font-weight: 300; letter-spacing: -0.03em; font-size: 19px; color: var(--muted-dark); max-width: 640px; margin-top: 28px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-soft); color: var(--ink); }
.btn-gold:hover { background: var(--gold); }
.btn-outline { border-color: var(--line-dark); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-lg { padding: 18px 34px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Mármore ---------- */
.marble-dark {
  background: var(--ink) url("../img/refina-digital-brasil-marmore-preto.jpg") center / cover no-repeat;
}
.marble-light {
  background: var(--paper) url("../img/refina-digital-brasil-marmore-branco.jpg") center / cover no-repeat;
  color: var(--ink);
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 22px 0;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 11, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 46px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .logo img { height: 38px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.main-nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted-dark);
  position: relative; padding: 6px 0; transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-cta { padding: 11px 20px; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; margin-left: auto; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 110px;
  overflow: hidden; isolation: isolate;
}
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 15% 40%, rgba(11,11,11,.35) 0%, rgba(11,11,11,.82) 70%),
    linear-gradient(180deg, rgba(11,11,11,.3) 0%, rgba(11,11,11,.9) 100%);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(42px, 7.2vw, 100px);
  line-height: 1; letter-spacing: var(--track);
  max-width: 14ch; margin-bottom: 32px;
}
.hero h1 .special { letter-spacing: -0.02em; }
.hero-lead { font-family: var(--font-light); font-weight: 300; letter-spacing: var(--track); font-size: clamp(19px, 2vw, 24px); max-width: 640px; color: rgba(255,255,255,.88); line-height: 1.45; }
.hero-bottom {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
  margin: 56px 0 48px; padding-top: 36px; border-top: 1px solid var(--line-dark);
  max-width: 980px;
}
.hero-bio p { color: var(--muted-dark); font-size: 16px; }
.hero-back { color: var(--gold-soft) !important; font-family: var(--font-special); font-weight: 900; font-size: 26px !important; margin-top: 14px; }
.respect-list { list-style: none; margin: 0; padding: 0; font-family: var(--font-light); font-weight: 300; letter-spacing: var(--track); font-size: 24px; line-height: 1.45; }
.respect-list strong { font-weight: 700; color: var(--gold-soft); }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: var(--line-dark); overflow: hidden; }
.scroll-hint span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- Seções ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-light { background: var(--paper); color: var(--ink); }
.section-light .eyebrow, .modal .eyebrow { color: var(--gold-deep); }
.section-light .section-intro { color: var(--muted-light); }
.section-dark { background: var(--ink); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.split-top { align-items: start; }
.split-text p { font-size: 18px; }
.section-light .split-text p:not(.lead) { color: var(--muted-light); }
.section-dark .split-text p { color: var(--muted-dark); }

/* Visão / banner com vídeo */
.banner-video { overflow: hidden; isolation: isolate; }
.banner-video .display { max-width: 16ch; }
.questions {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.questions li {
  padding: 26px 24px 30px 0; border-right: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 18px;
  font-family: var(--font-light); font-weight: 300; letter-spacing: var(--track); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25;
}
.questions li + li { padding-left: 24px; }
.questions li:last-child { border-right: 0; }
.q-num { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; color: var(--gold); font-weight: 600; }
.vision-foot { margin-top: 64px; max-width: 720px; }
.vision-foot > p { font-size: 20px; color: rgba(255,255,255,.88); }
.no-list { list-style: none; padding: 0; margin: 20px 0 40px; }
.no-list li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-dark); position: relative; color: var(--muted-dark); }
.no-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: var(--gold); }

/* Nossa visão: texto + dois vídeos horizontais empilhados */
.banner-video .hero-shade { background: linear-gradient(90deg, rgba(11,11,11,.9) 0%, rgba(11,11,11,.8) 60%, rgba(11,11,11,.7) 100%); }
.vision-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.vision-grid.no-video { grid-template-columns: minmax(0, 1fr); }
.vision-grid .questions { grid-template-columns: 1fr 1fr; }
.vision-grid .questions li:nth-child(2) { border-right: 0; }
.vision-grid .questions li:nth-child(3) { padding-left: 0; }
.vision-grid .questions li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
.video-stack { display: flex; flex-direction: column; gap: 20px; }
.video-stack-title { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--track); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin: 0 0 4px; }
.video-frame { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(237,229,130,.22); }
.video-wide { aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound-toggle { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11,11,11,.6); color: var(--gold-soft); border: 1px solid rgba(237,229,130,.4); border-radius: 999px;
  padding: 7px 12px 7px 9px; font-size: 12px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sound-toggle svg { width: 18px; height: 18px; }
.sound-toggle .ico-on, .sound-toggle[aria-pressed="true"] .ico-off { display: none; }
.sound-toggle[aria-pressed="true"] .ico-on { display: block; }

/* Botões de contato só no celular */
.cta-mobile { display: none; }

/* Serviços */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); /* 10 serviços = 5 linhas completas */
  border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light);
}
.service-card {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  position: relative; background: var(--paper);
  transition: background .45s var(--ease), color .45s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold);
  transition: width .5s var(--ease);
}
.service-card:hover { background: var(--ink); color: var(--white); }
.service-card:hover::before { width: 100%; }
.service-card:hover p { color: var(--muted-dark); }
.service-num { font-size: 12px; letter-spacing: .2em; color: var(--gold-deep); font-weight: 700; }
.service-card:hover .service-num { color: var(--gold); }
.service-card h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--track); font-size: 27px; line-height: 1.15; margin: 22px 0 14px; }
.service-card p { font-size: 16px; color: var(--muted-light); transition: color .45s var(--ease); max-width: 46ch; }

/* Experiência + marquee */
#experiencia .display em { display: block; }
.marquee {
  margin-top: clamp(64px, 8vw, 100px);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  overflow: hidden; padding: 34px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.marquee-list li { padding: 0 44px; display: flex; align-items: center; height: 60px; position: relative; }
.marquee-list li::after { content: ""; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; background: var(--gold); transform: translate(50%, -50%) rotate(45deg); }
.logo-plate { display: flex; align-items: center; justify-content: center; }
.marquee-list img { max-height: 42px; max-width: 170px; width: auto; height: auto; transition: opacity .3s; }
/* Aparência de cada logo (escolhida em /admin > Clientes) */
.logo-branco img { filter: grayscale(1) brightness(0) invert(1); opacity: .75; }
.logo-branco:hover img { opacity: 1; }
.logo-original img { opacity: .95; }
.logo-claro .logo-plate { background: var(--paper); border-radius: 8px; padding: 8px 16px; height: 58px; }
.logo-claro img { max-height: 42px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Para quem */
.sticky-col { position: sticky; top: 120px; }
.fit-list { list-style: none; margin: 0; padding: 0; counter-reset: fit; border-top: 1px solid var(--line-light); }
.fit-list li {
  counter-increment: fit;
  padding: 22px 0 22px 64px; border-bottom: 1px solid var(--line-light);
  position: relative; font-size: 19px; line-height: 1.45;
}
.fit-list li::before {
  content: counter(fit, decimal-leading-zero);
  position: absolute; left: 0; top: 25px;
  font-size: 12px; letter-spacing: .18em; font-weight: 700; color: var(--gold-deep);
}

/* Respeito */
.respect { text-align: center; }
.respect::before { content: ""; position: absolute; inset: 0; background: rgba(246,244,239,.55); }
.respect-inner { position: relative; }
.respect .eyebrow { color: var(--gold-deep); }
.respect .display { font-size: clamp(30px, 3.6vw, 46px); max-width: 20ch; margin: 0 auto; }
.respect-big { list-style: none; margin: 56px 0; padding: 0; }
.respect-big li {
  font-family: var(--font-display); font-size: clamp(40px, 6.6vw, 88px); line-height: 1.08; font-weight: 700; letter-spacing: var(--track);
}
.respect-big li:nth-child(even) { font-family: var(--font-special); font-weight: 900; letter-spacing: -0.01em; color: var(--gold); }
.respect-note { font-size: 19px; color: var(--muted-light); }
.respect-quote { font-family: var(--font-light); font-weight: 300; letter-spacing: var(--track); font-size: clamp(22px, 2.4vw, 30px); }

/* CTA final */
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.cta-text p:not(.lead) { color: var(--muted-dark); }
.cta-text .btn { margin-top: 20px; }

/* ---------- Rodapé ---------- */
.site-footer { background: #060606; border-top: 1px solid var(--line-dark); padding: 48px 0; font-size: 15px; }
.footer-simple { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted-dark); }
.footer-simple p { margin: 0; }
.footer-line { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; color: var(--white); font-weight: 500; }
.footer-simple .flags { display: inline-flex; gap: 8px; align-items: center; }
.footer-simple .flag { display: inline-flex; }
.footer-links { display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-links span { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.logo-footer img { height: 58px; }
.footer-since { color: var(--muted-dark); margin: 14px 0 18px; }
.flags { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.flags li { display: flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 13px; }
.flags svg { width: 26px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.footer-title { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.site-footer ul:not(.flags) { list-style: none; margin: 0; padding: 0; }
.site-footer ul:not(.flags) li { margin-bottom: 9px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  color: rgba(255,255,255,.45); font-size: 13px;
}
.footer-bottom p { margin: 0; }

/* ---------- Pop-up de contato ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
.modal-panel {
  position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--paper); color: var(--ink);
  padding: clamp(28px, 5vw, 52px);
  border-top: 3px solid var(--gold);
  animation: rise .45s var(--ease);
  overscroll-behavior: contain;
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink);
}
.modal-head h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--track); font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; margin-bottom: 14px; }
.modal-head p:not(.eyebrow) { color: var(--muted-light); font-size: 16px; }
.modal .eyebrow { color: var(--gold-deep); margin-bottom: 12px; }
.contact-form { margin-top: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label, .checks legend { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 14px; background: var(--white);
  border: 1px solid var(--line-light); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,158,37,.22); }
.field.has-error input, .field.has-error textarea { border-color: #b3423a; }
.field-error { color: #b3423a; font-size: 13px; }
.checks { border: 0; padding: 0; margin: 26px 0 20px; }
.checks legend { margin-bottom: 12px; padding: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; line-height: 1.4; }
.field label.check { font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.check input {
  appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0;
  border: 1px solid #b5ad9d; background: var(--white); cursor: pointer; position: relative;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
  border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.consent { margin: 22px 0 8px; font-size: 14px; color: var(--muted-light); }
.consent a { color: var(--ink); }
.consent.has-error span { color: #b3423a; }
.form-feedback { min-height: 1.4em; font-size: 14px; color: #b3423a; margin: 8px 0 14px; }
.contact-form button[type=submit][disabled] { opacity: .6; pointer-events: none; }
.form-success { text-align: center; padding: 40px 0 10px; }
.form-success h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--track); font-size: 38px; margin-bottom: 14px; }
.form-success p { color: var(--muted-light); margin-bottom: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.modal-open { overflow: hidden; }

/* ---------- Páginas legais ---------- */
.legal-hero { position: relative; padding: 180px 0 90px; isolation: isolate; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--track); font-size: clamp(44px, 6.4vw, 80px); line-height: 1; }
.legal-meta { color: var(--muted-dark); margin-top: 20px; font-size: 14px; }
.legal { padding-top: clamp(56px, 7vw, 96px); }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.legal-grid-single { grid-template-columns: minmax(0, 780px); }
.legal-toc { position: sticky; top: 110px; font-size: 14px; }
.legal-toc .footer-title { color: var(--gold-deep); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-light); }
.legal-toc a { display: block; padding: 6px 0 6px 16px; text-decoration: none; color: var(--muted-light); margin-left: -1px; border-left: 1px solid transparent; transition: color .2s, border-color .2s; }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--ink); border-left-color: var(--gold); }
.legal-body { max-width: 780px; }
.legal-body section { scroll-margin-top: 110px; }
.legal-body h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--track); font-size: 26px; margin: 52px 0 16px; line-height: 1.2; }
.legal-body p { color: #33302a; font-size: 16.5px; line-height: 1.75; }
.legal-body a:not(.btn) { color: var(--gold-deep); }
.legal-body > .btn { margin-top: 56px; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-hint span { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .main-nav ul { gap: 22px; }
  .questions { grid-template-columns: 1fr 1fr; }
  .questions li:nth-child(2) { border-right: 0; }
  .questions li:nth-child(3) { padding-left: 0; }
  .questions li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: -1;
    background: #080808;
    display: flex; align-items: center; justify-content: center;
    overflow-y: auto; padding: 96px 16px 40px;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  /* Com o menu aberto o cabeçalho perde o desfoque: o desfoque prendia o menu
     dentro da faixa do cabeçalho quando a página estava rolada. */
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
  body.menu-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .main-nav a { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--track); font-size: 32px; color: var(--white); }
  .nav-cta-mobile { display: block; margin-top: 18px; }

  .hero-bottom, .split, .cta-inner, .footer-grid, .legal-grid, .vision-grid { grid-template-columns: 1fr; }
  .video-stack { gap: 14px; }
  .cta-mobile { display: block; margin-top: 40px; }
  .vision-grid .cta-mobile { margin-top: 0; }
  .hide-mobile { display: none !important; }
  .hero-inner .btn, .cta-text .btn { width: 100%; }
  .cta-mobile .btn { width: 100%; }
  .respect .cta-mobile { margin-top: 48px; }
  .hero-bottom { gap: 28px; }
  .split { align-items: start; }
  .sticky-col, .legal-toc { position: static; }
  .legal-toc { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .logo img { height: 38px; }
  .hero { padding: 120px 0 90px; }
  .questions, .vision-grid .questions { grid-template-columns: 1fr; }
  .vision-grid .questions li:nth-child(n) { padding-left: 0; }
  .questions li, .questions li + li { padding: 24px 0; border-right: 0; flex-direction: row; align-items: baseline; gap: 18px; }
  .questions li + li { border-top: 1px solid var(--line-dark); }
  .form-grid, .check-grid, .services-grid { grid-template-columns: 1fr; }
  .fit-list li { padding-left: 48px; font-size: 17px; }
  .service-card { padding: 30px 24px 34px; }
  .modal { padding: 0; align-items: stretch; }
  .modal-panel { max-height: 100vh; height: 100%; }
  .marquee-list li { padding: 0 30px; }
  .marquee-list img { max-height: 34px; max-width: 130px; }
  .logo-claro .logo-plate { height: 50px; padding: 6px 12px; }
}
