/* =========================================================
   CALLSIND — CSS Premium  |  Identidade Visual Atualizada 2026
   Paleta: Navy #2B4162 | Terracota #E07A5F | Sage #81B29A | Sand #F2CC8F | Off-white #F4F1EE
   Tipografia: Urbanist
   ========================================================= */

:root {
  /* Cores Principais (Manual de Identidade) */
  --navy:         #2B4162;
  --navy-dk:      #1E2E4B;
  --terracota:    #E07A5F;
  --terracota-lt: #E9947D;
  --sage:         #81B29A;
  --sage-lt:      #98C3AE;
  --sand:         #F2CC8F;
  --sand-lt:      #F6DCAE;
  --off-white:    #F4F1EE;
  --white:        #ffffff;

  /* Tons de Cinza (Design System) */
  --gray-35:      #353535;
  --gray-4f:      #4f4f4f;
  --gray-9b:      #9b9b9b;
  --gray-c6:      #c6c6c6;
  --gray-ea:      #eaeaea;

  /* Aplicação Funcional */
  --bg:           #F4F1EE;
  --bg-card:      #ffffff;
  --text:         #353535; /* Navy escuro ou Gray-35 para o corpo, excelente legibilidade */
  --muted:        #8A9AAA; /* Muted oficial do design system */
  --border:       #eaeaea; /* Gray-ea oficial */

  /* Escala Tipográfica (Manual Tipográfico CallSind) */
  --font:         'Urbanist', sans-serif;
  --fs-display:   clamp(2.5rem, 5vw, 3rem); /* 40-48pt - Hero/Landing Page */
  --fw-display:   700;

  --fs-h1:        2.1rem; /* 32pt - Título de Página */
  --fw-h1:        700;

  --fs-h2:        1.6rem; /* 24pt - Subtítulos de Seção */
  --fw-h2:        600;

  --fs-h3:        1.2rem; /* 18pt - Títulos de Card / Grupo */
  --fw-h3:        600;

  --fs-body-l:    1.05rem; /* 16pt - Texto Corrido Principal */
  --fw-body-l:    400;

  --fs-body-m:    0.93rem; /* 14pt - Texto de Interface */
  --fw-body-m:    400;

  --fs-body-s:    0.8rem;  /* 12pt - Legendas e Metadados */
  --fw-body-s:    400;

  --fs-label:     0.73rem; /* 11pt - Badges, Rótulos, Pills */
  --fw-label:     600;

  --fs-caption:   0.67rem; /* 10pt - Rodapé, Helpers */
  --fw-caption:   300;

  /* Variáveis de Layout */
  --r:            14px;
  --rx:           20px;
  --shadow:       0 4px 24px rgba(43, 65, 98, 0.06);
  --shadow-lg:    0 12px 48px rgba(43, 65, 98, 0.10);
  --tr:           0.25s ease;
  --py:           96px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
  font-family: var(--font); 
  color: var(--text); 
  background: var(--white); 
  line-height: 1.7; 
  overflow-x: hidden; 
  -webkit-font-smoothing: antialiased; 
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, button { outline: none; }
em { font-style: normal; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* ===== LABEL TAG ===== */
.label-tag {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 12px;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-family: var(--font);
  font-size: var(--fs-body-m); font-weight: var(--fw-display);
  border-radius: var(--r); border: 2px solid transparent;
  transition: all var(--tr); cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracota); color: var(--white); border-color: var(--terracota);
  box-shadow: 0 4px 20px rgba(224, 122, 95, 0.3);
}
.btn-primary:hover { 
  background: var(--terracota-lt); 
  border-color: var(--terracota-lt); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 28px rgba(224, 122, 95, 0.4); 
}
.btn-outline-navy {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-white-navy {
  background: var(--white); color: var(--navy); border-color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.btn-white-navy:hover { background: var(--bg); transform: translateY(-2px); }

.btn-outline-w {
  background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35);
  padding: 10px 22px; font-size: var(--fs-body-s);
}
.btn-outline-w:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-block { width: 100%; justify-content: center; font-size: var(--fs-body-l); padding: 15px; }

.btn-cta-nav {
  background: var(--terracota); color: var(--white);
  padding: 10px 22px; border-radius: 10px;
  font-size: var(--fs-body-s); font-weight: var(--fw-label);
  border: 2px solid var(--terracota);
  transition: all var(--tr); margin-left: 16px;
}
.btn-cta-nav:hover { background: var(--terracota-lt); border-color: var(--terracota-lt); transform: translateY(-1px); }

/* ===== FOCUS ===== */
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; border-radius: 4px; }


/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: all var(--tr);
}
.header.on-dark {
  background: rgba(30, 46, 75, 0.96);
  border-bottom-color: rgba(255,255,255,.08);
}
.header.scrolled { box-shadow: var(--shadow); padding: 8px 0; }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

