/* ════════════════════════════════════════════════════════════
   LEPORTUS — Design System v8
   Corporativo · Slim · Moderno · Elegante
   ════════════════════════════════════════════════════════════ */

:root {
  --pine:    #0F1F1B;
  --forest:  #1E3D2F;
  --forest-2:#27463B;
  --sage:    #7A9E94;
  --sage-lt: #A8C4BB;
  --stone:   #D4CEC2;
  --ivory:   #F2EEE6;
  --warm:    #EAE5DB;
  --white:   #FDFAF4;
  --ink:     #0B1714;
  --muted:   #5A6B63;
  --faint:   #8A9E96;

  --line:    rgba(14,28,22,.07);
  --line-md: rgba(14,28,22,.12);
  --line-lg: rgba(14,28,22,.19);

  --s0: 0 1px 2px rgba(14,28,22,.04), 0 1px 1px rgba(14,28,22,.03);
  --s1: 0 2px 4px rgba(14,28,22,.04), 0 8px 20px rgba(14,28,22,.06);
  --s2: 0 4px 10px rgba(14,28,22,.05), 0 18px 44px rgba(14,28,22,.09);
  --s3: 0 8px 20px rgba(14,28,22,.07), 0 36px 80px rgba(14,28,22,.12);
  --s4: 0 16px 36px rgba(14,28,22,.09), 0 56px 120px rgba(14,28,22,.15);

  --r:  8px;
  --r2: 13px;
  --r3: 18px;
  --r4: 24px;
  --r5: 32px;

  --max: 1180px;

  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;

  --ease:      cubic-bezier(.16,.84,.32,1);
  --ease-out:  cubic-bezier(0,0,.2,1);
  --ease-in:   cubic-bezier(.5,0,1,1);
  --spring:    cubic-bezier(.32,1.3,.6,1);
  --spring-lg: cubic-bezier(.28,1.55,.48,1.05);
}

/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 82px;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
svg {
  width: 1.1em; height: 1.1em;
  stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

::selection { background: rgba(122,158,148,.30); color: var(--pine); }

/* Foco de teclado — visível e elegante, sem o azul padrão do navegador */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Em elementos já arredondados (botões, pills, cards clicáveis), o outline acompanha melhor com offset menor */
.btn:focus-visible, .pill:focus-visible, .socials a:focus-visible,
.faq-q:focus-visible, .card:focus-visible, .post-card:focus-visible {
  outline-offset: 2px;
}

/* Scrollbar customizada — discreta, na paleta da marca (WebKit/Blink) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb {
  background: rgba(30,61,47,.28);
  border-radius: 99px;
  border: 3px solid var(--ivory);
}
::-webkit-scrollbar-thumb:hover { background: rgba(30,61,47,.45); }
/* Firefox */
html { scrollbar-color: rgba(30,61,47,.30) var(--ivory); scrollbar-width: thin; }

.container { width: min(var(--max), calc(100% - 52px)); margin-inline: auto; }
.narrow    { width: min(840px, calc(100% - 52px)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -80px;
  background: var(--pine); color: var(--ivory);
  padding: 8px 18px; border-radius: 999px;
  z-index: 9999; font-weight: 700; font-size: .8rem;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 16px; }

/* Barra de progresso de leitura — linha fina no topo absoluto da página,
   acompanha o scroll. Sutil, mas reforça acabamento de produto cuidado. */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--forest), var(--sage-lt));
  width: 0%; z-index: 400; pointer-events: none;
  transition: width .1s linear;
}

/* ════════════════════════════════════════════
   MOVIMENTO — entradas + microinterações
════════════════════════════════════════════ */
@keyframes fadeUp     { from { opacity:0; transform:translateY(26px) } to { opacity:1; transform:translateY(0) } }
@keyframes fadeIn     { from { opacity:0 } to { opacity:1 } }
@keyframes scaleIn    { from { opacity:0; transform:scale(.93) translateY(16px) } to { opacity:1; transform:scale(1) translateY(0) } }
@keyframes floatSlow  { 0%,100% { transform:translateY(0) } 50% { transform:translateY(-7px) } }
@keyframes pulseRing  { 0% { box-shadow:0 0 0 0 rgba(22,163,74,.45) } 70% { box-shadow:0 0 0 14px rgba(22,163,74,0) } 100% { box-shadow:0 0 0 0 rgba(22,163,74,0) } }

