/* ═══════════════════════════════════════
   COMPLYA v6 — Site público
   ═══════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --p:   #166534;
  --ph:  #14532D;
  --p2:  #22C55E;
  --p3:  #4ADE80;
  --ps:  #ECFDF5;
  --bg:  #F8FAFC;
  --card:#FFFFFF;
  --border: #E5E7EB;
  --text:   #111827;
  --muted:  #6B7280;
  --danger: #DC2626;
  --success:#16A34A;
  --warning:#F59E0B;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.nav-brand { font-size: 1.3rem; font-weight: 900; color: var(--p) !important; letter-spacing: -.4px; text-decoration: none; }
.nav-brand em { color: var(--p2); font-style: normal; }
.nav-link { color: var(--text) !important; font-weight: 500; font-size: .875rem; padding: .4rem .7rem !important; border-radius: 8px; transition: .15s; }
.nav-link:hover { color: var(--p) !important; background: var(--ps); }
.nav-cta1 {
  padding: .5rem 1.1rem; border-radius: 8px; font-size: .84rem; font-weight: 700;
  border: 1.5px solid var(--p); background: transparent; color: var(--p);
  cursor: pointer; transition: .15s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-cta1:hover { background: var(--ps); color: var(--p); }
.nav-cta2 {
  padding: .55rem 1.2rem; border-radius: 8px; font-size: .84rem; font-weight: 700;
  background: var(--p); color: #fff; border: none;
  cursor: pointer; transition: .15s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-cta2:hover { background: var(--ph); box-shadow: 0 4px 12px rgba(22,101,52,.3); color: #fff; }

/* ── BOTÕES GLOBAIS ── */
.btn-p {
  background: var(--p2); color: #052e16; border: none;
  padding: .7rem 1.5rem; border-radius: 10px; font-weight: 800; font-size: .9rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none; transition: .2s;
}
.btn-p:hover { background: #16a34a; color: #fff; }
.btn-s {
  background: rgba(255,255,255,.13); color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  padding: .65rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: .9rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none; transition: .15s;
}
.btn-s:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-outline {
  background: transparent; color: var(--p); border: 2px solid var(--p);
  padding: .65rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: .875rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none; transition: .15s;
}
.btn-outline:hover { background: var(--p); color: #fff; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0D3321 0%, #166534 48%, #1a7a40 100%);
  color: #fff;
  padding: 72px 0 56px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: -40px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,222,128,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -60px; left: -40px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(22,101,52,.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 4px 13px; border-radius: 99px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px;
  color: rgba(255,255,255,.9);
}
.hero-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #4ADE80;
  animation: pls 2s ease-in-out infinite;
}
@keyframes pls { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero h1 { font-size: clamp(2rem,5vw,3.6rem); font-weight: 900; line-height: 1.06; letter-spacing: -.6px; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: #4ADE80; display: block; }
.hero .lead { font-size: .975rem; color: rgba(255,255,255,.72); max-width: 480px; margin-bottom: 22px; line-height: 1.7; }
.hero-btns { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stats { display: flex; }
.hero-stat { border-left: 2px solid rgba(255,255,255,.12); padding: 0 20px; }
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat strong { display: block; font-size: 1.7rem; font-weight: 900; color: #4ADE80; line-height: 1; }
.hero-stat span { font-size: .72rem; color: rgba(255,255,255,.52); }

/* ── DASHBOARD CARD ── */
.dash-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: 15px; padding: 16px; position: relative; z-index: 1;
}
.dash-head { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-title { font-size: .73rem; color: rgba(255,255,255,.5); font-weight: 600; margin-left: 5px; }
.dash-score {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.06); border-radius: 9px; padding: 11px 14px; margin-bottom: 9px;
}
.dash-num { font-size: 2.3rem; font-weight: 900; color: #4ADE80; line-height: 1; }
.dash-lbl { font-size: .68rem; color: rgba(255,255,255,.45); margin-top: 2px; }
.dash-ring {
  width: 50px; height: 50px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.1); border-top-color: #4ADE80;
  animation: spin 2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dash-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 8px; background: rgba(255,255,255,.05);
  border-radius: 6px; font-size: .75rem; color: rgba(255,255,255,.7); margin-bottom: 3px;
}
.tag-ok { background: rgba(74,222,128,.15); color: #86efac; padding: 1px 6px; border-radius: 3px; font-size: .65rem; font-weight: 700; }
.tag-w  { background: rgba(245,158,11,.15);  color: #fcd34d; padding: 1px 6px; border-radius: 3px; font-size: .65rem; font-weight: 700; }

/* ── LOGOS MARQUEE ── */
.logos-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.logos-lbl { text-align: center; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #C1C9D2; margin-bottom: 9px; }
.logos-track { display: flex; gap: 32px; animation: marq 22s linear infinite; width: max-content; }
.logos-track span { font-size: .9rem; font-weight: 800; color: #D1D9E0; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── SEÇÕES ── */
.section { padding: 80px 0; }
.section-alt   { background: #fff; }
.section-light { background: var(--ps); }
.eyebrow {
  display: inline-flex; background: var(--ps); color: var(--p);
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 99px; margin-bottom: 9px;
}
.eyebrow-dark {
  display: inline-flex; background: rgba(255,255,255,.12); color: rgba(255,255,255,.88);
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 99px; margin-bottom: 9px;
}
.section-title { font-size: clamp(1.6rem,3.2vw,2.4rem); font-weight: 800; line-height: 1.13; letter-spacing: -.3px; margin-bottom: 8px; }
.section-sub   { color: var(--muted); font-size: .95rem; max-width: 520px; margin-bottom: 2.5rem; line-height: 1.7; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── FEATURE CARDS ── */
.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 13px; padding: 1.6rem; height: 100%; transition: .22s;
}
.feat-card:hover { border-color: var(--p2); box-shadow: 0 10px 28px rgba(0,0,0,.07); transform: translateY(-4px); }
.feat-icon { width: 44px; height: 44px; background: var(--ps); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 1.2rem; }
.feat-card h5 { font-size: .9rem; font-weight: 700; margin-bottom: 5px; }
.feat-card p  { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── PLANOS ── */
.plan-card {
  background: var(--card); border: 2px solid var(--border);
  border-radius: 14px; padding: 1.875rem; position: relative; transition: .18s; height: 100%;
}
.plan-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.09); transform: translateY(-3px); }
.plan-card.hl   { border-color: var(--p); box-shadow: 0 0 0 4px rgba(22,101,52,.07); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--p); color: #fff; font-size: .68rem; font-weight: 800;
  padding: 2px 11px; border-radius: 99px; white-space: nowrap; letter-spacing: .03em;
}
.plan-name  { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.plan-desc  { font-size: .8rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.plan-price { font-size: 2.2rem; font-weight: 900; color: var(--p); line-height: 1; }
.plan-per   { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.plan-feats { list-style: none; margin-bottom: 1.6rem; }
.plan-feats li { display: flex; align-items: flex-start; gap: 6px; padding: .38rem 0; border-bottom: 1px solid var(--border); font-size: .83rem; line-height: 1.4; }
.plan-feats li:last-child { border: none; }
.plan-feats li::before { content: '✓'; color: var(--success); font-weight: 800; flex-shrink: 0; }
.plan-btn { width: 100%; padding: .75rem; border-radius: 10px; font-size: .85rem; font-weight: 700; cursor: pointer; transition: .15s; text-align: center; display: block; }
.plan-btn-p { background: var(--p); color: #fff; border: 2px solid var(--p); }
.plan-btn-p:hover { background: var(--ph); }
.plan-btn-o { background: transparent; color: var(--p); border: 2px solid var(--p); }
.plan-btn-o:hover { background: var(--p); color: #fff; }

/* ── TOGGLE ANUAL ── */
.plan-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 2rem; font-size: .875rem; font-weight: 600; }
.toggle-sw { width: 42px; height: 23px; position: relative; }
.toggle-sw input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--border); border-radius: 99px; cursor: pointer; transition: .2s; }
.toggle-track::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 17px; height: 17px; background: #fff; border-radius: 50%; transition: .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.toggle-sw input:checked ~ .toggle-track { background: var(--p); }
.toggle-sw input:checked ~ .toggle-track::before { transform: translateX(19px); }
.disc-pill { background: var(--ps); color: var(--p); font-size: .7rem; font-weight: 800; padding: 2px 7px; border-radius: 99px; }

/* ── DEPOIMENTOS ── */
.testi-card { background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: 1.6rem; height: 100%; }
.testi-stars { color: #F59E0B; font-size: .85rem; margin-bottom: 9px; }
.testi-txt { font-size: .875rem; color: var(--muted); font-style: italic; line-height: 1.7; margin-bottom: 14px; }
.testi-txt::before { content: '"'; font-size: 1.3rem; color: var(--p3); line-height: 1; vertical-align: -.1em; }
.testi-author { display: flex; align-items: center; gap: 9px; }
.testi-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--p2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: .8rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .84rem; }
.testi-role { font-size: .75rem; color: var(--muted); }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: .6rem; overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem; cursor: pointer; font-weight: 600; font-size: .875rem;
  background: var(--card); border: none; width: 100%; text-align: left;
  color: var(--text); gap: .75rem; transition: .12s;
}
.faq-q:hover { background: var(--ps); }
.faq-ic {
  width: 22px; height: 22px; border-radius: 50%; background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; flex-shrink: 0; transition: .25s;
}
.faq-item.open .faq-ic { background: var(--ps); color: var(--p); transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .2s;
  font-size: .86rem; color: var(--muted); line-height: 1.7; padding: 0 1.2rem;
}
.faq-item.open .faq-a { max-height: 400px; padding: .5rem 1.2rem 1.2rem; }

/* ── POSTS ── */
.post-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 13px;
  overflow: hidden; display: block; text-decoration: none; color: var(--text); height: 100%; transition: .2s;
}
.post-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-3px); color: var(--text); }
.post-thumb   { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; background: linear-gradient(135deg, var(--p), #065f46); }
.post-body    { padding: 1.2rem; }
.post-cat     { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--p2); margin-bottom: 5px; }
.post-title   { font-size: .92rem; font-weight: 700; line-height: 1.35; margin-bottom: 5px; }
.post-excerpt { font-size: .8rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.post-meta    { display: flex; align-items: center; gap: 5px; margin-top: 9px; font-size: .72rem; color: #C1C9D2; }

/* ── CONTATO ── */
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: 2rem; }
.form-lbl { font-size: .8rem; font-weight: 700; display: block; margin-bottom: 4px; }
.form-inp {
  width: 100%; padding: .62rem .875rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: .875rem; color: var(--text);
  background: var(--bg); font-family: inherit; transition: .15s;
}
.form-inp:focus { outline: none; border-color: var(--p2); box-shadow: 0 0 0 3px rgba(34,197,94,.1); background: #fff; }
.form-inp.err { border-color: var(--danger); }
.c-info    { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.c-info-ic { width: 36px; height: 36px; background: var(--ps); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--p); flex-shrink: 0; font-size: .9rem; }
.c-info-lbl { font-size: .7rem; color: var(--muted); }
.c-info-val { font-weight: 700; font-size: .84rem; }

/* ── NEWSLETTER ── */
.nl-section { background: linear-gradient(135deg, var(--p), #065F46); padding: 72px 0; color: #fff; }
.nl-inp {
  flex: 1; padding: .72rem 1rem; border: 2px solid rgba(255,255,255,.22);
  border-radius: 10px; background: rgba(255,255,255,.1); color: #fff;
  font-size: .88rem; font-family: inherit;
}
.nl-inp::placeholder { color: rgba(255,255,255,.5); }
.nl-inp:focus { outline: none; border-color: #4ADE80; }
.nl-btn {
  background: #fff; color: var(--p); border: none;
  padding: .72rem 1.2rem; border-radius: 10px; font-weight: 800; font-size: .875rem;
  cursor: pointer; white-space: nowrap; transition: .15s;
}
.nl-btn:hover { background: var(--ps); }

/* ── FOOTER ── */
.footer { background: #0A1A0D; color: rgba(255,255,255,.6); padding: 56px 0 20px; margin: 0; }
.footer-brand { font-size: 1.2rem; font-weight: 900; color: #fff; margin-bottom: 4px; letter-spacing: -.3px; }
.footer-brand em { color: #4ADE80; font-style: normal; }
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.footer h6 { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.28); margin-bottom: 9px; }
.footer a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .82rem; display: block; margin-bottom: 4px; transition: .12s; }
.footer a:hover { color: #4ADE80; }
.footer-hr { border-color: rgba(255,255,255,.06); margin: 2rem 0 1.25rem; }
.footer-bottom { font-size: .75rem; color: rgba(255,255,255,.28); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { display: inline; font-size: .75rem; color: rgba(255,255,255,.38); }
.soc-btn {
  width: 30px; height: 30px; background: rgba(255,255,255,.06); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); text-decoration: none; transition: .12s; font-size: .85rem;
}
.soc-btn:hover { background: rgba(255,255,255,.12); color: #4ADE80; }

/* ── CONSENT BAR ── */
#consent-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #fff; border-top: 2px solid var(--p);
  padding: .875rem 0; box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
#consent-bar.show { transform: translateY(0); }
.cb-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cb-text  { flex: 1; font-size: .84rem; color: var(--text); min-width: 220px; }
.cb-text a { color: var(--p); font-weight: 700; }
.cb-btns  { display: flex; gap: 7px; flex-shrink: 0; flex-wrap: wrap; }
.cb-accept  { background: var(--p); color: #fff; border: none; padding: .52rem 1.15rem; border-radius: 8px; font-size: .8rem; font-weight: 700; cursor: pointer; transition: .12s; }
.cb-accept:hover  { background: var(--ph); }
.cb-partial { background: transparent; color: var(--p); border: 2px solid var(--p); padding: .48rem 1.05rem; border-radius: 8px; font-size: .8rem; font-weight: 700; cursor: pointer; transition: .12s; }
.cb-partial:hover { background: var(--ps); }
.cb-reject  { background: transparent; color: var(--muted); border: 1px solid var(--border); padding: .48rem .95rem; border-radius: 8px; font-size: .8rem; font-weight: 600; cursor: pointer; }

/* ── WHATSAPP FLOAT ── */
#wa-float {
  position: fixed; bottom: 86px; right: 20px; z-index: 9990;
  width: 50px; height: 50px; background: #25D366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,211,102,.4); transition: .18s;
}
#wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,.5); color: #fff; }
#wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37,211,102,.3); animation: wapulse 2.5s ease-out infinite;
}
@keyframes wapulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

/* ── ALERTS ── */
.alert-site { padding: .72rem 1rem; border-radius: 9px; font-size: .85rem; display: none; align-items: center; gap: 7px; margin-bottom: 1rem; }
.alert-site.show { display: flex; }
.alert-ok-s  { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-err-s { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* ── MODAL DEMO ── */
.plan-selector { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.plan-opt { padding: 5px 13px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: .15s; color: var(--text); }
.plan-opt:hover { border-color: var(--p); color: var(--p); }
.plan-opt.sel   { border-color: var(--p); background: var(--ps); color: var(--p); }
.form-err { font-size: .72rem; color: #dc2626; margin-top: 3px; display: none; }
.form-inp.invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important; }

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  .hero { padding: 52px 0 40px; }
  .section { padding: 52px 0; }
  .hero-stat { padding: 0 14px; }
  .hero-stat:first-child { padding-left: 0; }
  .cb-inner { flex-direction: column; align-items: flex-start; }
  .cb-btns { width: 100%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { flex-wrap: wrap; gap: 10px; }
  .hero-stat { border-left: none; padding: 0; }
}
