:root {
  --ink: #1d1612;
  --ink-soft: #5a4d44;
  --bg: #fffaf5;
  --surface: #ffffff;
  --line: #f0e2d6;
  --brand: #f26a00;
  --brand-dark: #c44f00;
  --deep: #1d1612;
  --accent: #ff8a1f;
  --danger: #b3261e;
  --ok: #17703f;
  --radius: 18px;
  --shadow: 0 18px 50px -26px rgba(29, 22, 18, 0.3);
  --font-title: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

a { color: var(--brand-dark); }
img, svg { max-width: 100%; }

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.centro { text-align: center; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.pular-conteudo {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
}

.pular-conteudo:focus { top: 12px; }

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img { display: block; height: 44px; width: auto; }

.main-nav { display: flex; gap: 6px; }

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover { background: var(--line); }

.main-nav a[aria-current="page"] {
  background: var(--deep);
  color: #fff;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: 600 0.95rem var(--font-body);
  cursor: pointer;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--deep); }
.btn-primary:hover { background: #ffa04d; }
.btn-dark { background: var(--deep); color: #fff; }
.btn-claro { border-color: #d9c6b6; background: var(--surface); color: var(--ink); }
.btn-perigo { background: var(--danger); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, 0.45); color: #fff; }

/* Hero */
.hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(242, 106, 0, 0.5), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 138, 31, 0.16), transparent 60%),
    var(--deep);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero p { max-width: 54ch; color: #e8d9cc; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
}

.bars i {
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
}

.bars i:nth-child(1) { height: 28%; }
.bars i:nth-child(2) { height: 42%; }
.bars i:nth-child(3) { height: 58%; }
.bars i:nth-child(4) { height: 76%; }
.bars i:nth-child(5) { height: 100%; }

.hero-card small { display: block; margin-top: 16px; color: #e8d9cc; }

/* Seções */
.section { padding: 80px 0; }
.section-sem-topo { padding-top: 0; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-title h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-title p { color: var(--ink-soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #ffe9d6;
  color: var(--brand-dark);
  font: 700 1.2rem var(--font-title);
}

.card h3 { font-size: 1.15rem; }
.card p { margin: 0 0 0.8em; color: var(--ink-soft); }
.titulo-card { font-size: 1.3rem; }
.acao-card { margin-top: 20px; }

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffe9d6;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.note { margin-top: 14px; color: var(--ink-soft); font-size: 0.85rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 22px;
  counter-reset: passo;
}

.step {
  padding: 28px 24px 24px;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: passo;
}

.step::before {
  content: counter(passo, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font: 700 1.6rem var(--font-title);
}

.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-soft); }

.cta-band {
  padding: 56px 40px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
}

.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { max-width: 52ch; margin: 0 auto 24px; }

/* Páginas internas */
.page-hero {
  padding: 64px 0 56px;
  background: var(--deep);
  color: #fff;
}

.page-hero h1 { margin: 0 0 10px; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { margin: 0; max-width: 60ch; color: #e8d9cc; }

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.prose p, .prose li { color: var(--ink-soft); }
.inicio-apresentacao { max-width: 75ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.2rem; }
.prose ul { padding-left: 1.3em; }

/* Bloco de informações (endereço, e-mail, horários) */
.info-card { padding: 8px 28px; }

.info-block { padding: 22px 0; }
.info-block + .info-block { border-top: 1px solid var(--line); }
.info-block h3 {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.info-block p { margin: 0; color: var(--ink); }

.info-list { margin: 0; padding: 0; list-style: none; }

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.info-list li:last-child { border-bottom: 0; }

/* Formulários */
.form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px 18px;
}

.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 6; }
.field.full { grid-column: 1 / -1; }
.field.metade { grid-column: span 6; }
.field.col-2 { grid-column: span 2; }
.field.col-4 { grid-column: span 4; }
.field.col-6 { grid-column: span 6; }
.field label { font-weight: 600; font-size: 0.92rem; }

.field input:not([type="checkbox"]):not([type="file"]),
.field select,
.field textarea,
.filtro select {
  width: 100%;
  padding: 0 14px;
  border: 1px solid #d9c6b6;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field input:not([type="checkbox"]):not([type="file"]),
.field select { min-height: 42px; }

.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }

.dica { color: var(--ink-soft); font-size: 0.85rem; }

.alerta {
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid #efb8b4;
  border-radius: 12px;
  background: #fdecea;
  color: #7a1913;
}

.alerta p { margin: 0; color: inherit; }
.alerta-ok { border-color: #a9d8bb; background: #e8f6ee; color: #11502c; }

.armadilha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sucesso { text-align: center; padding: 48px 28px; }

.empty-state {
  padding: 56px 24px;
  border: 2px dashed #e3cdb9;
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  color: var(--ink-soft);
}

/* Blog */
.contato-conversa {
  padding: 24px 0;
  max-width: 54ch;
}

.contato-conversa h2,
.blog-em-breve h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  text-wrap: balance;
}

.contato-conversa > p { color: var(--ink-soft); }

.btn.btn-whatsapp {
  min-height: 40px;
  width: fit-content;
  padding: 0 16px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-whatsapp img {
  flex: 0 0 20px;
  filter: invert(1);
}

.blog-em-breve {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  border-block: 1px solid var(--line);
}

.blog-em-breve p { max-width: 56ch; color: var(--ink-soft); }
.blog-em-breve-acao { justify-self: end; }

@media (max-width: 700px) {
  .blog-em-breve { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .blog-em-breve-acao { justify-self: start; }
  .contato-layout { gap: 24px; }
  .contato-conversa { padding: 0; }
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 26px;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.post-card:hover { transform: translateY(-4px); }

.post-card-imagem {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--deep), var(--brand-dark));
}

.post-card-imagem img { display: block; width: 100%; height: 100%; object-fit: cover; }

.post-card-vazio {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.85);
  font: 700 1.2rem var(--font-title);
}

.post-card-corpo { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.post-card time { color: var(--ink-soft); font-size: 0.82rem; }
.post-card h3 { margin: 6px 0 10px; font-size: 1.15rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand-dark); }
.post-card p { margin: 0 0 16px; color: var(--ink-soft); }
.leia-mais { margin-top: auto; font-weight: 600; text-decoration: none; }

.paginacao { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }

.paginacao a {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.paginacao a[aria-current="page"] { border-color: var(--deep); background: var(--deep); color: #fff; }

.migalhas { margin-bottom: 14px; color: #e8d9cc; font-size: 0.9rem; }
.migalhas a { color: #fff; }

.artigo-largura { width: min(780px, 100% - 40px); }
.artigo-corpo { padding: 40px 0 24px; }
.artigo-capa { display: block; width: 100%; height: auto; margin-bottom: 32px; border-radius: var(--radius); }
.artigo .prose { font-size: 1.08rem; }

/* Rodapé */
.site-footer {
  margin-top: 40px;
  background: var(--deep);
  color: #e8d9cc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 32px;
}

.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { color: #e8d9cc; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { text-decoration: none; }

.credito-plataforma {
  cursor: pointer;
  text-decoration: none;
}

.credito-plataforma:hover,
.credito-plataforma:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

/* Animação de entrada */
.reveal.pending {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.pending.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .post-card { transition: none; }
  .reveal.pending { opacity: 1; transform: none; transition: none; }
}

/* Responsivo */
@media (max-width: 860px) {
  .hero-inner, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0; }
  .hero-card { max-width: 420px; }
  .section { padding: 56px 0; }
  .section-sem-topo { padding-top: 0; }
  .menu-toggle { display: inline-flex; align-items: center; }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
}

@media (max-width: 560px) {
  .field, .field.col-2, .field.col-4, .field.col-6 { grid-column: 1 / -1; }
  .cta-band { padding: 40px 22px; }
  .hero-actions .btn { width: 100%; }
  .hero-card { display: none; }
  .info-card { padding: 4px 20px; }
}
