/* ============================================================
   CS PARALEGAL — Estilos Principais v3
   Azul Marinho: #1a3a52  |  Verde: #00b87a
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #1a3a52;
  --primary-light:  #254e6e;
  --primary-dark:   #122840;
  --secondary:      #00b87a;
  --secondary-dark: #009966;
  --bg:             #ffffff;
  --bg-muted:       #f1f5f9;
  --text:           #1e293b;
  --text-muted:     #64748b;
  --border:         #cbd5e1;
  --radius:         0.65rem;
  --shadow:         0 2px 8px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media(min-width:640px){ .container{ padding: 0 2.5rem; } }
@media(min-width:1024px){ .container{ padding: 0 3rem; } }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn-primary:hover { background: var(--secondary-dark); transform: translateY(-1px); }
.btn-primary:hover::after {
  animation: shimmer .6s ease forwards;
}
@keyframes shimmer {
  0%   { left: -75%; }
  100% { left: 125%; }
}
.btn-outline        { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover  { background: rgba(255,255,255,.12); }
.btn-green          { background: var(--secondary); color: #fff; }
.btn-green:hover    { background: var(--secondary-dark); }
.btn-full           { width: 100%; justify-content: center; }

/* Hero CTA button */
.btn-secondary-hero {
  background: var(--secondary);
  color: #fff;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  transition: background .2s, transform .15s;
}
.btn-secondary-hero:hover { background: var(--secondary-dark); transform: translateY(-2px); }

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.logo span { color: var(--secondary); }

/* Desktop nav */
nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--primary); }
.nav-cta { margin-left: .25rem; }

/* ── Nav Dropdown ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: 0;
  font-family: inherit;
  transition: color .2s;
  white-space: nowrap;
}
.nav-dropdown-btn:hover { color: var(--primary); }
.arrow-icon {
  width: 10px; height: 10px;
  transition: transform .25s;
  flex-shrink: 0;
}
.nav-dropdown-menu.open ~ .nav-dropdown-btn .arrow-icon,
.nav-dropdown:has(.nav-dropdown-menu.open) .arrow-icon { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.13);
  min-width: 250px;
  z-index: 300;
  padding: .5rem 0;
  /* Ponte invisível para não perder hover ao mover o mouse */
  margin-top: 0;
}
/* Ponte de hover entre botão e menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: .65rem 1.25rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-muted);
  color: var(--primary);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .85rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-nav.open { display: flex; }
.mobile-nav-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-top: .25rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.mobile-nav-sub {
  padding-left: 1rem;
  font-size: .88rem !important;
  color: var(--text-muted) !important;
}

@media(max-width:900px){
  nav.desktop-nav { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ── */
.hero {
  background-color: var(--primary);
  background-image:
    linear-gradient(rgba(13,31,53,.55), rgba(13,31,53,.55)),
    url('hero-bg-desktop.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4rem 0 4.5rem;
  position: relative;
}

@media(max-width: 767px) {
  .hero {
    background-image:
      linear-gradient(rgba(13,31,53,.55), rgba(13,31,53,.55)),
      url('hero-bg-mobile.jpg');
  }
}
.hero .container { position: relative; z-index: 1; }
@media(min-width:768px){ .hero{ padding: 5.5rem 0 6rem; } }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 780px;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  max-width: 600px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badge {
  display: inline-block;
  background: rgba(0,184,122,.2);
  color: var(--secondary);
  font-size: .75rem;
  font-weight: 700;
  padding: .28rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid rgba(0,184,122,.35);
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--bg-muted);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media(min-width:640px){ .stats-grid{ grid-template-columns: repeat(4,1fr); } }

.stat-item { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.stat-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .25rem;
}
.stat-icon svg {
  width: 22px; height: 22px;
  stroke: var(--secondary);
}
.stats-grid .num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stats-grid .num-sm {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stats-grid .label {
  font-size: .82rem;
  color: var(--text-muted);
  max-width: 160px;
}

/* ── Section base ── */
.section { padding: 5rem 0; }
.section-muted { background: var(--bg-muted); }
@media(min-width:768px){ .section{ padding: 7rem 0; } }

.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: .75rem;
}
.section-title p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-title-light h2 { color: #fff; }
.section-title-light p  { color: rgba(255,255,255,.75); }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:640px){ .grid-2{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:768px){ .grid-3{ grid-template-columns: repeat(3,1fr); } }

/* ── Cards brancos padrão ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(0,184,122,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.card p  { color: var(--text-muted); font-size: .95rem; }
.card ul { list-style: none; margin-top: .75rem; }
.card ul li { font-size: .9rem; color: var(--text-muted); padding: .2rem 0; }
.card ul li::before { content: "✔ "; color: var(--secondary); font-weight: 700; }
.card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.25rem;
  color: var(--secondary); font-weight: 600; font-size: .9rem;
  transition: gap .2s;
}
.card-link:hover { gap: .7rem; }

/* ── Dark cards (O Que Seu Escritório Passa a Ter) ── */
.section-dark {
  background: var(--primary-dark);
}
.dark-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background .2s, border-color .2s;
}
.dark-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(0,184,122,.35);
}
.dark-card-icon {
  width: 48px; height: 48px;
  background: rgba(0,184,122,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,184,122,.25);
}
.dark-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--secondary);
}
.dark-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.dark-card p {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}

