:root {
  --bg: #f4f6f8;
  --bg-raise: #ffffff;
  --ink: #101218;
  --muted: #5c6575;
  --line: #e3e7ee;
  --accent: #2f5bff;
  --accent-ink: #1d3dcc;
  --accent-soft: #e8edff;
  --night: #0d1017;
  --night-raise: #171b24;
  --on-night: #f5f7fb;
  --on-night-muted: #a8b0c0;
  --max: 1120px;
  --radius: 16px;
  --font: "Space Grotesk", "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(16, 18, 24, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(47, 91, 255, 0.08), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: #d5defc;
  color: var(--ink);
}

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

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 22px;
  background: rgba(244, 246, 248, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 246, 248, 0.96);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  max-width: 360px;
}

.logo-mark,
.footer-mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.04em;
}

.logo strong,
.logo small {
  display: block;
  line-height: 1.2;
}

.logo strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo small,
.muted {
  color: var(--muted);
}

.logo small {
  max-width: 32ch;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: none;
}

.nav-label {
  display: none;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(16, 18, 24, 0.04);
}

.nav-links a,
.nav-case {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #243044;
}

.nav-links a:hover {
  background: #eef1f6;
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.nav-case {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  color: var(--ink);
}

.nav-case:hover,
.nav-case[aria-current="page"] {
  border-color: #c5d0f5;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.nav .nav-cta {
  display: none;
}

.site-header .header-cta {
  flex: none;
  min-height: 46px;
  padding: 0 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 50;
  cursor: pointer;
}

.nav-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

body.nav-open .nav-toggle i:first-of-type {
  transform: translateY(3.75px) rotate(45deg);
}

body.nav-open .nav-toggle i:last-of-type {
  transform: translateY(-3.75px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.btn:hover {
  background: #244ae0;
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-line {
  background: white;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #cfd5e0;
}

.btn-line:hover {
  background: #f3f5f8;
}

.btn-light {
  background: white;
  color: var(--ink);
}

.btn-light:hover {
  background: #eef1f6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero {
  padding: 36px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
}

.kicker,
.index-label,
.footer-label {
  margin: 0 0 10px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.position-line {
  margin: 0 0 14px;
  max-width: 28ch;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.display {
  max-width: 16ch;
  font-size: clamp(2.45rem, 4.6vw, 3.85rem);
}

.display em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 52ch;
  font-size: 1.05rem;
  color: #2c3340;
}

.hero .lede {
  margin-top: 16px;
}

.hero .keyword {
  margin-top: 12px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.guia {
  width: min(100%, 520px);
  margin-left: auto;
  background: var(--night);
  border: 1px solid #232838;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.guia-fotos {
  display: flex;
  justify-content: center;
  padding: 10px 10px 0;
  background: var(--night);
}

.guia .retrato {
  width: min(100%, 500px);
  text-align: center;
  line-height: 0;
}

.guia .retrato video {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 14px;
  background: #fff;
  display: block;
  pointer-events: none;
}

.guia.compacta .retrato video {
  aspect-ratio: 16 / 9;
  max-height: none;
  object-position: center 12%;
}

.guia .retrato span {
  display: block;
  margin: 12px 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.2;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.fact {
  padding: 16px 16px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.fact span {
  color: var(--muted);
  font-size: 0.92rem;
}

.spotlight {
  margin-top: 28px;
  background: var(--night);
  color: var(--on-night);
  padding: 56px 0;
}

.spotlight .position-line {
  max-width: 22ch;
  color: white;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.spotlight .lede {
  color: var(--on-night-muted);
  margin: 14px 0 22px;
}

.spotlight h2 {
  max-width: 22ch;
  margin-top: 8px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.section {
  padding: 64px 0;
}

section[id] {
  scroll-margin-top: 84px;
}

.section-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head h2,
.block-title {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.section-head .lede {
  margin-top: 8px;
}

.flag {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(16, 18, 24, 0.03);
}

.flag-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px 8px;
}

.flag h2,
.flag h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
}

.log {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--night);
  color: #e7ebf3;
  font-family: "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.55;
}

.log p + p {
  margin-top: 14px;
}

.log span {
  color: #9eb0ff;
}

.log b {
  font-weight: 600;
}

.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
}

.service {
  min-height: 168px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service h3 {
  margin: 8px 0 6px;
  font-size: 1.2rem;
}

.service p {
  color: #2c3340;
  font-size: 0.98rem;
}

.service-lead {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--night);
  color: var(--on-night);
  border-color: var(--night);
}

.service-lead p,
.service-lead h3 {
  color: var(--on-night);
}

.service-lead h3 {
  font-size: 1.7rem;
}

.service-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
}

.service-no {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}

.service-lead .service-no {
  color: #9eb0ff;
}

.service-lead blockquote {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step h3 {
  margin: 8px 0;
  font-size: 1.15rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.step-no {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.studio-grid,
.contact-grid,
.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: stretch;
}

.portrait {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 22px;
  border-radius: 20px;
  background: var(--night);
  color: white;
}

.portrait-mark {
  font-size: clamp(3.2rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.portrait p {
  max-width: 18ch;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.studio-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding: 8px 4px;
}

.client-grid,
.change-grid,
.note-grid {
  display: grid;
  gap: 12px;
}

.client-grid {
  grid-template-columns: 1fr 1fr;
}

.change-grid {
  grid-template-columns: repeat(3, 1fr);
}

.note-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.client,
.note,
.change {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.client h3,
.change h3,
.note h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.client p,
.change p,
.note p {
  color: var(--muted);
  font-size: 0.96rem;
}

.note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  text-decoration: none;
}

.note:hover {
  border-color: #c5d0f5;
  box-shadow: var(--shadow);
}

.note time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.note span {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
}

.contact {
  padding-top: 24px;
}

.contact-grid {
  padding: 28px;
  border-radius: 24px;
  background: var(--night);
  color: var(--on-night);
}

.contact .lede,
.contact .keyword {
  color: var(--on-night-muted);
  margin-top: 12px;
}

.contact-mail {
  margin-top: 16px;
  font-weight: 600;
}

.contact-mail a {
  color: white;
  text-decoration: none;
}

.contact-mail a:hover {
  color: #c9d4ff;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.landing-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--on-night);
}

.landing-offer h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.landing-offer p {
  max-width: 62ch;
  color: var(--on-night-muted);
}

.landing-offer .btn {
  flex: none;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 22px;
  border-radius: 16px;
  background: white;
  color: var(--ink);
}

.contact-cta .contact-mail a {
  color: var(--ink);
}

.contact-cta .contact-mail a:hover {
  color: var(--accent-ink);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: white;
  color: var(--ink);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #3a4252;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #d7dce6;
  border-radius: 10px;
  background: #f7f8fb;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: white;
}

.form .btn {
  margin-top: 4px;
}

.form-error {
  color: #b42318;
  font-size: 0.95rem;
}

.form-success {
  margin-top: 4px;
  padding: 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.hp {
  position: absolute;
  left: -9999px;
}

.footer {
  padding: 36px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand p {
  max-width: 42ch;
  color: #2c3340;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-ink);
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.legal a {
  color: inherit;
}

.crumb {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.crumb a {
  color: inherit;
  text-decoration: none;
}

.crumb a:hover {
  color: var(--accent-ink);
}

.case-hero {
  padding: 36px 0 8px;
}

.case-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
}

.case-hero .lede {
  margin-top: 14px;
}

.flow,
.do-dont {
  display: grid;
  gap: 12px;
}

.flow {
  grid-template-columns: repeat(4, 1fr);
}

.flow article,
.panel {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow h3,
.panel h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.flow p,
.panel li {
  color: #2c3340;
}

.do-dont {
  grid-template-columns: 1fr 1fr;
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.panel li + li {
  margin-top: 8px;
}

.prose {
  width: min(68ch, 100%);
}

.prose .lede {
  margin: 14px 0 4px;
}

.prose h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.prose p {
  margin-top: 14px;
  font-size: 1.05rem;
}

.prose h2 {
  margin-top: 34px;
  max-width: 24ch;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.prose li {
  margin-top: 6px;
  font-size: 1.05rem;
}

.prose a {
  color: var(--accent-ink);
}

.article-page {
  padding: 36px 0 12px;
}

.more {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(68ch, 100%);
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.more a {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.more a:hover {
  color: var(--accent-ink);
}

.page-hero {
  padding: 40px 0 8px;
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
}

.page-hero-long h1 {
  max-width: 26ch;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.page-hero .lede {
  margin-top: 16px;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.panel p {
  margin-top: 10px;
  color: #2c3340;
}

a.change {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

a.change:hover {
  border-color: #c5d0f5;
  box-shadow: var(--shadow);
}

.footer-label-next {
  margin-top: 18px;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .logo {
    max-width: 240px;
  }

  .logo small {
    max-width: 26ch;
  }

  .nav-links a,
  .nav-case {
    padding: 0 10px;
    font-size: 13px;
  }

  .site-header {
    padding-inline: 16px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(86vw, 360px);
    height: 100dvh;
    margin-left: 0;
    padding: 92px 18px 28px;
    overflow-y: auto;
    background: var(--night);
    color: white;
    gap: 8px;
    transform: translateX(104%);
    transition: transform 0.22s ease;
  }

  .nav-label {
    display: block;
    margin: 4px 6px 2px;
    color: var(--on-night-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links a,
  .nav-case {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    color: white;
    font-size: 1.05rem;
  }

  .nav-links a:hover,
  .nav-case:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
  }

  .nav-links a[aria-current="page"],
  .nav-case[aria-current="page"] {
    background: rgba(47, 91, 255, 0.3);
    color: #e7ecff;
    border-color: transparent;
  }

  .nav-case {
    margin-top: 8px;
    background: transparent;
    border: 1px solid #2c3448;
  }

  .nav.is-open {
    transform: none;
  }

  .nav .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 12px;
    min-height: 48px;
    font-size: 15px;
    color: var(--ink);
  }

  .hero-grid,
  .section-head,
  .flag,
  .bento,
  .steps,
  .studio-grid,
  .client-grid,
  .change-grid,
  .note-grid,
  .contact-grid,
  .offer-grid,
  .footer-grid,
  .facts,
  .flow,
  .do-dont,
  .split,
  .include-grid,
  .pair {
    grid-template-columns: 1fr;
  }

  .service-lead,
  .service-wide {
    grid-row: auto;
    grid-column: auto;
    display: block;
  }

  .guia {
    width: 100%;
    margin-inline: auto;
  }

  .guia .retrato,
  .guia .retrato video,
  .guia.compacta .retrato video {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    max-height: none;
    height: auto;
  }

  .legal {
    flex-direction: column;
  }

  .portrait {
    min-height: 220px;
  }

  .section {
    padding: 48px 0;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .page-hero-long h1 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .contact-grid {
    padding: 20px;
  }

  .landing-offer {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    max-width: calc(100% - 120px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
