/* ============================================================
   Pratique: Design System (landing institucional)
   Clay + Neumorphism · paleta sage/bege/terracota
   Tipografia: Bricolage Grotesque (títulos) + Plus Jakarta Sans (corpo)
   ============================================================ */

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

:root {
  /* superfícies — branco quente claro (mais leve que o bege #ebe9e1) */
  --bg: #faf9f7;
  --surface: #faf9f7;
  --surface-2: #f7f4ed;

  /* acentos */
  --ac: #4e8c72;
  --ac-l: #cfe4db;
  --ac-m: #8fbfa9;
  --ac-d: #2e6050;
  --terra: #c47355;
  --terra-l: #efd9cf;
  --terra-d: #9a4f33;

  /* texto — secundários escurecidos para legibilidade (antes #5f5a4e/#978f7d) */
  --text: #272520;
  --text2: #2c2a24;
  --text3: #4a463f;

  /* neumorphism */
  --nm-dark: rgba(173,165,144,.55);
  --nm-light: rgba(255,255,255,.92);
  --nm: 6px 6px 14px var(--nm-dark), -6px -6px 14px var(--nm-light);
  --nm-sm: 3px 3px 8px var(--nm-dark), -3px -3px 8px var(--nm-light);
  --nm-lg: 10px 10px 26px var(--nm-dark), -10px -10px 26px var(--nm-light);
  --nm-in: inset 4px 4px 9px var(--nm-dark), inset -4px -4px 9px var(--nm-light);

  /* clay */
  --clay-grad: linear-gradient(145deg, #6ab394 0%, #4e8c72 52%, #3a7060 100%);
  --clay-shadow: 4px 4px 12px rgba(78,140,114,.40), -2px -2px 6px rgba(255,255,255,.70), inset 0 1px 0 rgba(255,255,255,.22);

  --maxw: 1080px;
  --radius: 22px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* fundo com focos de luz da identidade + grão sutil */
.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 12%, rgba(110,170,140,.30), transparent 42%),
    radial-gradient(circle at 90% 8%, rgba(212,115,85,.16), transparent 38%),
    radial-gradient(circle at 86% 90%, rgba(78,140,114,.22), transparent 44%),
    radial-gradient(circle at 4% 92%, rgba(197,221,212,.36), transparent 40%),
    var(--bg);
}
.page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page > * { position: relative; z-index: 1; }
.page > header { z-index: 50; }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
a { color: inherit; }

.eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ac-d);
  margin-bottom: 14px;
}

/* ---------- container ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.narrow { max-width: 720px; }

/* ============================================================
   NAV / HEADER
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 28px;
  position: relative;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--clay-grad);
  box-shadow: 3px 3px 8px rgba(173,165,144,.60), -2px -2px 6px rgba(255,255,255,.90), inset 0 1px 0 rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 23px; font-weight: 700; letter-spacing: -1px;
  position: relative; overflow: hidden;
}
.logo-icon::before {
  content: ""; position: absolute; top: 8%; left: 14%;
  width: 44%; height: 44%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.30), transparent 70%);
}
.logo-nome { font-family: 'Bricolage Grotesque', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text2);
  text-decoration: none; transition: color .18s, box-shadow .18s;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--ac-d); box-shadow: var(--nm-in); }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

/* hamburger (mobile) */
.nav-toggle { display: none; }
.nav-burger {
  display: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--surface); box-shadow: var(--nm-sm);
  align-items: center; justify-content: center;
  color: var(--text); font-size: 22px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  border-radius: 999px; padding: 14px 28px;
  transition: opacity .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--clay-grad); color: #fff;
  box-shadow: var(--clay-shadow);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; top: 7%; left: 12%;
  width: 42%; height: 48%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.30), transparent 70%);
  pointer-events: none;
}
.btn-primary:hover { opacity: .92; }

.btn-ghost {
  background: var(--surface); color: var(--text2);
  box-shadow: var(--nm-sm);
}
.btn-ghost:hover { opacity: .8; }

.btn-outline {
  background: transparent; color: var(--ac-d);
  box-shadow: inset 0 0 0 1.5px var(--ac-m);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ac); }

