/* ============================================
   ATTO COMEX — Design System
   Importação da China para vendedores de marketplaces
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Cores de marca — paleta oficial Atto Comex */
  --navy-950: #07101a;
  --navy-900: #0b1828;
  --navy-800: #103055;
  --navy-700: #13437a;
  --blue-600: #2084f6;
  --blue-500: #4698f2;
  --blue-400: #71aeed;
  --orange-600: #f84b13;
  --orange-500: #f76938;
  --orange-400: #f78a61;
  --cream: #f5f2df;
  --white: #f5f2df;
  --ink: #0b1828;
  --muted: #95c0e9;
  --section-tint: #faf9f1;

  /* Tipografia */
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 50px -20px rgba(11, 24, 40, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(11, 24, 40, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-head);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding: 15px 22px;
  }
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(32, 132, 246, 0.55);
}
.btn-accent {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(248, 75, 19, 0.55);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-block { width: 100%; }

/* ---------- Header flutuante ---------- */
body { background: var(--navy-900); }

.header-spacer { height: 24px; }

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  max-width: calc(var(--max-w) + 24px);
  margin: 0 auto;
  padding: 0 12px;
  transition: top 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 28px;
  background: rgba(11, 24, 40, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px -14px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
  max-width: none;
}
.site-header.is-scrolled .container {
  height: 66px;
  background: rgba(7, 16, 26, 0.88);
  box-shadow: 0 16px 44px -12px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.08);
}

@media (max-width: 640px) {
  .site-header { top: 10px; padding: 0 10px; }
  .site-header .container { padding: 0 18px; border-radius: 26px; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}
.logo img { height: 34px; width: auto; }
.logo svg, .logo img { transition: transform 0.3s ease; }
.logo:hover svg, .logo:hover img { transform: translateY(-3px) rotate(-6deg); }
.logo span.sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-400);
  margin-left: 2px;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-main a {
  position: relative;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0%; height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-main a:hover, .nav-main a.active { opacity: 1; color: var(--blue-400); }
.nav-main a:hover::after, .nav-main a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
}

@media (max-width: 900px) {
  .nav-main { position: fixed; top: 108px; left: 12px; right: 12px; bottom: 16px;
    background: var(--navy-900); flex-direction: column; padding: 32px 24px; gap: 24px;
    border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px -14px rgba(0,0,0,0.6);
    transform: translateY(-20px); opacity: 0; visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s; overflow-y: auto; }
  .nav-main.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-toggle { display: block; }
  .header-actions .btn span.txt { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 80px 0 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,24,40,0.82) 0%, rgba(7,16,26,0.95) 100%);
  z-index: 0;
}
.hero > .container, .hero > .marquee { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 64px;
}
.hero-grid.hero-grid-centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: var(--cream);
  font-weight: 700;
}
.hero h1 strong { color: var(--blue-400); font-weight: 800; }
.hero p.lead {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
}
.hero-grid-centered p.lead { margin-left: auto; margin-right: auto; }
.hero p.lead b { color: var(--white); }
.hero .cta-row { margin-top: 36px; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}
.hero-media:hover img { transform: scale(1.06); }

.marquee {
  background: linear-gradient(90deg, var(--orange-600), var(--orange-500));
  overflow: hidden;
  max-width: 100%;
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: scroll-right 32s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* ---------- Selos / trust badges ---------- */
.trust-badges {
  background: var(--navy-900);
  padding: 56px 24px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  text-align: center;
}
@media (max-width: 700px) {
  .trust-badges { gap: 36px 28px; padding: 44px 24px; }
}
.trust-badge { color: var(--cream); max-width: 220px; transition: transform 0.25s ease; }
.trust-badge:hover { transform: translateY(-6px); }
.trust-badge .icon {
  display: block;
  width: 60px; height: 60px; margin: 0 auto 16px;
  filter: drop-shadow(0 10px 20px -6px rgba(32,132,246,0.7));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.trust-badge:hover .icon { transform: scale(1.1) rotate(8deg); filter: drop-shadow(0 14px 26px -6px rgba(32,132,246,0.85)); }
.trust-badge p { font-weight: 700; font-family: var(--font-head); font-size: 1.02rem; }

/* ---------- Dor x Solução ---------- */
.pain-solution {
  background: var(--navy-900);
  padding-bottom: 96px;
}
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ps-card {
  background: linear-gradient(160deg, var(--blue-500), var(--blue-600));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ps-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px -18px rgba(32, 132, 246, 0.55);
}
.ps-card h3 { font-size: 1.4rem; margin-bottom: 22px; }
.ps-card ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: padding-left 0.2s ease;
}
.ps-card ul li:last-child { border-bottom: none; }
.ps-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s ease;
}
.ps-card ul li:hover { padding-left: 36px; }
.ps-card ul li:hover::before { transform: scale(1.4); }
@media (max-width: 800px) { .ps-grid { grid-template-columns: 1fr; } }