.anim {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.anim.in-view { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: .06s; }
.anim-d2 { transition-delay: .12s; }
.anim-d3 { transition-delay: .18s; }
.anim-d4 { transition-delay: .24s; }

.hero-content { animation: fadeUp .75s var(--ease-out) both; }
.hero-card    { animation: scaleIn .85s .12s var(--ease-out) both; }
.trust-strip  { animation: fadeIn .5s .30s var(--ease-out) both; }

.hero::after, .section-dark::after, .cta-band::after, .site-footer::after {
  animation: floatSlow 9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .anim, .hero-content, .hero-card, .trust-strip,
  .hero::after, .section-dark::after, .cta-band::after, .site-footer::after {
    opacity:1!important; transform:none!important;
    animation:none!important; transition:none!important;
  }
  .hero-card::after { display: none!important; }
  .pill-row .pill:first-child::before { animation: none!important; }
}

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(242,238,230,.92);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease-out), background .3s;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 rgba(14,28,22,.05), 0 6px 28px rgba(14,28,22,.08);
  background: rgba(242,238,230,.97);
}

.nav-shell {
  height: 66px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; letter-spacing: .14em; font-size: .73rem;
  color: var(--pine); transition: opacity .2s var(--ease-out);
  flex-shrink: 0;
}
.brand:hover { opacity: .62; }

.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--pine); color: var(--ivory);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(14,28,22,.22);
  transition: transform .3s var(--spring);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { letter-spacing: .16em; }

.desktop-nav { display: flex; align-items: center; position: relative; }
.nav-indicator {
  position: absolute; bottom: 1px; left: 0; height: 1.5px;
  background: var(--sage); border-radius: 99px;
  opacity: 0; pointer-events: none;
  transition: transform .28s var(--ease-out), width .28s var(--ease-out), opacity .2s;
}
.desktop-nav a {
  font-size: .70rem; font-weight: 700;
  color: rgba(11,23,20,.42);
  padding: 6px 10px; letter-spacing: .01em;
  position: relative; transition: color .18s;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: '';
  position: absolute; bottom: 1px; left: 10px; right: 10px;
  height: 1.5px; background: var(--pine); border-radius: 99px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.desktop-nav a:hover         { color: var(--pine); }
.desktop-nav a:hover::after  { transform: scaleX(1); }
.desktop-nav a.active        { color: var(--pine); }
.desktop-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.menu-toggle {
  display: none; width: 38px; height: 38px;
  border: 1px solid var(--line-md); border-radius: 10px;
  background: var(--white); cursor: pointer;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 4.5px;
  transition: background .18s, border-color .18s;
}
.menu-toggle:hover { background: var(--warm); border-color: var(--line-lg); }
.menu-toggle span {
  display: block; width: 14px; height: 1.5px;
  background: var(--pine); border-radius: 99px;
  transition: transform .26s var(--ease-out), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; }
.mobile-nav.open {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 16px 18px;
  background: var(--ivory); border-top: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(14,28,22,.09);
  animation: fadeIn .22s var(--ease-out);
}
.mobile-nav a {
  padding: 11px 12px; font-weight: 700; font-size: .88rem;
  border-radius: 9px; color: rgba(11,23,20,.52);
  transition: background .15s, color .15s, padding-left .15s;
}
.mobile-nav a.active, .mobile-nav a:hover {
  background: rgba(14,28,22,.05); color: var(--pine); padding-left: 16px;
}
.mobile-nav .btn { margin-top: 10px; width: 100%; }

/* ════════════════════════════════════════════
   BOTÕES
════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px; padding: 11px 23px;
  font-family: var(--sans); font-size: .745rem;
  font-weight: 800; letter-spacing: .04em;
  border: 1.5px solid transparent; cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s,
              transform .26s var(--spring), box-shadow .26s, color .2s;
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -30%; width: 30%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-18deg) translateX(-20%);
  opacity: 0;
  transition: opacity .2s, transform .55s var(--ease-out);
  pointer-events: none;
}
.btn:hover::before { opacity: 1; transform: skewX(-18deg) translateX(420%); }
.btn svg { fill: currentColor; stroke: none; transition: transform .26s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.96)!important; }

.btn-dark {
  background: var(--pine); color: var(--ivory);
  box-shadow: 0 1px 2px rgba(14,28,22,.14),
              0 5px 16px rgba(14,28,22,.20),
              inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-dark:hover {
  background: var(--forest); transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(14,28,22,.14), 0 12px 30px rgba(14,28,22,.24);
}

.btn-light {
  background: var(--white); color: var(--pine);
  border-color: var(--line-md);
  box-shadow: 0 1px 4px rgba(14,28,22,.05), inset 0 1px 0 rgba(255,255,255,.85);
}
.btn-light:hover {
  border-color: var(--sage); transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(14,28,22,.07), 0 10px 26px rgba(14,28,22,.10);
}

.btn-ghost { border-color: rgba(242,238,230,.24); color: var(--ivory); }
.btn-ghost:hover {
  background: rgba(242,238,230,.10);
  border-color: rgba(242,238,230,.46); transform: translateY(-1px);
}

.btn-outline { background: transparent; color: var(--forest); border-color: var(--line-md); }
.btn-outline:hover {
  background: rgba(30,61,47,.05);
  border-color: var(--forest); transform: translateY(-1px);
}

.btn-sm { padding: 8px 17px; font-size: .68rem; }

/* ════════════════════════════════════════════
   TIPOGRAFIA — escala modular
════════════════════════════════════════════ */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .615rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 14px;
  font-family: var(--sans);
}
.label::before {
  content: '';
  display: block; width: 16px; height: 1px;
  background: currentColor; opacity: .65; flex-shrink: 0;
}

