/* ===================================================================
   UCHOA BIM & CUSTOS — Folha de estilo principal
   Design tokens extraídos do Brand Book oficial (seções 7 e 9)
   =================================================================== */

:root {
  /* Cores da marca */
  --navy: #0A192F;
  --navy-soft: #112340;
  --blue: #00D2FF;
  --cyan: #33E1FF;
  --white: #FFFFFF;
  --gray: #8E9AAF;
  --gray-soft: #c9d1e0;

  /* Tipografia */
  --font-title: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Espaçamento (escala 8px) */
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;

  /* Bordas e sombras */
  --radius: 4px;
  --radius-md: 8px;
  --shadow-light: 0 2px 4px rgba(10, 25, 47, 0.1);
  --shadow-medium: 0 4px 8px rgba(10, 25, 47, 0.15);
  --shadow-strong: 0 8px 24px rgba(10, 25, 47, 0.35);

  --maxw: 1140px;
}

/* ---------- Reset básico ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.15; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-lg); }
.section { padding: var(--sp-3xl) 0; }
.eyebrow {
  font-family: var(--font-title);
  font-weight: 600; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: var(--sp-md);
}
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--sp-md); }
.section-sub { color: var(--gray); font-size: 18px; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-title); font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: var(--radius);
  cursor: pointer; transition: all .2s ease; border: 2px solid transparent;
}
.btn-primary { background: var(--blue); color: var(--navy); }
.btn-primary:hover { background: var(--cyan); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,210,255,.35); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: rgba(0,210,255,.1); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }

/* ===================================================================
   HEADER
   =================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #0A192F;                 /* navy sólido — nunca fica acinzentado ao rolar */
  border-bottom: 1px solid rgba(0,210,255,.18);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 50px; }
.nav-links { display: flex; gap: var(--sp-xl); align-items: center; }
.nav-links a { color: var(--gray-soft); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
/* CTA do menu: maior especificidade para vencer a cor de .nav-links a */
.nav-links a.nav-cta { padding: 10px 22px; font-size: 14px; font-weight: 700; color: var(--navy); }
.nav-links a.nav-cta:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 26px; cursor: pointer; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(0,210,255,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(51,225,255,.10), transparent 55%),
    var(--navy);
  color: var(--white);
  padding: calc(72px + var(--sp-3xl)) 0 var(--sp-3xl);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(142,154,175,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(142,154,175,.06) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: var(--sp-lg); }
.hero h1 .accent { color: var(--blue); }
.hero p { font-size: 20px; color: var(--gray-soft); margin-bottom: var(--sp-xl); max-width: 620px; }
.hero-actions { display: flex; gap: var(--sp-md); flex-wrap: wrap; }
.hero-tags { display: flex; gap: var(--sp-md); flex-wrap: wrap; margin-top: var(--sp-2xl); }
.hero-tags span {
  font-family: var(--font-title); font-size: 13px; font-weight: 600;
  color: var(--cyan); border: 1px solid rgba(0,210,255,.3);
  padding: 7px 16px; border-radius: 100px;
}

/* ===================================================================
   DORES / PROBLEMAS
   =================================================================== */
.problems { background: #f6f8fb; }
.grid { display: grid; gap: var(--sp-lg); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid rgba(142,154,175,.35);
  border-radius: var(--radius-md); padding: var(--sp-xl);
  box-shadow: var(--shadow-light); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); border-color: var(--blue); }
.card .num { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: var(--blue); }
.card h3 { font-size: 19px; margin: var(--sp-sm) 0; }
.card p { color: var(--gray); font-size: 15px; }

/* ===================================================================
   SOLUÇÕES
   =================================================================== */
.sol-card {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-md); padding: var(--sp-xl);
  border: 1px solid rgba(0,210,255,.2); position: relative; overflow: hidden;
  transition: transform .2s;
}
.sol-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.sol-card .icon {
  width: 52px; height: 52px; border-radius: var(--radius-md); margin-bottom: var(--sp-md);
  background: rgba(0,210,255,.12); display: grid; place-items: center;
  color: var(--blue);
}
.sol-card .icon svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; }
.sol-card h3 { font-size: 20px; margin-bottom: var(--sp-sm); }
.sol-card p { color: var(--gray-soft); font-size: 15px; }

/* ===================================================================
   NÚMEROS / VALOR
   =================================================================== */