/* Logo dual */
.logo-dark  { display: block; height: 40px; width: auto; justify-self: start; }
.logo-white { display: none;  height: 40px; width: auto; justify-self: start; }
.logo-link  { grid-column: 1; justify-self: start; }
.header.on-dark .logo-dark  { display: none; }
.header.on-dark .logo-white { display: block; }

.nav { display: flex; align-items: center; grid-column: 2; justify-self: center; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 18px; font-size: 1rem; font-weight: 600;
  color: var(--muted); border-radius: 8px;
  transition: all var(--tr);
}
.nav-links a:hover { color: var(--navy); background: var(--bg); }
.nav-links a.active { color: var(--terracota) !important; font-weight: 700 !important; }
.header.on-dark .nav-links a { color: rgba(255,255,255,.75); }
.header.on-dark .nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header.on-dark .nav-links a.active { color: var(--terracota) !important; font-weight: 700 !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; transition: background var(--tr); grid-column: 3; justify-self: end; }
.hamburger:hover { background: var(--bg); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--tr); }
.header.on-dark .hamburger span { background: var(--white); }


/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background-image: linear-gradient(135deg, rgba(30, 46, 75, 0.35) 0%, rgba(43, 65, 98, 0.25) 50%, rgba(23, 36, 60, 0.45) 100%), url('assets/modern_skyline_dusk.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 110px; padding-bottom: 100px;
  overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
}
.hero-bg-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(224, 122, 95, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(129, 178, 154, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
  position: relative; z-index: 1; width: 100%;
}
.hero-text { max-width: 580px; text-align: left; }

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-brand-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 36px rgba(0,0,0,0.3));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(242, 204, 143, 0.15); border: 1px solid rgba(242, 204, 143, 0.3);
  color: var(--sand); font-size: var(--fs-label); font-weight: var(--fw-label);
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 24px;
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 3px rgba(242, 204, 143, 0.3);
  animation: chipPulse 2s ease-in-out infinite;
}
@keyframes chipPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(242, 204, 143, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(242, 204, 143, 0.1); }
}

.hero-text h1 {
  font-size: var(--fs-display); font-weight: var(--fw-display);
  line-height: 1.1; color: var(--white);
  margin-bottom: 20px; letter-spacing: -.02em;
}
.hero-text h1 em {
  background: linear-gradient(135deg, var(--sand), var(--terracota));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: var(--fs-body-l); color: rgba(255,255,255,.9); line-height: 1.8; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; justify-content: flex-start; }

.hero-trust { display: flex; align-items: center; gap: 0; }
.trust-item { display: flex; flex-direction: column; gap: 2px; padding: 0 24px; }
.trust-item:first-child { padding-left: 0; }
.trust-item strong { font-size: 1.8rem; font-weight: 700; color: var(--white); line-height: 1; }
.trust-item span { font-size: var(--fs-body-s); color: rgba(255,255,255,.5); font-weight: var(--fw-body-s); }
.trust-sep { width: 1px; height: 38px; background: rgba(255,255,255,.1); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
}
.hero-mockup { width: 100%; height: auto; display: block; }
.hero-img-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(242, 204, 143, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating badges */
.fbadge {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  background: var(--white); border-radius: 10px;
  padding: 10px 16px; font-size: var(--fs-body-s); font-weight: 600; color: var(--navy);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  white-space: nowrap;
}
.fbadge-1 { top: -14px; right: 40px; animation: fbFloat 4s ease-in-out infinite; }
.fbadge-2 { bottom: -14px; left: 30px; animation: fbFloat 5s 1s ease-in-out infinite; }
@keyframes fbFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* Hero wave */
.hero-wave-bottom { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave-bottom svg { width: 100%; }


/* =========================================================
   SEÇÃO TRUST / STATS
   ========================================================= */
.section-trust {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-label { text-align: center; font-size: var(--fs-body-s); color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 36px; }
.trust-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.ts-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 28px 20px; background: var(--bg); border-radius: var(--r);
  border: 1px solid var(--border); transition: all var(--tr);
}
.ts-card:hover { border-color: var(--sand); transform: translateY(-3px); box-shadow: var(--shadow); }
.ts-num { font-size: var(--fs-display); font-weight: var(--fw-display); color: var(--navy); }
.ts-lbl { font-size: var(--fs-label); color: var(--muted); font-weight: var(--fw-label); text-align: center; }


/* =========================================================
   SEÇÃO SOBRE
   ========================================================= */
.section-sobre { padding: var(--py) 0; background: var(--white); }
.sobre-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }

/* Cards visuais da esquerda */
.sobre-img-col { position: relative; }
.sobre-card-wrap { display: flex; flex-direction: column; gap: 16px; }
.sobre-logo-card {
  background: var(--white); border-radius: var(--rx);
  padding: 40px; text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform var(--tr), box-shadow var(--tr);
}
.sobre-logo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(43,65,98,.12); }
.sobre-logo-card img { margin-inline: auto; width: 180px; max-width: 100%; height: auto; display: block; }

