/* =========================================================
   Zanetti & Aragão — Advogados e Consultoria Empresarial
   Folha de estilos (mobile-first)
   ========================================================= */

:root {
  --navy: #0B1F3A;
  --navy-2: #17365D;
  --navy-3: #12294A;
  --gold: #B8975A;
  --gold-light: #D2B682;
  --gold-text: #7A5F33;      /* dourado escuro: contraste AA sobre fundo claro */
  --cream: #E2D2B0;
  --white: #FFFFFF;
  --offwhite: #F7F6F2;
  --stone: #ECEAE3;
  --line: #DEDAD0;
  --gray: #5E6878;           /* cinza secundário (AA em branco e off-white) */
  --body: #3D4A5C;

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(64px, 11vw, 144px);
  --max: 1280px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--navy); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.serif { font-family: var(--serif); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.measure { max-width: 62ch; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 12px 18px;
  font-weight: 600; text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--navy); }

/* rótulo editorial */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); flex: none; }
.on-dark .eyebrow { color: #C9AC74; }

.h-section {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 8.6vw, 62px);
  line-height: 1.05; letter-spacing: -.012em; color: var(--navy);
  margin-top: 26px; overflow-wrap: break-word; hyphens: manual;
}
.h-section em { font-style: italic; color: var(--navy-2); }
.on-dark .h-section { color: var(--white); }
.on-dark .h-section em { color: var(--cream); }
.lead { font-size: 16px; line-height: 1.75; color: var(--gray); margin-top: 24px; max-width: 52ch; }
.on-dark .lead { color: rgba(255,255,255,.76); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; text-align: center; line-height: 1.2;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #C9AC74; color: var(--navy); }
.btn-line { border-color: rgba(184,151,90,.75); color: var(--white); background: transparent; min-height: 44px; padding: 0 18px; font-size: 12px; }
.btn-line:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.elink {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
}
.elink:hover { color: var(--white); }
.elink .bar { display: block; width: 28px; height: 1px; background: currentColor; transition: width .35s ease; }
.elink:hover .bar { width: 44px; }
.actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 36px; }
.actions .elink { justify-content: center; }