.stats { background: var(--navy); color: var(--white); }
.stats .grid-4 { gap: var(--sp-xl); }
.stat { text-align: center; }
.stat .big { font-family: var(--font-title); font-weight: 700; font-size: 48px; color: var(--blue); }
.stat .label { color: var(--gray-soft); font-size: 15px; margin-top: var(--sp-sm); }

/* ===================================================================
   MÉTODO
   =================================================================== */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-title); font-weight: 700; font-size: 22px;
  color: var(--white); background: var(--blue);
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
}
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--gray); font-size: 15px; }

/* ===================================================================
   CTA FINAL
   =================================================================== */
.cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(0,210,255,.18), transparent 60%),
    var(--navy);
  color: var(--white); text-align: center;
}
.cta h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: var(--sp-md); }
.cta p { color: var(--gray-soft); font-size: 18px; max-width: 560px; margin: 0 auto var(--sp-xl); }

/* ===================================================================
   CONTATO
   =================================================================== */
.contact-form { display: grid; gap: var(--sp-md); max-width: 560px; margin: 0 auto; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 15px;
  padding: 13px 16px; border: 1px solid var(--gray); border-radius: var(--radius);
  width: 100%; background: var(--white); color: var(--navy);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,210,255,.15);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: #06101f; color: var(--gray); padding: var(--sp-3xl) 0 var(--sp-xl); }
.footer-top { display: flex; justify-content: space-between; gap: var(--sp-2xl); flex-wrap: wrap; }
.footer img { height: 50px; margin-bottom: var(--sp-md); }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: var(--sp-md); }
.footer a { color: var(--gray); font-size: 14px; display: block; margin-bottom: var(--sp-sm); transition: color .2s; }
.footer a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(142,154,175,.15); margin-top: var(--sp-2xl);
  padding-top: var(--sp-lg); font-size: 13px; text-align: center;
}

/* ===================================================================
   RESPONSIVO
   =================================================================== */
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: fixed; top: 72px; right: 0; left: 0;
    background: var(--navy); flex-direction: column; gap: 0;
    padding: var(--sp-md) 0; transform: translateY(-150%); transition: transform .3s;
    border-bottom: 1px solid rgba(142,154,175,.15);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px var(--sp-lg); width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-2xl) 0; }
}

/* ===================================================================
   PÁGINAS INTERNAS (hero compacto + conteúdo)
   =================================================================== */
.page-hero {
  position: relative;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(0,210,255,.16), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: calc(72px + var(--sp-2xl)) 0 var(--sp-2xl);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(142,154,175,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(142,154,175,.06) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: var(--sp-md); }
.page-hero p { font-size: 18px; color: var(--gray-soft); max-width: 620px; }
.breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: var(--sp-md); }
.breadcrumb a { color: var(--cyan); }

/* Bloco de texto/prosa */
.prose { max-width: 760px; }
.prose p { color: #44506a; font-size: 17px; margin-bottom: var(--sp-md); }
.prose h2 { font-size: 28px; margin: var(--sp-xl) 0 var(--sp-md); }
.prose h3 { font-size: 20px; margin: var(--sp-lg) 0 var(--sp-sm); color: var(--navy); }
.prose ul.check { margin: var(--sp-md) 0; }
.prose ul.check li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
  color: #44506a; font-size: 16px;
}
.prose ul.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}

/* Lista de serviços (numerada em card) */
.service-list { display: grid; gap: var(--sp-md); }
.service-item {
  display: flex; gap: var(--sp-md); align-items: flex-start;
  background: var(--white); border: 1px solid rgba(142,154,175,.3);
  border-radius: var(--radius-md); padding: var(--sp-lg);
}
.service-item .n {
  flex: 0 0 auto; font-family: var(--font-title); font-weight: 700;
  color: var(--blue); font-size: 20px; min-width: 34px;
}
.service-item h3 { font-size: 17px; margin-bottom: 4px; }
.service-item p { color: var(--gray); font-size: 15px; margin: 0; }

