/* DizZyChat Website — visual moderno, animações e ilustrações */
:root {
  --bg-app: #f0f7f4;
  --bg-surface: #ffffff;
  --bg-sidebar: #0d2818;
  --bg-sidebar-hover: #1a3d2a;
  --border-soft: #d1fae5;
  --text-main: #0f172a;
  --text-muted: #52634e;
  --text-on-brand: #ecfdf5;
  --accent: #059669;
  --accent-strong: #047857;
  --accent-tag-bg: rgba(5, 150, 105, 0.12);
  --danger: #dc2626;
  --shadow-lg: 0 12px 32px rgba(5, 150, 105, 0.12);
  --shadow-card: 0 4px 20px rgba(5, 150, 105, 0.08);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 16px; color: var(--text-main); background: var(--bg-app); line-height: 1.65; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-strong); text-decoration: none; }

/* Animações */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.animate-in-1 { animation: fadeInUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.animate-in-2 { animation: fadeInUp 0.6s ease-out 0.2s forwards; opacity: 0; }
.animate-in-3 { animation: fadeInUp 0.6s ease-out 0.3s forwards; opacity: 0; }
.animate-in-4 { animation: fadeInUp 0.6s ease-out 0.4s forwards; opacity: 0; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--bg-sidebar);
  color: var(--text-on-brand);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s;
}
body { padding-top: 4rem; }
.site-header a { color: #a7c4b0; }
.site-header a:hover { color: var(--text-on-brand); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; transition: opacity 0.2s; }
.brand .site-logo { height: 50px; width: auto; display: block; }
.brand:hover .site-logo { opacity: 0.95; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.nav-links a { font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }

/* Botão menu mobile — escondido no desktop */
.nav-mobile-right { display: none; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-on-brand);
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  margin: 0 auto;
  transform-origin: center center;
}
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Main content */
main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 0.5rem; }
.page-title { font-size: 2rem; margin-bottom: 1rem; color: var(--text-main); font-weight: 700; }
.page-title-right { text-align: right; }
.page-lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; text-align: justify; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  text-decoration: none;
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--text-on-brand); box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35); }
.btn-primary:hover { background: var(--accent-strong); color: var(--text-on-brand); box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4); }
.btn-outline { background: transparent; color: var(--text-on-brand); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--text-on-brand); border-color: rgba(255,255,255,0.9); }

/* Cards */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: none;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(5, 150, 105, 0.12); }
.card h3 { margin-bottom: 0.5rem; color: var(--accent-strong); font-weight: 700; font-size: 1.15rem; }

/* Feature cards — menores, 4 na mesma linha, título alinhado ao ícone, texto justificado, hover piscar */
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  margin-bottom: 0;
  min-width: 0;
}
.feature-card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}
.feature-card .feature-icon { flex-shrink: 0; width: 44px; height: 44px; }
.feature-card .feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card .feature-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-strong);
  line-height: 1.3;
  align-self: center;
}
.feature-card .feature-desc {
  width: 100%;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-main);
  text-align: justify;
}
.feature-card:hover {
  transform: none;
}