.h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.3vw, 4.4rem);
  font-weight: 400; letter-spacing: -.022em; line-height: .99;
  color: inherit;
}
.h2 {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3.1vw, 2.55rem);
  font-weight: 800; letter-spacing: -.030em; line-height: 1.12;
  color: inherit;
}
.h3 {
  font-family: var(--sans);
  font-size: clamp(1.14rem, 1.8vw, 1.5rem);
  font-weight: 700; letter-spacing: -.022em; line-height: 1.24;
  color: inherit;
}

.lead {
  font-size: clamp(.92rem, 1.25vw, 1.03rem);
  color: rgba(242,238,230,.66);
  max-width: 620px; line-height: 1.74;
  font-weight: 400;
}
.page-lead {
  font-size: .96rem; color: var(--muted);
  max-width: 700px; line-height: 1.74;
}
.text { color: var(--muted); font-size: .91rem; line-height: 1.66; }

.price, .result strong, .metric strong,
.result td, .table-soft td, .step-num {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* ════════════════════════════════════════════
   SEÇÕES
════════════════════════════════════════════ */
.section       { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-alt   { background: var(--warm); padding: 100px 0; }

.section-dark {
  background: var(--pine); color: var(--ivory);
  padding: 100px 0; position: relative; overflow: hidden;
  box-shadow:
    inset 0 24px 40px -32px rgba(0,0,0,.45),
    inset 0 -24px 40px -32px rgba(0,0,0,.45);
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg,
    rgba(242,238,230,.016) 0px, rgba(242,238,230,.016) 1px,
    transparent 1px, transparent 60px);
}
.section-dark::after {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.075) 0%, transparent 65%);
  pointer-events: none;
}
.section-dark .label { color: rgba(122,158,148,.82); }
.section-dark .h2    { color: var(--ivory); }
.section-dark .lead  { color: rgba(242,238,230,.56); }
.section-dark > * { position: relative; z-index: 1; }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 92% 4%,  rgba(122,158,148,.19), transparent 55%),
    radial-gradient(ellipse 38% 58% at 0% 98%,   rgba(30,61,47,.62),   transparent 50%),
    linear-gradient(152deg, #16291f 0%, #0F1F1B 52%);
  color: var(--ivory);
  padding: 120px 0 90px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg,
    rgba(242,238,230,.020) 0px, rgba(242,238,230,.020) 1px,
    transparent 1px, transparent 60px);
}
.hero::after {
  content: '';
  position: absolute; top: -160px; right: -120px;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.085) 0%, transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.13fr .87fr;
  gap: 64px; align-items: center;
}

.hero .label { color: rgba(168,196,187,.82); margin-bottom: 20px; }
.hero .label::before { background: rgba(168,196,187,.52); width: 20px; }
.hero .h1   { color: var(--ivory); line-height: 1.02; margin-bottom: 20px; }
.hero .lead { margin-bottom: 0; }

.pill-row { display: flex; gap: 7px; flex-wrap: wrap; margin: 24px 0 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(242,238,230,.13);
  background: rgba(242,238,230,.055);
  border-radius: 999px; padding: 6px 14px;
  font-size: .665rem; font-weight: 700; letter-spacing: .04em;
  backdrop-filter: blur(10px);
  color: rgba(242,238,230,.74);
  transition: background .2s, border-color .2s;
}
.pill:hover { background: rgba(242,238,230,.09); border-color: rgba(242,238,230,.20); }

/* Selo de credencial profissional (primeiro pill — CRC) recebe destaque
   sutil com ponto vivo, comunicando verificação ativa */