/* Casos de sucesso */
.case-card {
  background: var(--white); border: 1px solid rgba(142,154,175,.3);
  border-radius: var(--radius-md); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.case-card .case-top { background: var(--navy); color: var(--white); padding: var(--sp-lg); }
.case-card .case-top .tag { font-size: 12px; color: var(--cyan); font-family: var(--font-title); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.case-card .case-top h3 { font-size: 19px; margin-top: 6px; }
.case-card .case-body { padding: var(--sp-lg); }
.case-card .case-body p { color: var(--gray); font-size: 14px; margin-bottom: 6px; }
.case-card .metric { font-family: var(--font-title); font-weight: 700; color: var(--blue); font-size: 30px; }

.partners { display: flex; flex-wrap: wrap; gap: var(--sp-md); justify-content: center; }
.partners span {
  font-family: var(--font-title); font-weight: 600; color: var(--gray);
  border: 1px solid rgba(142,154,175,.3); border-radius: var(--radius);
  padding: 10px 18px; font-size: 14px;
}
/* Logos de parceiros (cada uma num card branco para uniformizar) */
.partner-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); max-width: 880px; margin: 0 auto; }
.partner-logos .pl {
  background: #fff; border: 1px solid rgba(142,154,175,.25); border-radius: var(--radius-md);
  height: 130px; display: grid; place-items: center; padding: 22px;
  transition: transform .2s, box-shadow .2s;
}
.partner-logos .pl:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.partner-logos .pl img { max-width: 100%; max-height: 70px; object-fit: contain; }
@media (max-width:560px){ .partner-logos{ grid-template-columns: repeat(2,1fr); gap: var(--sp-md);} }

/* ===================================================================
   POR QUE A UCHOA (diferenciais — colunas numeradas)
   =================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2xl); margin-top: 48px; }
.why-col .why-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.why-num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--blue); color: var(--navy);
  font-family: var(--font-title); font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
}
.why-col h3 { font-size: 19px; line-height: 1.2; }
.why-col > p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.why-col ul.check li { font-size: 14px; color: #44506a; margin-bottom: 8px; }
@media (max-width:760px){ .why-grid { grid-template-columns: 1fr; gap: var(--sp-xl); } }

/* ===================================================================
   FAQ (perguntas frequentes — baseado em intenção de busca)
   =================================================================== */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq details {
  background: var(--white); border: 1px solid rgba(142,154,175,.3);
  border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--blue); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-title); font-weight: 600; font-size: 17px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .q-plus { margin-left: auto; color: var(--blue); font-size: 24px; line-height: 1; transition: transform .25s; flex: 0 0 auto; }
.faq details[open] summary .q-plus { transform: rotate(45deg); }
.faq .faq-a { padding: 0 22px 20px; color: #44506a; font-size: 16px; line-height: 1.65; }
.faq .faq-a a { color: var(--blue); font-weight: 600; }

/* ===================================================================
   HERO COM IMAGEM (home)
   =================================================================== */
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-2xl); align-items: center;
}
.hero-media {
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid rgba(0,210,255,.25);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { display: none; }
}

/* ===================================================================
   GALERIA DE IMAGENS (renders do portfólio)
   =================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.gallery figure {
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid rgba(142,154,175,.3); background: var(--navy);
  position: relative;
}
.gallery img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
  transition: transform .3s;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(10,25,47,.92));
  color: var(--white); font-size: 13px; font-weight: 500;
  padding: 24px 14px 12px;
}
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

/* Imagem destacada dentro de seção (figure simples) */
.figure-block { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(142,154,175,.3); }
.figure-block img { width: 100%; display: block; }