/* ---------- Serviços (cards com imagem + popup) ---------- */
.services { background: var(--section-tint); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -16px rgba(11, 24, 40, 0.28);
}
.service-ribbon {
  position: absolute;
  top: 16px; left: -38px;
  width: 150px;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 5px 0;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.service-media {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eef1f6;
  margin-bottom: 18px;
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-media img { transform: scale(1.08); }
.service-card h4 {
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.service-card .service-pill {
  display: inline-block;
  align-self: center;
  background: #feede7;
  color: var(--orange-600);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.service-btn {
  margin-top: auto;
  width: 100%;
  background: transparent;
  border: 1.5px solid #dfe3ec;
  color: var(--navy-900);
  padding: 13px 20px;
}
.service-btn:hover { border-color: var(--orange-500); color: var(--orange-600); }
.service-btn-solid {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  border: none;
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(248, 75, 19, 0.55);
}
.service-btn-solid:hover { color: var(--white); filter: brightness(1.06); }

@media (max-width: 1000px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Modal de serviço ---------- */
.service-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 16, 26, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.service-modal-overlay.open { opacity: 1; visibility: visible; }
.service-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.3s ease;
}
.service-modal-overlay.open .service-modal { transform: translateY(0) scale(1); }
.service-modal h3 { color: var(--navy-900); font-size: 1.4rem; margin: 10px 0 16px; }
.service-modal p { color: #4a5370; font-size: 1rem; line-height: 1.7; }
.service-modal-cta { display: inline-flex; margin-top: 26px; }
.service-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #f2f4f9; color: #666;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background 0.2s ease, transform 0.2s ease;
}
.service-modal-close:hover { background: #e8ebf2; transform: rotate(90deg); }

/* ---------- Soluções (cards laranja) ---------- */
.solutions { background: var(--navy-900); }
.section-title {
  text-align: center;
  color: var(--cream);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 56px;
}
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.solution-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--orange-500), var(--orange-600));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.solution-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(
    75deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.28) 45%,
    rgba(255,255,255,0) 90%
  );
  transform: translateX(-140%) skewX(-12deg);
  transition: transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.22), rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.solution-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 28px 60px -18px rgba(248, 75, 19, 0.55);
}
.solution-card:hover::before { transform: translateX(140%) skewX(-12deg); }
.solution-card:hover::after { opacity: 1; }
.solution-card h4, .solution-card p { position: relative; z-index: 1; }
.solution-card h4 { font-size: 1.25rem; margin-bottom: 14px; transition: transform 0.4s ease; color: var(--cream); }
.solution-card:hover h4 { transform: translateY(-2px); }
.solution-card p { color: rgba(255,255,255,0.92); }
.solution-card p strong { color: var(--white); font-weight: 800; }
@media (max-width: 800px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ---------- Sobre ---------- */
.about { background: var(--navy-900); position: relative; overflow: hidden; }
.about-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(32,132,246,0.20), rgba(32,132,246,0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: about-glow-pulse 8s ease-in-out infinite;
}
@keyframes about-glow-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.about-content-centered {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-content-centered h2 { color: var(--blue-400); font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 14px 0 26px; }
.about-content-centered p { color: var(--cream); margin-bottom: 18px; font-size: 1.08rem; line-height: 1.7; }
.about-content-centered p:last-child { margin-bottom: 0; }

/* Animação de entrada ao rolar a página */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.26s; }
.reveal:nth-child(5) { transition-delay: 0.36s; }
.reveal:nth-child(6) { transition-delay: 0.46s; }

/* ---------- Formulário Lead ---------- */
.lead-section {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-grid h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 20px; }
.lead-grid .bar { width: 64px; height: 5px; background: var(--navy-900); border-radius: 4px; margin-bottom: 24px; }
.lead-grid p.desc { color: rgba(255,255,255,0.9); max-width: 440px; font-size: 1.05rem; }

.lead-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.lead-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease;
}
.lead-stat:hover { transform: translateY(-4px); }
.lead-stat-number {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
}
.lead-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  max-width: 160px;
  line-height: 1.4;
}
.lead-stat-badge { flex-direction: row; align-items: center; gap: 12px; }
.lead-stat-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  filter: drop-shadow(0 8px 16px -4px rgba(11,24,40,0.4));
  transition: transform 0.3s ease;
}
.lead-stat-badge:hover .lead-stat-icon { transform: scale(1.12) rotate(8deg); }
.lead-stat-badge .lead-stat-label { max-width: 120px; font-weight: 600; }
@media (max-width: 500px) { .lead-stats { gap: 26px; } }