.pill-row .pill:first-child {
  border-color: rgba(122,158,148,.30);
  background: rgba(122,158,148,.10);
  color: rgba(242,238,230,.88);
}
.pill-row .pill:first-child::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage-lt); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(168,196,187,.6);
  animation: pillPulse 2.4s ease-out infinite;
}
@keyframes pillPulse {
  0%   { box-shadow: 0 0 0 0 rgba(168,196,187,.55); }
  70%  { box-shadow: 0 0 0 5px rgba(168,196,187,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,196,187,0); }
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  border: 1px solid rgba(242,238,230,.10);
  background: rgba(8,20,16,.44);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  border-radius: var(--r4); padding: 32px;
  position: relative; overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(242,238,230,.09),
    inset 0 -1px 0 rgba(0,0,0,.08),
    0 4px 0 rgba(0,0,0,.06),
    0 40px 90px rgba(0,0,0,.24);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
/* Tilt e glare são controlados via JS (transform inline + variáveis --mx/--my);
   o CSS só define a transição e a camada visual do brilho. */
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,196,187,.46), transparent);
  z-index: 2;
}
/* Glare — brilho radial que segue o cursor, posicionado via --mx/--my (definidas pelo JS) */
.hero-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(242,238,230,.16) 0%,
    rgba(242,238,230,.05) 32%,
    transparent 65%
  );
  transition: opacity .35s var(--ease-out);
}
.hero-card.glare-active::after { opacity: 1; }

.hero-card .label { color: rgba(122,158,148,.78); font-size: .58rem; }
.hero-card .label::before { display: none; }
.hero-card .h3 {
  font-size: 1.13rem; font-weight: 700; letter-spacing: -.018em;
  margin-bottom: 12px; line-height: 1.26;
}
.hero-card .lead { font-size: .87rem; line-height: 1.70; }

.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.metric {
  background: rgba(242,238,230,.065);
  border: 1px solid rgba(242,238,230,.10);
  border-radius: 12px; padding: 14px 16px;
  transition: background .22s, border-color .22s, transform .22s var(--ease);
  position: relative; overflow: hidden;
}
.metric::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,196,187,.26), transparent);
}
.metric:hover {
  background: rgba(242,238,230,.10);
  border-color: rgba(242,238,230,.17);
  transform: translateY(-2px);
}
.metric strong {
  display: flex; align-items: center; gap: 7px;
  font-size: .94rem; font-weight: 800; letter-spacing: -.012em; margin-bottom: 3px;
}
.metric strong::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage-lt); flex-shrink: 0;
  opacity: .85;
}
.metric span   { display: block; font-size: .70rem; color: rgba(242,238,230,.42); letter-spacing: .01em; padding-left: 12px; }

