/* ================================================================
   SOUZA & CASTRO ADVOCACIA — v3.0 (home premium)
   Fonts: Poppins (display) · Nunito (UI — matches logo)
   Palette: #1A2535 · #E63228 · #F5F0E8 · #FFFFFF
   Icons: Heroicons 2.0 outline (stroke 1.5, round caps/joins)
   ================================================================ */

/* ================================================================
   Fontes locais (self-hosted, ex-Google Fonts) — subset latin
   Nunito variavel 400-800 + Poppins 500/600/700 e 500 italico
   ================================================================ */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/nunito-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Variables */
:root {
  --navy:      #1A2535;
  --navy-deep: #0F1820;
  --red:       #E63228; /* vermelho da marca: ícones e decoração */
  --red-dk:    #C82820; /* vermelho acessível p/ texto e botões em fundo claro (4.5:1+) */
  --red-lt:    #F2564C; /* vermelho acessível p/ texto pequeno em fundo escuro (4.5:1+) */
  --cream:     #F5F0E8;
  --cream-dk:  #E6E1D8;
  --white:     #FFFFFF;
  --muted:     #57637A;
  --border:    #E2E8F0;
  --gstar:     #FBBC04;

  --display: 'Poppins', -apple-system, sans-serif;
  --ui:      'Nunito', -apple-system, sans-serif;

  --w:     1160px;
  --px:    clamp(1.25rem, 5vw, 2rem);
  --r:     8px;
  --r-sm:  4px;
  --nav-h: 70px;
  --t:     0.2s ease;
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--ui); color: var(--navy); -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { font-family: var(--ui); cursor: pointer; }
svg   { display: block; flex-shrink: 0; }

/* 3. Typography */
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.15; }
h3     { font-family: var(--ui); font-weight: 700; line-height: 1.3; }
h1     { font-size: clamp(2.1rem, 4.5vw, 3.75rem); }
h2     { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3     { font-size: clamp(1rem, 1.8vw, 1.2rem); }
p      { font-size: 0.9375rem; line-height: 1.75; color: var(--muted); }

/* 4. Layout */
.container  { max-width: var(--w); margin: 0 auto; padding: 0 var(--px); }
section     { padding: 5.5rem 0; }
.section-hd { margin-bottom: 3.5rem; }
.section-hd p { max-width: 520px; margin-top: 0.75rem; }

.eyebrow {
  display: block;
  font-size: 0.6875rem; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red-dk); margin-bottom: 0.9rem;
}

/* 5. Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: var(--r);
  font-family: var(--ui); font-size: 0.875rem; font-weight: 700;
  transition: all var(--t); border: 2px solid transparent;
  white-space: nowrap; cursor: pointer;
}
.btn-red     { background: var(--red-dk); color: var(--white); border-color: var(--red-dk); }
.btn-red:hover { background: #a81f18; border-color: #a81f18; }
.btn-ghost-w { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-ghost-w:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.65); }
.btn-ghost-n { background: transparent; color: var(--navy); border-color: rgba(26,37,53,.25); }
.btn-ghost-n:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(15,24,32,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  display: flex; align-items: center;
  height: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--px);
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: 0.8125rem; font-weight: 600;
  color: rgba(255,255,255,.6); transition: color var(--t);
}
.nav-links a:hover { color: var(--white); }
.nav-cta { margin-left: 1.5rem; }
.nav-burger {
  display: none; background: none; border: none; margin-left: auto;
  color: var(--white); padding: 4px;
}
.nav-burger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; }

.nav-drawer {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--navy-deep); padding: 1.5rem var(--px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block; padding: 0.8rem 0; color: rgba(255,255,255,.75);
  font-weight: 600; font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-drawer a:last-child { border: none; color: #25D366; padding-top: 1rem; }

/* ================================================================
   HERO — fits in first fold (100svh including nav)
   ================================================================ */