/* ---------- Cabeçalho ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.hdr.is-scrolled { border-bottom-color: rgba(184,151,90,.28); box-shadow: 0 10px 30px rgba(5,15,30,.18); }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { width: 40px; height: 40px; flex: none; }
.brand-sep { width: 1px; height: 32px; background: rgba(184,151,90,.6); flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1;
  letter-spacing: .07em; color: var(--white); white-space: nowrap;
}
.brand-desc { font-size: 8.5px; font-weight: 500; letter-spacing: .4em; line-height: 1; color: #C9AC74; }

.nav-desktop { display: none; }
.nav-link {
  position: relative; color: rgba(255,255,255,.78); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .03em; padding: 12px 0;
  transition: color .25s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--white); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }

.burger {
  display: inline-flex; flex: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(184,151,90,.5); color: var(--white); cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.no-js .burger { display: none; }

.mnav {
  background: var(--navy); border-top: 1px solid rgba(184,151,90,.28);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
}
.mnav[hidden] { display: none; }
.mnav:not([hidden]) { animation: drop .3s ease both; }
.mnav .wrap { padding-top: 6px; padding-bottom: 32px; }
.mnav li { border-bottom: 1px solid rgba(255,255,255,.09); }
.mnav a.mlink {
  display: flex; align-items: baseline; gap: 18px; min-height: 60px; padding: 16px 0;
  color: var(--white); text-decoration: none;
}
.mnav .num { width: 22px; font-size: 11px; font-weight: 600; letter-spacing: .16em; color: #C9AC74; }
.mnav .lbl { font-family: var(--serif); font-size: 28px; line-height: 1; }
.mnav .btn { width: 100%; margin-top: 28px; }
.mnav .minfo { margin-top: 22px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.66); }
.mnav .minfo a { color: rgba(255,255,255,.82); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.motif { position: absolute; pointer-events: none; display: none; }
.motif svg { width: 100%; height: auto; }
.hero .wrap { position: relative; padding-top: clamp(40px, 8vw, 112px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.hero-copy { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: .24em; line-height: 1.7; color: #C9AC74; }
.hero-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; color: var(--white); }
.hero-title .t1 { display: block; font-size: clamp(30px, 7.5vw, 64px); line-height: 1.05; color: rgba(255,255,255,.88); }
.hero-title .t2 {
  display: block; margin-top: 6px; font-style: italic; color: var(--cream);
  font-size: clamp(46px, 13.2vw, 124px); line-height: .94;
}
.hero-rule { display: block; width: 96px; height: 1px; background: var(--gold); margin-top: 34px; }
.hero-sub { margin-top: 28px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: rgba(255,255,255,.78); max-width: 520px; }
.hero-figure { position: relative; min-width: 0; }
.hero-photo { position: relative; aspect-ratio: 4 / 3; background: var(--navy-3); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-figure figcaption { margin-top: 14px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.corner { display: none; position: absolute; top: -14px; left: -14px; width: 64px; height: 64px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }

/* ---------- Escritório ---------- */
.about { background: var(--offwhite); }
.about .h-section { max-width: 15ch; font-size: clamp(36px, 9vw, 80px); line-height: 1.02; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: clamp(48px, 7vw, 104px); }
.founded { border-top: 1px solid var(--navy); padding-top: 18px; }
.founded .lbl { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); }
.founded .date {
  margin-top: 12px; font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: clamp(52px, 15vw, 112px); line-height: .9; letter-spacing: -.02em; white-space: nowrap;
}
.founded .date span { color: var(--gold); }
.about-photo { margin-top: 40px; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; max-width: 520px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { border-left: 1px solid var(--gold); padding-left: clamp(20px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 1.8; color: var(--body); min-width: 0; }
.about-text .intro { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; color: var(--navy); }

/* ---------- Áreas ---------- */
.areas { background: var(--white); }
.areas-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.areas .h-section { font-size: clamp(34px, 8vw, 56px); }
.areas-count { display: none; font-family: var(--serif); font-size: 88px; line-height: 1; font-weight: 500; color: var(--stone); margin-top: 44px; }
.areas-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 4vw, 56px); min-width: 0; }
.area { position: relative; border-top: 1px solid var(--line); }
.area::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--gold); transition: width .45s var(--ease);
}
.area:hover::before, .area:focus-within::before, .area:has(details[open])::before { width: 100%; }
.area summary {
  list-style: none; cursor: pointer; padding: 26px 44px 24px 0; position: relative;
  display: block;
}
.area summary::-webkit-details-marker { display: none; }
.area .num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }
.area h3 {
  margin-top: 12px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(25px, 6.4vw, 30px); line-height: 1.12; color: var(--navy); transition: color .3s ease;
}
.area summary:hover h3 { color: var(--navy-2); }
.area .short { margin-top: 10px; font-size: 15px; line-height: 1.7; color: #4A5568; max-width: 46ch; }
.area .pm {
  position: absolute; right: 0; top: 28px; width: 28px; height: 28px;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  color: var(--gold-text); transition: transform .3s ease, background-color .3s ease;
}
.area .pm svg { width: 12px; height: 12px; }
.area details[open] .pm { transform: rotate(45deg); background: var(--offwhite); }
.area .more { padding: 0 44px 26px 0; font-size: 15px; line-height: 1.7; color: #4A5568; max-width: 46ch; animation: rise .35s var(--ease) both; }
.area .more-hint { display: block; margin-top: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); }
.area details[open] .more-hint { display: none; }

/* ---------- Forma de atuar ---------- */
.approach { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.approach .wrap { position: relative; }
.approach .head { max-width: 920px; }
.approach .h-section { font-size: clamp(34px, 8.4vw, 72px); line-height: 1.03; }
.pillars { margin-top: clamp(48px, 7vw, 96px); border-bottom: 1px solid rgba(255,255,255,.16); }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.16); align-items: baseline; }
.pillar .n { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--gold); }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; color: var(--white); }
.pillar p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.74); max-width: 52ch; }
.motto { margin-top: clamp(64px, 9vw, 128px); max-width: 980px; margin-left: auto; }
.motto img { width: 52px; height: 52px; }
.motto blockquote {
  margin-top: 28px; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 6.4vw, 54px); line-height: 1.18; letter-spacing: -.01em; color: var(--white);
}
.motto blockquote span { color: var(--cream); }
.motto figcaption { margin-top: 26px; }