.lead-form {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; color: var(--white); font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--white);
  color: var(--ink);
}
.radio-row { display: flex; gap: 24px; color: var(--white); }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--blue-500); overflow: hidden; }
.testimonials .section-title { margin-bottom: 44px; }

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
  max-width: calc(var(--max-w) + 24px);
  margin: 0 auto;
  padding: 0 12px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 20px 0 12px;
  animation: testimonials-scroll 30s linear infinite;
  will-change: transform;
}

@keyframes testimonials-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 340px;
  width: 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -16px rgba(11, 24, 40, 0.35);
}
.testimonial-card h4 { font-size: 1.05rem; }
.testimonial-card .role { color: #7c869e; font-size: 0.88rem; margin: 4px 0 10px; }
.testimonial-card .stars { color: #f5b301; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { color: #4a5370; font-size: 0.95rem; }

@media (max-width: 640px) {
  .testimonial-card { flex-basis: 280px; width: 280px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--navy-900); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 34px -14px rgba(32, 132, 246, 0.5);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-head);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  margin-left: 16px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 26px 22px;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--muted);
  border-radius: 32px;
  margin: 0 16px 16px;
  overflow: hidden;
  overflow-wrap: break-word;
}
.site-footer .container { max-width: none; padding: 60px 44px 28px; }
@media (max-width: 600px) {
  .site-footer { margin: 0 10px 10px; border-radius: 24px; }
  .site-footer .container { padding: 48px 24px 24px; }
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-columns { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .footer-brand-col { text-align: left !important; }
  .footer-brand-col p.tagline { margin-left: 0 !important; }
  .footer-social-row { justify-content: flex-start !important; }
}

.footer-nav-links { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-links a {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--cream);
  opacity: 0.82;
  transition: opacity 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.footer-nav-links a:hover { opacity: 1; color: var(--blue-400); padding-left: 6px; }

.footer-col h5 { color: var(--white); font-family: var(--font-head); font-size: 1rem; margin-bottom: 18px; font-weight: 600; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer-contact-list a, .footer-contact-list span { color: var(--muted); transition: color 0.2s ease; }
.footer-contact-list a:hover { color: var(--blue-400); }

.footer-brand-col { text-align: right; }
.footer-brand-col .wordmark {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.02em; display: inline-flex; align-items: baseline; gap: 6px;
}
.footer-brand-col .wordmark .sub { font-size: 1rem; font-weight: 600; color: var(--blue-400); }
.footer-brand-col p.tagline { color: var(--muted); font-size: 0.92rem; margin: 14px 0 22px; max-width: 280px; margin-left: auto; }
.footer-social-row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.footer-social-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; color: var(--cream);
  transition: all 0.2s ease;
}
.footer-social-btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-3px); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 0; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-legal { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-backtotop {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; color: var(--muted);
  font-family: var(--font-body); font-size: 0.85rem; cursor: pointer; padding: 0;
}
.footer-backtotop .arrow-btn {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; color: var(--cream);
  transition: all 0.2s ease;
}
.footer-backtotop:hover { color: var(--cream); }
.footer-backtotop:hover .arrow-btn { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-3px); }
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-row a:hover { color: var(--white); }
.social-row a:hover { background: var(--blue-500); transform: translateY(-4px) scale(1.08); }
.footer-admin-link { opacity: 0.45; font-size: 0.9rem; }
.footer-admin-link:hover { opacity: 1; background: rgba(255,255,255,0.15); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4);
  z-index: 90;
  color: white;
  font-size: 1.6rem;
  animation: wa-pulse 2.4s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 16px 36px -6px rgba(37, 211, 102, 0.6);
  animation-play-state: paused;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ---------- Page header (páginas internas) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { color: var(--cream); font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 14px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 16px auto 0; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -16px rgba(11, 24, 40, 0.35); }
.blog-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  overflow: hidden;
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .thumb img { transform: scale(1.08); }
.blog-card h3 { transition: color 0.2s ease; }
.blog-card:hover h3 { color: var(--blue-600); }
.blog-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card .tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--orange-600);
  background: #feede7;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); }