.hero {
  background: var(--navy-deep);
  min-height: 100vh; min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before { /* textura discreta: grade fina com marcações nos cruzamentos */
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'72'%20height%3D'72'%3E%3Cpath%20d%3D'M71.5%200v72M0%2071.5h72'%20stroke%3D'rgba(245%2C240%2C232%2C.035)'%20stroke-width%3D'1'%2F%3E%3Cpath%20d%3D'M68%2071.5h7M71.5%2068v7'%20stroke%3D'rgba(230%2C50%2C40%2C.13)'%20stroke-width%3D'1'%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 65% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 65% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero::after { /* decorative "&" echoing the brand logo */
  content: '&';
  position: absolute; right: -3rem; bottom: -8rem;
  font-family: var(--display);
  font-size: clamp(14rem, 28vw, 22rem); font-weight: 500; line-height: 1;
  color: rgba(230,50,40,.065);
  user-select: none; pointer-events: none;
}
.hero-inner  { padding: 3.5rem 0; max-width: 750px; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--red-lt); }
.hero h1     { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em  { font-style: italic; color: rgba(245,240,232,.8); }
.hero-sub    {
  color: rgba(245,240,232,.6); font-size: 1.05rem;
  max-width: 510px; margin-bottom: 2.25rem; line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem;
  margin-top: 2.25rem;
}
.hero-trust li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: rgba(245,240,232,.62);
}
.hero-trust svg {
  width: 16px; height: 16px;
  stroke: var(--red); fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ================================================================
   STATS STRIP
   ================================================================ */
.stats {
  background: var(--navy);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item  {
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }
.stat-num {
  font-family: var(--display); font-weight: 500; line-height: 1;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  color: var(--white); margin-bottom: 0.4rem;
}
.stat-num em { color: var(--red); font-style: normal; }
.stat-lbl    { font-size: 0.8rem; color: rgba(245,240,232,.62); font-weight: 600; line-height: 1.4; }

/* ================================================================
   QUEM ATENDEMOS
   ================================================================ */
.atendemos { background: var(--cream); }
.atendemos .section-hd h2 { color: var(--navy); }

.atend-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--cream-dk); border-radius: var(--r); overflow: hidden;
}
.atend-item {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 1.5rem 1.2rem;
  border-right: 1px solid var(--cream-dk);
  border-bottom: 1px solid var(--cream-dk);
  background: var(--cream); transition: background var(--t);
}
.atend-item:hover { background: var(--white); }
.atend-item:nth-child(4n)      { border-right: none; }
.atend-item:nth-last-child(-n+4) { border-bottom: none; }
.atend-ico {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px;
  stroke: var(--red); fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.atend-title { font-size: 0.875rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.atend-sub   { font-size: 0.76rem; color: var(--muted); margin-top: 0.15rem; }
.atend-link {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800; color: var(--red-dk);
  margin-top: 0.55rem; transition: all var(--t);
}
.atend-link::after { content: ' →'; }
.atend-item:hover .atend-link { letter-spacing: 0.02em; }

/* ================================================================
   SERVIÇOS
   ================================================================ */
.servicos { background: var(--white); }
.servicos .section-hd h2 { color: var(--navy); }

.serv-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.serv-item {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white); transition: background var(--t);
}
.serv-item:hover { background: var(--cream); }
.serv-item:nth-child(3n)      { border-right: none; }
.serv-item:nth-last-child(-n+3) { border-bottom: none; }
.serv-ico {
  width: 36px; height: 36px; margin-bottom: 1.25rem;
  stroke: var(--red); fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.serv-item h3 { color: var(--navy); margin-bottom: 0.5rem; }
.serv-item p  { font-size: 0.875rem; }

/* ================================================================
   ABORDAGEM
   ================================================================ */
.abordagem { background: var(--navy); }
.abordagem .eyebrow { color: var(--red-lt); }
.abordagem .section-hd h2 { color: var(--white); }
.abordagem .section-hd p  { color: transparent; } /* hide default p here */

.abord-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; }
.abord-num {
  display: block;
  font-family: var(--display); font-size: 4.5rem; font-weight: 500; line-height: 1;
  color: var(--red); margin-bottom: 1.25rem;
}
.abord-item h3 { color: var(--white); margin-bottom: 0.5rem; font-size: 1.125rem; }
.abord-item p  { color: rgba(245,240,232,.62); font-size: 0.875rem; line-height: 1.7; }

/* ================================================================
   EQUIPE — cards horizontais (2 sócios, largura total)
   Foto real: dentro de .socio-thumb use
   <img src="/img/foto-nome.jpg" alt="…" class="socio-img">
   ================================================================ */
.equipe { background: var(--cream); }
.equipe .section-hd h2 { color: var(--navy); }
.equipe-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
}
.socio-card {
  display: flex; align-items: stretch;
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--cream-dk); overflow: hidden;
}
.socio-thumb {
  width: 168px; flex-shrink: 0;
  background: linear-gradient(150deg, #1e2e41 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.socio-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.socio-initials {
  font-family: var(--display); font-size: 3.25rem;
  color: rgba(245,240,232,.14); line-height: 1; user-select: none;
}
.socio-info       { padding: 1.75rem; }
.socio-info h3    { color: var(--navy); font-size: 1.125rem; margin-bottom: 0.2rem; }
.socio-role       { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-dk); margin-bottom: 0.75rem; }
.socio-info p     { font-size: 0.875rem; }

