/* ============================================================
   CONDPOUPE — Site institucional (servido pelo condpoupe-web em '/')
   Tokens e layout do wireframe, responsivo + acessível.
   ============================================================ */

:root {
  --brand: #1B4FD8;
  --brand-dark: #1239A8;
  --brand-light: #EEF2FF;
  --accent: #16A34A;
  --accent-dark: #15803D;
  --warn: #F59E0B;
  --warn-dark: #B45309;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --shadow: 0 4px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .16);
  --maxw: 1100px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #fff; color: var(--gray-800); -webkit-font-smoothing: antialiased; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(27, 79, 216, .45); outline-offset: 2px; border-radius: 6px; }

/* Navbar */
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--gray-100); background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; min-height: var(--nav-h); }
.site-nav-logo { display: flex; align-items: center; gap: 10px; }
.site-nav-logo-mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 900; }
.site-nav-logo-text { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--gray-900); }
.site-nav-links { display: flex; gap: 28px; align-items: center; }
.site-nav-link { color: var(--gray-600); font-size: 13px; font-weight: 500; }
.site-nav-link:hover { color: var(--brand); }
.site-nav-cta { display: flex; gap: 10px; align-items: center; }
.btn-ghost-site { color: var(--gray-700); font-size: 13px; font-weight: 600; background: transparent; border: 1px solid var(--gray-200); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.btn-ghost-site:hover { border-color: var(--gray-300); }
.btn-prim-site { color: #fff; font-size: 13px; font-weight: 700; background: var(--brand); border: none; border-radius: 8px; padding: 9px 18px; cursor: pointer; }
.btn-prim-site:hover { background: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 1px solid var(--gray-200); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; font-size: 18px; color: var(--gray-700); }

/* Hero */
.hero { padding: 64px 24px 72px; background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; max-width: var(--maxw); margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(27, 79, 216, .08); border: 1px solid rgba(27, 79, 216, .15); color: var(--brand); font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-size: clamp(30px, 5vw, 44px); font-weight: 900; line-height: 1.1; color: var(--gray-900); letter-spacing: -0.02em; margin-bottom: 16px; }
.hero-title .accent { color: var(--brand); }
.hero-sub { font-size: 16px; color: var(--gray-600); line-height: 1.6; margin-bottom: 26px; max-width: 480px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-hero-prim { background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 14px 24px; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-hero-prim:hover { background: var(--brand-dark); }
.btn-hero-ghost { background: #fff; color: var(--gray-800); border: 1px solid var(--gray-200); border-radius: 10px; padding: 14px 24px; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-hero-ghost:hover { border-color: var(--gray-300); }
.hero-trust { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatar { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; }
.hero-trust-avatar:first-child { margin-left: 0; }
.hero-trust-text { font-size: 11px; color: var(--gray-600); }
.hero-trust-text strong { color: var(--gray-900); }
.hero-mock { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-phone { width: 220px; height: 440px; background: var(--gray-900); border-radius: 36px; border: 6px solid #1f2937; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-phone::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 18px; background: #1f2937; border-radius: 0 0 14px 14px; z-index: 10; }
.hero-phone-screen { width: 100%; height: 100%; background: var(--gray-50); padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.hp-greet { font-size: 9px; color: var(--gray-500); }
.hp-title { font-size: 13px; font-weight: 800; color: var(--gray-800); }
.hp-card { background: #fff; border-radius: 10px; padding: 9px; margin-top: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.hp-card-img { background: linear-gradient(135deg, #FECACA, #FCA5A5); height: 60px; border-radius: 6px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.hp-card-name { font-size: 10px; font-weight: 700; color: var(--gray-800); }
.hp-card-price-old { font-size: 8px; color: var(--gray-400); text-decoration: line-through; }
.hp-card-price-new { font-size: 13px; font-weight: 800; color: var(--accent); }
.hp-bar { height: 4px; background: var(--gray-100); border-radius: 99px; margin-top: 4px; overflow: hidden; }
.hp-bar > div { width: 78%; height: 100%; background: var(--accent); }
.hp-progress { display: flex; justify-content: space-between; font-size: 8px; color: var(--gray-500); margin-top: 3px; }
.hero-badge-float { position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; }
.hero-badge-float .emoji { font-size: 22px; }
.hero-badge-float .v { font-size: 14px; font-weight: 800; color: var(--accent); }
.hbf-1 { top: 30px; right: 0; }
.hbf-2 { bottom: 30px; left: 0; }

/* Stats */
.stats { padding: 40px 24px; background: #fff; border-bottom: 1px solid var(--gray-100); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.stat { text-align: center; }
.stat-val { font-size: clamp(28px, 4vw, 36px); font-weight: 900; color: var(--brand); letter-spacing: -0.02em; }
.stat-val .sub { font-size: 20px; color: var(--gray-500); }
.stat-lbl { font-size: 11px; color: var(--gray-500); font-weight: 600; margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }

/* Sections */
.section { padding: 80px 24px; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-eyebrow { color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4vw, 32px); font-weight: 800; color: var(--gray-900); letter-spacing: -0.02em; margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--gray-600); line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.step { background: var(--gray-50); border-radius: 16px; padding: 28px; border: 1px solid var(--gray-100); position: relative; }
.step-num { position: absolute; top: -14px; left: 24px; background: var(--brand); color: #fff; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

.para-quem { background: var(--gray-50); }
.cards-atores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.card-ator { background: #fff; border-radius: 18px; padding: 36px 28px; border: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 16px; transition: .2s; }
.card-ator:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-ator-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.ator-morador .card-ator-icon { background: rgba(27, 79, 216, .1); }
.ator-rep .card-ator-icon { background: rgba(22, 163, 74, .1); }
.ator-vendedor .card-ator-icon { background: rgba(245, 158, 11, .1); }
.card-ator-title { font-size: 20px; font-weight: 800; color: var(--gray-900); }
.card-ator-tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-block; width: fit-content; letter-spacing: .04em; text-transform: uppercase; }
.ator-morador .card-ator-tag { background: rgba(27, 79, 216, .1); color: var(--brand); }
.ator-rep .card-ator-tag { background: rgba(22, 163, 74, .1); color: var(--accent); }
.ator-vendedor .card-ator-tag { background: rgba(245, 158, 11, .1); color: var(--warn-dark); }
.card-ator-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.card-ator-list li { font-size: 13px; color: var(--gray-700); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; list-style: none; }
.card-ator-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.card-ator-cta { margin-top: 12px; font-size: 13px; font-weight: 700; padding: 11px; border-radius: 10px; cursor: pointer; border: none; text-align: center; }
.ator-morador .card-ator-cta { background: var(--brand); color: #fff; }
.ator-rep .card-ator-cta { background: var(--accent); color: #fff; }
.ator-vendedor .card-ator-cta { background: var(--warn-dark); color: #fff; }

.beneficios { padding: 80px 24px; background: #fff; }
.beneficios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--maxw); margin: 0 auto; }
.beneficio { padding: 24px; border: 1px solid var(--gray-100); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.beneficio-icon { font-size: 22px; width: 44px; height: 44px; background: var(--brand-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.beneficio-title { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.beneficio-desc { font-size: 12.5px; color: var(--gray-600); line-height: 1.5; }

.depoimentos { padding: 80px 24px; background: var(--gray-50); }
.depoimentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.depoimento { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid var(--gray-100); }
.depoimento-stars { color: var(--warn); margin-bottom: 14px; font-size: 14px; }
.depoimento-texto { font-size: 13.5px; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.depoimento-autor { display: flex; align-items: center; gap: 10px; }
.depoimento-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; }
.depoimento-nome { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.depoimento-cargo { font-size: 11px; color: var(--gray-500); }

.faq { padding: 80px 24px; background: #fff; }
.faq-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--gray-50); border-radius: 12px; border: 1px solid var(--gray-100); overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 16px; width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-q-text { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.faq-q-chevron { font-size: 14px; color: var(--gray-400); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-q-chevron { transform: rotate(180deg); }
.faq-a { font-size: 13px; color: var(--gray-600); line-height: 1.6; padding: 0 24px 20px; }

.cta-final { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); padding: 72px 24px; }
.cta-final-wrap { max-width: 800px; margin: 0 auto; text-align: center; color: #fff; }
.cta-final-title { font-size: clamp(28px, 5vw, 36px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-final-sub { font-size: 15px; opacity: .85; margin-bottom: 28px; line-height: 1.6; }
.cta-final-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-prim { background: #fff; color: var(--brand); border: none; border-radius: 10px; padding: 14px 26px; font-size: 14px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px; padding: 14px 26px; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }

.footer { background: var(--gray-900); color: var(--gray-400); padding: 56px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; max-width: var(--maxw); margin: 0 auto 40px; }
.footer-col-title { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-brand-text { font-size: 13px; line-height: 1.6; color: var(--gray-400); margin-top: 12px; max-width: 280px; }
.footer-link { display: block; font-size: 13px; color: var(--gray-400); padding: 4px 0; }
.footer-link:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--gray-700); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; color: var(--gray-500); flex-wrap: wrap; }
.footer-social { display: flex; gap: 12px; }
.footer-social-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .04); display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: .2s; }
.footer-social-icon:hover { background: rgba(255, 255, 255, .1); }

.blue { background: linear-gradient(135deg, #3B82F6, #1B4FD8); }
.green { background: linear-gradient(135deg, #22C55E, #16A34A); }
.amber { background: linear-gradient(135deg, #FBBF24, #B45309); }
.rose { background: linear-gradient(135deg, #FB7185, #E11D48); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-mock { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .site-nav { flex-wrap: wrap; }
  .site-nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; order: 3; padding: 8px 0 4px; }
  .site-nav-links.open { display: flex; }
  .site-nav-link { padding: 8px 0; font-size: 15px; }
  .site-nav-cta { display: none; }
  .steps, .cards-atores, .beneficios-grid, .depoimentos-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .section, .beneficios, .depoimentos, .faq { padding: 56px 20px; }
  .hero { padding: 48px 20px 56px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-ator:hover { transform: none; }
  * { transition: none !important; }
}
