/* ===== BRALIST — DESIGN SYSTEM ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ice:       #EFF5FB;
  --ice2:      #E0EAF6;
  --ice3:      #D0DFF0;
  --blue:      #1A5FA8;
  --blue-mid:  #1472C4;
  --blue-deep: #0D3D73;
  --blue-ink:  #07243F;
  --accent:    #0F8CE8;
  --border:    #C2D6EC;
  --border2:   #DAE8F5;
  --white:     #FFFFFF;
  --text:      #07243F;
  --muted:     #3D6490;
  --light:     #6E91B8;
  --wa:        #25D366;
  --wa-dark:   #1DAA57;
  --radius:    8px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

/* guarda contra rolagem horizontal. 'clip' em vez de 'hidden' porque
   'hidden' cria um contexto de rolagem e quebraria o position:sticky
   do cabecalho e da sidebar. */
body { overflow-x: clip; }
img, video { max-width: 100%; height: auto; }
h1, h2, h3, p, a, li { overflow-wrap: break-word; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ice);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  position: sticky;
  top: 0;
  z-index: 200;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--blue-deep);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.header-nav { display: flex; gap: 1.75rem; align-items: center; }
.header-nav a {
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--blue-deep); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wa);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.18s;
  white-space: nowrap;
}
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border2);
  padding: 10px 1.75rem;
  font-size: 12.5px;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { display: inline-block; padding: 4px 0; color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--border); }

/* ===== HERO ===== */
.hero {
  background: var(--blue-ink);
  padding: 42px 1.75rem 48px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6A9EC8;
  margin-bottom: 12px;
  font-weight: 400;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.hero h1 em { font-style: normal; color: #7BBFED; }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 28px;
  font-weight: 300;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  min-width: 0;
}
.search-bar select {
  border: none;
  border-left: 1px solid var(--border2);
  outline: none;
  padding: 14px 12px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--muted);
  background: var(--ice);
  min-width: 170px;
  cursor: pointer;
  flex-shrink: 0;
}
.search-bar button {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s;
}
.search-bar button:hover { background: var(--blue-deep); }

.hero-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hero-tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  padding: 5px 13px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.hero-tag:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ===== LAYOUT ===== */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 1.75rem 56px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
}
/* ===== classes extraidas de style inline ===== */
.leaf-title{font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:700;color:var(--blue-ink);margin-bottom:12px}
.cta-box{background:var(--blue-ink);border-radius:var(--radius-lg);padding:32px 24px;text-align:center;margin-bottom:28px}
.cta-box-title{font-family:'Playfair Display',serif;font-size:1.35rem;color:#fff;margin-bottom:10px;font-weight:700}
.cta-box-btn{max-width:380px;margin:0 auto;display:flex}
.panel{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-bottom:20px}
.panel-foot{margin-top:12px;margin-bottom:0}
.cta-box-sub-light{font-weight:300}
.cta-box-sub{font-size:14px;color:rgba(255,255,255,0.62);margin-bottom:22px;max-width:420px;margin-left:auto;margin-right:auto}
.eyebrow-dark{font-size:12px;letter-spacing:0.15em;text-transform:uppercase;color:#6A9EC8;margin-bottom:10px}
.link-blue{color:var(--blue);font-weight:500}
.wrap{max-width:1200px;margin:0 auto;padding:32px 1.75rem 56px}

@media (max-width: 768px) {
  /* --- layout: o conteudo vem primeiro, a navegacao lateral depois --- */
  .page-wrap { grid-template-columns: 1fr; padding: 20px 1rem 40px; gap: 20px; }
  .page-wrap > aside { order: 2; }

  /* A sidebar era 'display: none'. Isso tirava 12 links internos do
     rendering mobile-first do Google (2 deles nao existiam em nenhum
     outro lugar da pagina). Agora ela vira um bloco normal no fim. */
  .sidebar { display: block; position: static; top: auto; }
  .sidebar-list { max-height: none; overflow-y: visible; }

  /* --- cabecalho: nao havia NENHUMA media query aqui.
     logo + 3 links + botao nao cabiam em 360px. --- */
  .site-header { height: 56px; padding: 0 1rem; }
  .header-nav { display: none; }
  .logo { font-size: 1.15rem; }
  .btn-wa { padding: 10px 14px; font-size: 13px; }

  /* --- areas de toque >= 44px --- */
  .sidebar-list li a { min-height: 48px; padding: 12px 16px; }
  .footer-col a { padding: 9px 0; margin-bottom: 0; }
  .city-card { min-height: 46px; }
  .cat-card { min-height: 48px; }
  .hero-tag { padding: 9px 14px; }

  /* --- respiro lateral --- */
  .hero { padding: 34px 1rem 40px; }
  .breadcrumb { padding: 10px 1rem; }
  .site-footer { padding: 28px 1rem 20px; }
  .footer-links { gap: 1.75rem; }
  .footer-inner { gap: 1.5rem; }

  /* --- busca empilhada (input + select + botao nao cabem lado a lado) --- */
  .search-bar { flex-direction: column; }
  .search-bar select { min-width: 0; border-left: none; border-top: 1px solid var(--border2); }
  .search-bar button { padding: 15px 22px; }

  /* --- grids mais folgados --- */
  .cities-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 420px) {
  .cat-grid, .cities-grid { grid-template-columns: 1fr 1fr; }
  .prof-card-header { flex-wrap: wrap; }
}

/* ===== SIDEBAR ===== */
.sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: fit-content;
  overflow: hidden;
  position: sticky;
  top: 78px;
}
.sidebar-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  padding: 13px 16px 10px;
  border-bottom: 1px solid var(--border2);
  font-weight: 500;
}
.sidebar-list { list-style: none; max-height: 70vh; overflow-y: auto; }
.sidebar-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border2);
  transition: background 0.12s, color 0.12s;
}
.sidebar-list li a:hover { background: var(--ice); color: var(--blue-deep); }
.sidebar-list li a.active {
  background: var(--ice2);
  color: var(--blue);
  font-weight: 500;
  border-left: 3px solid var(--blue);
  padding-left: 13px;
}
.sidebar-count {
  font-size: 12px;
  color: var(--light);
  background: var(--ice);
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ===== SECTION HEADERS ===== */
.section-hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-hdr h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-ink);
  letter-spacing: -0.2px;
}
.section-hdr a { font-size: 13px; color: var(--accent); text-decoration: none; }

