/* ============================================================
   GestorCard — Landing Page CSS
   Mobile-first, sem dependências externas
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #2563eb;
  --primary-dk: #1d4ed8;
  --accent:     #10b981;
  --dark:       #0f172a;
  --dark-2:     #1e293b;
  --gray:       #64748b;
  --gray-lt:    #f1f5f9;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.15);
  --font:       'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn--primary  { background: var(--primary);    color: var(--white); }
.btn--primary:hover  { background: var(--primary-dk); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline  { border-color: var(--primary);  color: var(--primary); background: transparent; }
.btn--outline:hover  { background: var(--primary); color: var(--white); }
.btn--white    { background: var(--white);       color: var(--primary); }
.btn--white:hover    { background: #f0f6ff; transform: translateY(-1px); }
.btn--lg       { padding: .9rem 2rem; font-size: 1rem; }
.btn--sm       { padding: .5rem 1rem; font-size: .875rem; }
.btn--full     { width: 100%; }

/* --- Header ----------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}
.logo__icon { font-size: 1.4rem; }

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav a { font-weight: 500; color: var(--gray); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--primary); }

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  padding: .25rem;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-weight: 500; color: var(--dark); padding: .5rem 0; }

@media (min-width: 768px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

/* --- Hero -------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f5e9 100%);
  padding: 4rem 0 3rem;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
.badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}
.hero__content { max-width: 600px; }
.hero__content h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--dark);
}
.highlight { color: var(--primary); }
.hero__sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 1.75rem;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.hero__note {
  font-size: .85rem;
  color: var(--gray);
}

/* --- Dashboard Preview (hero visual) ---------------------- */
.dashboard-preview {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  width: 100%;
  max-width: 380px;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.dash-title { font-weight: 700; font-size: .95rem; color: var(--dark); }
.dash-badge {
  background: #dbeafe;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 99px;
}
.dash-cards { display: flex; flex-direction: column; gap: .65rem; }
.dash-card {
  background: var(--gray-lt);
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
  border-left: 4px solid var(--cor, var(--primary));
}
.dash-card__name { font-size: .8rem; color: var(--gray); display: block; }
.dash-card__val  { font-size: 1rem; font-weight: 700; color: var(--dark); display: block; }
.dash-bar {
  height: 5px;
  background: #e2e8f0;
  border-radius: 99px;
  margin: .4rem 0 .2rem;
  overflow: hidden;
}
.dash-bar__fill {
  height: 100%;
  width: var(--pct, 50%);
  background: var(--cor, var(--primary));
  border-radius: 99px;
}
.dash-card__label { font-size: .75rem; color: var(--gray); }
.dash-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--gray);
}
.dash-total strong { color: var(--dark); font-size: 1.05rem; }

@media (min-width: 960px) {
  .hero__inner { flex-direction: row; justify-content: space-between; }
  .hero__visual { flex-shrink: 0; }
}

/* --- Problema / Solução ------------------------------------ */
.section-problem {
  padding: 3rem 0;
  background: var(--white);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.problem-item {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.problem-item--before { background: #fff8f8; border-color: #fecaca; }
.problem-item--after  { background: #f0fdf4; border-color: #bbf7d0; }
.problem-item h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: .9rem; }
.problem-item li {
  padding: .35rem 0;
  font-size: .95rem;
  color: var(--gray);
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.problem-item--before li::before { content: "✗"; color: #ef4444; font-weight: 700; flex-shrink: 0; }
.problem-item--after  li::before { content: "✓"; color: #16a34a; font-weight: 700; flex-shrink: 0; }

@media (min-width: 640px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Section Header --------------------------------------- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.75rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: .75rem;
}
.section-header p { color: var(--gray); font-size: 1.05rem; }

/* --- Features --------------------------------------------- */
.section-features { padding: 4rem 0; background: var(--gray-lt); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-card--completo { border-color: #c7d2fe; background: #f5f3ff; }
.feature-badge {
  display: inline-block;
  background: #ede9fe;
  color: #7c3aed;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}
.feature-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p  { font-size: .93rem; color: var(--gray); line-height: 1.6; }

@media (min-width: 640px)  { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* --- Privacy ---------------------------------------------- */
.section-privacy {
  background: var(--dark-2);
  color: var(--white);
  padding: 3rem 0;
}
.privacy-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.privacy-icon { font-size: 3rem; }
.section-privacy h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: .6rem; }
.section-privacy p  { color: #94a3b8; line-height: 1.7; }

@media (min-width: 640px) {
  .privacy-inner { flex-direction: row; align-items: center; gap: 2rem; }
}

/* --- Plans ------------------------------------------------- */
.section-plans { padding: 4rem 0; background: var(--white); }
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
.plan-card--destaque {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #dbeafe;
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .9rem;
  border-radius: 99px;
  white-space: nowrap;
}
.plan-header h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.plan-price__value { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; }
.plan-price__period { font-size: .85rem; color: var(--gray); }
.plan-features { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.plan-features li {
  font-size: .93rem;
  color: var(--gray);
  display: flex;
  align-items: baseline;
  gap: .6rem;
}
.plan-features li.ok::before  { content: "✓"; color: #16a34a; font-weight: 700; flex-shrink: 0; }
.plan-features li.no::before  { content: "✗"; color: #cbd5e1; font-weight: 700; flex-shrink: 0; }
.plan-features li.no { color: #cbd5e1; }

@media (min-width: 640px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Download --------------------------------------------- */
.section-download {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  padding: 4rem 0;
  color: var(--white);
}
.download-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
.section-download h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: .75rem; }
.section-download p  { color: rgba(255,255,255,.85); max-width: 520px; line-height: 1.7; }
.download-info {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: 1rem;
}
.download-info span { font-size: .9rem; color: rgba(255,255,255,.9); }
.download-action { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.download-note { font-size: .82rem; color: rgba(255,255,255,.7); text-align: center; }

@media (min-width: 768px) {
  .download-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* --- FAQ --------------------------------------------------- */
.section-faq { padding: 4rem 0; background: var(--gray-lt); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 1.25rem 1.1rem;
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.7;
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 2.5rem 0 1.5rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.footer .logo__text { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.footer p { font-size: .9rem; margin-top: .35rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__links a { font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: .8rem; color: #475569; margin-top: .5rem; }

@media (min-width: 640px) {
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
}