/* ════════════════════════════════════════════
   TRUST STRIP
════════════════════════════════════════════ */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid  { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--line); gap: 1px; }
.mini-trust {
  background: var(--white); padding: 21px 24px;
  transition: background .18s; cursor: default;
  position: relative; overflow: hidden;
}
.mini-trust::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--forest), var(--sage-lt));
  opacity: 0; transform: scaleX(0); transform-origin: left;
  transition: opacity .26s, transform .34s var(--ease-out);
}
.mini-trust:hover { background: #fbf8f2; }
.mini-trust:hover::after { opacity: 1; transform: scaleX(1); }
.mini-trust .label { color: var(--forest); margin-bottom: 4px; font-size: .57rem; }
.mini-trust .label::before { display: none; }
.mini-trust b { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.46; }

/* ════════════════════════════════════════════
   CARDS
════════════════════════════════════════════ */
.grid   { display: grid; gap: 14px; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Quando grid-4 recebe um 5º item (ex: lista de serviços), o último
   ocupa a linha inteira para fechar a grade com elegância, em vez
   de ficar sozinho e desalinhado numa quinta posição */
.grid-4:has(> :nth-child(5):last-child) > :nth-child(5) {
  grid-column: 1 / -1;
}
@media (min-width: 1021px) {
  .grid-4:has(> :nth-child(5):last-child) > :nth-child(5) {
    max-width: calc(25% - 10.5px);
    margin-inline: auto;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 28px;
  box-shadow: var(--s0);
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--forest), var(--sage-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform .36s var(--ease-out);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(30,61,47,.18);
  box-shadow: var(--s2);
}
.card:hover::before { transform: scaleX(1); }

.card.dark {
  background: linear-gradient(152deg, #1c3d2e 0%, #0a1812 100%);
  color: var(--ivory); border-color: rgba(242,238,230,.07);
}
.card.dark::before { background: linear-gradient(90deg, rgba(122,158,148,.32), rgba(242,238,230,.16)); }
.card.dark p, .card.dark .text { color: rgba(242,238,230,.58); }
.card.dark .card-glow {
  position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.09) 0%, transparent 68%);
  pointer-events: none;
}

.icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(14,28,22,.05);
  color: var(--forest);
  display: grid; place-items: center;
  margin-bottom: 22px; flex-shrink: 0;
  transition: background .22s, transform .3s var(--spring);
}
.card:hover .icon { background: rgba(30,61,47,.09); transform: scale(1.1) rotate(-4deg); }
.dark .icon, .service-panel .icon { background: rgba(242,238,230,.08); color: rgba(242,238,230,.78); }
.card.dark:hover .icon { background: rgba(242,238,230,.13); }

.card h3 { font-size: 1.00rem; font-weight: 800; letter-spacing: -.016em; margin-bottom: 9px; line-height: 1.32; }
.card p  { font-size: .875rem; color: var(--muted); line-height: 1.64; }

.card-link {
  display: inline-flex; gap: 6px; align-items: center;
  margin-top: 18px; font-size: .745rem; font-weight: 800;
  letter-spacing: .015em; color: var(--forest);
  transition: gap .22s var(--ease);
}
.card-link svg { transition: transform .22s var(--ease); }
.card-link:hover { gap: 10px; }
.card-link:hover svg { transform: translateX(4px); }
.dark .card-link       { color: rgba(242,238,230,.68); }
.dark .card-link:hover { color: var(--ivory); }

/* ════════════════════════════════════════════
   SPLIT LAYOUT
════════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

.soft-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r2); padding: 34px;
  box-shadow: var(--s0);
  position: relative; overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.soft-panel:hover { box-shadow: var(--s1); border-color: rgba(30,61,47,.13); }
.soft-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 60px; height: 60px;
  background: radial-gradient(circle at top left, rgba(122,158,148,.09) 0%, transparent 70%);
  pointer-events: none;
}
.soft-panel .h3   { font-size: 1.25rem; margin-bottom: 12px; }
.soft-panel .text { margin-bottom: 20px; }

.service-panel {
  background: linear-gradient(152deg, #1c3d2e, #0a1812);
  color: var(--ivory); border-radius: var(--r2); padding: 36px;
  position: relative; overflow: hidden;
}
.service-panel::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.09) 0%, transparent 65%);
}

/* ════════════════════════════════════════════
   FEATURE LIST
════════════════════════════════════════════ */
.feature-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.feature-list li {
  display: flex; gap: 9px; align-items: flex-start;
  color: var(--muted); font-size: .90rem; line-height: 1.54;
  transition: transform .2s var(--ease);
}
.feature-list li:hover { transform: translateX(3px); }
.feature-list li svg { color: var(--forest); flex: 0 0 auto; margin-top: 3px; width: .95em; height: .95em; }
.dark-list li     { color: rgba(242,238,230,.64); }
.dark-list li svg { color: var(--sage-lt); }

/* ════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(152deg, #16291f 0%, var(--pine) 100%);
  color: var(--ivory); border-radius: var(--r4);
  padding: 50px 54px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
  box-shadow: var(--s2);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg,
    rgba(242,238,230,.016) 0px, rgba(242,238,230,.016) 1px,
    transparent 1px, transparent 60px);
}
.cta-band::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.10) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band .glow-line {
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,196,187,.38), transparent);
}
.cta-band .label { color: rgba(122,158,148,.80); margin-bottom: 6px; }
.cta-band .h3    { font-size: 1.46rem; margin-bottom: 9px; }
.cta-band p      { color: rgba(242,238,230,.62); max-width: 560px; font-size: .92rem; }
.cta-band .btn-light { flex-shrink: 0; position: relative; z-index: 1; }

/* ════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════ */
.page-hero {
  padding: 66px 0 50px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
  background: var(--ivory);
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
  background: radial-gradient(ellipse 80% 80% at 100% 50%, rgba(122,158,148,.10), transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--forest) 0%, var(--sage) 38%, transparent 100%);
}
.page-hero .container { position: relative; z-index: 1; }

.breadcrumbs {
  font-size: .70rem; color: var(--muted); font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
}
.breadcrumbs a { color: var(--forest); transition: color .15s; }
.breadcrumbs a:hover { color: var(--pine); }
.breadcrumbs span { color: var(--faint); font-size: .8em; }

/* ════════════════════════════════════════════
   BADGE
════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-md); border-radius: 999px;
  padding: 4px 11px;
  font-size: .62rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--forest);
  background: rgba(122,158,148,.07);
}

/* ════════════════════════════════════════════
   TIMELINE
════════════════════════════════════════════ */
.timeline { position: relative; display: grid; gap: 10px; margin-top: 26px; }
.timeline::before {
  content: ''; position: absolute;
  left: 26px; top: 32px; bottom: 32px; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--stone) 30%, var(--stone) 70%, transparent);
}
.step-item {
  position: relative;
  display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 17px;
  transition: box-shadow .24s, border-color .24s, transform .24s var(--ease);
}
.step-item:hover { border-color: rgba(30,61,47,.16); box-shadow: var(--s1); transform: translateX(3px); }
.step-num {
  position: relative; z-index: 1;
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--pine); color: var(--ivory);
  display: grid; place-items: center; font-weight: 700;
  font-family: var(--serif); font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(14,28,22,.20);
}