.section-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ===== STATE BAR ===== */
.state-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.state-badge {
  background: var(--ice2);
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.state-bar-text { font-size: 13px; color: var(--muted); }
.state-bar-links { display: flex; gap: 14px; }
.state-bar-links a { font-size: 12px; color: var(--accent); text-decoration: none; }

/* ===== CATEGORY CARDS ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.cat-card:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 14px rgba(26,95,168,0.1);
  transform: translateY(-1px);
}
.cat-icon {
  width: 40px; height: 40px;
  background: var(--ice);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-icon svg { width: 20px; height: 20px; }
.cat-name { font-size: 13.5px; font-weight: 500; color: var(--blue-ink); }
.cat-sub { font-size: 12px; color: var(--light); margin-top: 2px; }

/* ===== CITY CARDS ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 8px;
  margin-bottom: 30px;
}
.city-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s;
}
.city-card:hover { border-color: var(--blue); background: var(--ice); }
.city-name { font-size: 13px; color: var(--muted); }
.city-card:hover .city-name { color: var(--blue-deep); }
.city-arrow { font-size: 12px; color: var(--light); }

/* ===== HOW IT WORKS ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 28px;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.how-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ice3);
  line-height: 1;
  margin-bottom: 12px;
}
.how-title { font-size: 14px; font-weight: 500; color: var(--blue-ink); margin-bottom: 6px; }
.how-text { font-size: 13px; color: var(--light); line-height: 1.55; }

/* ===== ANUNCIE CTA ===== */
.anuncie-card {
  background: var(--blue-ink);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 28px;
}
.anuncie-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}
.anuncie-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-weight: 300;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PROFESSIONAL CARD (página de cidade) ===== */
.prof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.prof-card-header {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  padding: 28px 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.prof-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}
.prof-info { flex: 1; min-width: 0; }
.prof-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.prof-sub { font-size: 13.5px; color: rgba(255,255,255,0.72); margin-bottom: 10px; }
.prof-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.prof-body { padding: 28px; }
.prof-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-ink);
  margin: 24px 0 10px;
}
.prof-body h2:first-child { margin-top: 0; }
.prof-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.prof-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-ink);
  margin: 18px 0 6px;
}
.prof-body h3 + p { margin-bottom: 14px; }
.prof-body ul {
  margin: 0 0 16px 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 14px 0 20px;
}
.service-item {
  background: var(--ice);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--blue-deep);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-item::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== CTA STICKY BOTTOM ===== */
.cta-sticky {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.cta-sticky h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--blue-ink);
  margin-bottom: 6px;
}
.cta-sticky p { font-size: 13px; color: var(--light); margin-bottom: 14px; }
.btn-wa-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  width: 100%;
  transition: background 0.18s;
  font-family: 'DM Sans', sans-serif;
}
.btn-wa-lg:hover { background: var(--wa-dark); }
.btn-wa-lg svg { width: 20px; height: 20px; fill: #fff; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 1.75rem 22px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-deep);
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 12.5px; color: var(--light); margin-top: 6px; max-width: 210px; }
.footer-links { display: flex; gap: 3rem; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--light);
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--blue-deep); }
.footer-bottom {
  max-width: 1200px;
  margin: 22px auto 0;
  border-top: 1px solid var(--border2);
  padding-top: 16px;
  font-size: 12px;
  color: var(--light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== UTILS ===== */
.mb-6 { margin-bottom: 6px; }
.mb-16 { margin-bottom: 16px; }
.mb-28 { margin-bottom: 28px; }
.divider { border: none; border-top: 1px solid var(--border2); margin: 28px 0; }

.cta-box-link{margin:12px 0 0;text-align:center;font-size:13px}
.cta-box-link a{color:#7FC4FF;text-decoration:underline}
.cta-sticky p a{color:var(--blue);text-decoration:underline}

.header-nav .atual{font-size:13.5px;color:var(--blue-deep);font-weight:500;padding:10px 0}
.footer-col .atual{display:block;padding:5px 0;font-size:13px;color:var(--blue-deep);font-weight:500}

/* classes extraidas do ultimo style inline */
.mt-40{margin-top:40px}.mb-48{margin-bottom:48px}
.col-1{grid-template-columns:1fr}.row-10{display:flex;align-items:center;gap:10px}
.link-accent{color:#0F8CE8;text-decoration:none}.mt-16{margin-top:16px}

/* ancora nao some atras do cabecalho fixo */
:target{scroll-margin-top:76px}
h2[id],section[id],div[id]{scroll-margin-top:76px}

@media (min-width:769px) and (max-width:1024px){
  .page-wrap{grid-template-columns:200px 1fr;gap:22px}
  .site-header{padding:0 1.25rem}
  .header-nav{gap:1.1rem}
}

/* pagina de coluna unica: sem barra lateral, com medida de leitura */
.page-wrap.col-1{grid-template-columns:1fr}
.page-wrap.col-1>main{max-width:920px;margin:0 auto}