/* ---------- Equipe ---------- */
.team { background: var(--offwhite); }
.team-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.team .h-section { font-size: clamp(32px, 7.6vw, 62px); line-height: 1.05; }
.team-photo { aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team-top figcaption { margin-top: 14px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }
.group-head {
  margin-top: clamp(56px, 8vw, 112px); padding-top: 18px; border-top: 1px solid var(--navy);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px;
}
.group-head h3 { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.group-head span { font-size: 12px; letter-spacing: .12em; color: var(--gray); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; margin-top: 36px; }
.person { min-width: 0; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--stone); border: 1px solid var(--stone);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: border-color .35s ease;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ini { font-family: var(--serif); font-size: clamp(36px, 9vw, 64px); color: var(--navy-2); letter-spacing: .04em; }
.person:hover .portrait { border-color: var(--gold); }
.person .rule { display: block; height: 1px; width: 24px; background: var(--gold); margin-top: 20px; transition: width .4s ease; }
.person:hover .rule { width: 56px; }
.person h4 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 4.8vw, 24px); line-height: 1.18; color: var(--navy); overflow-wrap: break-word; }
.person .role { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy-2); }
.person .q { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--gray); }

/* ---------- Correspondentes ---------- */
.presence { background: var(--white); padding-block: clamp(56px, 9vw, 104px); }
.presence-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.presence h2 { margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 6vw, 40px); line-height: 1.12; color: var(--navy); }
.presence p { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--gray); max-width: 44ch; }
.cities { display: grid; grid-template-columns: minmax(0, 1fr); }
.city { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.city .c { font-family: var(--serif); font-size: clamp(30px, 7vw, 40px); line-height: 1; color: var(--navy); }
.city .uf { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; color: var(--gold-text); }

/* ---------- Contato ---------- */
.contact { background: var(--navy); color: var(--white); }
.contact-rule { display: block; height: 1px; background: rgba(184,151,90,.6); margin-bottom: clamp(44px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.contact .h-section { font-size: clamp(32px, 7.8vw, 66px); line-height: 1.05; }
.contact-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.citem { border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.citem .lbl {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #C9AC74;
}
.citem .lbl svg { width: 15px; height: 15px; flex: none; }
.citem address, .citem p { font-size: 15.5px; line-height: 1.85; color: rgba(255,255,255,.9); }
.ulink { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(184,151,90,.6); transition: border-color .25s ease; }
.ulink:hover { color: inherit; border-bottom-color: var(--gold); }
.contact a.ulink { color: rgba(255,255,255,.92); display: inline-block; padding: 4px 0; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255,255,255,.1); padding-top: clamp(56px, 8vw, 96px); padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.footer .brand-logo { width: 52px; height: 52px; }
.footer .brand-name { font-size: 21px; }
.footer .tag { margin-top: 24px; font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.7); }
.fh { margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #C9AC74; }
.flinks { display: flex; flex-direction: column; font-size: 14px; }
.flink { display: inline-block; padding: 6px 0; color: rgba(255,255,255,.74); text-decoration: none; transition: color .25s ease; }
.flink:hover { color: var(--white); }
.legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.64);
}

/* ---------- WhatsApp flutuante (somente telas pequenas) ---------- */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--cream); border: 1px solid var(--gold);
  box-shadow: 0 8px 24px rgba(11,31,58,.25);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.fab svg { width: 24px; height: 24px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.no-js .fab { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Páginas internas (política, 404) ---------- */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(48px, 9vw, 104px); }
.page-hero h1 { margin-top: 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 8vw, 72px); line-height: 1.04; }
.page-hero p { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 15px; }
.prose { padding-block: clamp(48px, 8vw, 96px); }
.prose .wrap > * { max-width: 72ch; }
.prose h2 { margin-top: 48px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 5vw, 34px); line-height: 1.2; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 14px; font-size: 16px; line-height: 1.8; color: var(--body); }
.prose ul { margin-top: 8px; }
.prose ul li { position: relative; padding-left: 22px; margin-top: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .85em; width: 10px; height: 1px; background: var(--gold); }
.prose a { color: var(--navy-2); text-underline-offset: 3px; }
.prose .back { display: inline-flex; margin-top: 56px; }
.prose .btn-gold { color: var(--navy); }

/* ---------- Movimento ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .45s var(--ease) both; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .14s; } .d3 { animation-delay: .22s; } .d4 { animation-delay: .3s; }
.rule-draw { transform-origin: left; animation: draw .9s var(--ease) .35s both; }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  .rule-view { transform-origin: left; animation: draw linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
}

/* =========================================================
   Pontos de quebra
   ========================================================= */

/* celulares grandes / phablets */
@media (min-width: 480px) {
  .brand-name { font-size: 18px; }
  .brand-desc { font-size: 9px; letter-spacing: .44em; }
  .actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
  .actions .elink { justify-content: flex-start; }
  .kicker { font-size: 11.5px; letter-spacing: .3em; }
}