/* ================================================================
   CLIENTES — faixa de logos em rolagem contínua
   ================================================================ */
.clientes { background: var(--white); padding: 4rem 0; }
.clientes-hd { text-align: center; margin-bottom: 2.5rem; }
.clientes-hd h2 { color: var(--navy); font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  cursor: grab;
  touch-action: pan-y; /* arrasto horizontal fica com o JS; rolagem vertical segue nativa */
  user-select: none; -webkit-user-select: none;
}
.logo-marquee.dragging { cursor: grabbing; }
.logo-track {
  display: flex; align-items: center; width: max-content;
  padding: 0.5rem 0;
  will-change: transform;
}
.logo-item {
  margin-right: clamp(3rem, 7vw, 5.5rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.logo-item img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--cream-dk);
}
.logo-item span {
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0.04em; white-space: nowrap;
}

/* ================================================================
   DEPOIMENTOS — estilo avaliações do Google
   ================================================================ */
.depoimentos { background: var(--cream); }
.depoimentos .section-hd h2 { color: var(--navy); }
.dep-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: stretch; }

.dep-card {
  background: var(--white); border: 1px solid var(--cream-dk); border-radius: var(--r);
  padding: 1.75rem;
}
.dep-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.dep-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
}
.dep-name { font-size: 0.875rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.dep-role { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.dep-stars-sm { color: var(--gstar); font-size: 0.8rem; letter-spacing: 1.5px; margin-top: 2px; }
.dep-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ================================================================
   PUBLICAÇÕES
   ================================================================ */
.pub { background: var(--white); }
.pub .section-hd h2 { color: var(--navy); }
.pub-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.pub-card {
  border: 1px solid var(--border); border-radius: var(--r); padding: 2rem;
  transition: all var(--t); display: flex; flex-direction: column;
}
.pub-card:hover { border-color: var(--navy); box-shadow: 0 4px 20px rgba(26,37,53,.07); }
.pub-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-dk); background: rgba(230,50,40,.07);
  padding: 0.2rem 0.55rem; border-radius: var(--r-sm); margin-bottom: 0.9rem;
}
.pub-card h3  { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.6rem; line-height: 1.4; }
.pub-card p   { font-size: 0.875rem; flex: 1; margin-bottom: 1.5rem; }
.pub-link     {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8125rem; font-weight: 700; color: var(--navy); transition: all var(--t);
}
.pub-link:hover { color: var(--red); gap: 0.6rem; }
.pub-link::after { content: '→'; }
.pub-cta { text-align: center; margin-top: 3rem; }

/* ================================================================
   CONTATO
   ================================================================ */
