:root {
  --kraft: #f3ead3;
  --kraft-soft: #ece0c2;
  --surface: #ffffff;
  --ink: #2c1e14;
  --muted: #6b5940;
  --line: #d9c9a3;
  --coffee: #4a3222;
  --coffee-dark: #34210f;
  --coffee-soft: #ece3d3;
  --blue: #2b50aa;
  --blue-dark: #1f3c85;
  --blue-soft: #e3e9f6;
  --cream-muted: #c9b89a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--kraft);
  color: var(--ink);
  font-family: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2 {
  font-family: "Alfa Slab One", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h3, h4 {
  font-family: "Geologica", system-ui, sans-serif;
  font-weight: 700;
}

section[id], article[id] { scroll-margin-top: 96px; }

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--blue);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 234, 211, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  height: 2.9rem;
  width: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--coffee);
  color: var(--kraft);
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px rgba(74, 50, 34, 0.32);
}

.brand-text strong {
  display: block;
  font-family: "Geologica", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.nav a:not(.btn) {
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.nav a:not(.btn):hover {
  color: var(--ink);
  background: var(--coffee-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.35rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-solid {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(43, 80, 170, 0.3);
}

.btn-solid:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(43, 80, 170, 0.36);
}

.btn-ghost {
  border: 2px solid var(--coffee);
  color: var(--coffee);
  background: transparent;
}

.btn-ghost:hover { background: var(--coffee-soft); }

/* ---------- Hero (painel de esquina) ---------- */

.hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px dashed var(--line);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.5fr 1fr; }
}

.sign-panel {
  border: 8px double var(--coffee);
  border-radius: 0;
  background: var(--surface);
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(44, 30, 20, 0.12);
}

.hero h1 {
  margin: 0.4rem 0 0.9rem;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1;
}

.ribbon {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.hero-lead:last-of-type { margin-bottom: 0; }

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-facts {
  display: grid;
  gap: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(44, 30, 20, 0.08);
}

.fact { border-bottom: 1px dashed var(--line); padding-bottom: 1.1rem; }
.fact:last-child { border-bottom: 0; padding-bottom: 0; }

.fact small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.fact span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---------- Sobre + lateral ---------- */

.section { padding: 3.5rem 0; border-bottom: 1px dashed var(--line); }

.split {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}

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

.panel {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 14px 34px rgba(44, 30, 20, 0.06);
}

.panel h2 {
  margin: 0 0 1.25rem;
  font-size: 1.9rem;
}

.panel p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--muted);
}

.panel p:last-child { margin-bottom: 0; }

.side { display: grid; gap: 1.4rem; }

.card {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  padding: 1.75rem;
  box-shadow: 0 14px 34px rgba(44, 30, 20, 0.06);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.card-ico {
  height: 2.1rem;
  width: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.contact {
  display: grid;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

a.contact-row:hover .ico { background: var(--blue); color: #fff; }

.ico {
  height: 2.1rem;
  width: 2.1rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--blue-soft);
  color: var(--blue-dark);
  transition: background 0.15s, color 0.15s;
}

.break { word-break: break-all; }

/* ---------- Especialidades (vitrines) ---------- */

.vitrines-section h2 { margin: 0 0 1.75rem; font-size: 1.9rem; }

.vitrines {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.vitrine {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  padding: 2.5rem 1.5rem 1.5rem;
  box-shadow: 0 14px 34px rgba(44, 30, 20, 0.06);
}

.vitrine .tag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.7rem;
  border-radius: 0 0 0.6rem 0;
}

.vitrine p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Faixa de conveniência ---------- */

.linhas {
  background: var(--coffee);
  color: var(--kraft);
  padding: 3rem 0;
}

.linhas-title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cream-muted);
}

.linhas-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  text-align: center;
}

.linha {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.linha-ico {
  height: 2.4rem;
  width: 2.4rem;
  color: var(--kraft);
}

/* ---------- Dados oficiais ---------- */

.dados {
  background: var(--coffee-dark);
  color: var(--kraft);
  padding: 3.5rem 0;
}

.dados h2 {
  margin: 0 0 1.75rem;
  font-size: 1.9rem;
}

.dados-grid {
  display: grid;
  gap: 1.6rem;
  border-top: 1px dashed var(--muted);
  padding-top: 1.75rem;
}

@media (min-width: 720px) { .dados-grid { grid-template-columns: repeat(2, 1fr); } }

.dado-wide { grid-column: 1 / -1; }

.dado small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8fabe0;
}

.dado span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.footer { padding: 2.5rem 0; }

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.6fr 0.7fr; }
  .footer-links { justify-items: end; }
}

.footer-name {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.footer-data {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.footer-links a:hover { text-decoration: underline; }

/* ---------- Modal (Política de Privacidade) ---------- */

.modal {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 20, 13, 0.72);
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal-bg { position: absolute; inset: 0; }

.modal-box {
  position: relative;
  max-height: 80vh;
  width: 100%;
  max-width: 48rem;
  overflow-y: auto;
  border-radius: 0.9rem;
  background: var(--surface);
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  right: 1.1rem;
  top: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
}

.modal-box h2 {
  margin: 0;
  padding-right: 2rem;
  font-size: 1.5rem;
}

.modal-box h4 {
  margin: 1.5rem 0 0.25rem;
  font-size: 0.95rem;
}

.modal-box p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

.notfound .brand-mark { margin: 0 auto; }

.notfound-code {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: clamp(5rem, 14vw, 8rem);
  line-height: 1;
  color: var(--blue);
  margin: 1.5rem 0 0.5rem;
}

.notfound h1 {
  margin: 0;
  font-size: 1.75rem;
}

.notfound p {
  max-width: 28rem;
  margin: 1rem auto 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