/* ════════════════════════════════════════════
   BLOG & POSTS
════════════════════════════════════════════ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.post-card {
  overflow: hidden; padding: 0;
  border-radius: var(--r2); border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--s0);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--s2); border-color: rgba(30,61,47,.14); }

.post-visual {
  height: 164px;
  background: linear-gradient(140deg, #1c3d2e 0%, var(--pine) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; color: rgba(242,238,230,.13); overflow: hidden;
}
.post-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg,
    rgba(242,238,230,.016) 0px, rgba(242,238,230,.016) 1px,
    transparent 1px, transparent 46px);
}
.post-visual svg {
  width: 44px; height: 44px; position: relative; z-index: 1;
  transition: transform .4s var(--spring);
}
.post-card:hover .post-visual svg { transform: scale(1.12) rotate(-5deg); }

.post-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  border-radius: 999px; border: 1px solid rgba(242,238,230,.18);
  background: rgba(8,20,16,.58); backdrop-filter: blur(7px);
  color: var(--ivory); padding: 4px 12px;
  font-size: .585rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase;
}
.post-body { padding: 20px 22px 24px; }
.post-body h2, .post-body h3 { font-size: .95rem; font-weight: 800; line-height: 1.40; letter-spacing: -.015em; margin-bottom: 7px; }
.post-body p { font-size: .85rem; color: var(--muted); line-height: 1.62; }

.blog-search {
  width: min(760px, 100%);
  border: 1.5px solid var(--line-md); background: var(--white);
  border-radius: var(--r); padding: 13px 18px;
  font: inherit; font-size: .93rem; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--s0);
}
.blog-search:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,158,148,.13); }
.hidden { display: none!important; }

/* ════════════════════════════════════════════
   ARTIGO
════════════════════════════════════════════ */
.article { width: min(860px, calc(100% - 52px)); margin: 0 auto; }
.article-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r2); padding: 48px; box-shadow: var(--s0);
}
.article-card h2 { font-size: 1.36rem; font-weight: 800; letter-spacing: -.026em; margin: 32px 0 10px; }
.article-card h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.016em; margin: 24px 0 8px; }
.article-card p, .article-card li { color: var(--muted); font-size: .96rem; line-height: 1.74; }
.article-card ul, .article-card ol { padding-left: 22px; }
.article-card ul li, .article-card ol li { margin-bottom: 5px; }

.quote-box {
  border-left: 2px solid var(--forest);
  background: rgba(122,158,148,.07);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 22px; color: var(--forest);
  font-weight: 700; font-size: .94rem; margin: 22px 0;
  font-style: italic;
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.faq-wrap { display: grid; gap: 7px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
.faq-item.open { border-color: rgba(30,61,47,.17); box-shadow: 0 3px 12px rgba(14,28,22,.07); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 18px 22px; font: inherit; font-weight: 800; font-size: .92rem;
  color: var(--pine); display: flex; justify-content: space-between;
  align-items: center; gap: 18px; cursor: pointer; transition: background .15s;
}
.faq-q:hover { background: rgba(14,28,22,.02); }
.faq-q::after {
  content: '';
  display: block; width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid var(--sage); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A9E94' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  transition: transform .3s var(--ease-out), background-color .22s;
}
.faq-item.open .faq-q::after { transform: rotate(180deg); background-color: rgba(122,158,148,.12); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--muted); font-size: .92rem; line-height: 1.72; }
.faq-item.open .faq-a { display: block; animation: fadeIn .25s var(--ease-out); }

/* ════════════════════════════════════════════
   FORMULÁRIOS
════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.field label {
  display: block; font-size: .64rem; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 7px;
}
.input, select, textarea {
  width: 100%; border: 1.5px solid var(--line-md); border-radius: var(--r);
  background: var(--white); padding: 12px 15px;
  font: inherit; font-size: .93rem; color: var(--pine); outline: none;
  box-shadow: var(--s0);
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 114px; resize: vertical; }
.input:focus, textarea:focus, select:focus {
  border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,158,148,.14), var(--s0);
}

/* ════════════════════════════════════════════
   CALCULADORAS
════════════════════════════════════════════ */
.calc-shell { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.calc-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r2); padding: 28px; box-shadow: var(--s0);
}

.result {
  background: linear-gradient(152deg, #16291f, var(--pine) 100%);
  color: var(--ivory); border-radius: var(--r2); padding: 28px;
  position: relative; overflow: hidden;
}
.result::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,196,187,.38), transparent);
}
.result::after {
  content: ''; position: absolute; bottom: -50px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.09) 0%, transparent 65%);
}
.result small {
  display: block; text-transform: uppercase; letter-spacing: .15em;
  color: rgba(242,238,230,.40); font-weight: 900; font-size: .59rem; margin-bottom: 5px;
}
.result strong { display: block; font-size: 1.9rem; font-weight: 900; letter-spacing: -.04em; margin-bottom: 3px; }
.result table  { width: 100%; margin-top: 16px; border-collapse: collapse; }
.result td     { padding: 8px 0; border-top: 1px solid rgba(242,238,230,.08); font-size: .83rem; }
.result td:last-child { text-align: right; font-weight: 800; }

