/* Five Three — tema claro "Via Dupla" (papel bone + laranja-sinal +
   verde-sálvia). Shape language própria: ".tape" — pequena fita/etiqueta
   rotacionada presa no canto do card (pseudo-elemento retângulo, sem
   clip-path, sem gradiente repetido, sem pontos de rebite — mecanismo
   inédito no histórico de sites). Fonte de título: Bricolage Grotesque
   (uso inédito no projeto). Botão primário com "canto que descola"
   (triângulo cresce no hover, simulando um adesivo se soltando). */

:root {
  --bg: #F5F1E9;
  --bg-panel: #FBF9F5;
  --bg-panel-2: #EFE8DB;
  --ink: #1C1A17;
  --ink-soft: #55504A;
  --ink-faint: #8C8579;
  --accent: #FF5A1F;
  --accent-dark: #D8460F;
  --accent-ink: #FFF4EC;
  --sage: #6B8F71;
  --sage-dark: #4F6F56;
  --line: rgba(28, 26, 23, 0.10);
  --line-strong: rgba(28, 26, 23, 0.20);
  --shadow-lg: 0 24px 60px rgba(28, 20, 12, 0.16);
  --shadow-sm: 0 10px 24px rgba(28, 20, 12, 0.10);
  --footer-bg: #1C1A17;
  --footer-text: #C9C2B8;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand span {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
section { padding: 72px 0; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

/* ---------- Ícones ---------- */
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  color: var(--accent);
}
.icon svg { width: 100%; height: 100%; }
.icon.alt { color: var(--sage-dark); }
.device-icon { display: inline-flex; width: 30px; height: 30px; color: var(--accent); }
.device-icon svg { width: 100%; height: 100%; }
.page-icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-dark); margin-bottom: 14px;
}
.page-icon-badge svg { width: 24px; height: 24px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  header.site-header {
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.header-inner {
  width: min(1120px, 92vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand span { font-size: 1.05rem; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
  padding: 8px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 8px; width: 42px; height: 42px; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-panel);
    border: 1px solid var(--line); border-top: none;
    border-radius: 0 0 14px 14px;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav a { display: block; padding: 12px 24px; border-bottom: none; border-left: 3px solid transparent; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
}

/* ---------- Botões: canto que descola (peel-corner) ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.98rem;
  padding: 14px 28px; border-radius: 10px;
  border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary::after, .btn-secondary::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 22px 22px;
  border-color: transparent transparent rgba(0,0,0,0.14) transparent;
  transition: border-width 0.22s ease;
}
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary:hover::after, .btn-secondary:hover::after { border-width: 0 0 34px 34px; }
.btn-secondary {
  background: var(--bg-panel); color: var(--sage-dark);
  border: 1.5px solid color-mix(in srgb, var(--sage) 55%, var(--line-strong));
}
.btn-secondary:hover { background: color-mix(in srgb, var(--sage) 10%, var(--bg-panel)); }

/* ---------- Shape language: .tape (fita presa no canto do card) ---------- */
.tape {
  position: relative;
  background: var(--bg-panel);
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  overflow: visible;
}
.tape::before {
  content: "";
  position: absolute;
  top: -11px; left: 26px;
  width: 54px; height: 22px;
  background: color-mix(in srgb, var(--accent) 70%, white 10%);
  opacity: 0.88;
  transform: rotate(-7deg);
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(28,20,12,0.15);
}
.tape.tape-sage::before {
  background: color-mix(in srgb, var(--sage) 72%, white 8%);
  left: auto; right: 26px;
  transform: rotate(6deg);
}

/* ---------- Hero: painel de números ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero .ghost-num {
  position: absolute; top: -40px; right: -10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(9rem, 22vw, 17rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--accent) 7%, transparent);
  line-height: 1; z-index: 0; pointer-events: none; user-select: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.hero .lead { font-size: 1.14rem; max-width: 520px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.trust-chip {
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-panel) 70%, transparent);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.stat-panel {
  background: var(--bg-panel);
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  padding: 30px 30px 10px;
  position: relative;
}
.stat-panel::before {
  content: "";
  position: absolute;
  top: -12px; left: 34px;
  width: 58px; height: 24px;
  background: var(--accent); opacity: 0.9;
  transform: rotate(-8deg); border-radius: 2px;
  box-shadow: 0 3px 6px rgba(28,20,12,0.18);
}
.panel-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--sage) 14%, transparent);
  color: var(--sage-dark); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.panel-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-dark); }
.stat-rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px);
  animation: statIn 0.6s ease forwards;
}
.stat-rows li:last-child { border-bottom: none; }
.stat-rows li:nth-child(1) { animation-delay: 0.1s; }
.stat-rows li:nth-child(2) { animation-delay: 0.3s; }
.stat-rows li:nth-child(3) { animation-delay: 0.5s; }
.stat-rows .stat-num {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: 1.9rem; color: var(--accent-dark); flex-shrink: 0;
}
.stat-rows .stat-label { color: var(--ink-faint); font-size: 0.92rem; text-align: right; }
@keyframes statIn { to { opacity: 1; transform: translateY(0); } }
.panel-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-size: 0.86rem; color: var(--ink-faint); }
.panel-note svg { width: 16px; height: 16px; color: var(--sage-dark); }

@media (prefers-reduced-motion: reduce) {
  .stat-rows li { animation: none !important; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stat-panel { max-width: 480px; margin: 0 auto; }
  .hero .ghost-num { font-size: clamp(7rem, 30vw, 10rem); top: -20px; }
}

/* ---------- Page hero (páginas institucionais) ---------- */
.page-hero { padding: 48px 0 20px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 760px; }
.page-hero .lead { max-width: 620px; font-size: 1.08rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- Legal (termos/privacidade) ---------- */
.legal-body { max-width: 740px; margin: 0 auto; }
.legal-body h2 { margin-top: 1.5em; font-size: 1.25rem; }
.legal-body p { color: var(--ink-soft); }

/* ---------- Grids genéricos ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Planos ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan-card {
  position: relative; display: flex; flex-direction: column;
}
.plan-card.featured {
  border-color: color-mix(in srgb, var(--sage) 55%, var(--line-strong));
  padding-top: 52px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sage) 30%, transparent), var(--shadow-lg);
}
.plan-card.featured::before { background: var(--sage); }
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--sage-dark); color: #F5F1E6;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  font-family: "Inter", sans-serif;
}
.plan-badge svg { width: 11px; height: 11px; stroke-width: 3; flex-shrink: 0; }
.plan-name { font-size: 1.1rem; margin-bottom: 4px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; }
.plan-price span { font-size: 1rem; color: var(--ink-faint); font-family: "Inter", sans-serif; font-weight: 600; }
.plan-permonth { font-size: 0.85rem; color: var(--sage-dark); font-weight: 700; margin: 4px 0 10px; }
.plan-note { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 18px; }
.plan-bullets { margin: 0 0 24px; flex-grow: 1; }
.plan-bullets li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 0.92rem; color: var(--ink-soft); }
.plan-bullets li svg { width: 17px; height: 17px; color: var(--sage-dark); flex-shrink: 0; margin-top: 2px; }
.plan-card .btn-primary, .plan-card .btn-secondary { justify-content: center; width: 100%; }

/* ---------- Cards genéricos ---------- */
.card { }
.card h3 { font-size: 1.12rem; }
.card p { font-size: 0.96rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-panel); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--ink);
}
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 16px; margin: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center; border-radius: 24px; padding: 64px 30px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line-strong);
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 64px; height: 24px; background: var(--accent); opacity: 0.9; border-radius: 2px;
  box-shadow: 0 3px 6px rgba(28,20,12,0.18);
}
.cta-final h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-final p { max-width: 560px; margin: 0 auto 26px; }

/* ---------- Device pages ---------- */
.device-hero { text-align: center; padding-top: 52px; }
.device-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-dark);
  font-weight: 800; font-family: "Bricolage Grotesque", sans-serif; margin-bottom: 14px;
}
.device-grid-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.device-mini-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 14px; text-align: center; border-radius: 14px;
  background: var(--bg-panel); border: 1px solid var(--line-strong);
}
.device-mini-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card img { border-radius: 14px 14px 0 0; }
.post-card .post-body { padding: 22px 24px 26px; }
.post-card .post-meta { font-size: 0.8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.post-content { max-width: 720px; margin: 0 auto; }
.post-content h2 { margin-top: 1.6em; font-size: 1.4rem; }
.post-content p, .post-content li { color: var(--ink-soft); font-size: 1.02rem; }
.post-content img { border-radius: 14px; margin: 24px 0; }

/* ---------- Formulário de contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.contact-list li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }
.notfound .code { font-size: 5rem; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; color: var(--accent); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 56px 0 0; border-top: 1px solid var(--line); }
.site-footer p, .site-footer .brand span { color: var(--footer-text); }
.footer-inner {
  width: min(1120px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 40px;
}
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h3 { font-family: "Inter", sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--footer-text); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { color: var(--footer-text); font-size: 0.92rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.whatsapp-float svg { width: 26px; height: 26px; }
