:root {
  --primary: #831D1C;
  --primary-hover: #6F1918;
  --primary-focus: #6F1918;
  --primary-active: #6F1918;
  --primary-700: #551312;
  --brand-bg-soft: #F5EDED;
  --brand-bg-secondary: #E6D2D2;
  --ink: #242120;
  --muted: #635D5A;
  --line: #DDD6D3;
  --white: #FFFFFF;
  --page-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: var(--white); background: var(--primary); }
:focus-visible { outline: 3px solid var(--primary-focus); outline-offset: 6px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, p, blockquote { overflow-wrap: anywhere; }
.hero-grid > *, .service-grid > *, .about-grid > *, .innovation-grid > *, .contact-grid > * { min-width: 0; }
em { font-style: normal; color: var(--primary); }
.container { width: min(var(--page-width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; color: white; background: var(--primary); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid #EEE9E7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 106px; }
.brand { display: block; flex-shrink: 0; padding-block: 8px; }
.brand img { width: 132px; }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a { font-size: .9375rem; font-weight: 600; padding-block: 12px; transition: color .18s ease; }
.main-nav a:hover { color: var(--primary-hover); }
.main-nav .nav-contact { padding: 10px 18px; border: 1px solid var(--line); border-radius: 3px; color: var(--primary); }
.nav-contact span { margin-left: 20px; font-size: 1.125rem; }
.nav-contact:hover { border-color: var(--primary); background: var(--brand-bg-soft); }
.menu-toggle { display: none; }
.hero { padding-top: 52px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 48px; align-items: center; }
.hero-copy { padding-block: 22px; }
.eyebrow { color: var(--primary); font-size: .75rem; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.eyebrow-rule { width: 27px; height: 2px; background: currentColor; }
h1 { font-size: clamp(2.75rem, 5.15vw, 4.625rem); letter-spacing: -.055em; font-weight: 500; line-height: 1.055; }
.hero-description { max-width: 430px; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 34px; padding: 15px 22px; border: 1px solid transparent; border-radius: 3px; font-size: .9375rem; font-weight: 600; transition: background .18s ease; }
.button span { font-size: 1.375rem; line-height: 1; }
.button-primary { background: var(--primary); color: white; }
.button-primary:hover, .button-primary:focus-visible, .button-primary:active { background: var(--primary-hover); }
.hero .button { margin-top: 30px; }
.hero-art { display: block; width: 100%; max-width: 560px; justify-self: center; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.hero-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; padding-block: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-notes p { padding-left: 25px; border-left: 1px solid var(--line); }
.hero-notes p:first-child { padding-left: 0; border: 0; }
.hero-notes strong { display: block; font-size: .9375rem; font-weight: 600; }
.hero-notes span { display: block; color: var(--muted); font-size: .875rem; margin-top: 3px; }
.section { padding-block: 104px; }
h2 { font-weight: 500; font-size: clamp(2.25rem, 3.55vw, 3.25rem); line-height: 1.12; letter-spacing: -.045em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 50px; }
.section-intro { max-width: 340px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.service-card { padding: 25px 0 0; border-top: 2px solid var(--primary); display: flex; flex-direction: column; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--primary); margin-bottom: 25px; }
.service-number { font-size: .8125rem; }
.service-icon { width: 48px; height: 48px; flex-shrink: 0; }
h3 { font-weight: 500; font-size: 1.625rem; letter-spacing: -.03em; line-height: 1.22; }
.service-card > p { color: var(--muted); margin-top: 18px; font-size: 1rem; flex-grow: 1; }
.service-detail { display: block; margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.about { background: var(--white); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; }
.about-location { margin-top: 40px; font-size: .8125rem; color: var(--muted); }
.about-location span { color: var(--primary); margin-left: 18px; }
.about-pattern { width: 100%; max-width: 480px; height: auto; margin-top: 44px; }
.about-copy p + p { margin-top: 22px; }
.lead { font-size: 1.25rem; line-height: 1.6; letter-spacing: -.01em; }
.about-copy > p:not(.lead) { color: var(--muted); }
blockquote { margin: 32px 0 0; border-left: 2px solid var(--primary); padding-left: 22px; color: var(--primary); font-size: 1.125rem; line-height: 1.6; }
.innovation { position: relative; color: white; background: var(--primary); }
/* Os padrões ocupam apenas o espaço livre acima e abaixo do conteúdo. */
.innovation::before, .innovation::after { content: ""; position: absolute; width: min(480px, 55%); height: 68px; background: url("/assets/brand/pattern-dark.svg") center / contain no-repeat; pointer-events: none; }
.innovation::before { top: 12px; right: max(20px, calc((100% - var(--page-width)) / 2)); }
.innovation::after { bottom: 12px; left: max(20px, calc((100% - var(--page-width)) / 2)); }
.innovation-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 86px; align-items: center; }
.innovation .eyebrow, .innovation em { color: var(--brand-bg-secondary); }
.innovation h2 { font-size: clamp(2.25rem, 3.4vw, 3rem); }
.innovation-copy > p + p { margin-top: 22px; color: var(--brand-bg-soft); }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: .9375rem; font-weight: 600; padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.text-link span { font-size: 1.375rem; }
.light-link { margin-top: 30px; color: white; }
.light-link:hover { color: var(--brand-bg-secondary); }
.innovation :focus-visible { outline-color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.contact-copy > p:first-child { color: var(--muted); max-width: 420px; }
[data-contact-slot] { margin-top: 30px; }
.email-link { display: inline-block; color: var(--primary); font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.45; border-bottom: 1px solid var(--primary); padding-bottom: 6px; overflow-wrap: anywhere; }
.email-link:hover { color: var(--primary-hover); }
.pending-label { display: inline-block; padding: 10px 14px; color: var(--primary); background: var(--brand-bg-soft); font-size: .875rem; border: 1px dashed #B57D7C; border-radius: 3px; }
.contact-location { color: var(--muted); margin-top: 22px; font-size: .875rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 30px; }
.footer-inner strong { font-size: .8125rem; font-weight: 600; }
.footer-inner p > span { display: block; font-size: .75rem; color: var(--muted); margin-top: 3px; }
.footer-note { max-width: 225px; font-size: .8125rem; color: var(--muted); }
.back-top, .return-link { font-size: .875rem; }
.back-top span { margin-left: 14px; }
.back-top:hover, .return-link:hover { color: var(--primary); }
.return-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 12px; }

/* A página de pitch compartilha a mesma identidade do institucional. */
.pitch-page { min-height: 100vh; display: flex; flex-direction: column; }
.pitch-page main { flex: 1; }
.pitch-content { width: min(960px, calc(100% - 96px)); margin-inline: auto; padding-block: 60px 80px; }
.pitch-title { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; letter-spacing: -.04em; margin-bottom: 32px; overflow-wrap: anywhere; }
.video-frame { aspect-ratio: 16 / 9; background: var(--brand-bg-soft); border: 1px solid var(--brand-bg-secondary); border-radius: 4px; overflow: hidden; display: grid; align-items: center; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #191616; }
.video-pending { padding: 28px; text-align: center; color: var(--primary); }
.video-pending svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.3; margin-bottom: 18px; }
.video-pending p { font-size: 1.125rem; }
.video-pending span { display: block; color: var(--muted); font-size: .875rem; margin-top: 8px; }
.video-error { margin-top: 18px; padding: 16px; color: var(--primary-700); background: var(--brand-bg-soft); font-size: .9375rem; }
.video-error a { text-decoration: underline; text-underline-offset: 3px; }
.pitch-page .footer-inner { padding-block: 25px; }

@media (min-width: 1440px) { .hero { padding-top: 64px; } }
@media (max-width: 1050px) {
  .hero-grid { gap: 36px; }
  .main-nav { gap: 24px; }
  .about-grid, .innovation-grid, .contact-grid { gap: 48px; }
  .service-grid { gap: 24px; }
  .footer-note { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 106px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 86px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 104px; }
  .main-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 6px 18px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0 10px 12px; color: var(--primary); border: 0; background: none; font-size: .9375rem; }
  .menu-icon { width: 20px; height: 12px; border-block: 1.5px solid currentColor; transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(90deg); }
  .menu-ready .main-nav { display: none; }
  .menu-ready .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 20px; }
  .main-nav a { padding: 12px 0; }
  .main-nav .nav-contact { margin-top: 8px; text-align: center; }
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 23px; font-size: .75rem; }
  h1 { font-size: clamp(2.75rem, 8.8vw, 4.5rem); }
  .hero-description { font-size: 1rem; margin-top: 22px; max-width: 510px; }
  .hero .button { margin-top: 25px; }
  .hero-art { width: min(100%, 330px); justify-self: center; }
  .hero-notes { margin-top: 32px; gap: 16px; padding-block: 22px; }
  .hero-notes p { padding-left: 16px; }
  .hero-notes strong, .hero-notes span { font-size: .8125rem; }
  .section { padding-block: 68px; }
  .section-heading { display: block; margin-bottom: 36px; }
  h2 { font-size: clamp(2rem, 6vw, 2.875rem); }
  .section-intro { margin-top: 22px; max-width: 480px; }
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-card { padding-top: 20px; }
  .service-card-top { margin-bottom: 17px; }
  .service-card h3 br { display: none; }
  .service-card > p { max-width: 510px; font-size: 1rem; }
  .service-detail { margin-top: 20px; }
  .about-grid, .innovation-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-location { margin-top: 24px; }
  .about-pattern { max-width: 400px; margin-top: 26px; }
  .lead { font-size: 1.125rem; }
  .innovation h2 { font-size: clamp(2rem, 6vw, 2.875rem); }
  .innovation::before, .innovation::after { width: min(300px, 70%); height: 42px; }
  .innovation::before { top: 8px; }
  .innovation::after { bottom: 8px; }
  .contact-copy > p:first-child { max-width: 520px; }
  .footer-inner { align-items: flex-start; gap: 24px; padding-block: 26px; }
  .back-top { font-size: .8125rem; white-space: nowrap; }
  .pitch-content { width: calc(100% - 40px); padding-block: 36px 56px; }
  .pitch-title { font-size: 2rem; margin-bottom: 24px; }
  .pitch-page .footer-inner { flex-wrap: wrap; }
  .video-pending svg { width: 38px; height: 38px; margin-bottom: 8px; }
  .video-pending p { font-size: 1rem; }
}
@media (max-width: 440px) {
  .hero-notes { grid-template-columns: 1fr; gap: 14px; }
  .hero-notes p { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; }
  .hero-notes span { margin: 0; }
  .footer-inner { flex-direction: column; }
  .return-link { font-size: .8125rem; gap: 6px; }
  .video-pending { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
