:root {
  --bg: #f6f5f2;
  --panel: #ffffff;
  --ink: #1b1f2a;
  --muted: #666b78;
  --accent: #7a1f2e;
  --accent-dark: #5c1620;
  --line: #e3e1da;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 140px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.demo-tag {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 6px;
  letter-spacing: 0.03em;
  font-family: Arial, sans-serif;
}

.topbar {
  background: var(--ink);
  font-family: Arial, sans-serif;
}
.topbar-inner {
  max-width: 1120px;
  margin: auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #c7c3c0;
}
.topbar-sep { color: #5c5854; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px -16px rgba(27, 31, 42, 0.5);
  font-family: Arial, sans-serif;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: auto;
  padding: 20px 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -4px rgba(122, 31, 46, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}
.brand-mark em { font-style: normal; }
.brand-name { font-weight: 700; font-size: 19px; display: flex; flex-direction: column; line-height: 1.25; letter-spacing: 0.01em; }
.brand-name small { font-weight: 400; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.header nav { display: flex; gap: 30px; font-size: 13px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }
.header nav a { position: relative; padding-bottom: 4px; }
.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.header nav a:hover { color: var(--accent-dark); }
.header nav a:hover::after { right: 0; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 2px;
  font-family: Arial, sans-serif;
  box-shadow: 0 10px 24px -10px rgba(122, 31, 46, 0.6);
  transition: background 0.2s, transform 0.2s;
}
.btn-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  max-width: 1120px;
  margin: auto;
  padding: 56px 24px 40px;
}
.hero-text { max-width: 560px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.2; margin: 0 0 20px; font-weight: 400; }
.hero .lead { font-family: Arial, sans-serif; color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 32px; }

.hero-image { position: relative; }
.hero-image::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  opacity: 0.55;
  z-index: 0;
}
.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 34px 64px -22px rgba(27, 31, 42, 0.5);
}

/* =========================================================
   Credenciais (faixa de confiança)
   ========================================================= */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 70px;
  padding: 0 24px;
  font-family: Arial, sans-serif;
}
.credential {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  padding: 26px 14px;
  box-shadow: 0 16px 32px -24px rgba(27, 31, 42, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.credential:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -18px rgba(122, 31, 46, 0.3);
}
.credential strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.credential span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.section-heading { text-align: center; max-width: 560px; margin: 0 auto 40px; font-family: Arial, sans-serif; }
.section-heading p { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin: 0 0 10px; }
.section-heading h2 { font-family: Georgia, serif; font-weight: 400; font-size: 28px; margin: 0; }

.roman {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 0 16px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.roman-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* =========================================================
   Áreas de Atuação (cards com foto)
   ========================================================= */
.areas { max-width: 1120px; margin: auto; padding: 30px 24px 90px; }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(27, 31, 42, 0.35);
}
.area-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.area-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.area-card:hover .area-photo img {
  transform: scale(1.04);
}
.area-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(27, 31, 42, 0.55));
}
.area-photo b {
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #f0d9dd;
  letter-spacing: 0.05em;
}
.area-body { padding: 16px 16px 20px; }
.area-body h3 { font-family: Georgia, serif; font-weight: 400; margin: 0 0 6px; font-size: 16px; }
.area-body p { font-family: Arial, sans-serif; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

/* =========================================================
   Como Funciona
   ========================================================= */
.funciona { max-width: 1120px; margin: auto; padding: 10px 24px 90px; font-family: Arial, sans-serif; }
.funciona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.funciona-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 20px;
}
.funciona-card b {
  display: block;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--line);
  margin-bottom: 12px;
}
.funciona-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 16px; margin: 0 0 8px; }
.funciona-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.funciona-destaques { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.destaque {
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 20px 22px;
}
.destaque strong { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 16px; color: var(--accent-dark); margin-bottom: 6px; }
.destaque span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* =========================================================
   Perguntas Frequentes
   ========================================================= */
.faq { max-width: 780px; margin: auto; padding: 10px 24px 90px; font-family: Arial, sans-serif; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 32px 18px 0;
  font-family: Georgia, serif;
  font-size: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { margin: 0; padding: 16px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* =========================================================
   Sobre
   ========================================================= */
.sobre { background: var(--ink); padding: 70px 24px; font-family: Arial, sans-serif; }
.sobre-copy { max-width: 640px; margin: auto; color: #fff; text-align: center; }
.sobre-copy p { color: #d9b7bd; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin: 0 0 12px; }
.sobre-copy h2 { font-family: Georgia, serif; font-weight: 400; font-size: 26px; margin: 0 0 16px; line-height: 1.4; }
.sobre-copy > span:not(.roman-light) { display: block; color: #c6cad4; line-height: 1.7; margin-bottom: 24px; }
.sobre-copy ul { list-style: none; padding: 0; margin: 0; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; }
.sobre-copy li { font-size: 14px; color: #e6e8ee; }
.sobre-copy li span { color: #d9b7bd; margin-right: 8px; }

/* =========================================================
   Contato
   ========================================================= */
.contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 1120px;
  margin: auto;
  padding: 80px 24px;
  font-family: Arial, sans-serif;
}
.contato-copy p { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin: 0 0 12px; }
.contato-copy h2 { font-family: Georgia, serif; font-weight: 400; font-size: 30px; margin: 0 0 14px; }
.contato-copy > span:not(.roman) { display: block; color: var(--muted); margin-bottom: 22px; }
.contato-endereco {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 28px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-size: 14px;
  color: var(--ink);
  font-style: normal;
}
.contato-mapa {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(27, 31, 42, 0.45);
}
.contato-mapa iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.03);
}

footer { text-align: center; padding: 40px 24px 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-family: Arial, sans-serif; }
footer p { max-width: 480px; margin: 0 auto 10px; }
footer a { color: var(--accent-dark); font-weight: 700; }

@media (max-width: 860px) {
  .header nav { display: none; }
  .topbar-inner { font-size: 11px; gap: 8px; flex-wrap: wrap; padding: 8px 20px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .credentials { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .funciona-grid { grid-template-columns: repeat(2, 1fr); }
  .funciona-destaques { grid-template-columns: 1fr; }
  .contato { grid-template-columns: 1fr; gap: 34px; padding: 60px 24px; }
  .contato-mapa iframe { height: 260px; }
}
@media (max-width: 520px) {
  .areas-grid { grid-template-columns: 1fr; }
  .funciona-grid { grid-template-columns: 1fr; }
  .topbar span:last-child,
  .topbar .topbar-sep:last-of-type { display: none; }
  .header-inner { padding: 16px 20px; }
  .brand-mark { width: 42px; height: 42px; font-size: 13px; }
  .brand-name { font-size: 16px; }
  .btn-cta { padding: 11px 14px; font-size: 13px; white-space: nowrap; }
}