.sobre-stat-card {
  padding: 22px 28px; border-radius: var(--r);
  display: flex; align-items: center; gap: 16px;
  transition: transform var(--tr);
}
.sobre-stat-card:hover { transform: translateX(6px); }
.sobre-stat-card strong { font-size: var(--fs-h2); font-weight: var(--fw-h1); line-height: 1; white-space: nowrap; }
.sobre-stat-card span { font-size: var(--fs-body-s); font-weight: 500; line-height: 1.4; }

.sc-green { background: rgba(129, 178, 154, 0.08); border: 1px solid rgba(129, 178, 154, 0.15); color: var(--sage); }
.sc-green strong { color: var(--sage); }
.sc-navy { background: rgba(43,65,98,.06); border: 1px solid rgba(43,65,98,.12); color: var(--navy); }
.sc-navy strong { color: var(--navy); }

/* Conteúdo da direita */
.sobre-content h2 {
  font-size: var(--fs-h2); font-weight: var(--fw-h1);
  line-height: 1.2; color: var(--navy); margin-bottom: 20px;
}
.sobre-content p { font-size: var(--fs-body-l); color: var(--text); line-height: 1.8; margin-bottom: 14px; }
.sobre-content p strong { color: var(--navy); }
.sobre-valores { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.sv-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
  transition: all var(--tr); cursor: default;
}
.sv-item:hover { border-color: var(--sand); transform: translateX(6px); }

.sv-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sv-navy  { background: var(--navy); }
.sv-bege  { background: var(--sand); }
.sv-green { background: var(--sage); }
.sv-item div { display: flex; flex-direction: column; gap: 1px; }
.sv-item strong { font-size: var(--fs-body-m); font-weight: var(--fw-h3); color: var(--navy); }
.sv-item span { font-size: var(--fs-body-s); color: var(--muted); }


/* =========================================================
   SEÇÃO RECURSOS
   ========================================================= */
.section-recursos { padding: var(--py) 0; background: var(--bg); }
.sec-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: 56px; }
.sec-header h2 { font-size: var(--fs-h2); font-weight: var(--fw-h1); color: var(--navy); margin-bottom: 12px; }
.sec-header p { font-size: var(--fs-body-l); color: var(--muted); }

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

.rc {
  background: var(--white); border-radius: var(--rx);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: all var(--tr); cursor: default;
  position: relative; overflow: hidden;
}
.rc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  transition: height var(--tr);
}
.rc-navy::before, .rc.rc-navy-top::before { background: var(--navy); }
.rc-bege-top::before { background: var(--sand); }
.rc-green-top::before { background: var(--sage); }
.rc-terra-top::before { background: var(--terracota); }

.rc:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.rc:hover::before { height: 4px; }

.rc-wide { grid-column: span 1; }

.rc-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform var(--tr);
}
.rc:hover .rc-icon { transform: scale(1.08); }
.rc-navy  { background: var(--navy); }
.rc-bege  { background: var(--sand); }
.rc-green { background: var(--sage); }
.rc-terra { background: var(--terracota); }