/* Footer */
.site-footer {
  background: var(--bg-sidebar);
  color: #a7c4b0;
  padding: 2rem 1.5rem;
  margin-top: 0;
  font-size: 0.9rem;
}
.site-footer a { color: #a7c4b0; transition: color 0.2s; }
.site-footer a:hover { color: #ecfdf5; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; align-items: center; }

/* Hero — faixa full-width, layout texto + ilustração, borda diagonal */
.hero {
  background: linear-gradient(135deg, #0a1f14 0%, #0d2818 25%, #0f3320 50%, #1a3d2a 100%);
  color: var(--text-on-brand);
  padding: 4rem 1.5rem 5rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 0 28px 28px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(5, 150, 105, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 45%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(5, 150, 105, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content { max-width: 520px; }
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hero p {
  opacity: 0.96;
  font-size: 1.12rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
  max-width: 480px;
}
.hero-buttons { margin-bottom: 0; }
.hero .btn {
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
}
.hero .btn-primary {
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.hero .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration img {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.2));
  animation: float 5s ease-in-out infinite;
}
.hero-illustration .hero-logo {
  width: auto;
  max-width: 420px;
  height: 160px;
  object-fit: contain;
}
.hero-diagonal-bubble {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem 0.6rem 1.4rem;
  background: var(--bg-surface);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  pointer-events: none;
}
.hero-diagonal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-strong);
}
.hero-bubble-dots {
  display: none;
}
.hero--assinar .hero-content {
  text-align: center;
}
.hero--assinar .hero-content p {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.hero--assinar .hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
/* Transição suave do hero para o conteúdo */
.hero + .main-inner { margin-top: -1px; }
.hero + .main-inner.main-inner--espaco-topo { margin-top: 2.5rem; }
main { padding-top: 12px; }
.page-lead-highlight {
  padding: 30px;
  margin: 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-tag-bg);
  border-radius: 0 12px 12px 0;
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 3.5rem 1.5rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-content { max-width: none; margin: 0 auto; }
  .hero p { max-width: none; }
  .hero-illustration { order: -1; }
  .hero-illustration img { max-width: 280px; }
  .hero-illustration .hero-logo { height: 130px; max-width: 320px; }
  .hero-diagonal-bubble { bottom: 1rem; right: 1rem; left: auto; transform: none; }
}
@media (max-width: 768px) {
  .hero { padding: 3rem 1.25rem 3.5rem; min-height: auto; }
  .hero h1 { font-size: 2rem; margin-bottom: 1rem; }
  .hero p { font-size: 1.05rem; margin-bottom: 1.5rem; }
  .hero-diagonal-bubble {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    transform: none;
    padding: 0.5rem 1rem;
    justify-content: center;
  }
  .hero-diagonal-title {
    white-space: nowrap;
    font-size: 1.15rem;
  }
  .hero-illustration { display: flex; }
  .hero-illustration img { max-width: 220px; }
  .hero-illustration .hero-logo { height: 100px; max-width: 260px; }
}
@media (max-width: 480px) {
  .hero { border-radius: 0 0 20px 20px; }
  .hero-illustration img { max-width: 180px; }
  .hero-illustration .hero-logo { height: 80px; max-width: 200px; }
  .hero-diagonal-title { font-size: 1rem; white-space: normal; text-align: center; }
}

/* Grid de features (inicial) — 2 linhas com 2 itens em cada */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card .feature-desc { text-align: left; }
}

/* FAQ */
.faq-search-wrap { margin-bottom: 1.5rem; width: 100%; }
.faq-search-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-main); }
.faq-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 1rem;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-app) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 0.75rem center;
  background-size: 1.1rem;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.faq-search-input::placeholder { color: var(--text-muted); }
.faq-search-count { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.faq-search-box {
  background: #fff;
  padding: 30px;
  padding-bottom: 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.faq-box {
  background: #fff;
  padding: 30px;
  padding-bottom: 15px;
  border-radius: var(--radius-sm);
}
.faq-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item:hover { border-color: var(--accent-soft); box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08); }
.faq-item.faq-item--hidden { display: none; }
.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-strong);
  background: var(--bg-app);
  text-align: justify;
}
.faq-answer {
  padding: 0.75rem 1.25rem 1.25rem;
  line-height: 1.6;
  color: var(--text-main);
  text-align: justify;
}
.faq-answer a { color: var(--accent-strong); text-decoration: underline; }
.faq-answer a:hover { text-decoration: none; }
.faq-no-results { padding: 1.5rem; text-align: center; color: var(--text-muted); background: var(--bg-app); border-radius: var(--radius-sm); margin-bottom: 2rem; }
.faq-no-results #faq-termo-busca { font-weight: 600; color: var(--text-main); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.plan-card {
  background: var(--bg-surface);
  border: none;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.featured { background: linear-gradient(180deg, var(--accent-tag-bg) 0%, var(--bg-surface) 100%); transform: scale(1.02); }
