/* Valorize Administradora de Condomínios — site institucional 2026 */
:root {
  --navy-900: #091527;
  --navy-800: #0c1d3c;
  --navy-700: #16315f;
  --orange: #f58634;
  --orange-hover: #ff9748;
  --orange-text: #b4510b;
  --ink: #16233b;
  --muted: #56627a;
  --line: #dde3ec;
  --bg: #f4f6fa;
  --white: #fff;
  --radius: 4px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.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; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; line-height: 1; white-space: nowrap;
  min-height: 48px; padding: 14px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-sm { min-height: 44px; padding: 12px 20px; font-size: .94rem; }
.btn-lg { min-height: 54px; padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: var(--navy-900); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-outline-dark { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-dark:hover { background: var(--navy-800); color: var(--white); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Topo ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.logo { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { padding: 6px 0; font-weight: 500; font-size: .96rem; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a.active { color: var(--navy-800); border-bottom-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy-800); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Banner ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-900); overflow: hidden; padding: 96px 0 104px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 21, 39, .96) 0%, rgba(12, 29, 60, .9) 45%, rgba(12, 29, 60, .8) 100%);
}
.hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -.02em; }
.hero .about { align-items: center; }
.hero .about-copy > p { color: rgba(255, 255, 255, .82); }
.hero .values li:not(:last-child)::after { color: var(--orange); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 33em; margin-top: 22px; }

/* ---------- Seções ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head::before, .rule::before { content: ""; display: block; width: 36px; height: 3px; background: var(--orange); margin-bottom: 20px; }
.section h2, .app h2, .proposal h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc { padding: 36px 36px 42px; border-bottom: 1px solid var(--line); }
.svc:nth-child(3n+1) { padding-left: 0; }
.svc:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.svc:nth-child(3n) { padding-right: 0; }
.svc .icon { width: 32px; height: 32px; color: var(--orange-text); stroke-width: 1.5; }
.svc h3 { font-size: 1.2rem; margin-top: 22px; }
.svc p { margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* Aplicativo */
.app { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-800); color: var(--white); padding: 104px 0; }
.app::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 70% at 85% 50%, rgba(245, 134, 52, .2), transparent 70%), radial-gradient(ellipse 40% 60% at 0% 80%, rgba(22, 49, 95, .9), transparent 70%);
}
.app-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.app .lead { margin-top: 20px; }
.app-list { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .22); }
.app-list li { display: flex; align-items: center; gap: 16px; padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, .22); font-weight: 500; }
.app-list .icon { width: 24px; height: 24px; color: var(--orange); }