/* força top border color baseado no icon */
.rc:has(.rc-navy)::before  { background: var(--navy); }
.rc:has(.rc-bege)::before  { background: var(--sand); }
.rc:has(.rc-green)::before { background: var(--sage); }
.rc:has(.rc-terra)::before { background: var(--terracota); }

.rc h3 { font-size: var(--fs-h3); font-weight: var(--fw-h3); color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.rc p  { font-size: var(--fs-body-m); color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.rc ul { display: flex; flex-direction: column; gap: 6px; }
.rc ul li {
  font-size: var(--fs-body-s); color: var(--muted); font-weight: 500;
  padding-left: 16px; position: relative;
}
.rc ul li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
}


/* =========================================================
   CONTEÚDOS RECENTES (HOME)
   ========================================================= */
.section-conteudos-home {
  padding: 64px 0;
  background: #f4f4f4;
}

.ch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ch-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1E2E4B;
  margin: 0;
}

.ch-ver-todos {
  font-size: 13px;
  font-weight: 700;
  color: #C17A4A;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ch-ver-todos:hover { text-decoration: underline; }

/* Linha horizontal dos 3 cards */
.ch-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Cada card: largura fixa 400px */
.ch-item {
  position: relative;
  width: 400px;
  flex-shrink: 0;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.ch-item-img {
  width: 400px;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Gradiente escuro cobrindo toda a imagem */
.ch-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

/* Título em branco bold sobre a imagem */
.ch-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

.ch-item-tag { display: none; }

@media (max-width: 900px) {
  .ch-row { flex-wrap: wrap; }
  .ch-item { width: 100%; flex-shrink: 1; }
  .ch-item-img { width: 100%; }
}


/* =========================================================
   BANNER CTA INTERMEDIÁRIO
   ========================================================= */

.section-cta-mid {
  position: relative; padding: 120px 0; overflow: hidden;
  background-image: linear-gradient(135deg, rgba(30, 46, 75, 0.8) 0%, rgba(23, 36, 60, 0.85) 100%), url('assets/city_night_lights.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.cta-mid-bg {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.cta-mid-inner {
  position: relative; z-index: 1; text-align: center;
}
.cta-mid-inner h2 {
  font-size: var(--fs-h2); font-weight: var(--fw-h1);
  color: var(--white); margin-bottom: 12px;
}
.cta-mid-inner p { font-size: var(--fs-body-l); color: rgba(255,255,255,.65); margin-bottom: 32px; }


/* =========================================================
   SEÇÃO CONTATO
   ========================================================= */
.section-contato { padding: var(--py) 0; background: var(--white); }
.contato-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }

.contato-info h2 { font-size: var(--fs-h2); font-weight: var(--fw-h1); color: var(--navy); margin-bottom: 16px; }
.contato-info p { font-size: var(--fs-body-l); color: var(--muted); line-height: 1.8; margin-bottom: 32px; }

.ci-list { display: flex; flex-direction: column; gap: 14px; }
.ci-item { display: flex; align-items: center; gap: 14px; }
.ci-dot {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242, 204, 143, 0.08); border: 1px solid rgba(242, 204, 143, 0.18);
}
.ci-item span { font-size: var(--fs-body-m); color: var(--text); font-weight: 500; }

/* Form card */
.contato-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rx);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}
.contato-form-card h3 { font-size: var(--fs-h3); font-weight: var(--fw-h3); color: var(--navy); margin-bottom: 28px; }

#formContato { display: flex; flex-direction: column; gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-size: var(--fs-label); font-weight: var(--fw-label); color: var(--navy); }
.fg label span { color: var(--terracota); margin-left: 2px; }
.fg label em { font-size: var(--fs-caption); font-weight: 400; color: var(--muted); margin-left: 4px; }
.fg input {
  font-family: var(--font); font-size: var(--fs-body-m); color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 15px; width: 100%;
  transition: all var(--tr);
}
.fg input::placeholder { color: #aab3bf; }
.fg input:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(43,65,98,.06); }
.fg input.err { border-color: var(--terracota); }
.fg input.ok  { border-color: var(--sage); }
.ferr { font-size: var(--fs-body-s); color: var(--terracota); font-weight: var(--fw-label); min-height: 14px; }