/* ===================================================================
   BLOG
   =================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid rgba(142,154,175,.3);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: var(--sp-lg); display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-family: var(--font-title); font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; }
.post-card h3 { font-size: 18px; margin: 8px 0; line-height: 1.3; }
.post-card p { color: var(--gray); font-size: 14px; flex: 1; }
.post-card .read { margin-top: var(--sp-md); font-family: var(--font-title); font-weight: 600; font-size: 14px; color: var(--blue); }
.post-card.soon { opacity: .65; }
.post-card.soon .read { color: var(--gray); }
@media (max-width: 880px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* Artigo do blog (texto longo) */
.article { max-width: 760px; }
.article .meta { color: var(--gray); font-size: 14px; margin-bottom: var(--sp-md); }
.article h2 { font-size: 26px; margin: var(--sp-xl) 0 var(--sp-sm); }
.article p { color: #44506a; font-size: 17px; margin-bottom: var(--sp-md); }
.article ul.check { margin: var(--sp-md) 0; }
.article .lead { font-size: 19px; color: var(--navy); }

/* ===================================================================
   BOTÃO FLUTUANTE DE WHATSAPP (fixo no canto, todas as páginas)
   =================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,.5); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.45);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
@media (max-width:560px){ .wa-float{ width:54px; height:54px; right:16px; bottom:16px;} .wa-float svg{width:30px;height:30px;} }

/* ===================================================================
   BOTÃO WHATSAPP
   =================================================================== */
.btn-whatsapp {
  background: #25D366; color: #073b22;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-whatsapp svg { width: 20px; height: 20px; fill: #073b22; }
.btn-whatsapp:hover { background: #1fc05d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.cta .btn-whatsapp { color: #073b22; }

/* ===================================================================
   ÍCONES STROKE (soluções) — garante visual consistente
   =================================================================== */
.icon-stroke { stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ===================================================================
   TIPOS DE OBRA (segmentos atendidos)
   =================================================================== */
.worktypes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.worktype {
  background: var(--white); border: 1px solid rgba(142,154,175,.3);
  border-radius: var(--radius-md); padding: var(--sp-lg);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.worktype:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); border-color: var(--blue); }
.worktype .wt-ico { width: 44px; height: 44px; border-radius: var(--radius); background: rgba(0,210,255,.12); display: grid; place-items: center; margin-bottom: 12px; }
.worktype .wt-ico svg { width: 24px; height: 24px; }
.worktype h3 { font-size: 17px; margin-bottom: 4px; }
.worktype p { color: var(--gray); font-size: 14px; }
@media (max-width: 760px) { .worktypes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .worktypes { grid-template-columns: 1fr; } }

/* Acordeão de segmentos (clique para ver as soluções por tipo de obra) */
.seg-acc { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); align-items: start; }
.seg { background: var(--white); border: 1px solid rgba(142,154,175,.3); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.seg[open] { border-color: var(--blue); box-shadow: var(--shadow-light); }
.seg summary {
  list-style: none; cursor: pointer; padding: 18px var(--sp-lg);
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-title); font-weight: 600; font-size: 17px; color: var(--navy);
}
.seg summary::-webkit-details-marker { display: none; }
.seg summary:hover { color: var(--blue); }
.seg .seg-ico { width: 40px; height: 40px; border-radius: var(--radius); background: rgba(0,210,255,.12); display: grid; place-items: center; flex: 0 0 auto; }
.seg .seg-ico svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seg .seg-arrow { margin-left: auto; color: var(--blue); font-size: 24px; line-height: 1; transition: transform .25s; }
.seg[open] .seg-arrow { transform: rotate(45deg); }
.seg .seg-body { padding: 0 var(--sp-lg) var(--sp-lg) 70px; }
.seg .seg-body p { color: var(--gray); font-size: 14px; margin-bottom: 10px; }
.seg .seg-body ul.check li { font-size: 14px; margin-bottom: 7px; color: #44506a; }
@media (max-width: 680px) { .seg-acc { grid-template-columns: 1fr; } .seg .seg-body { padding-left: var(--sp-lg); } }

/* ===================================================================
   GRÁFICO (comparativo de orçamento)
   =================================================================== */
.chart-wrap {
  background: var(--white); border: 1px solid rgba(142,154,175,.3);
  border-radius: var(--radius-md); padding: var(--sp-xl); box-shadow: var(--shadow-light);
}
.chart-wrap.dark { background: var(--navy-soft); border-color: rgba(0,210,255,.25); }
.chart-note { font-size: 13px; color: var(--gray); margin-top: var(--sp-md); }

/* ===================================================================
   FAIXA DE DESTAQUE (obras públicas na home)
   =================================================================== */
.highlight-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(0,210,255,.22), transparent 60%),
    var(--navy);
  border: 1px solid rgba(0,210,255,.25); border-radius: var(--radius-md);
  color: var(--white); padding: var(--sp-2xl);
  display: grid; grid-template-columns: 1.5fr auto; gap: var(--sp-xl); align-items: center;
}
.highlight-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(142,154,175,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(142,154,175,.06) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.highlight-band > * { position: relative; }
.highlight-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: var(--sp-sm); }
.highlight-band p { color: var(--gray-soft); font-size: 17px; max-width: 620px; }
.highlight-band .tag-pill { display:inline-block; font-family: var(--font-title); font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:var(--cyan); border:1px solid rgba(0,210,255,.4); border-radius:100px; padding:5px 14px; margin-bottom:14px; }
@media (max-width: 760px) {
  .highlight-band { grid-template-columns: 1fr; text-align: center; }
  .highlight-band p { margin: 0 auto; }
}