/* tablets em retrato */
@media (min-width: 640px) {
  .contact-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
  .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .city { display: block; padding: 6px 20px; border-top: 0; border-left: 1px solid var(--line); }
  .city .uf { display: block; margin-top: 10px; }
  .pillar { grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); row-gap: 12px; padding: 40px 0; }
  .pillar p { grid-column: 2; }
  .legal { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .hero-photo { aspect-ratio: 16 / 10; }
}

/* tablets em paisagem / notebooks pequenos */
@media (min-width: 800px) {
  .areas-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .motif { display: block; }
  .corner { display: block; }
}

/* notebooks e desktops */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .hdr.is-scrolled { --header-h: 68px; }
  .hdr-row { transition: height .35s ease; }
  .brand { gap: 16px; }
  .brand-logo { width: 46px; height: 46px; transition: width .35s ease, height .35s ease; }
  .hdr.is-scrolled .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 20px; }
  .nav-desktop { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
  .burger, .mnav { display: none !important; }
  .fab { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: clamp(40px, 5vw, 80px); align-items: stretch; }
  .hero-copy { justify-content: space-between; gap: 48px; }
  .hero-photo { aspect-ratio: 4 / 5; height: 100%; }

  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .areas-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .areas-aside { position: sticky; top: 112px; }
  .areas-count { display: block; }
  .pillar { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 6fr); gap: 32px; }
  .pillar p { grid-column: auto; }
  .team-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: end; }
  .people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 28px; }
  .presence-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); }
  .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}

/* telas grandes */
@media (min-width: 1600px) {
  :root { --max: 1360px; }
}

/* celulares em paisagem (pouca altura) */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-photo { aspect-ratio: 21 / 9; }
  .mnav .lbl { font-size: 22px; }
  .mnav a.mlink { min-height: 48px; padding: 10px 0; }
}

/* telas muito estreitas (320 px) */
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .brand-sep { display: none; }
  .brand-name { font-size: 14.5px; letter-spacing: .05em; }
  .brand-desc { letter-spacing: .32em; }
  .people { gap: 28px 12px; }
  .person .q { font-size: 12.5px; }
}

/* preferências do usuário */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .btn, .burger, .area .pm { border: 1px solid ButtonText; }
}

/* impressão */
@media print {
  .hdr, .fab, .motif, .burger, .mnav, .actions { display: none !important; }
  body { color: #000; }
  .hero, .approach, .contact, .footer, .page-hero { background: #fff !important; color: #000 !important; }
  .hero *, .approach *, .contact *, .footer *, .page-hero * { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; }
}

/* complementos */
.area .short { display: block; }
.motif-hero { right: -8%; top: -14%; width: 52%; opacity: .09; }
.motif-approach { left: -12%; bottom: -24%; width: 44%; opacity: .07; }

/* título do hero dimensionado pela largura da própria coluna */
.hero-copy { container-type: inline-size; }
@supports (font-size: 1cqi) {
  .hero-title .t1 { font-size: min(64px, 9.4cqi); }
  .hero-title .t2 { font-size: min(124px, 14.6cqi); }
}
.brand-desc { font-size: 9px; }

/* tipografia grande proporcional ao espaço disponível */
.founded { container-type: inline-size; }
.city { container-type: inline-size; }
@supports (font-size: 1cqi) {
  .founded .date { font-size: min(112px, 21cqi); }
  .city .c { font-size: min(40px, 17cqi); }
}
@media (max-width: 639px) { .city { container-type: normal; } }
@media (max-width: 359px) { .brand-name { font-size: 13.5px; } .brand { gap: 10px; } .brand-logo { width: 36px; height: 36px; } }
@media (min-width: 1024px) and (max-width: 1199px) {
  .brand-name { font-size: 16px; }
  .nav-desktop { gap: 18px; }
  .nav-link { font-size: 12.5px; }
  .btn-line { padding: 0 14px; }
}
.footer .brand-name { font-size: clamp(16px, 5.2vw, 21px); }

/* equipe sem fotos individuais: lista editorial */
.people { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 8px; }
.person { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.person .rule { margin-top: 0; }
.person h4 { margin-top: 14px; font-size: clamp(21px, 5.4vw, 25px); }
.person .q { font-size: 13.5px; }
@media (min-width: 560px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 900px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1024px) {
  .people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
}