.phone-wrap { position: relative; display: grid; place-items: center; min-height: 540px; }
.glow { position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 134, 52, .4), transparent 65%); filter: blur(10px); }
.phone { position: relative; width: 270px; aspect-ratio: 9 / 18.6; padding: 10px; border-radius: 44px; background: linear-gradient(160deg, #1b2b4b, #0a1428); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .12); transform: rotate(4deg); }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); background: #0a1428; border-radius: 99px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; background: #f5f8fd; color: var(--ink); padding: 52px 16px 16px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.ph-top { display: flex; align-items: center; gap: 8px; font-size: .78rem; }
.ph-dot { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(145deg, var(--orange), #ffb27a); }
.ph-card { padding: 16px; border-radius: 18px; color: var(--white); background: linear-gradient(145deg, var(--navy-700), var(--navy-800)); display: grid; gap: 2px; }
.ph-card small { color: rgba(255, 255, 255, .7); font-size: .72rem; }
.ph-card b { font-size: 1.02rem; }
.ph-btn { margin-top: 12px; justify-self: start; background: var(--orange); color: var(--navy-900); font-weight: 700; font-size: .74rem; padding: 8px 14px; border-radius: 99px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-grid span { display: grid; gap: 6px; justify-items: start; padding: 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: .72rem; font-weight: 600; }
.ph-grid .icon { width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: #fff1e6; color: var(--orange-text); box-sizing: content-box; }
.ph-line { height: 10px; border-radius: 99px; background: #dfe6f2; }
.ph-line.short { width: 60%; }
/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy > p { margin-top: 22px; color: var(--muted); font-size: 1.08rem; }
.values { display: flex; flex-wrap: wrap; gap: 4px 0; }
.values li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--orange-text); font-weight: 700; }

/* Parceria (banner) */
.partner-sec { padding: 72px 0; background: var(--bg); }
.partner { display: flex; align-items: center; gap: 32px; padding: 34px 40px; border-radius: 28px; background: linear-gradient(120deg, #fff1e6, #ffe2cb); border: 1px solid #ffd2b0; }
.pb-logo { flex: none; width: 118px; height: auto; aspect-ratio: 275 / 211; object-fit: cover; border-radius: 16px; }
.pb-copy { flex: 1; min-width: 0; }
.pb-label { margin-bottom: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.partner h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.pb-text { margin-top: 10px; max-width: 48em; color: #4a4254; text-wrap: pretty; }
.pb-text strong { color: var(--navy-800); font-weight: 600; }
.pb-deal { flex: none; display: flex; flex-direction: column; align-items: flex-start; padding-left: 36px; border-left: 1px solid rgba(180, 81, 11, .3); line-height: 1; }
.pb-deal strong { font-size: 3.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--orange-text); }
.pb-deal span { margin-top: 8px; font-weight: 600; color: var(--navy-800); }
/* Proposta */
.proposal { background: var(--navy-800); color: var(--white); padding: 104px 0; }
.proposal-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.proposal .lead { margin-top: 20px; }
.ticks { margin-top: 34px; border-top: 1px solid rgba(255, 255, 255, .22); }
.ticks li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); font-weight: 500; }
.ticks .icon { width: 20px; height: 20px; color: var(--orange); stroke-width: 2.4; }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.req { color: #c2410c; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border-radius: var(--radius); border: 1px solid #c5cedd; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 124px; }
.field input::placeholder { color: #8892a6; }
.field input:hover, .field textarea:hover { border-color: #97a4bb; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(245, 134, 52, .35); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .22); }
.err { color: #b91c1c; font-size: .86rem; font-weight: 500; }
.form-note { margin-top: 14px; font-size: .86rem; color: var(--muted); }
.err[hidden], .form-success[hidden], #proposta-form[hidden] { display: none; }
.form-success { padding: 36px 8px; outline: none; }
.form-success .icon { width: 44px; height: 44px; color: #15803d; stroke-width: 1.6; }
.form-success h3 { font-size: 1.6rem; margin-top: 18px; }
.form-success p { margin-top: 8px; color: var(--muted); }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.wa-row { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: rgba(255, 255, 255, .85); overflow-wrap: anywhere; }
.wa-row .icon { width: 22px; height: 22px; color: var(--orange); }
.wa-row strong { color: var(--white); font-weight: 600; border-bottom: 1px solid var(--orange); }
.wa-row:hover strong { color: var(--orange); }
/* Contato */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.contact-copy > p { margin-top: 22px; color: var(--muted); font-size: 1.08rem; }
.links { margin-top: 28px; border-top: 1px solid var(--line); }
.links a { display: flex; align-items: center; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .2s, padding .2s; }
.links a .icon { width: 22px; height: 22px; color: var(--orange-text); }
.links a .arrow { width: 18px; height: 18px; margin-left: auto; color: #9aa6ba; transition: transform .2s, color .2s; }
.links a:hover { color: var(--navy-800); }
.links a:hover .arrow { transform: translateX(4px); color: var(--orange-text); }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 380px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding-top: 72px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.logo-pill { display: inline-block; padding: 14px 20px; border-radius: var(--radius); background: var(--white); }
.logo-pill .logo { height: 42px; }
.foot-logo-link { display: inline-block; }
.foot-logo { height: 128px; width: auto; }.foot-brand p { margin-top: 20px; max-width: 24em; font-size: .96rem; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: .96rem; }
.foot-col h3 { color: var(--white); font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.foot-col a { width: fit-content; transition: color .2s; }
.foot-col a:hover { color: var(--orange); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0 30px; font-size: .86rem; }

/* ---------- Páginas simples (obrigado / 404) ---------- */
.simple { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; padding: 72px 0; background: var(--bg); }
.simple-card { max-width: 600px; padding: 52px 48px; background: var(--white); border-top: 4px solid var(--orange); border-radius: var(--radius); }
.simple-card .icon { width: 44px; height: 44px; color: #15803d; }
.simple-card h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 18px 0 12px; }
.simple-card p { color: var(--muted); }
.simple .code { font-size: 4.4rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--orange); }

/* ---------- Entrada suave ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(9, 21, 39, .5);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover, .nav a.active { border-bottom-color: var(--line); color: var(--orange-text); }
  .header-actions { margin-left: auto; }
}

@media (max-width: 980px) {
  .hero { padding: 72px 0 88px; }
  .app-in, .about, .contact, .proposal-in { grid-template-columns: 1fr; gap: 48px; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc, .svc:nth-child(3n+1), .svc:nth-child(3n) { padding: 32px 28px 36px; border-left: 0; }
  .svc:nth-child(odd) { padding-left: 0; }
  .svc:nth-child(even) { border-left: 1px solid var(--line); padding-right: 0; }
  .phone-wrap { min-height: 0; padding: 24px 0; }
  .partner { flex-wrap: wrap; }
  .pb-copy { flex: 1 1 280px; }
  .pb-deal { flex-direction: row; align-items: baseline; gap: 14px; width: 100%; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(180, 81, 11, .3); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section, .app, .proposal { padding: 72px 0; }
  .header-in { gap: 12px; }
  .logo { height: 38px; }
  .hide-sm { display: none; }
  .btn-row { flex-direction: column; }
  .btn-lg { width: 100%; }
  .hero { padding: 60px 0 72px; }
  .services { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(odd), .svc:nth-child(even) { padding: 28px 0 32px; border-left: 0; }
  .partner-sec { padding: 56px 0; }
  .partner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; border-radius: 24px; }
  .pb-logo { width: 84px; border-radius: 12px; }
  .pb-copy { flex: none; }
  .pb-text { font-size: .96rem; }
  .pb-deal { padding-top: 14px; }
  .pb-deal strong { font-size: 2.4rem; }
  .form-card { padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .foot-in { grid-template-columns: 1fr; gap: 32px; }
  .simple-card { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .links a, .links a .arrow { transition: none; }
}

/* ---------- Transições suaves entre as seções ---------- */
/* Cada seção termina com um degradê para a cor da seção seguinte: sem troca de cor de uma vez. */
:root { --fade: 150px; }
.hero, .app, .partner-sec, .proposal, #contato { position: relative; }
.app, .hero { overflow-x: clip; overflow-y: visible; }
.hero > .wrap, .app > .wrap, .partner-sec > .wrap, .proposal > .wrap, #contato > .wrap { position: relative; z-index: 1; }
.hero::after, .app::after, .partner-sec::after, .proposal::after, #contato::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: calc(var(--fade) + 2px); z-index: 0; pointer-events: none; /* 2px a mais: evita um fio na emenda */
}
/* banner -> aplicativo (azul para azul) */
.hero::after { background: linear-gradient(to bottom, rgba(12, 29, 60, 0) 0%, rgba(12, 29, 60, .3) 38%, rgba(12, 29, 60, .78) 74%, #0c1d3c 100%); }
/* azul -> branco (aplicativo -> serviços, proposta -> contato) */
.app::after, .proposal::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .14) 25%, rgba(255, 255, 255, .45) 55%, rgba(255, 255, 255, .84) 82%, #fff 100%); }
/* cinza claro -> azul (parceria -> proposta) */
.partner-sec::after { background: linear-gradient(to bottom, rgba(12, 29, 60, 0) 0%, rgba(12, 29, 60, .14) 25%, rgba(12, 29, 60, .45) 55%, rgba(12, 29, 60, .84) 82%, #0c1d3c 100%); }
/* branco -> azul escuro do rodapé (contato -> rodapé) */
#contato::after { background: linear-gradient(to bottom, rgba(9, 21, 39, 0) 0%, rgba(9, 21, 39, .14) 25%, rgba(9, 21, 39, .45) 55%, rgba(9, 21, 39, .84) 82%, #091527 100%); }

.hero { padding-bottom: 130px; }
.app { padding-top: 72px; padding-bottom: calc(var(--fade) + 48px); }
#servicos { padding-top: 56px; }
.partner-sec { padding-bottom: calc(var(--fade) + 40px); }
.proposal { padding-top: 72px; padding-bottom: calc(var(--fade) + 48px); }
#contato { padding-top: 56px; padding-bottom: calc(var(--fade) + 40px); }

@media (max-width: 640px) {
  :root { --fade: 96px; }
  .hero { padding-bottom: 80px; }
  .app { padding-top: 48px; padding-bottom: calc(var(--fade) + 32px); }
  #servicos { padding-top: 32px; padding-bottom: 40px; }
  .partner-sec { padding-top: 40px; padding-bottom: calc(var(--fade) + 24px); }
  .proposal { padding-top: 56px; padding-bottom: calc(var(--fade) + 32px); }
  #contato { padding-top: 40px; padding-bottom: calc(var(--fade) + 24px); }

  /* Serviços compactos no celular: lista com o ícone ao lado do texto, para caber sem rolar muito */
  #servicos h2 { font-size: 1.5rem; }
  #servicos .section-head { margin-bottom: 14px; }
  #servicos .section-head::before { margin-bottom: 14px; }
  #servicos .section-head p { display: none; }
  .services { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(odd), .svc:nth-child(even) {
    display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-items: start;
    padding: 13px 0 14px; border-left: 0;
  }
  .svc .icon { grid-row: 1 / span 2; width: 24px; height: 24px; margin-top: 1px; }
  .svc h3 { margin-top: 0; font-size: 1rem; line-height: 1.25; }
  .svc p { margin-top: 3px; font-size: .84rem; line-height: 1.45; }
}

/* ---------- Abas: Missão, Visão e Valores ---------- */
.tabs { display: none; gap: 30px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.js .tabs { display: flex; }
.tab {
  appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin: 0 0 -1px; padding: 12px 2px 13px;
  font: inherit; font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, .62); cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { color: var(--white); border-bottom-color: var(--orange); }
/* todos os painéis ocupam o mesmo espaço: a altura não "pula" ao trocar de aba */
.tab-panels { display: grid; }
.tab-panel { grid-area: 1 / 1; padding-top: 24px; color: rgba(255, 255, 255, .84); }
.js .tab-panel[hidden] { display: block; visibility: hidden; }
.tab-title { margin-bottom: 8px; font-size: 1.05rem; color: var(--white); }
.js .tab-title { display: none; }
.tab-panel:not(:first-child) { margin-top: 0; }
html:not(.js) .tab-panel { grid-area: auto; padding-top: 20px; }
@media (max-width: 640px) { .tabs { gap: 24px; } }

/* ---------- Rodapé: logo centralizado com a frase abaixo ---------- */
.foot-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.foot-brand p { margin-left: auto; margin-right: auto; }

/* ---------- Destaque: unidades administradas (início do site) ---------- */
.hero-stat { grid-column: 1 / -1; padding-bottom: 30px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin: 0; line-height: 1; }
.stat-pre { font-size: 1.15rem; font-weight: 600; color: rgba(255, 255, 255, .82); }
.stat-num { font-size: clamp(3.6rem, 8.5vw, 6.4rem); font-weight: 700; letter-spacing: -.035em; color: var(--orange); }
.stat-txt { font-size: clamp(1.35rem, 2.8vw, 2.1rem); font-weight: 600; letter-spacing: -.01em; color: var(--white); }
.stat-sub { margin: 12px 0 0; font-size: 1.02rem; color: rgba(255, 255, 255, .78); }

/* ---------- Abas claras (Serviços / Clientes) ---------- */
.tabs-light { flex-wrap: wrap; gap: 4px 30px; border-bottom-color: var(--line); }
.tabs-light .tab { color: var(--muted); }
.tabs-light .tab:hover { color: var(--navy-800); }
.tabs-light .tab[aria-selected="true"] { color: var(--navy-800); border-bottom-color: var(--orange); }
.panels-switch > .tab-panel { padding-top: 0; color: var(--ink); }
.js .panels-switch > .tab-panel[hidden] { display: none; }
.panels-switch .tab-title { color: var(--navy-800); margin: 28px 0 0; }
.panels-switch .services { border-top: 0; }
.js #servicos .section-head { margin-bottom: 30px; }
/* o último serviço (sétimo) ocupa a linha inteira, para a grade não ficar com um vazio */
.panels-switch #panel-servicos .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .hero-stat { padding-bottom: 22px; }
  .stat-num { font-size: 4rem; }
  .stat-pre { font-size: 1rem; }
  .tabs-light { gap: 0 20px; }
  .tabs-light .tab { font-size: .95rem; }
  .js #servicos .section-head { margin-bottom: 8px; }
}

/* ---------- Clientes: cartões com foto ---------- */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; margin-top: 30px; }
.client { margin: 0; }
.client img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: #e9edf3; }
.client h3 { font-size: 1.12rem; margin-top: 16px; }
.client p { margin-top: 4px; color: var(--muted); font-size: .94rem; }

@media (max-width: 980px) {
  .client-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
}
@media (max-width: 640px) {
  .client-grid { gap: 18px 12px; margin-top: 18px; }
  .client h3 { font-size: .98rem; margin-top: 10px; line-height: 1.25; }
  .client p { font-size: .8rem; margin-top: 2px; line-height: 1.4; }
}