/* ===== Águas de São Pedro 24 (ASP) — tema responsivo ===== */
:root {
  --navy: #0e3344;
  --navy-2: #123c4f;
  --teal: #1d7a8c;
  --coral: #f05a4a;
  --azul: #2b9bd6;
  --azul-claro: #7fc9ea;
  --amarelo: #f2c230;
  --bg: #f2f7f8;
  --card: #ffffff;
  --text: #17323e;
  --muted: #5f7883;
  --line: #dde8ea;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(14, 51, 68, .1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.mini-caps { font-size: .6rem; letter-spacing: 2px; color: var(--navy); font-weight: 700; }

/* ===== Topbar ===== */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 60; }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 76px; }
.brand-texto strong { display: block; font-size: 1.1rem; font-weight: 800; letter-spacing: .4px; }
.brand-texto em { display: block; font-style: normal; font-size: .76rem; opacity: .85; }
.nav-menu { display: flex; list-style: none; gap: 8px; margin: 0 auto; }
.nav-menu a { display: block; padding: 10px 16px; font-weight: 700; font-size: .92rem; color: #fff; border-radius: 8px; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: rgba(255,255,255,.12); }
.nav-busca { padding: 9px 12px !important; }
.nav-toggle { display: none; background: rgba(255,255,255,.12); border: 0; border-radius: 8px; padding: 8px 10px; margin-left: auto; }
.nav-toggle span { display: block; width: 21px; height: 2.4px; background: #fff; margin: 4px 0; border-radius: 2px; }
.topbar-selo { display: flex; align-items: center; gap: 10px; }
.topbar-selo img { width: 54px; opacity: .9; }

/* ===== Tags ===== */
.tag { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; width: fit-content; }
.tag-cidade { background: #cfe4f5; color: var(--azul); }
.tag-termas { background: #d9f2ee; color: var(--teal); }
.tag-comercio { background: #fdefd0; color: #a97b12; }

/* ===== Hero ===== */
.hero { position: relative; }
.hero-foto { width: 100%; height: clamp(300px, 38vw, 480px); object-fit: cover; }
.hero-shape {
  position: absolute; left: 0; top: clamp(40px, 6vw, 90px); bottom: clamp(60px, 9vw, 140px);
  background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center;
  padding: 0 34px 0 44px; clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
  box-shadow: var(--shadow);
}
.hero-24 { font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 900; letter-spacing: -2px; }
.hero-conteudo {
  position: absolute; left: clamp(190px, 16vw, 300px); top: clamp(50px, 7vw, 110px);
  max-width: 560px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero-badge { background: var(--azul); font-size: .68rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; display: inline-block; }
.hero-conteudo h1 { font-size: clamp(1.4rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.15; margin: 12px 0 10px; }
.hero-conteudo h1 a:hover { text-decoration: underline; }
.hero-conteudo p { font-size: .95rem; line-height: 1.5; opacity: .96; }
.hero-conteudo p::after { content: ""; display: block; width: 40px; height: 4px; background: var(--coral); margin-top: 12px; border-radius: 2px; }
.hero-local {
  position: absolute; right: 20px; bottom: 16px; background: rgba(14, 51, 68, .85); color: #fff;
  display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 8px; font-size: .78rem;
}
.hero-local svg { color: var(--azul-claro); flex-shrink: 0; }
.hero-local strong { display: block; font-size: .8rem; }
.hero-local span { opacity: .85; }

/* ===== Linha do dia ===== */
.linha { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding-top: 22px; padding-bottom: 22px; }
.linha-intro h2 { font-size: 1.6rem; font-weight: 900; color: var(--navy); text-transform: uppercase; letter-spacing: -.3px; }
.linha-intro p { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.linha-trilho { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.linha-trilho::before {
  content: ""; position: absolute; top: 12px; left: 10px; right: 34px; height: 3px;
  background: var(--azul); border-radius: 2px;
}
.linha-item { position: relative; }
.linha-hora { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; position: relative; z-index: 2; }
.linha-ponto { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3.5px solid var(--azul); flex-shrink: 0; }
.linha-hora strong { font-size: 1.25rem; font-weight: 900; color: var(--navy); }
.linha-item a { display: flex; gap: 10px; align-items: flex-start; }
.linha-item img { width: 84px; height: 62px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.linha-item p { font-size: .78rem; line-height: 1.4; color: var(--text); }
.linha-item a:hover p { color: var(--azul); }
.linha-fim { position: absolute; right: 0; top: 2px; color: var(--azul); }

/* ===== Radar da cidade ===== */
.radar { background: var(--bg); padding-bottom: 24px; }
.radar-inner { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: center; }
.radar-intro h2 { display: flex; align-items: center; gap: 9px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; color: var(--navy); }
.radar-intro h2 svg { color: var(--azul); }
.radar-intro p { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.radar-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.radar-card {
  display: flex; gap: 10px; align-items: center; color: var(--navy); padding: 14px 22px 14px 18px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  min-height: 108px; transition: transform .15s;
}
.radar-card:first-child { border-radius: 8px 0 0 8px; }
.radar-card:hover { transform: translateX(3px); }
.chevron-coral { background: var(--coral); }
.chevron-azul { background: var(--azul-claro); }
.chevron-amarelo { background: var(--amarelo); }
.chevron-teal { background: #147d8e; color: #fff; }
.radar-num { font-size: .95rem; font-weight: 900; opacity: .8; }
.radar-icone { color: #fff; background: rgba(0,0,0,.14); border-radius: 50%; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.radar-card h3 { font-size: 1rem; font-weight: 800; }
.radar-card p { font-size: .76rem; line-height: 1.35; margin-top: 2px; }
.radar-seta { flex-shrink: 0; }

/* ===== Explore a cidade ===== */
.rotas { display: flex; gap: 22px; align-items: center; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.rotas-intro { max-width: 220px; }
.rotas-intro h2 { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; color: var(--navy); }
.rotas-intro h2 svg { color: var(--teal); }
.rotas-intro p { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.rotas-cards { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.rota-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 10px; color: var(--navy);
  min-width: 240px; flex: 1; box-shadow: var(--shadow); transition: transform .15s;
}
.rota-card:hover { transform: translateY(-3px); }
.rota-teal { background: var(--navy-2); color: #fff; }
.rota-amarelo { background: var(--amarelo); }
.rota-icone { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rota-card strong { display: block; font-size: .95rem; }
.rota-card span { font-size: .74rem; opacity: .85; }
.rota-seta { margin-left: auto; }
.clima { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-left: auto; }
.clima-icon { font-size: 1.9rem; }
.clima em { font-size: .74rem; display: block; color: var(--muted); font-style: normal; }
.clima strong { font-size: 1.7rem; font-weight: 900; color: var(--navy); line-height: 1.1; display: block; }
.clima-desc { font-size: .72rem; color: var(--muted); }

/* ===== Veja também ===== */
.veja { display: grid; grid-template-columns: 200px 1fr; gap: 22px; padding-bottom: 16px; }
.veja-intro h2 { display: flex; align-items: center; gap: 6px; font-size: 1.35rem; font-weight: 900; color: var(--navy); }
.veja-intro h2 svg { color: var(--coral); }
.veja-intro p { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.veja-grid { display: flex; flex-direction: column; gap: 12px; }
.veja-item { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.veja-item > a { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: center; padding: 12px; }
.veja-item img { width: 100%; height: 108px; object-fit: cover; border-radius: 8px; }
.veja-chave { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.veja-chave strong { color: var(--coral); font-size: 1.05rem; font-weight: 900; font-style: italic; }
.veja-item h3 { font-size: 1rem; color: var(--navy); line-height: 1.3; }
.veja-item p { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.veja-item:hover h3 { color: var(--azul); }

/* ===== Paginação ===== */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 10px 0 26px; }
.page-btn { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 8px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--navy); transition: .15s; }
.page-btn:hover { border-color: var(--azul); color: var(--azul); }
.page-btn.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-ellipsis { align-self: end; padding: 6px; color: var(--muted); }

/* ===== Post / páginas ===== */
.post { margin-top: 24px; }
.post, .static-page { max-width: 840px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px clamp(18px, 4vw, 40px); }
.static-page { margin-top: 24px; }
.post-header { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.post-header h1 { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.4px; margin-top: 10px; color: var(--navy); }
.post-meta { color: var(--muted); font-size: .86rem; margin-top: 8px; }
.post-image { margin: 0 0 20px; border-radius: 10px; overflow: hidden; }
.post-content { font-size: 1rem; }
.post-content p { margin-bottom: 1em; }
.post-content h2, .post-content h3 { margin: 1.2em 0 .5em; color: var(--navy); }
.post-content ul, .post-content ol { margin: 0 0 1em 1.4em; }
.post-content blockquote { border-left: 4px solid var(--coral); background: #fdf0ee; padding: 12px 18px; border-radius: 0 8px 8px 0; margin-bottom: 1em; }
.post-share { display: flex; gap: 12px; align-items: center; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; }
.post-share span { font-weight: 700; color: var(--muted); }
.post-share a { background: var(--bg); padding: 7px 14px; border-radius: 20px; font-weight: 600; }
.post-share a:hover { color: var(--azul); }
.related { margin-top: 24px; }
.related h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.categoria-page { margin-top: 24px; }
.categoria-head { border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 18px; }
.categoria-head h1 { font-size: 1.6rem; font-weight: 900; color: var(--navy); text-transform: uppercase; }
.categoria-head p { color: var(--muted); font-size: .9rem; }
.btn { display: inline-block; background: var(--coral); color: #fff !important; font-weight: 700; padding: 11px 26px; border-radius: 8px; border: 0; cursor: pointer; margin-top: 16px; }
.btn:hover { background: #d94a3b; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fbfdfd; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--azul); border-color: transparent; }
.page-404 { text-align: center; }
.page-404 h1 { font-size: 4rem; color: var(--coral); }
.busca-box { display: flex; gap: 10px; max-width: 540px; margin: 20px auto 24px; }
.busca-box input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }

/* ===== Rodapé ===== */
.rodape { background: var(--navy); color: #cfe3ec; margin-top: 20px; }
.rodape-inner { display: flex; align-items: center; gap: 14px; padding: 22px 20px; flex-wrap: wrap; }
.rodape-marca { display: flex; align-items: center; gap: 10px; }
.rodape-marca img { background: #fff; border-radius: 8px; padding: 3px; width: 62px; }
.rodape-marca strong { font-size: 1rem; color: #fff; display: block; }
.rodape-marca span { font-size: .74rem; opacity: .8; display: block; }
.rodape-sep { opacity: .35; }
.rodape-cidade { font-size: .82rem; font-weight: 600; }
.rodape-frase { font-size: .8rem; opacity: .85; }
.rodape-nav { display: flex; gap: 6px 16px; flex-wrap: wrap; margin-left: auto; font-size: .8rem; }
.rodape-nav a:hover { color: #fff; text-decoration: underline; }
.rodape-social { display: flex; gap: 8px; }
.rodape-social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; }
.rodape-social a:hover { background: #fff; color: var(--navy); }
.rodape-selo { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rodape-selo img { width: 94px; opacity: .9; }
.rodape-base { border-top: 1px solid rgba(255,255,255,.14); padding: 12px 20px; font-size: .74rem; opacity: .85; }

/* ===== Responsivo ===== */
@media (max-width: 1180px) {
  .radar-cards { grid-template-columns: repeat(2, 1fr); }
  .radar-card { clip-path: none; border-radius: 10px; }
  .linha-trilho { grid-template-columns: repeat(2, 1fr); }
  .linha-trilho::before, .linha-fim { display: none; }
  .topbar-selo { display: none; }
}
@media (max-width: 860px) {
  .linha, .radar-inner, .veja { grid-template-columns: 1fr; }
  .hero-conteudo { position: relative; left: 0; max-width: none; padding: 18px 20px 0; color: var(--navy); text-shadow: none; }
  .hero-shape { position: relative; display: inline-flex; margin: 14px 0 0 16px; top: 0; bottom: 0; }
  .hero-foto { height: 260px; }
  .hero { background: var(--bg); }
  .hero-local { position: static; margin: 10px 20px; width: fit-content; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0; z-index: 80;
    flex-direction: column; gap: 2px; background: var(--navy-2); padding: 10px 16px 14px;
    box-shadow: 0 14px 24px rgba(0,0,0,.3);
  }
  .nav-menu.open { display: flex; }
  .topbar-inner { position: relative; }
  .clima { margin-left: 0; }
}
@media (max-width: 520px) {
  .radar-cards { grid-template-columns: 1fr; }
  .linha-trilho { grid-template-columns: 1fr; }
  .rotas-cards { flex-direction: column; width: 100%; }
  .veja-item > a { grid-template-columns: 1fr; }
  .veja-item img { height: 160px; }
  .brand-texto em { display: none; }
  .rodape-nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