.feedback {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  font-size: var(--fs-body-m); line-height: 1.5;
}
.feedback svg { flex-shrink: 0; margin-top: 1px; }
.feedback strong { display: block; margin-bottom: 2px; }
.feedback-ok  { background: rgba(129, 178, 154, 0.1); border: 1px solid rgba(129, 178, 154, 0.25); color: #2d5543; }
.feedback-err { background: rgba(224, 122, 95, 0.08); border: 1px solid rgba(224, 122, 95, 0.25); color: #c0502e; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.65); }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 60px;
  padding: 60px 0 50px;
}
.ft-brand img { margin-bottom: 12px; }
.ft-brand p { font-size: var(--fs-body-s); opacity: .5; }
.ft-nav strong { display: block; font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.ft-nav ul { display: flex; flex-direction: column; gap: 10px; }
.ft-nav a { font-size: var(--fs-body-s); color: rgba(255,255,255,.5); transition: color var(--tr); }
.ft-nav a:hover { color: var(--white); }
.ft-security strong { display: block; font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 14px; }
.ft-security p { font-size: var(--fs-body-s); opacity: .5; line-height: 1.7; margin-bottom: 16px; }
.ft-security-badges { display: flex; flex-direction: column; gap: 10px; }
.sec-badge { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-body-s); font-weight: 600; color: var(--sage); }
.sec-badge svg { color: var(--sage); flex-shrink: 0; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bar-inner span { font-size: var(--fs-caption); opacity: .35; }


/* =========================================================
   RESPONSIVO 1024px
   ========================================================= */
@media (max-width: 1024px) {
  :root { --py: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-logo-wrap { order: -1; }
  .hero-brand-logo { max-width: 240px; }
  .sobre-inner { grid-template-columns: 1fr; gap: 56px; }
  .recursos-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .contato-inner { grid-template-columns: 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* =========================================================
   RESPONSIVO 768px
   ========================================================= */
@media (max-width: 768px) {
  :root { --py: 56px; }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  /* Nav mobile */
  .hamburger { display: flex; }
  .nav {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border);
    padding: 16px; gap: 4px; box-shadow: 0 8px 24px rgba(43,65,98,.1);
  }
  .header.on-dark .nav { background: var(--navy-dk); border-top-color: rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 11px 16px; border-radius: 10px; }
  .btn-cta-nav { margin: 8px 0 0; text-align: center; justify-content: center; }

  .recursos-grid { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .footer-bar-inner { flex-direction: column; text-align: center; }
  .contato-form-card { padding: 28px 20px; }
  .sobre-card-wrap { flex-direction: row; flex-wrap: wrap; }
  .sobre-logo-card { flex: 1 1 100%; }
  .sobre-stat-card { flex: 1 1 calc(50% - 8px); }

  .hero-text h1 { font-size: 2rem; }
  .trust-item strong { font-size: 1.4rem; }
  .trust-item { padding: 0 14px; }
  .fbadge { display: none; }
}

/* =========================================================
   RESPONSIVO 480px
   ========================================================= */
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1; justify-content: center; }
  .sobre-stat-card { flex: 1 1 100%; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .ts-num { font-size: 1.6rem; }
}

/* ===== SCROLLBAR / SELEÇÃO ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 3px; }
::selection { background: rgba(242, 204, 143, 0.3); color: var(--navy); }

/* =========================================================
   MÓDULO DE CONTEÚDOS (BLOG)
   ========================================================= */
.blog-hero {
  position: relative;
  background-image: linear-gradient(135deg, rgba(30, 46, 75, 0.85) 0%, rgba(23, 36, 60, 0.95) 100%), url('assets/city_night_lights.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 160px; padding-bottom: 90px;
  text-align: center;
  overflow: hidden;
}
.blog-hero-bg {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.blog-hero-inner {
  position: relative; z-index: 1;
  max-width: 800px;
  margin-inline: auto;
}
.blog-hero-inner h1 {
  font-size: var(--fs-display); font-weight: var(--fw-display);
  line-height: 1.1; color: var(--white);
  margin-bottom: 20px; letter-spacing: -.02em;
}
.blog-hero-inner h1 em {
  background: linear-gradient(135deg, var(--sand), var(--terracota));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-hero-desc {
  font-size: var(--fs-body-l); color: rgba(255,255,255,.8);
  line-height: 1.8;
}

.blog-section {
  padding: 60px 0 90px;
  background: var(--bg);
}
.blog-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 20px;
  font-family: var(--font); font-size: var(--fs-body-s); font-weight: 600;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--border); border-radius: 30px;
  transition: all var(--tr);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
  transform: translateY(-1px);
}
.filter-btn.active {
  box-shadow: 0 4px 12px rgba(43, 65, 98, 0.15);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero { padding-top: 130px; padding-bottom: 60px; }
}

.blog-card {
  background: var(--white);
  border-radius: var(--rx);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: all var(--tr);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand-lt);
}
.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--tr);
}
.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}
.blog-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(43, 65, 98, 0.95);
  color: var(--white); font-size: var(--fs-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 12px; border-radius: 30px;
  backdrop-filter: blur(8px);
}
.blog-card-content {
  padding: 24px;
  display: flex; flex-direction: column; flex-grow: 1;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-caption); color: var(--muted);
  margin-bottom: 12px; font-weight: 500;
}
.meta-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gray-c6);
}
.blog-card-title {
  font-size: var(--fs-h3); font-weight: 700;
  line-height: 1.4; margin-bottom: 12px;
  color: var(--navy);
}
.blog-card-title a {
  transition: color var(--tr);
}
.blog-card-title a:hover {
  color: var(--terracota);
}
.blog-card-excerpt {
  font-size: var(--fs-body-m); color: var(--gray-4f);
  line-height: 1.6; margin-bottom: 20px;
  flex-grow: 1;
}
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-body-s); font-weight: 700;
  color: var(--navy); transition: color var(--tr);
}
.blog-card-link:hover {
  color: var(--terracota);
}
.blog-card-link svg {
  transition: transform var(--tr);
}
.blog-card-link:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   PÁGINA DO ARTIGO INDIVIDUAL (POST)
   ========================================================= */