.plan-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.plan-card { display: flex; flex-direction: column; }
.plan-card-cta { margin-top: auto; padding-top: 1.25rem; }
.plan-card-cta .btn { display: block; width: 100%; text-align: center; }
.plan-card .btn-outline { color: var(--accent-strong); border: 2px solid var(--accent); background: transparent; }
.plan-card .btn-outline:hover { background: var(--accent-tag-bg); border-color: var(--accent-strong); color: var(--accent-strong); }
.card .btn-outline { color: var(--accent-strong); border: 2px solid var(--accent); background: transparent; }
.card .btn-outline:hover { background: var(--accent-tag-bg); border-color: var(--accent-strong); color: var(--accent-strong); }
.plan-card h3 { color: var(--accent-strong); margin-bottom: 0.5rem; font-weight: 700; }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--text-main); }
.plan-price small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.plan-prices { margin: 0.75rem 0; }
.plan-price-main { margin: 0 0 0.5rem; line-height: 1.2; }
.plan-price-valor { font-size: 2.75rem; font-weight: 800; color: var(--accent-strong); display: inline-block; letter-spacing: -0.02em; }
.plan-price-main small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-left: 0.15rem; }
.plan-price-option { font-size: 0.95rem; color: var(--text-main); margin: 0.35rem 0; }
.plan-price-option strong { color: var(--accent-strong); }
.plan-price-off { font-size: 0.8rem; color: var(--accent-strong); background: var(--accent-tag-bg); padding: 0.15rem 0.4rem; border-radius: 6px; margin-left: 0.25rem; font-weight: 600; }
.plan-msg { color: var(--text-muted); font-size: 0.9rem; margin: 0.5rem 0 0.75rem; }
.plan-features { list-style: none; margin: 0.75rem 0; padding: 0; font-size: 0.9rem; text-align: left; }
.plan-features li { padding: 0.25rem 0; border-bottom: 1px solid var(--border-soft); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li strong { color: var(--accent-strong); font-weight: 600; }

.card-limites { margin-top: 3rem; }
.card-limites-cta { margin-top: 1.5rem; margin-bottom: 0; }

/* Form */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  max-width: 420px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-soft);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--bg-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-sans);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2352634e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.25rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tag-bg);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row .form-group--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-submit-wrap { margin-top: 1.25rem; text-align: center; }
.main-inner--espaco-rodape { padding-bottom: 3rem; }
.form-group-flex { flex: 1; min-width: 0; }
.form-group-num { max-width: 100px; }
.form-group-uf { max-width: 180px; }
.form-section { border-top: 1px solid var(--border-soft); margin-top: 0.5rem; padding-top: 0.5rem; }
.form-hint { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-erro { display: block; font-size: 0.85rem; color: var(--danger); margin-top: 0.25rem; }
.form-group input.invalid, .form-group select.invalid { border-color: var(--danger); }

/* Formulário teste grátis — apresentação desktop */
.card-trial-form { max-width: 780px; margin-left: auto; margin-right: auto; padding: 2rem 2rem 2.5rem; }
.card-trial-form .form-group input,
.card-trial-form .form-group select { max-width: none; }
.trial-form-header { margin-bottom: 2rem; }
.trial-form-header h3 { margin-bottom: 0.35rem; }
.trial-form-lead { font-size: 0.95rem; color: var(--text-muted); margin: 0; }
.trial-form-section { margin-bottom: 2rem; }
.trial-form-section:last-of-type { margin-bottom: 0; }
.trial-form-section-title {
  font-size: 1.05rem; font-weight: 700; color: var(--accent-strong);
  margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-soft);
}
.trial-form-section-lead { font-size: 0.9rem; color: var(--text-muted); margin: -0.25rem 0 1rem; }
.trial-form-grid {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: 1fr;
}
.trial-form-section-termos { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); }
.trial-form-actions { margin-top: 1.5rem; padding-top: 0.5rem; text-align: center; }
.trial-form-actions .btn { display: inline-block; }