.contato { background: var(--navy-deep); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contato .eyebrow { color: var(--red-lt); }
.contato h2    { color: var(--white); margin-bottom: 1rem; }
.contato-sub   { color: rgba(245,240,232,.65); margin-bottom: 2rem; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: #25D366; color: var(--navy-deep); border-radius: var(--r);
  padding: 0.8rem 1.6rem; font-family: var(--ui); font-weight: 700; font-size: 0.9375rem;
  transition: background var(--t);
}
.btn-wa:hover { background: #1dbe5a; }
.btn-wa svg   { width: 20px; height: 20px; fill: currentColor; }
.contato-note { font-size: 0.78rem; color: rgba(245,240,232,.6); margin-top: 0.85rem; }

.form         { display: flex; flex-direction: column; gap: 0.85rem; }
.f-row        { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.f-field      { display: flex; flex-direction: column; gap: 0.3rem; }
.f-field label {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(245,240,232,.65);
}
.f-field input,
.f-field select,
.f-field textarea {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 0.7rem 0.9rem;
  color: var(--white); font-family: var(--ui); font-size: 0.9375rem;
  transition: border-color var(--t); width: 100%;
}
.f-field input::placeholder,
.f-field textarea::placeholder { color: rgba(255,255,255,.2); }
.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus  { outline: none; border-color: rgba(230,50,40,.5); }
.f-field textarea { height: 100px; resize: vertical; }
.f-field select option { background: var(--navy); }
.f-submit .btn { width: 100%; justify-content: center; margin-top: 0.25rem; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.05);
}
.foot-top {
  display: grid; grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 3rem; padding: 4rem 0 3rem;
}
.foot-brand img   { height: 28px; width: auto; opacity: .75; margin-bottom: 1.25rem; }
.foot-brand p     { font-size: 0.8rem; color: rgba(255,255,255,.55); line-height: 1.75; }
.foot-col .foot-h {
  display: block;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1rem;
}
.foot-col a {
  display: block; font-size: 0.8125rem; font-weight: 600;
  color: rgba(255,255,255,.65); margin-bottom: 0.55rem; transition: color var(--t);
}
.foot-col a:hover { color: var(--white); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.05); padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,.55);
}

/* ================================================================
   WHATSAPP FLOAT
   ================================================================ */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999;
  width: 52px; height: 52px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  transition: all var(--t); animation: waPulse 3.5s infinite;
}
.wa-float:hover { background: #1dbe5a; transform: scale(1.08); }
.wa-float svg   { width: 26px; height: 26px; fill: var(--white); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 22px rgba(37,211,102,.6), 0 0 0 7px rgba(37,211,102,.1); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item  { padding: 1.25rem 1rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .atend-grid { grid-template-columns: repeat(2,1fr); }
  .atend-item:nth-child(4n)       { border-right: 1px solid var(--cream-dk); }
  .atend-item:nth-child(2n)       { border-right: none; }
  .atend-item:nth-last-child(-n+4){ border-bottom: 1px solid var(--cream-dk); }
  .atend-item:nth-last-child(-n+2){ border-bottom: none; }

  .serv-grid { grid-template-columns: repeat(2,1fr); }
  .serv-item:nth-child(3n)        { border-right: 1px solid var(--border); }
  .serv-item:nth-child(2n)        { border-right: none; }
  .serv-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .serv-item:nth-last-child(-n+2) { border-bottom: none; }

  .abord-grid   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .equipe-grid  { grid-template-columns: 1fr; }
  .dep-grid     { grid-template-columns: 1fr 1fr; }
  .pub-grid     { grid-template-columns: repeat(2,1fr); }
  .contato-grid { grid-template-columns: 1fr; gap: 3rem; }
  .foot-top     { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  section { padding: 4rem 0; }
  .stats  { padding: 2.75rem 0; }
  .clientes { padding: 3.25rem 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .atend-grid  { grid-template-columns: 1fr 1fr; }
  .atend-item:nth-child(2n) { border-right: none; }

  .serv-grid   { grid-template-columns: 1fr; }
  .serv-item:nth-child(3n)  { border-right: none; }
  .serv-item:nth-child(2n)  { border-right: none; }
  .serv-item:nth-last-child(-n+2){ border-bottom: 1px solid var(--border); }
  .serv-item:last-child     { border-bottom: none; }

  .abord-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .dep-grid     { grid-template-columns: 1fr; }
  .socio-thumb  { width: 128px; }
  .socio-initials { font-size: 2.5rem; }
  .logo-item img { width: 52px; height: 52px; }
  .pub-grid     { grid-template-columns: 1fr; }
  .f-row        { grid-template-columns: 1fr; }
  .foot-top     { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot-bottom  { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust   { flex-direction: column; gap: 0.5rem; margin-top: 1.75rem; }
  .wa-float     { bottom: 1.25rem; right: 1.25rem; width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .atend-grid  { grid-template-columns: 1fr; }
  .atend-item  { border-right: none; }
  .socio-card  { flex-direction: column; }
  .socio-thumb { width: 100%; height: 140px; }
}