.post-container {
  max-width: 800px;
  margin-inline: auto;
  padding: 160px 24px 90px;
}
.post-header {
  margin-bottom: 40px;
  text-align: center;
}
.post-category {
  display: inline-block;
  font-size: var(--fs-label); font-weight: var(--fw-label);
  color: var(--terracota); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 16px;
}
.post-title {
  font-size: clamp(2rem, 4vw, 2.6rem); font-weight: var(--fw-display);
  color: var(--navy); line-height: 1.2;
  margin-bottom: 20px; letter-spacing: -.02em;
}
.post-meta-details {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: var(--fs-body-s); color: var(--muted);
}
.post-featured-img-wrap {
  border-radius: var(--rx);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  aspect-ratio: 16 / 9;
}
.post-featured-img {
  width: 100%; height: 100%; object-fit: cover;
}
.post-content {
  font-size: var(--fs-body-l); color: var(--text);
  line-height: 1.8;
}
.post-content p {
  margin-bottom: 24px;
}
.post-content h2 {
  font-size: var(--fs-h2); font-weight: 700;
  color: var(--navy); margin-top: 48px; margin-bottom: 18px;
}
.post-content h3 {
  font-size: var(--fs-h3); font-weight: 700;
  color: var(--navy); margin-top: 36px; margin-bottom: 12px;
}
.post-content ul, .post-content ol {
  margin-bottom: 24px; padding-left: 20px;
}
.post-content ul { list-style-type: disc; }
.post-content ol { list-style-type: decimal; }
.post-content li {
  margin-bottom: 10px;
}
.post-content blockquote {
  margin: 36px 0; padding: 18px 24px;
  background: var(--bg); border-left: 4px solid var(--terracota);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; font-size: var(--fs-body-l);
  color: var(--navy);
}
.post-footer-cta {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

/* =========================================================
   SEÇÃO FAQ (PERGUNTAS FREQUENTES)
   ========================================================= */
.section-faq {
  padding: var(--py) 0;
  background: var(--white);
}
.faq-grid {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--tr);
}
.faq-item[open] {
  border-color: var(--sand);
  background: var(--white);
  box-shadow: var(--shadow);
}
.faq-item summary {
  padding: 20px 24px;
  font-size: var(--fs-body-l);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--terracota);
  transition: transform var(--tr);
  margin-left: 12px;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-content {
  padding: 0 24px 20px;
  font-size: var(--fs-body-m);
  color: var(--gray-4f);
  line-height: 1.7;
  border-top: 1px solid transparent;
  transition: all var(--tr);
}
.faq-item[open] .faq-content {
  border-top-color: var(--border);
  padding-top: 16px;
}