.advisor {
  margin-top: 18px;
  border: 1px solid rgba(122,158,148,.26); background: rgba(122,158,148,.07);
  border-radius: var(--r); padding: 15px;
  display: flex; gap: 14px; align-items: flex-start; justify-content: space-between;
}
.advisor p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.advisor strong { color: var(--pine); }
.advisor .close-advisor {
  border: 0; background: transparent; color: var(--faint);
  font-weight: 900; cursor: pointer; font-size: 1rem; line-height: 1; flex-shrink: 0;
  transition: color .15s;
}
.advisor .close-advisor:hover { color: var(--pine); }

/* ════════════════════════════════════════════
   CHECKLIST
════════════════════════════════════════════ */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.check-box {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 13px 15px; transition: border-color .2s, background .2s;
}
.check-box:has(input:checked) { border-color: var(--forest); background: rgba(30,61,47,.035); }
.check-box label { display: flex; gap: 9px; align-items: flex-start; font-weight: 700; font-size: .88rem; color: var(--pine); cursor: pointer; }
.check-box input { margin-top: 3px; accent-color: var(--pine); flex-shrink: 0; }

/* ════════════════════════════════════════════
   TABELA SUAVE
════════════════════════════════════════════ */
.table-soft { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.table-soft td {
  background: var(--white); padding: 13px 17px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.table-soft tr:hover td { background: var(--warm); }
.table-soft td:first-child { border-left: 1px solid var(--line); border-radius: 10px 0 0 10px; font-weight: 800; color: var(--pine); }
.table-soft td:last-child  { border-right: 1px solid var(--line); border-radius: 0 10px 10px 0; color: var(--muted); }

/* ════════════════════════════════════════════
   PRICE / SOFT NOTE
════════════════════════════════════════════ */
.price-card { position: relative; overflow: hidden; }
.price { font-size: 2.15rem; font-weight: 900; letter-spacing: -.054em; margin: 9px 0; color: var(--pine); }
.price small { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.soft-note {
  font-size: .82rem; color: var(--muted);
  background: rgba(122,158,148,.07); border: 1px solid rgba(122,158,148,.19);
  padding: 13px 17px; border-radius: 11px; line-height: 1.62;
}

/* ════════════════════════════════════════════
   DEVICE MOCK
════════════════════════════════════════════ */
.device-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r4); padding: 22px; box-shadow: var(--s3); }
.phone-mock { width: min(268px, 100%); margin: auto; border: 9px solid #0c0c0c; border-radius: 36px; overflow: hidden; background: #fff; box-shadow: 0 22px 64px rgba(0,0,0,.18); }
.phone-top  { height: 28px; background: #f2f2f2; color: #444; font-size: .63rem; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; }
.phone-screen { padding: 22px 16px; background: var(--ivory); min-height: 320px; }
.phone-screen .app-hero { background: var(--pine); color: var(--ivory); border-radius: 17px; padding: 17px; margin-bottom: 13px; }
.phone-screen .app-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px; margin: 7px 0; }

/* ════════════════════════════════════════════
   WHATSAPP FLUTUANTE
════════════════════════════════════════════ */
.float-whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 52px; height: 52px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: grid; place-items: center;
  box-shadow:
    0 2px 8px rgba(22,163,74,.32),
    0 12px 32px rgba(22,163,74,.20),
    inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .28s var(--spring), box-shadow .28s;
  animation: pulseRing 2.8s ease-out infinite;
}
.float-whats:hover {
  transform: scale(1.10) translateY(-2px);
  box-shadow:
    0 4px 14px rgba(22,163,74,.40),
    0 20px 48px rgba(22,163,74,.24),
    inset 0 1px 0 rgba(255,255,255,.16);
  animation-play-state: paused;
}
.float-whats svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: var(--pine); color: var(--ivory);
  padding: 0; border-top: none;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(-45deg,
    rgba(242,238,230,.012) 0px, rgba(242,238,230,.012) 1px,
    transparent 1px, transparent 64px);
}
.site-footer::after {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.06) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

.footer-glow {
  display: block; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(122,158,148,.18) 18%,
    rgba(168,196,187,.55) 50%, rgba(122,158,148,.18) 82%, transparent 100%);
}
.footer-orb {
  position: absolute; top: -80px; right: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,148,.06) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

.footer-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.6fr .65fr 1fr;
  gap: 60px; padding: 64px 0 56px;
}