@media (min-width: 720px) {
  .trial-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trial-form-full { grid-column: 1 / -1; }
  .trial-form-section-endereco .trial-form-grid {
    grid-template-columns: 130px 1fr 140px;
  }
  .trial-form-section-endereco .form-group-numero,
  .trial-form-section-endereco .form-group-uf { max-width: 100%; }
}
@media (min-width: 720px) {
  .trial-form-section-empresa .trial-form-grid {
    grid-template-columns: 1fr 1fr 140px;
  }
  .trial-form-section-empresa .form-group:has(#trial-cnpj) { grid-column: 1 / 3; }
  .trial-form-section-empresa .form-group:has(#trial-cep_empresa) { grid-column: 3; }
  .trial-form-section-empresa .form-group-endereco { grid-column: 1 / 3; }
  .trial-form-section-empresa .form-group-numero { grid-column: 3; }
}
@media (min-width: 900px) {
  .card-trial-form { padding: 2.5rem 3rem 3rem; }
  .trial-form-section-empresa {
    background: rgba(5, 150, 105, 0.04); border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm); padding: 1.5rem 1.75rem; margin-top: 2rem;
  }
  .trial-form-section-empresa .trial-form-section-title { border-bottom-color: rgba(5, 150, 105, 0.2); }
}

.termos-details { margin: 1rem 0; border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; }
.termos-details summary { padding: 0.75rem 1rem; cursor: pointer; font-weight: 600; color: var(--accent-strong); background: var(--accent-tag-bg); }
.termos-details[open] summary { margin-bottom: 0; }
.termos-texto { margin: 0; }
.termos-check { display: flex; align-items: flex-start; gap: 0.5rem; margin: 1rem 0; cursor: pointer; }
.termos-check input { width: auto; max-width: none; margin-top: 0.25rem; }
.termos-check span { font-size: 0.95rem; }
.hero-small { padding: 2rem 1.5rem 2.5rem; min-height: auto; }
.hero-small .hero-inner { gap: 0; }

/* Technical */
.tech-block { margin-bottom: 1.5rem; }
.tech-block h3 { color: var(--accent-strong); margin-bottom: 0.5rem; font-size: 1.1rem; font-weight: 700; }
code { background: var(--accent-tag-bg); color: var(--accent-strong); padding: 0.2rem 0.5rem; border-radius: 6px; font-size: 0.9em; font-weight: 500; }
pre { background: #0d2818; color: #a7c4b0; padding: 1.25rem; border-radius: 12px; overflow-x: auto; font-size: 0.85rem; margin: 0.5rem 0; line-height: 1.5; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, var(--accent-tag-bg) 0%, rgba(5, 150, 105, 0.06) 100%);
  border: none;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
  transition: box-shadow 0.3s;
}
.cta-box:hover { box-shadow: var(--shadow-lg); }
.cta-box .btn { margin-top: 0.75rem; }
.cta-box p { font-size: 1.1rem; }

/* Ilustração em páginas internas */
.page-illustration { text-align: center; margin-bottom: 2rem; }
.page-illustration img { max-width: 200px; height: auto; opacity: 0.9; }

/* Mensagem do formulário (contato) */
.form-msg { margin: 1rem 0; padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.95rem; }
.form-msg-success { background: rgba(5, 150, 105, 0.15); color: var(--accent-strong); border: 2px solid var(--border-soft); }
.form-msg-error { background: #fef2f2; color: var(--danger); border: 2px solid #fecaca; }
.nav-links a.active { color: #ecfdf5; font-weight: 600; }
.nav-sep { width: 1px; height: 1.1em; background: rgba(255,255,255,.25); margin: 0 0.5rem; display: inline-block; vertical-align: middle; }
.nav-entrar { font-weight: 600; }
.footer-sep { color: rgba(255,255,255,.35); margin: 0 0.5rem; pointer-events: none; }
.footer-sep::before { content: "|"; }

@media (max-width: 768px) {
  .nav-mobile-right { display: flex; }
  .nav-toggle { display: flex; }
  .nav-links .nav-sep,
  .nav-links .nav-entrar { display: none; }
  .nav-entrar-mobile { display: inline-block; font-weight: 600; font-size: 0.95rem; color: #a7c4b0; }
.site-header .nav-entrar-mobile:hover { color: var(--text-on-brand); }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
    background: var(--bg-sidebar);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a,
  .nav-links .nav-sep {
    padding: 0.75rem 1.5rem;
    width: 100%;
    border-radius: 0;
  }
  .nav-sep { width: 100%; height: 1px; margin: 0.25rem 0; background: rgba(255,255,255,0.15); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-illustration img { max-width: 200px; }
  .hero-illustration .hero-logo { height: 90px; max-width: 240px; }
}

/* Modal CEP não encontrado */
.modal-cep { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-cep[hidden] { display: none; }
.modal-cep-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal-cep-box {
  position: relative; background: var(--bg-surface); border-radius: var(--radius);
  padding: 1.75rem; max-width: 400px; width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.modal-cep-titulo { margin: 0 0 0.75rem; font-size: 1.25rem; color: var(--accent-strong); }
.modal-cep-texto { margin: 0 0 1.5rem; color: var(--text-muted); line-height: 1.6; }
.modal-cep-botoes { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.modal-cep-botoes .btn { flex: 1; min-width: 120px; }
.modal-cep-box .btn-outline {
  color: var(--accent-strong);
  border: 2px solid var(--accent);
  background: transparent;
}
.modal-cep-box .btn-outline:hover {
  color: var(--accent-strong);
  background: var(--accent-tag-bg);
  border-color: var(--accent-strong);
}