.blog-card p.excerpt { color: #667; font-size: 0.92rem; flex: 1; color: #5a6178;}
.blog-card .meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #eee;
  display: flex; justify-content: space-between; font-size: 0.8rem; color: #8890a3;
}
.blog-empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  grid-column: 1 / -1;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Post individual ---------- */
.post-content {
  max-width: 760px;
  margin: 0 auto;
}
.post-content .post-meta {
  display: flex; gap: 16px; align-items: center;
  color: var(--muted); font-size: 0.88rem; margin-bottom: 18px;
}
.post-content h1 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.post-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow-soft);
}
.post-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: #333c53;
}
.post-body h2 { margin: 36px 0 16px; font-size: 1.5rem; color: var(--navy-900); }
.post-body h3 { margin: 28px 0 14px; font-size: 1.2rem; color: var(--navy-900); }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; }
.post-body li { margin-bottom: 8px; }
.post-body img { border-radius: var(--radius-md); margin: 24px 0; }
.post-body a { color: var(--blue-600); text-decoration: underline; }
.post-body blockquote {
  border-left: 4px solid var(--orange-500);
  padding: 4px 20px;
  margin: 24px 0;
  color: #555;
  font-style: italic;
}

/* ---------- Tags do post ---------- */
.post-tags {
  max-width: 760px;
  margin: 8px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.tags-label { font-size: 0.85rem; color: #8890a3; font-weight: 600; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #e3f0fe;
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tag-chip:hover { background: var(--blue-600); color: var(--white); transform: translateY(-2px); }

/* Chips de tag nos cards do blog */
.blog-card .card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.blog-card .card-tags .tag-chip { padding: 4px 10px; font-size: 0.72rem; cursor: default; }
.blog-card .card-tags .tag-chip:hover { background: #e3f0fe; color: var(--blue-600); transform: none; }

/* Banner de filtro por tag no blog */
.tag-filter-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #e3f0fe; color: var(--navy-900);
  padding: 14px 20px; border-radius: var(--radius-md);
  margin-bottom: 28px; font-size: 0.92rem;
}
.tag-filter-banner .clear-filter {
  color: var(--blue-600); font-weight: 700; font-size: 0.85rem;
  transition: opacity 0.2s ease;
}
.tag-filter-banner .clear-filter:hover { opacity: 0.7; }

/* ---------- Auth / Admin (login, admin) ---------- */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  padding: 24px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.auth-card .logo { color: var(--ink); justify-content: center; margin-bottom: 8px; }
.auth-card h1 { font-size: 1.3rem; text-align: center; margin-bottom: 28px; color: #444; font-family: var(--font-body); font-weight: 600; }
.auth-card .form-field label { color: #333; }
.auth-card .form-field input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid #e2e5ee; background: #fafbfd; color: var(--ink);
}
.auth-card .form-field input:focus { outline: none; border-color: var(--blue-500); }
.auth-error {
  background: #fde8e8; color: #b42318; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; margin-bottom: 18px; display: none;
}

.admin-shell { min-height: 100vh; background: var(--section-tint); }
.admin-topbar {
  background: var(--navy-900); color: var(--white);
  padding: 0 28px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-body { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.admin-tab {
  background: var(--white); border: 1.5px solid #e2e5ee; color: #667;
  padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 700;
  font-size: 0.92rem; transition: all 0.2s ease;
}
.admin-tab:hover { border-color: var(--blue-500); color: var(--blue-600); }
.admin-tab.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--cream); }
.admin-tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px;
  background: var(--orange-600); color: var(--white); border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 800;
}
.admin-tab:not(.active) .admin-tab-count { background: var(--blue-600); }
.lead-contact-links { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; }
.lead-contact-links a { color: var(--blue-600); }
.lead-contact-links a:hover { text-decoration: underline; }
.lead-imported-pill {
  display: inline-block; padding: 3px 12px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700;
}
.lead-imported-pill.sim { background: #e4f7ec; color: #12844e; }
.lead-imported-pill.nao { background: #fff2e0; color: #b06a00; }
.lead-imported-pill.na { background: #eef0f5; color: #8890a3; }
.admin-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 28px;
  margin-bottom: 28px;
}
.admin-card h2 { font-size: 1.15rem; margin-bottom: 20px; color: var(--ink); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-card .form-field label { color: #333; font-size: 0.9rem; }
.admin-card .form-field input,
.admin-card .form-field textarea,
.admin-card .form-field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #e2e5ee; background: #fafbfd; color: var(--ink);
}
.admin-card .form-field textarea { min-height: 260px; font-family: 'SF Mono', Menlo, monospace; font-size: 0.9rem; line-height: 1.6; resize: vertical; }
.admin-card .form-field input:focus,
.admin-card .form-field textarea:focus,
.admin-card .form-field select:focus { outline: none; border-color: var(--blue-500); }
.hint { font-size: 0.78rem; color: #8890a3; margin-top: 6px; }

.cover-upload { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.cover-preview {
  width: 160px; height: 110px; flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 1.5px dashed #d7dbe6;
  background: #fafbfd;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.cover-preview-placeholder { font-size: 0.78rem; color: #a3aabb; text-align: center; padding: 0 10px; }
.cover-upload-controls { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cover-upload-controls .btn { padding: 10px 18px; font-size: 0.85rem; }
#coverUploadStatus.uploading { color: var(--blue-600); font-weight: 600; }
#coverUploadStatus.error { color: #d92d20; font-weight: 600; }
#coverUploadStatus.success { color: #12844e; font-weight: 600; }

.posts-table { width: 100%; border-collapse: collapse; }
.posts-table th, .posts-table td {
  text-align: left; padding: 12px 10px; border-bottom: 1px solid #eef0f5; font-size: 0.9rem;
}
.posts-table th { color: #8890a3; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.status-pill {
  display: inline-block; padding: 3px 12px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700;
}
.status-pill.published { background: #e4f7ec; color: #12844e; }
.status-pill.draft { background: #fff2e0; color: #b06a00; }
.row-actions { display: flex; gap: 10px; }
.row-actions button {
  background: transparent; border: 1px solid #e2e5ee; border-radius: 8px;
  padding: 6px 12px; font-size: 0.82rem; color: #444;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.row-actions button:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.row-actions button.danger:hover { border-color: #d92d20; color: #d92d20; }

.empty-state { text-align: center; padding: 40px 20px; color: #8890a3; }

@media (max-width: 700px) {
  .admin-grid { grid-template-columns: 1fr; }
  .posts-table { display: block; overflow-x: auto; }
}
