/* =========================================================
   Guia Porto Feliz — estilos
   Cores tiradas do logo: verde #70C113, azul #084B71, sol #F9BD1F
   ========================================================= */
:root {
  --green: #70c113;
  --green-d: #4f9a06;
  --green-l: #eef8e2;
  --navy: #084b71;
  --navy-d: #05344f;
  --navy-l: #e6f0f6;
  --sun: #f9bd1f;
  --sun-d: #e0a405;
  --sun-l: #fff6dc;
  --wa: #1fa855;
  --ink: #17293a;
  --muted: #5d6f7d;
  --line: #e2e9e4;
  --bg: #f6f8f3;
  --card: #ffffff;
  --danger: #c63b2f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(8, 75, 113, .06), 0 6px 24px rgba(8, 75, 113, .07);
  --shadow-h: 0 2px 4px rgba(8, 75, 113, .08), 0 14px 34px rgba(8, 75, 113, .13);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Poppins', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green-d); }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.inline { display: inline; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 .95rem/1 var(--font); padding: 13px 20px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, color .15s; text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: .84rem; }
.btn-block { display: flex; width: 100%; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); color: #fff; }
.btn-sun { background: var(--sun); color: var(--navy-d); }
.btn-sun:hover { background: var(--sun-d); color: var(--navy-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn-wa::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.4.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.4.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f1d0cc; }
.btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.btn + .btn-block, .btn-block + .btn-block { margin-top: 10px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-d); color: #cfe0ea; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 16px; }
.tb-date { display: inline-block; }
.tb-date::first-letter { text-transform: uppercase; }
.tb-clima { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.tb-clima small { color: #9fbfd2; font-weight: 400; }
.topbar a, .topbar .linkbtn { color: #e6f0f6; font-weight: 500; }
.topbar a:hover, .topbar .linkbtn:hover { color: var(--sun); }
.tb-cta { background: var(--green); color: #fff !important; padding: 4px 12px; border-radius: 999px; }
.tb-cta:hover { background: var(--green-d); }

/* ---------- Header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
.logo img { height: 84px; width: auto; }
.search { flex: 1; display: flex; max-width: 560px; background: var(--bg); border: 2px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .15s; }
.search:focus-within { border-color: var(--green); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; padding: 12px 20px; font: inherit; color: var(--ink); min-width: 0; outline: 0; }
.search button { border: 0; background: var(--navy); color: #fff; width: 52px; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--green); }
.header-cta { margin-left: auto; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ---------- Nav ---------- */
.nav { background: var(--green); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(8,75,113,.12); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav-list > li > a { display: block; padding: 14px 18px; color: #fff; font: 600 .95rem var(--display); letter-spacing: .01em; position: relative; }
.nav-list > li > a:hover, .nav-list > li > a.ativo { background: var(--green-d); color: #fff; }
.nav-list > li > a.ativo::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--sun); }
.caret { font-size: .7em; opacity: .85; }
.nav-mobile-only { display: none; }
.has-mega { position: relative; }
.mega { position: absolute; top: 100%; left: 0; width: min(760px, 92vw); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-h); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mega-grid a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.mega-grid a:hover { background: var(--green-l); color: var(--navy); }
.mega-grid span { font-size: 1.15rem; }

/* ---------- Flash ---------- */
.flash { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; border-left: 5px solid; }
.flash-ok { background: var(--green-l); border-color: var(--green); color: #2f5d05; }
.flash-erro { background: #fdecea; border-color: var(--danger); color: #8a2219; }
.flash-info { background: var(--navy-l); border-color: var(--navy); color: var(--navy-d); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1100px 500px at 85% -10%, rgba(249,189,31,.32), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%); color: #fff; padding: 56px 0 110px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: 3%; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--sun); opacity: .9; box-shadow: 0 0 0 18px rgba(249,189,31,.15), 0 0 0 40px rgba(249,189,31,.07); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: rgba(255,255,255,.12); color: var(--sun); font: 700 .78rem var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p { color: #d3e3ec; font-size: 1.1rem; max-width: 560px; }
.hero-search { display: flex; gap: 8px; background: #fff; padding: 7px; border-radius: 999px; max-width: 600px; box-shadow: 0 10px 40px rgba(0,0,0,.25); margin-top: 24px; }
.hero-search input { flex: 1; border: 0; padding: 0 18px; font: inherit; font-size: 1.02rem; color: var(--ink); outline: 0; min-width: 0; background: transparent; }
.hero-search-light { box-shadow: none; border: 2px solid var(--line); margin-top: 12px; }
.hero-chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: #b6cfdd; }
.hero-chips a { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 5px 12px; border-radius: 999px; }
.hero-chips a:hover { background: rgba(255,255,255,.2); }
.hero-canais { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.canal { display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: var(--radius); color: var(--navy-d); box-shadow: 0 8px 30px rgba(0,0,0,.18); transition: transform .18s; }
.canal:hover { transform: translateY(-4px); color: var(--navy-d); }
.canal strong { font: 700 1.1rem var(--display); }
.canal small { opacity: .8; }
.c-ico { font-size: 1.8rem; margin-bottom: 6px; }
.c-green { background: var(--green); color: #fff; } .c-green:hover { color: #fff; }
.c-sun { background: var(--sun); }
.c-sky { background: #bfe3f5; }
.c-white { background: #fff; }
.hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

/* ---------- Seções ---------- */
.secao { padding: 44px 20px 8px; }
.secao.faixa { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; margin-top: 36px; }
.secao-sm { margin-bottom: 36px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; position: relative; padding-left: 14px; }
.sec-head h2::before { content: ''; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 4px; background: var(--green); }
.ver-mais { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.duas-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack + .btn { margin-top: 14px; }
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.vazio { color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; }

/* ---------- Categorias ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; color: var(--ink); transition: .18s; }
.cat-item:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--navy); }
.cat-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--green-l); }
.cat-item:nth-child(3n+2) .cat-ico { background: var(--sun-l); }
.cat-item:nth-child(3n) .cat-ico { background: var(--navy-l); }
.cat-nome { font-weight: 600; font-size: .88rem; line-height: 1.25; }
.cat-item small { position: absolute; top: 8px; right: 10px; font-size: .72rem; font-weight: 700; color: var(--green-d); }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; border: 1px solid rgba(8,75,113,.04); }
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.card h3 { margin: 4px 0 6px; font-size: 1.02rem; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--green-d); }
.card p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { display: inline-block; font: 700 .72rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--green-d); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .84rem; }
.thumb { position: relative; display: block; aspect-ratio: 16/10; background: var(--navy-l); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.04); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; }
.ph-0 { background: linear-gradient(135deg, #e3f4cf, #c8ea9f); }
.ph-1 { background: linear-gradient(135deg, #dcebf4, #b5d4e6); }
.ph-2 { background: linear-gradient(135deg, #fff1c7, #fde08a); }
.ph-3 { background: linear-gradient(135deg, #e6f3ec, #c4e6d2); }
.tag { position: absolute; top: 12px; left: 12px; font: 700 .72rem var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tag-sun { background: var(--sun); color: var(--navy-d); }
.tag-navy { background: var(--navy); color: #fff; }
.tag-green { background: var(--green); color: #fff; }
.tag-mini { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--sun-d); background: var(--sun-l); padding: 1px 8px; border-radius: 999px; margin-left: 6px; }
.is-destaque { border: 2px solid var(--sun); }
.pill { display: inline-block; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--navy-l); color: var(--navy); }
.pill-green { background: var(--green-l); color: #3d7a04; }
.pill-sun { background: var(--sun-l); color: #8a6300; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.lnk-sm { font-size: .85rem; font-weight: 600; }

.card-evento { flex-direction: row; align-items: stretch; }
.ev-data { flex: 0 0 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--navy); color: #fff; padding: 12px 6px; line-height: 1.05; }
.ev-data:hover { color: #fff; background: var(--navy-d); }
.ev-data strong { font: 800 1.9rem var(--display); }
.ev-data span { font: 700 .8rem var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--sun); }
.ev-data em { font-style: normal; font-size: .75rem; opacity: .8; margin-top: 4px; }
.card-evento .card-body { padding: 14px 16px; }
.card-evento p { margin-bottom: 8px; }
.ev-acoes { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ev-data-lg { width: 100%; height: 100%; background: linear-gradient(160deg, var(--navy), var(--navy-d)); }
.ev-data-lg strong { font-size: 4.5rem; }
.ev-data-lg span { font-size: 1.3rem; }

.card-vaga { flex-direction: row; align-items: center; gap: 4px; padding-left: 16px; position: relative; }
.vaga-ico { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--green-l); display: grid; place-items: center; font-size: 1.4rem; }
.card-vaga .card-body { padding: 14px 16px; }
.card-vaga p { margin-bottom: 8px; }
.vaga-tempo { position: absolute; top: 14px; right: 16px; }

.preco { font: 800 1.25rem var(--display); color: var(--navy); }
.preco small { font-size: .7em; font-weight: 600; color: var(--muted); }
.preco-lg { font-size: 1.8rem; margin: 6px 0 0; }
.imo-specs { margin-top: auto; display: flex; gap: 14px; font-size: .84rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Notícias ---------- */
.manchete { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); margin-bottom: 14px; }
.manchete:hover { color: var(--ink); box-shadow: var(--shadow-h); }
.manchete:hover h3 { color: var(--green-d); }
.manchete-img { aspect-ratio: 4/3; background: var(--navy-l); }
.manchete-img img { width: 100%; height: 100%; object-fit: cover; }
.manchete-txt { padding: 22px; display: flex; flex-direction: column; }
.manchete h3 { font-size: 1.35rem; margin: 6px 0 10px; }
.manchete p { color: var(--muted); font-size: .95rem; }
.news-list { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 16px; padding: 14px 18px; color: var(--ink); align-items: baseline; }
.news-list a:hover .nl-tit { color: var(--green-d); }
.nl-data { flex: 0 0 auto; font-size: .78rem; font-weight: 700; color: var(--green-d); }
.nl-tit { font-weight: 600; }

/* ---------- Filtros / caixas ---------- */
.box-filtro, .box-contato, .box-rel, .form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.box-filtro { display: flex; flex-direction: column; gap: 14px; }
.box-filtro h3 { margin: 0; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--navy-d); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; width: 100%; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); }
input[disabled] { background: var(--bg); color: var(--muted); }
textarea { resize: vertical; min-height: 110px; }
.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
fieldset { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card { display: flex; flex-direction: column; gap: 16px; }
.form-estreito { max-width: 560px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.campo > span { font-weight: 600; font-size: .88rem; color: var(--navy-d); display: block; margin-bottom: 6px; }
.form-acoes { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.upload { display: flex; gap: 16px; align-items: center; padding: 14px; border: 2px dashed var(--line); border-radius: var(--radius-sm); }
.upload > div { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.upload input[type=file] { border: 0; padding: 0; }
.upload-prev { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--bg); }

/* ---------- Páginas internas ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 22px; }
.page-head h1 { margin: 6px 0 4px; display: flex; align-items: center; gap: 10px; }
.page-head p { margin: 0; }
.page-head-sm { padding: 14px 0; }
.h1-ico { font-size: .9em; }
.crumbs { font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green-d); }
.listagem { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding-top: 28px; padding-bottom: 20px; align-items: start; }
.filtros { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 14px; }
.filtros h3 { margin: 6px 0 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.filtro-busca input { border-radius: 999px; }
.filtro-lista { list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); max-height: 60vh; overflow: auto; }
.filtro-lista a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: .9rem; }
.filtro-lista a:hover { background: var(--bg); }
.filtro-lista a.ativo { background: var(--green-l); color: var(--navy); font-weight: 700; }
.filtro-lista small { color: var(--muted); }
.paginacao { display: flex; gap: 6px; justify-content: center; margin: 30px 0 10px; flex-wrap: wrap; }
.paginacao a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: var(--shadow); font-weight: 600; }
.paginacao a.ativo { background: var(--navy); color: #fff; }
.vazio-box { text-align: center; background: #fff; border-radius: var(--radius); padding: 44px 24px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; }
.vazio-box > span { font-size: 2.6rem; display: block; margin-bottom: 8px; }
.vazio-box .hero-search { margin: 18px auto; }
.chips-cat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }

/* ---------- Detalhe ---------- */
.detalhe { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding-top: 26px; padding-bottom: 20px; align-items: start; }
.det-main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; min-width: 0; }
.det-top { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; margin-bottom: 20px; }
.det-img { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-l); }
.det-img img { width: 100%; height: 100%; object-fit: cover; }
.det-img .ph { font-size: 4.5rem; }
.det-titulo { margin: 6px 0 8px; }
.linha-fina { font-size: 1.1rem; color: var(--muted); }
.det-capa { margin: 18px 0; border-radius: var(--radius-sm); overflow: hidden; }
.det-sub { margin-top: 28px; font-size: 1.15rem; }
.texto { font-size: 1.02rem; line-height: 1.75; }
.texto h2 { margin-top: 1.4em; }
.texto-estreito { max-width: 760px; }
.ficha { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.ficha li { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ficha span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.ficha strong { font-weight: 600; color: var(--navy-d); word-break: break-word; }
.ficha-side { grid-template-columns: 1fr; margin: 14px 0 10px; }
.det-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 70px; }
.box-contato h3, .box-rel h3 { margin-bottom: 14px; }
.box-sun { background: var(--sun-l); box-shadow: none; }
.box-rel ul { list-style: none; margin: 0; padding: 0; }
.box-rel li + li { border-top: 1px solid var(--line); }
.box-rel a { display: flex; gap: 12px; padding: 10px 0; color: var(--ink); font-weight: 600; font-size: .92rem; align-items: center; }
.box-rel a:hover { color: var(--green-d); }
.box-rel small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.rel-ico { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 1.2rem; }
.compartilhar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.dono-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 16px; background: var(--sun-l); border-radius: var(--radius-sm); font-weight: 600; }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 40px auto 20px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-h); padding: 0; }
.auth-card { padding: 40px; }
.auth-card h1 { font-size: 1.8rem; }
.form-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.auth-alt { margin-top: 18px; font-weight: 500; }
.auth-side { background: radial-gradient(400px 260px at 100% 0, rgba(249,189,31,.25), transparent 60%), var(--green-l); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-side img { width: 200px; height: auto; margin-bottom: 18px; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; color: var(--navy); }

/* ---------- Anuncie ---------- */
.planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plano { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; border: 2px solid transparent; }
.plano-top { border-color: var(--sun); transform: translateY(-8px); box-shadow: var(--shadow-h); }
.plano-tag { align-self: flex-start; font: 700 .72rem var(--display); text-transform: uppercase; letter-spacing: .1em; background: var(--green-l); color: var(--green-d); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plano-top .plano-tag { background: var(--sun); color: var(--navy-d); }
.plano-preco { font: 800 1.6rem var(--display); color: var(--navy); }
.plano ul { padding-left: 20px; margin: 0 0 24px; flex: 1; }
.plano li { margin-bottom: 6px; }
.plano li::marker { color: var(--green); }
.passos { margin-top: 52px; }
.passos ol { list-style: none; counter-reset: p; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.passos li { counter-increment: p; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.passos li::before { content: counter(p); width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 1rem var(--display); margin-bottom: 8px; }
.passos strong { color: var(--navy); }
.passos span { color: var(--muted); font-size: .92rem; }

/* ---------- Painel / admin ---------- */
.novo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 26px; }
.novo-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 2px dashed #cfe5b5; border-radius: var(--radius); font-weight: 600; color: var(--navy); }
.novo-item:hover { border-style: solid; border-color: var(--green); background: var(--green-l); }
.novo-item span { font-size: 1.5rem; }
.tabela-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 28px; }
.tabela { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabela th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 16px; background: var(--bg); white-space: nowrap; }
.tabela td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.tabela select { padding: 6px 10px; width: auto; }
.acoes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
td.acoes { min-width: 220px; }
.status { display: inline-block; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st-pendente { background: var(--sun-l); color: #8a6300; }
.st-aprovado { background: var(--green-l); color: #3d7a04; }
.st-rejeitado { background: #fdecea; color: var(--danger); }
.admin-head { background: linear-gradient(160deg, var(--navy), var(--navy-d)); border: 0; padding-bottom: 0; }
.admin-head h1 { color: #fff; }
.admin-nav { display: flex; gap: 4px; margin-top: 16px; overflow-x: auto; }
.admin-nav a { padding: 11px 16px; color: #cfe0ea; font-weight: 600; font-size: .9rem; border-radius: 10px 10px 0 0; white-space: nowrap; }
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-nav a.ativo { background: var(--bg); color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-bottom: 34px; }
.stat { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; color: var(--muted); font-size: .86rem; }
.stat:hover { box-shadow: var(--shadow-h); color: var(--muted); }
.stat strong { font: 800 2rem var(--display); color: var(--navy); line-height: 1.1; }
.stat-ico { font-size: 1.4rem; margin-bottom: 6px; }
.badge { position: absolute; top: 14px; right: 14px; font-style: normal; background: var(--sun); color: var(--navy-d); font-weight: 700; font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
.admin-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.tabs { display: flex; gap: 4px; background: #fff; padding: 4px; border-radius: 999px; box-shadow: var(--shadow); flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--muted); }
.tabs a.ativo { background: var(--navy); color: #fff; }
.admin-busca { flex: 1; min-width: 180px; }
.admin-busca input { border-radius: 999px; padding: 9px 16px; }
.msg { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; border-left: 5px solid var(--line); }
.msg-nova { border-left-color: var(--sun); }
.msg header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }

/* ---------- CTA + Footer ---------- */
.cta-band { margin-top: 56px; background: linear-gradient(110deg, var(--green-d), var(--green)); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; color: #eaf7d9; }
.cta-acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.footer { background: var(--navy-d); color: #b9cfdc; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.f-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 10px 16px; margin-bottom: 14px; }
.f-logo img { width: 130px; height: auto; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: #b9cfdc; }
.footer a:hover { color: var(--sun); }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.f-social a:hover { background: var(--green); color: #fff; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1fr; gap: 30px; }
  .hero-canais { grid-template-columns: repeat(4, 1fr); }
  .hero::before { width: 110px; height: 110px; right: 4%; }
  .detalhe { grid-template-columns: 1fr 300px; }
  .det-top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-in { flex-wrap: wrap; gap: 12px 16px; }
  .logo img { height: 64px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .nav { display: none; position: static; }
  .nav.aberto { display: block; }
  .nav-list { flex-direction: column; padding: 6px 0 10px; }
  .nav-list > li > a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-list > li > a.ativo::after { display: none; }
  .nav-mobile-only { display: block; }
  .mega { display: none; }
  .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .duas-col, .listagem, .detalhe { grid-template-columns: 1fr; }
  .filtros, .det-side { position: static; }
  .filtro-lista { max-height: none; display: flex; overflow-x: auto; gap: 4px; }
  .filtro-lista a { white-space: nowrap; }
  .filtro-lista small { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; margin: 20px 16px; }
  .auth-side { display: none; }
  .planos, .passos ol { grid-template-columns: 1fr 1fr; }
  .plano-top { transform: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .secao { padding: 32px 16px 4px; }
  .tb-date, .tb-hello { display: none; }
  .tb-right { gap: 12px; }
  .hero { padding: 36px 0 90px; }
  .hero::before { display: none; }
  .hero-canais { grid-template-columns: 1fr 1fr; }
  .canal { padding: 16px; }
  .hero-search { border-radius: 18px; flex-direction: column; padding: 8px; }
  .hero-search input { padding: 12px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-item { padding: 14px 6px 12px; }
  .cat-ico { width: 44px; height: 44px; font-size: 1.3rem; }
  .cat-nome { font-size: .78rem; }
  .manchete { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .row-2, .form-grid { grid-template-columns: 1fr; }
  .det-main { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .planos, .passos ol { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 22px; }
  .upload { flex-direction: column; align-items: flex-start; }
  .card-vaga { flex-direction: column; align-items: flex-start; padding: 16px 0 0 16px; }
  .vaga-tempo { position: static; padding: 0 16px 14px; }
}

/* ---------- Publicidade ---------- */
.ad { position: relative; margin: 22px auto 0; text-align: center; }
.ad img { margin: 0 auto; border-radius: var(--radius-sm); width: 100%; height: auto; }
.ad-topo img, .ad-rodape img { max-width: 1200px; max-height: 150px; object-fit: cover; }
.ad-home-meio { margin-top: 40px; }
.ad-home-meio img { max-width: 1200px; max-height: 200px; object-fit: cover; }
.ad-lateral { margin-top: 0; }
.ad-lateral img { max-width: 300px; }
.ad-rodape { margin-top: 44px; }
.ad-link { display: block; }
.ad-label { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #9aa9b3; margin-top: 4px; }
.ad-vazio { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-height: 90px; padding: 14px 18px; border: 2px dashed #d3dfd0; border-radius: var(--radius-sm); background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(112,193,19,.05) 12px 24px); color: var(--muted); font-size: .85rem; }
.ad-vazio strong { font: 700 1rem var(--display); color: var(--navy); }
.ad-vazio:hover { border-color: var(--green); color: var(--muted); }
.ad-home-meio .ad-vazio { min-height: 120px; }
.ad-lateral .ad-vazio { min-height: 220px; max-width: 300px; margin: 0 auto; text-align: center; }

.posicoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.posicao { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; border: 2px solid transparent; color: var(--ink); }
.posicao:hover, .posicao.ativo { border-color: var(--green); color: var(--ink); }
.pos-txt { display: flex; flex-direction: column; line-height: 1.3; }
.pos-txt strong { color: var(--navy); font-size: .9rem; }
.pos-txt small { color: var(--muted); font-size: .8rem; }
/* mini-mapa da página mostrando onde fica o banner */
.pos-mapa { flex: 0 0 46px; height: 58px; border-radius: 6px; background: #eef2ee; border: 1.5px solid #cfd9d0; position: relative; overflow: hidden; }
.pos-mapa::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--green); }
.pos-mapa i { position: absolute; background: var(--sun); border-radius: 2px; }
.pos-mapa-topo i { left: 4px; right: 4px; top: 11px; height: 7px; }
.pos-mapa-home-meio i { left: 4px; right: 4px; top: 26px; height: 9px; }
.pos-mapa-lateral i { right: 4px; width: 13px; top: 14px; height: 18px; }
.pos-mapa-rodape i { left: 4px; right: 4px; bottom: 9px; height: 7px; }
.pos-mapa-rodape::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--navy); }
.pos-escolha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label.pos-opcao { flex-direction: row; align-items: center; gap: 12px; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; color: var(--ink); }
.pos-opcao:has(input:checked) { border-color: var(--green); background: var(--green-l); }
.pos-opcao input { width: 18px; height: 18px; accent-color: var(--green); flex: 0 0 auto; }
.pos-opcao > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.pos-opcao strong { color: var(--navy); }
.pos-opcao small { font-size: .8rem; }
.bn-cell { display: flex; gap: 12px; align-items: center; }
.bn-thumb { width: 120px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--bg); flex: 0 0 auto; }
.upload-prev.bn-prev { width: 260px; height: auto; max-height: 140px; object-fit: contain; }
.st-bn-no-ar { background: var(--green-l); color: #3d7a04; }
.st-bn-agendado { background: var(--navy-l); color: var(--navy); }
.st-bn-pausado { background: var(--sun-l); color: #8a6300; }
.st-bn-expirado { background: #eef0f2; color: var(--muted); }
.formatos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.formato { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.formato strong { color: var(--navy); display: block; }
.formato small { color: var(--muted); display: block; }
@media (max-width: 900px) {
  .posicoes, .formatos { grid-template-columns: 1fr 1fr; }
  .pos-escolha { grid-template-columns: 1fr; }
  .ad-vazio { min-height: 70px; }
}
@media (max-width: 600px) {
  .posicoes, .formatos { grid-template-columns: 1fr; }
  .ad-vazio span { font-size: .78rem; }
}
.ml-auto { margin-left: auto; }
.mt-18 { margin-top: 18px; }

/* ---------- Autenticação e segurança ---------- */
.auth-linha { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.auth-mini { margin: 0 auto; }
.auth-mini h1 { font-size: 1.6rem; }
.reenviar { margin-top: 12px; }
.input-codigo { font: 700 1.5rem/1 var(--display); letter-spacing: .3em; text-align: center; }
.forca { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.forca-barra { flex: 1; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.forca-barra i { display: block; height: 100%; width: 0; border-radius: 8px; transition: width .2s, background .2s; }
.forca-txt { font-size: .8rem; font-weight: 700; min-width: 80px; }
.dica-senha p { margin: 0; }
.seg-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.seg-grid h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.passos-2fa { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.chave { margin: 8px 0 4px; }
.chave code { display: inline-block; font-size: 1.1rem; letter-spacing: .08em; background: var(--navy-l); color: var(--navy-d); padding: 10px 14px; border-radius: 10px; word-break: break-all; user-select: all; }
.codigos { background: var(--sun-l); border: 2px solid var(--sun); border-radius: var(--radius-sm); padding: 16px; }
.codigos ul { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.codigos code { font-size: 1rem; font-weight: 700; user-select: all; }
.form-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.form-inline label { flex: 1; min-width: 180px; }
details summary { cursor: pointer; margin: 10px 0; }
@media (max-width: 900px) { .seg-grid { grid-template-columns: 1fr; } }
