:root {
  --paper: #fafaf8;
  --ink: #252826;
  --body: #555b56;
  --red: #b91c22;
  --rail: calc(80px + env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
p, figure { margin: 0; }
.wrap { width: min(calc(100% - 112px - var(--rail)), 1160px); margin-left: max(56px, calc((100% - 1240px) / 2)); margin-right: auto; }
a { color: inherit; }
button, select { font: inherit; }
a, button, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #595f59; outline-offset: 4px; }
section, footer, main { scroll-margin-top: 20px; }
section:focus, footer:focus, main:focus { outline: none; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 30; background: white; color: var(--ink); padding: 14px; }
.skip-link:focus { top: 12px; }
.site-header { background: #151515; color: #eee; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; flex-shrink: 0; }
.brand img { width: 230px; height: auto; display: block; }
.site-header nav { display: flex; gap: 24px; align-items: center; }
.site-header nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; color: #eee; }
.site-header nav a[aria-current="location"]::after { content: ''; position: absolute; left: 0; bottom: 3px; width: 20px; height: 2px; background: #ed5157; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header :focus-visible { outline-color: #fff; }
.menu-toggle { display: none; }
.hero { padding: 58px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
h1 { font-size: 58px; line-height: 1.08; letter-spacing: -.04em; font-weight: 600; margin: 0 0 25px; }
.lead { font-size: 18px; line-height: 1.62; color: var(--body); margin-bottom: 28px; max-width: 535px; }
.lead p + p { margin-top: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 50px; padding: 15px 21px; border: 0; border-radius: 4px; color: #fff; font: 600 15px/20px Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; max-width: 100%; }
.button-primary { background: var(--red); }
.button-dark { background: var(--ink); }
.button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.button:disabled { cursor: not-allowed; opacity: .55; }
.arrow { font-size: 21px; font-weight: 400; flex-shrink: 0; }
figure { min-width: 0; }
.hero-photo { display: block; width: 100%; height: 475px; object-fit: cover; object-position: 54% center; border-radius: 3px; }
figcaption { margin-top: 10px; font-size: 10px; line-height: 1.45; color: #6b716a; }
/* Faixa gerada da mesma fonte editorial da landing; sem conexão entre processos. */
.credibility { border-block: 1px solid #dfe2db; padding: 30px 0; background: #f4f5f1; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.stat { display: grid; grid-template-areas: 'value' 'label' 'note'; align-content: start; padding-inline: 28px; border-left: 1px solid #d5d9d0; min-width: 0; }
.stat:first-child { padding-left: 0; border: 0; }
.stat:last-child { padding-right: 0; }
.stat-link { display: grid; grid-template-areas: inherit; grid-template-columns: inherit; grid-template-rows: inherit; gap: inherit; align-items: inherit; text-decoration: none; }
.stat-link:hover .stat-label { text-decoration: underline; text-underline-offset: 4px; }
.stat-link:focus-visible { outline-offset: 6px; }
.stat-value { grid-area: value; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-label { grid-area: label; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--ink); }
.stat-note { grid-area: note; display: block; font-size: 11px; line-height: 1.5; color: #626960; margin-top: 6px; }
.youtube-mark { display: block; width: 29px; height: 20px; object-fit: contain; flex-shrink: 0; }
.study-note { font-size: 10px; line-height: 1.5; color: #6b716a; margin-top: 18px; }

.eyebrow { color: var(--red); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .13em; margin: 0 0 16px; }
h2 { font-size: 32px; line-height: 1.26; letter-spacing: -.027em; font-weight: 500; margin: 0; max-width: 850px; }
.vehicles { padding: 46px 0; }
.credibility + .vehicles { padding-top: 40px; }
.vehicles h2 { margin-bottom: 12px; }
.section-intro { font-size: 16px; line-height: 1.6; color: var(--body); margin-top: 12px; }
.vehicle-picker { display: flex; align-items: flex-end; gap: 18px; margin-top: 25px; max-width: 950px; }
.field { flex: 1; min-width: 0; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--body); margin-bottom: 9px; }
select { display: block; width: 100%; min-height: 50px; border: 1px solid #cbd0c8; border-radius: 4px; background: #fff; color: var(--ink); padding: 12px 14px; font-size: 16px; }
select:disabled { background: #f1f2ee; color: #686e67; }
.vehicle-picker .button { white-space: nowrap; }
.selection-status { font-size: 12px; line-height: 1.5; color: #6b716a; margin-top: 13px; }
.fallback { font-size: 14px; line-height: 1.6; color: var(--body); margin-top: 18px; }
.text-contact { color: #a71920; text-decoration: underline; text-underline-offset: 3px; border: 0; background: transparent; font-size: inherit; cursor: pointer; padding: 8px 0; min-height: 44px; text-align: left; }
.rafael { padding: 55px 0; background: #f1f2ee; border-block: 1px solid #e1e4dc; }
.bio-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center; }
.statement { font-size: 39px; line-height: 1.18; max-width: 650px; }
.bio-copy { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 620px; margin-top: 24px; }
.portrait { min-height: 300px; background: #e6e8e1; border: 1px dashed #b8beb2; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 25px; }
.portrait > svg { width: 37px; height: 32px; fill: none; stroke: #747d70; stroke-width: 1.2; margin-bottom: 20px; }
.portrait strong { font-size: 13px; font-weight: 500; }
.portrait p { font-size: 12px; line-height: 1.6; color: #62695f; margin-top: 12px; }
.projects { padding: 52px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.editorial-note { font-size: 11px; line-height: 1.5; color: #6b716a; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
.video-image { display: block; position: relative; background: #151515; }
.video-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 34px; display: flex; align-items: center; justify-content: center; background: #151515e6; border-radius: 4px; }
.play svg { width: 23px; height: 23px; fill: #fff; }
.video-tag { font-size: 9px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; color: #6b716a; margin: 17px 0 9px; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 500; margin: 0; }
.video-caption { color: #a71920; font-size: 13px; line-height: 1.5; margin-top: 15px; }
.journey { padding: 46px 0 32px; background: #f2f3ef; border-block: 1px solid #e0e3dc; }
.journey-track { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 32px 0 0; position: relative; gap: 16px; text-align: center; }
.journey-track::before { content: ''; position: absolute; height: 1px; top: 30px; left: 10%; right: 10%; background: #b8beb6; }
.milestone { min-width: 0; position: relative; }
.icon-node { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid #b8beb6; border-radius: 50%; background: #f2f3ef; margin: 0 auto 16px; position: relative; }
.icon-node svg { width: 31px; height: 31px; fill: none; stroke: #41483f; stroke-width: 1.45; stroke-linejoin: round; stroke-linecap: round; }
.step-index { display: block; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .1em; color: var(--red); margin-bottom: 7px; }
.journey-track h3 { font-size: 17px; line-height: 1.3; font-weight: 500; }
.journey-track p { font-size: 12px; line-height: 1.5; color: #6b716a; margin-top: 8px; }
.journey-note { font-size: 11px; line-height: 1.6; color: #6b716a; border-top: 1px solid #dce0d7; padding-top: 20px; margin-top: 26px; }
.contact { padding: 46px 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 50px; }
.contact .study-note { margin-top: 10px; }
.study-footer { padding: 23px 0; border-top: 1px solid #dfe2db; color: #6b716a; font-size: 10px; line-height: 1.5; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dock-copy { display: none; }
.contact-dock { position: fixed; z-index: 8; right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
.whatsapp-float { width: 56px; height: 56px; flex-shrink: 0; border: 0; border-radius: 50%; background: #25d366; padding: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.whatsapp-float img { width: 32px; height: 32px; display: block; }
dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #d9ddd7; border-radius: 6px; background: var(--paper); color: var(--ink); overflow: auto; }
dialog::backdrop { background: rgba(0, 0, 0, .42); }
.dialog-content { padding: 28px; }
.dialog-content .eyebrow { margin-bottom: 18px; }
.dialog-content h2 { font-size: 26px; }
.dialog-content p:not(.eyebrow) { font-size: 16px; line-height: 1.6; color: var(--body); margin: 16px 0; }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px - var(--rail)); margin-left: 32px; }
  .hero-grid { gap: 30px; }
  h1 { font-size: 48px; }
  .hero-photo { height: 440px; }
  .brand img { width: 195px; }
  .site-header nav { gap: 16px; }

  .vehicle-picker { flex-wrap: wrap; }
  .vehicle-picker .field { flex-basis: 35%; }
  .bio-grid { gap: 32px; }
  .journey-track h3 { font-size: 15px; }
}
@media (max-width: 900px) {
  .header-inner { width: calc(100% - 48px); margin-inline: 24px; min-height: 68px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 195px; max-width: 68vw; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 0; padding: 10px; background: transparent; color: #eee; cursor: pointer; }
  .menu-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .site-header nav { width: 100%; display: none; flex-direction: column; gap: 0; align-items: stretch; padding-bottom: 14px; }
  .site-header nav.is-open, .no-js .site-header nav { display: flex; }
  .site-header nav a { padding: 8px 0; font-size: 16px; }
}
@media (max-width: 780px) {
  /* Faixa de contato ocupa sua própria linha do viewport: não há sobreposição. */
  html { height: 100%; overflow: hidden; }
  body { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
  .page-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
  .wrap { width: calc(100% - 48px); margin-left: 24px; margin-right: 24px; }
  .hero { padding: 31px 0 29px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  h1 { font-size: 36px; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 20px; }
  .lead { font-size: 16px; line-height: 1.6; margin-bottom: 22px; max-width: none; }
  .lead p + p { margin-top: 12px; }
  .button { min-height: 49px; font-size: 14px; padding: 14px 18px; gap: 20px; }
  .hero-photo { height: auto; aspect-ratio: 4 / 3; }
  figcaption { font-size: 9px; }
  .study-note { font-size: 9px; line-height: 1.5; margin-top: 17px; }

  .eyebrow { font-size: 10px; margin-bottom: 14px; }
  h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.025em; }
  .vehicles { padding: 32px 0; }
  .credibility + .vehicles { padding-top: 28px; }
  .vehicles h2 { font-size: 28px; }
  .vehicle-picker { flex-direction: column; align-items: stretch; gap: 17px; margin-top: 23px; }
  .vehicle-picker .field { flex-basis: auto; }
  .vehicle-picker .button { align-self: flex-start; white-space: normal; text-align: left; gap: 14px; }
  .rafael { padding: 34px 0; }
  .bio-grid { display: block; }
  .statement { font-size: 30px; line-height: 1.2; }
  .bio-copy { font-size: 16px; line-height: 1.65; margin-top: 20px; }
  .portrait { min-height: 225px; margin-top: 26px; }
  .projects { padding: 34px 0; }
  .section-heading { display: block; margin-bottom: 24px; }
  .editorial-note { font-size: 10px; margin-top: 10px; }
  .video-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .video-tag { margin-top: 15px; }
  .video-caption { margin-top: 11px; }
  .journey { padding: 32px 0 26px; }
  .journey-track { display: block; text-align: left; margin-top: 25px; }
  .journey-track::before { left: 25px; right: auto; top: 20px; bottom: 25px; width: 1px; height: auto; }
  .milestone { display: flex; align-items: center; gap: 18px; min-height: 83px; padding-bottom: 21px; }
  .milestone:last-child { padding-bottom: 0; }
  .icon-node { width: 52px; height: 52px; flex-shrink: 0; margin: 0; }
  .icon-node svg { width: 27px; height: 27px; }
  .step-index { font-size: 9px; margin-bottom: 3px; }
  .journey-track h3 { font-size: 18px; }
  .journey-track p { font-size: 13px; line-height: 1.4; margin-top: 5px; }
  .journey-note { padding-top: 17px; margin-top: 23px; }
  .contact { padding: 33px 0; }
  .contact-grid { display: block; }
  .contact .button-primary { margin-top: 23px; }
  .contact .study-note { font-size: 10px; }
  .study-footer { padding: 20px 0; }
  .footer-inner { display: block; font-size: 9px; }
  .footer-inner > * + * { display: block; margin-top: 6px; }
  .contact-dock { position: relative; inset: auto; flex: 0 0 auto; min-height: 78px; padding: 10px max(20px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px)); background: var(--paper); border-top: 1px solid #d9ddd4; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .dock-copy { display: block; min-width: 0; }
  .dock-copy strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 500; }
  .dock-copy span { display: block; font-size: 10px; line-height: 1.4; color: #6b716a; margin-top: 3px; }
}
@media (max-width: 350px) {
  h1 { font-size: 32px; }
  .statement { font-size: 28px; }
  .vehicle-picker .button { gap: 12px; padding-inline: 15px; }
  .dock-copy strong { font-size: 12px; }
}
@media (max-width: 600px) {
  .credibility { padding-block: 12px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat:first-child, .stat:last-child { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); grid-template-areas: 'value label' 'value note'; align-items: center; padding: 16px 0; column-gap: 16px; border-left: 0; border-top: 1px solid #d5d9d0; }
  .stat:first-child { border-top: 0; }
  .stat-value { font-size: 24px; }
  .stat-link { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html, .page-scroll { scroll-behavior: auto; }
}

/* ===== Design system "Bancada de Engenharia" (aprovado em 30/10/2026) =====
   Camada final: papel claro, faixas grafite, vermelho só para a ação de contato.
   Mesmos tokens da landing BMW (apps/performance-site/app/bmw-320i-g20-b48/bmw.module.css). */
@font-face { font-family: 'Archivo'; src: url('assets/fonts/archivo-latin.woff2') format('woff2'); font-weight: 400 800; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; }
:root {
  --paper: #f5f5f2;
  --paper-2: #eaebe7;
  --graphite: #15171a;
  --graphite-2: #202328;
  --ink: #1c1f22;
  --body: #4f555b;
  --soft: #5d636a;
  --steel: #8b929a;
  --line: #d8dad5;
  --line-dark: #343840;
  --on-dark: #eef0f1;
  --on-dark-soft: #b7bdc3;
  --red: #b91c22;
  --red-hover: #a1171c;
  --red-hi: #e0353b;
  --whatsapp: #15803d;
  --whatsapp-hover: #116b33;
  --f-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
}
body { font-family: var(--f-body); }
:focus-visible { outline-color: var(--red); }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; }
h1 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; font-stretch: 120%; line-height: 1.02; letter-spacing: -.025em; color: #fff; }
h2 { font-weight: 650; font-stretch: 112%; letter-spacing: -.015em; line-height: 1.12; }
h3 { font-weight: 650; font-stretch: 108%; letter-spacing: -.005em; }
.eyebrow { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; }
.site-header { background: var(--graphite); border-bottom: 1px solid var(--line-dark); }
.header-inner { min-height: 84px; }
.brand img { width: 260px; }
.site-header nav a { color: #c3c8cd; font-size: 14px; }
.site-header nav a:hover { color: #fff; text-decoration: none; }
.site-header nav a[aria-current="location"] { color: #fff; }
.site-header nav a[aria-current="location"]::after { background: #e0353b; }

/* Hero grafite com WhatsApp na primeira tela. */
.hero { background: var(--graphite); color: var(--on-dark); padding: 64px 0; }
.hero-grid { gap: 56px; }
.lead { color: var(--on-dark-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { height: 500px; border-radius: 0; }
.button { font-family: var(--f-body); font-size: 15px; border-radius: 2px; gap: 12px; min-height: 52px; padding: 14px 22px; transition: background-color 160ms ease, border-color 160ms ease; }
.button:hover:not(:disabled) { text-decoration: none; }
.button-primary { background: var(--red); }
.button-primary:hover:not(:disabled) { background: var(--red-hover); }
.button-ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.button-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px #fff; }
.button-icon { width: 22px; height: 22px; flex-shrink: 0; filter: brightness(0) invert(1); }

/* Credibilidade em faixa grafite, como na landing. */
.credibility { background: var(--graphite-2); border: 0; color: var(--on-dark); padding: 26px 0; }
.stat { border-left-color: var(--line-dark); }
.stat-value { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; letter-spacing: -.01em; color: #fff; }
.stat-label { color: var(--on-dark); }
.stat-note { color: var(--steel); font-family: var(--f-mono); font-size: 10px; }
.stat-link:focus-visible { outline-color: var(--red-hi); }

.vehicles, .projects { background: var(--paper); }
.vehicles h2, .projects h2 { font-size: clamp(28px, 2.9vw, 38px); }
select { border-color: #c9ccc6; border-radius: 2px; font-family: var(--f-body); }
.button-dark { background: var(--ink); }
.text-contact { color: var(--red); }
.rafael { background: var(--paper-2); border-color: var(--line); }
.statement { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; font-stretch: 118%; line-height: 1.06; letter-spacing: -.02em; }
.portrait-photo { margin: 0; min-width: 0; }
.portrait-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% center; }
.hero-photo { object-position: 45% center; }
.video-image { background: var(--graphite); }
.play { border-radius: 0; width: 52px; height: 52px; background: rgba(21, 23, 26, .86); border: 1px solid rgba(255, 255, 255, .45); }
.video-image:hover .play { background: var(--red); border-color: var(--red); }
.video-tag { font-family: var(--f-mono); font-weight: 500; letter-spacing: .14em; color: var(--soft); }
.video-caption { color: var(--soft); font-family: var(--f-mono); font-size: 11px; }
.journey { background: var(--paper); border-color: var(--line); }
.journey h2 { font-size: clamp(28px, 2.9vw, 38px); }
.icon-node { background: var(--paper); border-color: #b9bdb6; }
.icon-node svg { stroke: var(--ink); }
.milestone[data-step="1"] .icon-node { border-color: var(--red); }
.step-index { font-family: var(--f-mono); font-weight: 500; letter-spacing: .14em; }
.journey-track h3 { font-size: 17px; }
.journey-note { color: var(--soft); border-color: var(--line); }

/* Fechamento grafite. */
.contact { background: var(--graphite); color: var(--on-dark); padding: 72px 0; }
.contact h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; font-stretch: 118%; line-height: 1.06; letter-spacing: -.02em; }
.contact .section-intro { color: var(--on-dark-soft); }
.contact .eyebrow { color: var(--red-hi); }
.study-footer { background: var(--graphite); border-top: 1px solid var(--line-dark); color: var(--steel); font-size: 12px; }
.study-footer strong { color: var(--on-dark); font-family: var(--f-display); font-stretch: 118%; letter-spacing: .04em; }
.study-footer a { color: var(--on-dark-soft); }

/* WhatsApp sempre à mão: pílula no desktop, barra cheia no celular. */
.whatsapp-float { background: var(--whatsapp); width: 60px; height: 60px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.whatsapp-float:hover { background: var(--whatsapp-hover); }
.whatsapp-float img { filter: brightness(0) invert(1); width: 30px; height: 30px; }
dialog { border-radius: 2px; }
dialog h2 { font-family: var(--f-display); }
@media (max-width: 1150px) {
  .brand img { width: 230px; }
  h1 { font-size: 46px; }
  .hero-photo { height: 440px; }
}
@media (max-width: 780px) {
  .header-inner { min-height: 68px; }
  .brand img { width: 200px; max-width: 62vw; }
  .hero { padding: 36px 0 0; }
  .hero-grid { gap: 26px; }
  .hero-grid > figure { margin-inline: -24px; }
  .hero-photo { height: auto; aspect-ratio: 16 / 10; }
  h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { justify-content: center; }
  .credibility { padding: 8px 0; }
  .contact { padding: 44px 0; }
  .contact h2 { font-size: 30px; }
  .contact .button-primary { width: 100%; justify-content: center; }
  .portrait-photo { margin-top: 26px; }
  .portrait-photo img { aspect-ratio: 16 / 10; }
  .contact-dock { background: var(--paper); border-top-color: var(--line); }
  .dock-copy strong { font-weight: 600; }
  .dock-copy span { color: var(--soft); font-family: var(--f-mono); font-size: 10px; }
  .whatsapp-float { width: 52px; height: 52px; }
  .stat, .stat:first-child, .stat:last-child { border-top-color: var(--line-dark); }
}
/* Página de privacidade: texto corrido sobre papel, mesma família tipográfica. */
.legal { padding: 56px 0 72px; background: var(--paper); }
.legal-body { max-width: 760px; }
.legal h1 { color: var(--ink); font-size: clamp(34px, 4vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin-top: 36px; margin-bottom: 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 0; display: grid; gap: 12px; }
.legal strong { color: var(--ink); }
.legal-updated { font-family: var(--f-mono); font-size: 12px !important; color: var(--soft) !important; }
.legal-back { margin-top: 40px; }
.legal a { color: var(--red); }
.study-footer .footer-links { display: flex; gap: 18px; }.study-footer .cookie-prefs { padding: 0; border: 0; background: none; color: var(--on-dark-soft); font: inherit; text-decoration: underline; cursor: pointer; }
