/* Ebrick Play — tema "Alicerce" (fundação/construção), claro.
   Paleta: concreto claro + terracota/tijolo + amarelo de obra.
   Linguagem de forma: "brick-coursing" — faixa de tijolos/argamassa na
   base de cards e botões — distinta de todos os temas anteriores. */

:root {
  --bg: #EDEAE3;
  --bg-panel: #F5F3EE;
  --bg-panel-2: #E3DFD4;
  --ink: #2B2420;
  --ink-soft: #5B5349;
  --ink-faint: #8A8176;
  --brick: #B23A2E;
  --brick-dark: #8A2C22;
  --brick-ink: #FFFFFF;
  --amber: #E8A33D;
  --mortar: #D8D2C4;
  --line: rgba(43, 36, 32, 0.12);
  --line-strong: rgba(43, 36, 32, 0.24);
  --shadow-lg: 0 20px 46px rgba(43, 36, 32, 0.16);
  --shadow-sm: 0 6px 16px rgba(43, 36, 32, 0.12);
  --footer-bg: #211A16;
  --footer-text: #CFC6BB;
  --radius: 4px;
}

* { 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", system-ui, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: "Chivo", "Inter", sans-serif;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brick);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--amber);
  border: 2px solid var(--brick);
}

/* ---------- Faixa de tijolos (brick-coursing), reutilizável ---------- */
.brick-stripe {
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--brick) 0, var(--brick) 34px,
    var(--mortar) 34px, var(--mortar) 38px
  );
  background-position: 0 0, 17px 0;
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px 17px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--brick); color: var(--brick-ink); box-shadow: var(--shadow-sm); }
.btn-primary::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 16px, transparent 16px 20px);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: var(--bg-panel);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  border-bottom: 4px solid var(--amber);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--brick); border-bottom-color: var(--brick); }
.btn-lg { padding: 17px 34px 20px; font-size: 16px; }

/* ---------- 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) 92%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Chivo", sans-serif; font-weight: 900; font-size: 19px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.main-nav a:hover, .main-nav a.active { color: var(--brick); }
.btn-nav { padding: 10px 20px 13px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .btn-nav { align-self: flex-start; }
}

/* ---------- Hero "Planta Baixa" (blueprint) ---------- */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.hero-lead { font-size: 18px; max-width: 48ch; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brick);
  padding: 9px 14px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.trust-chip svg { width: 15px; height: 15px; stroke: var(--brick); flex-shrink: 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.blueprint {
  position: relative;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, var(--line) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, var(--line) 27px 28px),
    var(--bg-panel);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 26px 26px 0;
}
.blueprint-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "Chivo", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1.5px dashed var(--line-strong);
  padding-bottom: 14px; margin-bottom: 22px;
}
.blueprint-top .tag { color: var(--brick); }
.blocks-stack { display: flex; flex-direction: column-reverse; gap: 10px; padding-bottom: 22px; }
.block-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--brick);
  color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 13px 16px;
  border-radius: 3px;
}
.block-row:nth-child(1) { width: 100%; }
.block-row:nth-child(2) { background: var(--brick-dark); width: 86%; }
.block-row:nth-child(3) { background: var(--amber); color: var(--ink); width: 70%; }
.block-row .count { font-family: "Chivo", sans-serif; font-weight: 900; }
.blueprint-flag {
  position: absolute; top: -16px; right: 28px;
  background: var(--amber);
  color: var(--ink);
  font-family: "Chivo", sans-serif; font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
}
.blueprint-flag::after {
  content: "";
  position: absolute; left: 14px; bottom: -8px;
  border-width: 8px 6px 0; border-style: solid;
  border-color: var(--amber) transparent transparent;
}

/* ---------- Cards "brick-coursing" ---------- */
.card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--brick) 0 30px, var(--mortar) 30px 34px);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brick);
  margin-bottom: 16px;
}
.icon svg { width: 26px; height: 26px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }
.why-grid .card:nth-child(even) .icon { color: var(--amber); }
.why-grid .card:nth-child(even)::after { background-image: repeating-linear-gradient(90deg, var(--amber) 0 30px, var(--mortar) 30px 34px); }

/* ---------- Planos ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 48px; }
@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;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.plan-card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--brick) 0 30px, var(--mortar) 30px 34px);
}
.plan-card.featured { box-shadow: 0 0 0 2px var(--brick), var(--shadow-lg); }
.plan-card.featured::after { background-image: repeating-linear-gradient(90deg, var(--amber) 0 30px, var(--brick-dark) 30px 34px); }
.plan-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--amber); color: var(--ink);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 12px;
}
.plan-name { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; margin-bottom: 10px; }
.plan-price { font-family: "Chivo", sans-serif; font-size: 40px; font-weight: 900; }
.plan-permonth { font-size: 13px; color: var(--brick); font-weight: 700; margin-bottom: 4px; }
.plan-economia { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 20px; min-height: 32px; }
.plan-bullets { margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.plan-bullets li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-soft); align-items: flex-start; }
.plan-bullets svg { width: 17px; height: 17px; stroke: var(--brick); flex-shrink: 0; margin-top: 2px; }
.plan-card .btn { margin-top: auto; width: 100%; }

/* ---------- Device badge (páginas-satélite) ---------- */
.page-icon-badge {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brick) 12%, transparent);
  color: var(--brick);
  border-radius: var(--radius);
  border-left: 3px solid var(--brick);
  margin-bottom: 18px;
}
.page-icon-badge svg { width: 24px; height: 24px; }
.device-icon { width: 30px; height: 30px; color: var(--brick); }
.steps-list { counter-reset: step; display: grid; gap: 18px; margin-top: 36px; }
.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 54px;
  font-size: 15px; color: var(--ink-soft);
}
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px;
  background: var(--brick);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Chivo", sans-serif; font-weight: 900;
  border-radius: 3px;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--brick); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card img { border-radius: var(--radius); margin-bottom: 16px; }
.post-body { max-width: 72ch; margin: 0 auto; }
.post-body h2 { margin-top: 1.4em; }
.post-body li { color: var(--ink-soft); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 4px solid var(--brick); padding: 64px 0 0; }
.site-footer p { color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { max-width: 32ch; font-size: 14px; }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--amber); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--footer-text); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; font-size: 13px; color: var(--ink-faint); }
.footer-bottom p { margin: 0; color: var(--ink-faint); }

.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px;
  background: var(--brick);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
}
.wa-icon svg { width: 27px; height: 27px; }

/* ---------- Genéricos de página institucional ---------- */
.page-hero { padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.breadcrumbs { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--brick); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 13px 14px;
  font-family: inherit; font-size: 14px;
}
.contact-form label { font-size: 13px; color: var(--ink-faint); margin-bottom: 4px; display: block; }
.legal-body h2 { margin-top: 1.6em; font-size: 21px; }
.legal-body p, .legal-body li { font-size: 15px; }
.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font-size: 96px; color: var(--brick); }