.footer-brand { display: block; margin-bottom: 18px; }
.footer-brand .brand-mark { background: rgba(242,238,230,.08); border: 1px solid rgba(242,238,230,.10); color: var(--ivory); box-shadow: none; }
.footer-brand .brand-text { color: rgba(242,238,230,.80); }

.footer-grid > div > p { color: rgba(242,238,230,.38); font-size: .86rem; line-height: 1.78; margin-top: 0; }

.footer-grid h3 {
  font-size: .60rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(242,238,230,.32); margin-bottom: 20px;
  font-family: var(--sans);
}
.footer-grid h3::after { content: ''; display: block; width: 18px; height: 1px; background: rgba(122,158,148,.32); margin-top: 9px; }

.footer-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 22px; }
.footer-badges span {
  font-size: .62rem; font-weight: 800;
  border: 1px solid rgba(242,238,230,.08);
  border-radius: 999px; padding: 5px 12px;
  color: rgba(242,238,230,.32); background: rgba(242,238,230,.04);
  letter-spacing: .04em;
}

.socials { display: flex; gap: 7px; }
.socials a {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid rgba(242,238,230,.09);
  display: grid; place-items: center;
  color: rgba(242,238,230,.40);
  background: rgba(242,238,230,.04);
  transition: background .22s, border-color .22s, color .22s, transform .22s var(--spring);
}
.socials a:hover { background: rgba(122,158,148,.20); border-color: rgba(122,158,148,.34); color: var(--ivory); transform: translateY(-3px); }
.socials a svg { width: 16px; height: 16px; }
.socials a[href*="wa.me"] svg { fill: currentColor; stroke: none; }

.footer-links { display: grid; gap: 2px; }
.footer-links a, .footer-links span {
  display: flex; align-items: center; gap: 8px;
  color: rgba(242,238,230,.38); font-size: .84rem;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s, padding-left .18s;
}
.footer-links a:hover { color: rgba(242,238,230,.84); border-bottom-color: rgba(122,158,148,.24); padding-left: 4px; }
.footer-links svg { color: rgba(122,158,148,.50); flex-shrink: 0; }
.footer-links a[href*="wa.me"] svg { fill: currentColor; stroke: none; }

.footer-bottom {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(242,238,230,.07);
  color: rgba(242,238,230,.28); font-size: .79rem;
}
.footer-bottom a { color: rgba(242,238,230,.28); transition: color .18s; }
.footer-bottom a:hover { color: rgba(242,238,230,.68); }

/* ════════════════════════════════════════════
   RESPONSIVO — 1020px
════════════════════════════════════════════ */
@media (max-width: 1020px) {
  .desktop-nav, .nav-actions .btn { display: none; }
  .menu-toggle { display: flex; }

  .hero-grid, .split, .calc-shell { grid-template-columns: 1fr; }
  .hero-card { margin-top: 8px; }

  .grid-4, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4:has(> :nth-child(5):last-child) > :nth-child(5) { max-width: none; margin-inline: 0; }
  .post-grid, .grid-3  { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 50px 0 40px; gap: 40px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 38px; }
  .section, .section-alt, .section-dark { padding: 80px 0; }
}

/* ════════════════════════════════════════════
   RESPONSIVO — 640px
════════════════════════════════════════════ */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .narrow, .article { width: calc(100% - 30px); }
  .section, .section-alt, .section-dark { padding: 62px 0; }
  .section-tight { padding: 44px 0; }
  .hero { padding: 72px 0 56px; }
  .h1 { font-size: 2.25rem; line-height: 1.04; }
  .h2 { font-size: 1.7rem; }
  .h3 { font-size: 1.18rem; }

  .trust-grid, .grid-2, .grid-3, .grid-4,
  .post-grid, .form-grid, .checklist,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { padding: 42px 0 32px; gap: 30px; }

  .card, .article-card, .soft-panel,
  .service-panel, .calc-card { padding: 20px; border-radius: 14px; }

  .cta-band { padding: 28px 24px; border-radius: 20px; }
  .cta-band .h3 { font-size: 1.22rem; }

  .hero-metrics { grid-template-columns: 1fr 1fr; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .float-whats { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .float-whats svg { width: 22px; height: 22px; }

  .nav-shell { height: 60px; }

  .timeline::before { left: 20px; }
  .step-item { grid-template-columns: 44px 1fr; padding: 13px; }
  .step-num  { width: 44px; height: 44px; border-radius: 12px; }

  .advisor { flex-direction: column; }
  .advisor .btn { margin-top: 10px; width: 100%; }

  .post-visual { height: 142px; }
  .article-card { padding: 22px 18px; }

  .page-hero { padding: 50px 0 38px; }
  .label::before { display: none; }
}