/* ── Soluções com imagem ── */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media(min-width:768px){ .sol-grid{ grid-template-columns: repeat(2,1fr); } }

.sol-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.sol-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.14); transform: translateY(-3px); }

.sol-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.sol-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.sol-card:hover .sol-img-wrap img { transform: scale(1.04); }
.sol-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(18,40,64,.6) 100%);
}
.sol-badge {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: var(--secondary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sol-body {
  padding: 1.75rem;
}
.sol-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.sol-body p  { color: var(--text-muted); font-size: .93rem; margin-bottom: .75rem; }
.sol-body ul { list-style: none; margin-bottom: .5rem; }
.sol-body ul li { font-size: .88rem; color: var(--text-muted); padding: .2rem 0; }
.sol-body ul li::before { content: "✔ "; color: var(--secondary); font-weight: 700; }

/* ── Expertise cards ── */
.expertise-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow .2s;
}
.expertise-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.expertise-icon {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.expertise-icon svg {
  width: 26px; height: 26px;
  stroke: var(--secondary);
}
.expertise-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.expertise-card p  { color: var(--text-muted); font-size: .93rem; }

/* ── Testimonial ── */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.testimonial blockquote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.testimonial blockquote::before { content: '\201C'; font-size: 2rem; color: var(--secondary); line-height: 0; vertical-align: -.4em; margin-right: .2rem; }
.testimonial .author { font-weight: 700; font-size: .9rem; }
.testimonial .role   { font-size: .85rem; color: var(--text-muted); }
.stars { color: #f59e0b; font-size: .9rem; margin-bottom: .5rem; }

/* ── CTA Section ── */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ── Footer ── */
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media(min-width:640px){ .footer-grid{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px){ .footer-grid{ grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.65); margin: .75rem 0; }
.footer-contact a {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; color: rgba(255,255,255,.75);
  margin-bottom: .5rem; transition: color .2s;
  text-decoration: none;
}
.footer-contact a * { color: inherit; }
.footer-contact a:hover { color: #7ecba8; }
/* Forçar cor nos emojis de telefone e e-mail no footer */
.footer-contact a,
.footer-contact a:link,
.footer-contact a:visited {
  color: rgba(255,255,255,.75) !important;
}
footer h4 { font-weight: 700; margin-bottom: 1rem; font-size: .95rem; color: rgba(255,255,255,.9); }
footer ul { list-style: none; }
footer ul li { margin-bottom: .5rem; }
footer ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color .2s; }
footer ul li a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: .83rem;
  color: rgba(255,255,255,.4);
}

/* ── WhatsApp button ── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.whatsapp-btn svg { width: 30px; height: 30px; fill: #fff; }

/* ── Blog ── */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.blog-card:hover img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: .82rem; color: var(--text-muted); margin-bottom: .6rem; }
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
.blog-card-body p  { font-size: .9rem; color: var(--text-muted); flex: 1; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem;
  color: var(--secondary); font-weight: 600; font-size: .9rem;
  transition: gap .2s;
}
.blog-read-more:hover { gap: .6rem; }

/* ── Blog post page ── */
.post-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
}
.post-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.post-meta { font-size: .9rem; color: rgba(255,255,255,.75); }
.post-content {
  max-width: 760px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.post-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--primary); }
.post-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.post-content p  { margin-bottom: 1.1rem; }
.post-content ul, .post-content ol { margin: .75rem 0 1.1rem 1.5rem; }
.post-content li { margin-bottom: .4rem; }
.post-content strong { color: var(--primary); }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,82,.12);
}

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; padding: .75rem 1rem; font-weight: 700; border-bottom: 2px solid var(--border); }
td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }

/* Economy table */
.economy-table { width: 100%; border-collapse: collapse; font-size: .92rem; border-radius: var(--radius); overflow: hidden; }
.economy-table thead tr { background: var(--primary); }
.economy-table thead th { padding: .9rem 1.1rem; font-weight: 700; text-align: left; border: none; color: #fff; }
.economy-table thead th.highlight-col { background: var(--secondary); color: #fff; }
.economy-table tbody tr:nth-child(even) { background: var(--bg-muted); }
.economy-table tbody td { padding: .75rem 1.1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.economy-table tbody td:first-child { font-weight: 600; color: var(--text); }
.economy-table .highlight-cell { color: var(--secondary); font-weight: 700; background: rgba(0,184,122,.06); }

/* ── FAQ ── */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.faq-item p  { color: var(--text-muted); font-size: .95rem; }

/* ── Process steps ── */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .95rem;
}
.step-body h3 { font-weight: 700; margin-bottom: .3rem; }
.step-body p  { color: var(--text-muted); font-size: .95rem; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 4.5rem 0;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p  { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 600px; }

/* ── Utilities ── */
.text-center { text-align: center; }
.max-w-3xl { max-width: 760px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: rgba(0,184,122,.12);
  color: var(--secondary);
  font-size: .78rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 999px;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.highlight-cell { color: var(--secondary); font-weight: 700; }

/* ── Success message ── */
.success-box {
  background: rgba(0,184,122,.1);
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--secondary);
  font-weight: 600;
  display: none;
}

/* ── Hero trust line ── */
.hero-trust {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 1rem;
  letter-spacing: .02em;
}

/* ── Ghost hero button ── */
.btn-ghost-hero {
  background: transparent;
  color: #fff;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.45);
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-ghost-hero:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

/* ── Outline button (dark bg) ── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ── Metodologia ── */
.method-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.method-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1100px;
}
@media(min-width:768px){
  .method-grid-2col {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }
  .method-grid-2col .method-step {
    border-bottom: 1px solid var(--border);
  }
  .method-grid-2col .method-step:nth-last-child(-n+2) {
    border-bottom: none;
  }
}
.method-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
}
.method-step:last-child { border-bottom: none; }
.method-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.method-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.method-body p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
}
@media(max-width:640px){
  .method-step { gap: 1.25rem; }
  .method-num { width: 44px; height: 44px; font-size: 1rem; border-radius: 10px; }
}

/* ── Carrossel de depoimentos ── */
.carousel-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.carousel {
  position: relative;
  min-height: 220px;
}
.carousel-slide {
  display: none;
  animation: fadeIn .4s ease;
}
.carousel-slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.testimonial-premium {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: .1em;
}
.testimonial-premium blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  quotes: "\201C" "\201D";
}
.testimonial-premium blockquote::before { content: open-quote; font-size: 2.5rem; color: var(--secondary); line-height: 0; vertical-align: -.5em; margin-right: .2rem; }
.testimonial-premium blockquote::after  { content: close-quote; font-size: 2.5rem; color: var(--secondary); line-height: 0; vertical-align: -.5em; margin-left: .2rem; }
.testimonial-author { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.author-role    { font-weight: 700; color: var(--primary); font-size: .95rem; }
.author-segment { font-size: .85rem; color: var(--text-muted); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.carousel-btn {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  color: var(--primary);
}
.carousel-btn:hover { background: var(--border); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--secondary);
  transform: scale(1.3);
}

/* ── Diagnóstico hero layout ── */
.diag-hero {
  background: var(--bg-muted);
  padding: 5rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
@media(min-width:768px){ .diag-hero{ padding: 6rem 0 5rem; } }

.diag-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media(min-width:900px){
  .diag-layout { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

.diag-copy .badge { margin-bottom: 1rem; }
.diag-copy h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--primary);
}
.diag-copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: .75rem;
}
.diag-trust {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 2rem !important;
}

/* Carrossel de benefícios do diagnóstico */
.diag-benefits-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.diag-benefits-title {
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.diag-carousel-container { min-height: 110px; }
.diag-slide { display: none; animation: fadeIn .35s ease; }
.diag-slide.active { display: block; }
.diag-benefit-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.diag-benefit-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.diag-benefit-icon svg { width: 20px; height: 20px; stroke: var(--secondary); }
.diag-benefit-card strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .3rem; color: var(--text); }
.diag-benefit-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.diag-dots {
  display: flex;
  gap: .4rem;
  margin-top: 1.25rem;
}
.diag-dots .carousel-dot { background: var(--border); }
.diag-dots .carousel-dot.active { background: var(--secondary); }

/* Formulário do diagnóstico */
.diag-form-wrap { position: sticky; top: 88px; }
.diag-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.diag-form-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .4rem;
}
.diag-form-card > p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.diag-form { display: flex; flex-direction: column; }
.form-disclaimer {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

/* ── Conformidade ── */
.conformidade-list { display: flex; flex-direction: column; gap: 1.25rem; }
.conformidade-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.conf-check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(0,184,122,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,184,122,.3);
}
.conf-check svg { width: 16px; height: 16px; stroke: var(--secondary); }
.conformidade-item strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .2rem; }
.conformidade-item p { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ── Responsividade geral ── */
@media(max-width:640px){
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-secondary-hero, .btn-ghost-hero { width: 100%; justify-content: center; text-align: center; }
  .diag-form-wrap { position: static; }
}

/* ── Logo SVG ── */
.logo-img {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img img {
  height: 48px;
  width: auto;
  display: block;
}
@media(min-width:768px){
  .logo-img img { height: 56px; }
}

/* Logo no footer — versão branca via filter */
.logo-img-footer img {
  height: 48px;
  filter: brightness(0) invert(1);
}

/* ── Post Cover Image ─────────────────────────────────────────────────────── */
.post-cover {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
.post-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}