/* ============================================================
   BADGES / PILLS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 15px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--ac-d); background: var(--ac-l);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); flex-shrink: 0; }
.badge-terra { color: var(--terra-d); background: var(--terra-l); }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--nm-sm);
  font-size: 13.5px; color: var(--text2); font-weight: 500;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--nm);
}
.card-icon {
  width: 50px; height: 50px; border-radius: 15px;
  background: var(--clay-grad);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: #fff;
  box-shadow: 3px 3px 8px rgba(78,140,114,.30), -1px -1px 4px rgba(255,255,255,.80), inset 0 1px 0 rgba(255,255,255,.25);
  position: relative; overflow: hidden;
}
.card-icon::before {
  content: ""; position: absolute; top: 8%; left: 12%;
  width: 44%; height: 44%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.28), transparent 70%);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4.2vw, 38px); margin-bottom: 14px; }
.section-head p { font-size: 16px; color: var(--text2); line-height: 1.65; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ============================================================
   LISTAS DE FUNCIONALIDADE
   ============================================================ */
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.feat-list li {
  position: relative; padding-left: 28px;
  font-size: 14.5px; color: var(--text2); line-height: 1.6;
}
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--ac-l);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232e6050' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.feat-list strong { color: var(--text); font-weight: 600; }

.tag-plan {
  display: inline-block; margin-left: 4px;
  font-size: 11px; font-weight: 600; vertical-align: middle;
  padding: 2px 9px; border-radius: 999px;
  background: var(--ac-l); color: var(--ac-d);
}
.tag-pro { background: var(--terra-l); color: var(--terra-d); }

/* ============================================================
   FORMULÁRIO
   ============================================================ */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px;
  color: var(--text); background: var(--surface);
  border: none; border-radius: 14px; padding: 13px 16px;
  box-shadow: var(--nm-in); outline: none; resize: vertical;
  color-scheme: light;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text3); }
.form-row input:focus, .form-row textarea:focus { box-shadow: var(--nm-in), 0 0 0 2px var(--ac-m); }

/* ============================================================
   TABELA COMPARATIVA
   ============================================================ */
.compare { width: 100%; border-collapse: collapse; min-width: 460px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; }
.compare thead th {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700;
  border-bottom: 1px solid rgba(151,143,125,.25);
}
.compare thead th span { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 500; color: var(--text3); margin-top: 2px; }
.compare tbody td { font-size: 14px; color: var(--text2); border-bottom: 1px solid rgba(151,143,125,.14); }
.compare tbody td:first-child { text-align: left; color: var(--text); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare .no { color: var(--text3); }
.compare .yes::after {
  content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 7px;
  background: var(--ac-l);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%232e6050' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; vertical-align: middle;
}

/* ============================================================
   FAQ (accordion nativo)
   ============================================================ */
.faq {
  background: var(--surface); border-radius: 16px;
  box-shadow: var(--nm-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px; font-size: 15.5px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--ac); flex-shrink: 0;
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; font-size: 14.5px; color: var(--text2); line-height: 1.65; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(151,143,125,.22);
  margin-top: 40px;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  max-width: var(--maxw); margin: 0 auto; padding: 48px 28px 28px;
}
.footer-col h4 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text3); margin-bottom: 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; }
.footer-col a { display: block; font-size: 14px; color: var(--text2); text-decoration: none; margin-bottom: 9px; transition: color .18s; }
.footer-col a:hover { color: var(--ac-d); }
.footer-about p { font-size: 13.5px; color: var(--text2); line-height: 1.6; margin-top: 12px; max-width: 260px; }
.footer-bottom {
  text-align: center; font-size: 12.5px; color: var(--text3);
  padding: 18px 24px 36px; border-top: 1px solid rgba(151,143,125,.18);
  max-width: var(--maxw); margin: 0 auto;
}
.footer-bottom a { color: var(--ac-d); text-decoration: none; }

/* ============================================================
   ANIMAÇÕES (load reveal)
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeUp .7s cubic-bezier(.2,.7,.3,1) both; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .feat-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 6px); right: 28px; left: 28px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-radius: 20px;
    box-shadow: var(--nm-lg); padding: 14px;
    display: none; z-index: 40;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-link { padding: 12px 16px; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-left: 0; margin-top: 4px; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-nav { padding: 16px 20px; }
  .nav-links { right: 20px; left: 20px; }
  .footer-grid { grid-template-columns: 1fr; padding: 36px 20px 24px; gap: 24px; }
  .section { padding: 44px 0; }
}
