/*
Theme Name: Capital do Peixe
Theme URI: https://www.capitaldopeixe.com.br/
Author: Capital do Peixe
Description: Tema WordPress responsivo para o Festival Gastronômico da Truta e o turismo de Piracaia/SP.
Version: 4.0.2
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: capital-do-peixe
*/

:root {
  --cdp-navy: #06446e;
  --cdp-blue: #0a6e8d;
  --cdp-teal: #0d8b8c;
  --cdp-green: #4f9a55;
  --cdp-gold: #e3a629;
  --cdp-cream: #fbf7ee;
  --cdp-sand: #f0e7d4;
  --cdp-ink: #163042;
  --cdp-muted: #63727b;
  --cdp-white: #ffffff;
  --cdp-shadow: 0 18px 45px rgba(7, 63, 97, .12);
  --cdp-radius: 22px;
  --cdp-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cdp-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cdp-blue); text-decoration: none; }
a:hover { color: var(--cdp-navy); }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 32px), var(--cdp-max)); margin: 0 auto; }
.site-main { overflow: hidden; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 99999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,68,110,.08);
}
.header-row { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; min-width: 190px; }
.site-branding img { width: 190px; max-height: 70px; object-fit: contain; }
.custom-logo-link img { width: 190px; }
.main-navigation { display: flex; align-items: center; gap: 20px; }
.main-navigation ul { display: flex; list-style: none; gap: 24px; margin: 0; padding: 0; align-items: center; }
.main-navigation a { font-weight: 700; font-size: 15px; color: var(--cdp-ink); }
.main-navigation a:hover { color: var(--cdp-teal); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--cdp-navy); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 999px; background: var(--cdp-gold); color: #163042; font-weight: 800; white-space: nowrap; }
.header-cta:hover { color: #163042; transform: translateY(-1px); }

.hero {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(227,166,41,.24), transparent 26%),
    radial-gradient(circle at 12% 92%, rgba(13,139,140,.18), transparent 28%),
    linear-gradient(135deg, #f9fcfd 0%, #fbf7ee 100%);
  min-height: 650px;
  display: grid;
  align-items: center;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 32px solid rgba(10,110,141,.06);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 72px 0; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 900; color: var(--cdp-teal); }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 99px; background: var(--cdp-gold); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; color: var(--cdp-navy); margin: 16px 0 22px; }
.hero h1 span { color: var(--cdp-teal); }
.hero-lead { max-width: 700px; font-size: clamp(18px, 2vw, 22px); color: #45606f; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 850; border: 1px solid transparent; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cdp-navy); color: #fff; }
.btn-primary:hover { color: #fff; background: #043756; }
.btn-secondary { background: #fff; color: var(--cdp-navy); border-color: rgba(6,68,110,.16); }
.btn-secondary:hover { color: var(--cdp-navy); box-shadow: 0 8px 24px rgba(7,63,97,.1); }
.hero-card { background: rgba(255,255,255,.88); border: 1px solid rgba(6,68,110,.09); border-radius: 34px; padding: 34px; box-shadow: var(--cdp-shadow); }
.hero-card .brand-mark { width: min(100%, 350px); margin: 0 auto 24px; }
.event-badge { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; overflow: hidden; border: 1px solid rgba(6,68,110,.1); }
.event-badge > div { padding: 18px; background: #fff; }
.event-badge > div + div { border-left: 1px solid rgba(6,68,110,.1); }
.event-badge small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--cdp-muted); font-weight: 800; }
.event-badge strong { display: block; color: var(--cdp-navy); font-size: 18px; margin-top: 4px; }

.section { padding: 92px 0; }
.section-soft { background: var(--cdp-cream); }
.section-blue { background: var(--cdp-navy); color: #fff; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-title { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; color: var(--cdp-navy); }
.section-blue .section-title { color: #fff; }
.section-intro { max-width: 700px; margin: 12px 0 0; color: var(--cdp-muted); font-size: 18px; }
.section-blue .section-intro { color: rgba(255,255,255,.78); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.stat { background: #fff; padding: 24px; border-radius: 18px; border: 1px solid rgba(6,68,110,.08); box-shadow: 0 10px 30px rgba(7,63,97,.06); }
.stat strong { display: block; font-size: 34px; line-height: 1; color: var(--cdp-teal); margin-bottom: 7px; }
.stat span { color: var(--cdp-muted); font-weight: 650; }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--cdp-radius); overflow: hidden; border: 1px solid rgba(6,68,110,.09); box-shadow: 0 10px 34px rgba(7,63,97,.07); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--cdp-shadow); }
.card-media { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: #e7eff2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-badge { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(255,255,255,.93); color: var(--cdp-navy); padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.card-body { padding: 22px; }
.card-title { font-size: 22px; line-height: 1.15; margin: 0 0 10px; color: var(--cdp-navy); }
.card-subtitle { font-size: 14px; font-weight: 800; color: var(--cdp-teal); margin: 0 0 8px; }
.card-text { margin: 0; color: var(--cdp-muted); }
.card-footer { padding: 0 22px 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.text-link { font-weight: 850; color: var(--cdp-navy); }

/* Restaurantes 4.0.2: logo quadrado + informações visíveis no card */
.restaurant-card { display:flex; flex-direction:column; min-width:0; }
.restaurant-card .restaurant-logo-media { aspect-ratio:1 / 1; display:flex; align-items:center; justify-content:center; padding:22px; background:#fff; border-bottom:1px solid rgba(6,68,110,.07); }
.restaurant-card .restaurant-logo-media > img.restaurant-logo-card { width:100%; height:100%; object-fit:contain; object-position:center; transform:none !important; }
.restaurant-card:hover .restaurant-logo-media > img.restaurant-logo-card { transform:none !important; }
.restaurant-card .restaurant-logo-placeholder { width:100%; height:100%; display:grid; place-items:center; border-radius:18px; background:linear-gradient(145deg,#f8fbfc,#eef5f4); color:var(--cdp-navy); }
.restaurant-card .restaurant-logo-placeholder span { width:96px; height:96px; border-radius:50%; display:grid; place-items:center; background:var(--cdp-navy); color:#fff; font-size:42px; font-weight:900; }
.restaurant-card .dish-thumb { width:66px; height:66px; border-radius:15px; overflow:hidden; border:4px solid #fff; box-shadow:0 7px 18px rgba(0,0,0,.14); position:absolute; right:14px; bottom:14px; background:#fff; z-index:3; }
.restaurant-card .dish-thumb img { width:100%; height:100%; object-fit:cover; }
.restaurant-card .restaurant-card-body { padding:22px; display:flex; flex-direction:column; gap:0; flex:1; }
.restaurant-card .card-title { font-size:23px; margin-bottom:10px; }
.restaurant-card .card-subtitle { display:grid; gap:2px; margin-bottom:11px; line-height:1.35; }
.restaurant-card .card-subtitle span { color:var(--cdp-gold); font-size:10px; line-height:1; text-transform:uppercase; letter-spacing:.08em; font-weight:900; }
.restaurant-card-summary { font-size:14px; line-height:1.55; min-height:65px; }
.restaurant-card-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:16px; }
.restaurant-card-facts > span { display:flex; flex-direction:column; gap:3px; padding:10px 11px; border-radius:13px; background:var(--cdp-cream); min-width:0; }
.restaurant-card-facts small { color:var(--cdp-muted); font-size:9px; text-transform:uppercase; letter-spacing:.08em; font-weight:850; }
.restaurant-card-facts strong { color:var(--cdp-navy); font-size:12px; line-height:1.25; overflow-wrap:anywhere; }
.restaurant-card-address { display:flex; gap:7px; align-items:flex-start; margin:14px 0 0; color:#61737c; font-size:12px; line-height:1.4; }
.restaurant-card-address span { color:var(--cdp-teal); font-size:16px; line-height:1; margin-top:1px; }
.restaurant-card .card-footer { margin-top:auto; }
@media (max-width:680px) {
  .restaurant-card .restaurant-logo-media { padding:18px; }
  .restaurant-card-summary { min-height:0; }
  .restaurant-card-facts { grid-template-columns:1fr 1fr; }
}

.festival-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.photo-panel { min-height: 520px; border-radius: 34px; background: linear-gradient(135deg, rgba(6,68,110,.9), rgba(13,139,140,.8)), url('assets/images/logo-capital-do-peixe.png') center/55% no-repeat; position: relative; overflow: hidden; box-shadow: var(--cdp-shadow); }
.photo-panel::before, .photo-panel::after { content: ""; position: absolute; border-radius: 50%; border: 26px solid rgba(255,255,255,.12); }
.photo-panel::before { width: 280px; height: 280px; top: -110px; right: -80px; }
.photo-panel::after { width: 180px; height: 180px; bottom: -70px; left: -40px; }
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-icon { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(13,139,140,.12); color: var(--cdp-teal); font-weight: 900; }

.tourism-card { min-height: 320px; position: relative; border-radius: 24px; overflow: hidden; display: flex; align-items: end; isolation: isolate; }
.tourism-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(3,35,53,.86), rgba(3,35,53,.12) 72%); }
.tourism-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tourism-card .tourism-content { padding: 24px; color: #fff; width: 100%; }
.tourism-card h3 { margin: 0 0 8px; color: #fff; font-size: 24px; }
.tourism-card p { margin: 0; color: rgba(255,255,255,.82); }
.tourism-card .text-link { color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border-top: 4px solid var(--cdp-gold); padding: 24px 0 0; }
.news-card .date { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 850; color: var(--cdp-teal); }
.news-card h3 { font-size: 22px; line-height: 1.2; margin: 8px 0 10px; color: var(--cdp-navy); }
.news-card p { color: var(--cdp-muted); }

.cta-band { margin: 0 auto 92px; width: min(calc(100% - 32px), var(--cdp-max)); border-radius: 32px; padding: 44px; background: linear-gradient(120deg, var(--cdp-teal), var(--cdp-navy)); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--cdp-shadow); }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; line-height: 1.05; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }
.cta-band .btn { background: #fff; color: var(--cdp-navy); flex: 0 0 auto; }

.archive-header { padding: 72px 0 36px; background: linear-gradient(135deg, var(--cdp-cream), #fff); }
.archive-header h1 { color: var(--cdp-navy); font-size: clamp(38px, 5vw, 58px); margin: 0; letter-spacing: -.04em; }
.archive-header p { max-width: 760px; color: var(--cdp-muted); font-size: 18px; }
.content-wrap { padding: 60px 0 90px; }

.single-hero { padding: 64px 0 38px; background: var(--cdp-cream); }
.single-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.single-cover { border-radius: 28px; overflow: hidden; box-shadow: var(--cdp-shadow); background: #e9f0f2; min-height: 360px; }
.single-cover img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

/* Restaurante: a imagem destacada funciona como área de logotipo.
   Mantém proporção 1:1 e exibe a imagem inteira, sem recorte. */
.single-cover.single-cover-restaurant-logo {
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: #fff;
  padding: clamp(16px, 2.4vw, 30px);
  display: grid;
  place-items: center;
}
.single-cover.single-cover-restaurant-logo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.single-title { font-size: clamp(38px, 5vw, 60px); color: var(--cdp-navy); line-height: 1; margin: 12px 0 18px; letter-spacing: -.04em; }
.meta-stack { display: grid; gap: 10px; margin: 22px 0; }
.meta-item { display: flex; gap: 10px; }
.meta-item strong { color: var(--cdp-navy); min-width: 92px; }
.prose { font-size: 18px; }
.prose h2, .prose h3 { color: var(--cdp-navy); line-height: 1.15; }
.prose img { border-radius: 18px; }
.dish-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid rgba(6,68,110,.09); border-radius: 26px; padding: 24px; box-shadow: var(--cdp-shadow); margin: 40px 0; }
.dish-panel img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.dish-panel h2 { margin-top: 0; color: var(--cdp-navy); }

.site-footer { background: #052f4a; color: rgba(255,255,255,.82); padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 48px; }
.footer-brand img { width: 210px; filter: brightness(0) invert(1); opacity: .96; }
.footer-title { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 15px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.socials a { display: inline-flex; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }

.empty-state { padding: 36px; border: 1px dashed rgba(6,68,110,.22); border-radius: 22px; background: rgba(255,255,255,.7); text-align: center; grid-column: 1 / -1; }
.pagination { margin-top: 38px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 9px 13px; border-radius: 10px; background: var(--cdp-cream); color: var(--cdp-navy); font-weight: 700; }
.pagination .current { background: var(--cdp-navy); color: #fff; }

@media (max-width: 980px) {
  .hero-grid, .festival-split, .single-grid, .dish-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { max-width: 620px; }
  .cards-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .main-navigation { position: absolute; left: 0; right: 0; top: 84px; background: #fff; box-shadow: 0 16px 34px rgba(7,63,97,.12); padding: 18px 16px 24px; display: none; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-navigation a { display: block; padding: 10px 4px; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .hero-grid { padding: 52px 0; gap: 34px; }
  .hero-card { padding: 24px; border-radius: 26px; }
  .cards-grid, .news-grid, .stats { grid-template-columns: 1fr; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .cta-band { padding: 30px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .header-cta { display: none; }
  .site-branding img, .custom-logo-link img { width: 155px; }
  .event-badge { grid-template-columns: 1fr; }
  .event-badge > div + div { border-left: 0; border-top: 1px solid rgba(6,68,110,.1); }
}

/* ===== Capital do Peixe 2.0 ===== */
.header-route { gap: 8px; }
.route-count-pill,
.route-count-inline {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(6,68,110,.12);
  color: var(--cdp-navy);
  font-size: 12px;
  font-weight: 900;
}
.header-route .route-count-pill { background: rgba(255,255,255,.75); }
.hero-program-link {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--cdp-navy);
  color: #fff;
  font-size: 14px;
}
.hero-program-link:hover { color: #fff; background: #043756; }
.hero-program-link span { opacity: .72; }
.photo-panel { display: flex; align-items: flex-end; }
.photo-panel-label {
  position: relative;
  z-index: 2;
  margin: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}
.eyebrow-light { color: #8dd9d5; }
.text-link-light { color: #fff; }
.text-link-light:hover { color: #fff; opacity: .82; }
.empty-state-light { color: var(--cdp-ink); background: rgba(255,255,255,.94); }
.card-footer-actions { align-items: center; justify-content: space-between; }
.route-add { cursor: pointer; }
.route-add-compact {
  border: 1px solid rgba(6,68,110,.16);
  background: #f6fafb;
  color: var(--cdp-navy);
  padding: 7px 11px;
  min-height: 34px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s ease;
}
.route-add-compact:hover { background: #eef6f7; border-color: rgba(13,139,140,.3); }
.route-add.is-added,
.route-add-compact.is-added { background: rgba(79,154,85,.12); border-color: rgba(79,154,85,.35); color: #2d7435; }
.tourism-card { display: block; background: #0a5772; }
.tourism-media { min-height: 320px; position: relative; display: flex; align-items: end; isolation: isolate; overflow: hidden; color: #fff; }
.tourism-media::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to top,rgba(3,35,53,.9),rgba(3,35,53,.1) 72%); }
.tourism-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.tourism-tag { display:inline-flex; margin-bottom:8px; padding:5px 9px; border-radius:999px; background:rgba(255,255,255,.16); font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.07em; }
.tourism-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 18px; background:#fff; }
.tourism-actions a { font-weight:850; font-size:13px; color:var(--cdp-navy); }
.tourism-archive-wrap { padding-top: 60px; }
.archive-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }

.program-section { background: linear-gradient(180deg,#fff 0%,#f7fbfb 100%); }
.program-grid { display: grid; gap: 14px; }
.program-grid-archive { max-width: 900px; }
.program-card {
  display: grid;
  grid-template-columns: 90px 1fr 42px;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(6,68,110,.09);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(7,63,97,.06);
}
.program-date { width:72px; height:72px; display:grid; place-items:center; align-content:center; border-radius:18px; background:var(--cdp-cream); color:var(--cdp-navy); line-height:1; }
.program-date strong { font-size:28px; }
.program-date span { margin-top:5px; color:var(--cdp-teal); font-size:11px; font-weight:900; letter-spacing:.08em; }
.program-content h3 { margin:4px 0 4px; font-size:20px; line-height:1.15; }
.program-content h3 a { color:var(--cdp-navy); }
.program-content p { margin:0; color:var(--cdp-muted); }
.program-tag { display:inline-flex; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; color:var(--cdp-teal); }
.program-arrow { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#f5f9fa; color:var(--cdp-navy); font-size:22px; font-weight:900; }
.single-event-hero { padding:72px 0; background:linear-gradient(135deg,var(--cdp-cream),#fff); }
.event-single-grid { display:grid; grid-template-columns:160px 1fr; gap:46px; align-items:center; max-width:980px; }
.event-date-big { width:150px; height:150px; border-radius:32px; display:grid; place-items:center; align-content:center; background:var(--cdp-navy); color:#fff; box-shadow:var(--cdp-shadow); line-height:1; }
.event-date-big strong { font-size:58px; }
.event-date-big span { margin-top:8px; color:#9be1dc; font-size:16px; font-weight:900; letter-spacing:.12em; }
.prose-narrow { max-width:850px; }

.route-home-section { background:#fff; }
.route-home-grid { display:grid; grid-template-columns:1.12fr .88fr; gap:44px; align-items:center; }
.route-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:28px 0; }
.route-steps div { display:flex; gap:10px; padding:16px; border-radius:16px; background:var(--cdp-cream); font-size:14px; }
.route-steps strong { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border-radius:50%; background:var(--cdp-teal); color:#fff; }
.route-home-card { min-height:330px; padding:38px; border-radius:30px; background:linear-gradient(145deg,var(--cdp-navy),#087d86); color:#fff; display:flex; flex-direction:column; justify-content:flex-end; box-shadow:var(--cdp-shadow); }
.route-home-icon { display:grid; place-items:center; width:70px; height:70px; margin-bottom:auto; border-radius:22px; background:rgba(255,255,255,.12); font-size:34px; }
.route-home-card strong { font-size:28px; }
.route-home-card p { color:rgba(255,255,255,.78); }
.route-home-card a { color:#fff; font-weight:850; }
.route-page-header p { max-width:800px; }
.route-builder-section { padding-top:54px; }
.route-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); gap:34px; align-items:start; }
.route-picker { display:grid; gap:44px; }
.compact-heading { margin-bottom:18px; }
.compact-heading h2 { margin:4px 0 0; color:var(--cdp-navy); font-size:30px; }
.route-picker-list { display:grid; gap:10px; }
.route-pick-item { display:grid; grid-template-columns:72px 1fr auto; align-items:center; gap:14px; padding:12px; border:1px solid rgba(6,68,110,.09); border-radius:18px; background:#fff; }
.route-pick-thumb { width:72px; height:72px; overflow:hidden; border-radius:14px; background:#e8eff1; }
.route-pick-thumb img { width:100%; height:100%; object-fit:cover; }
.route-pick-copy { min-width:0; display:grid; gap:3px; }
.route-pick-copy strong a { color:var(--cdp-navy); }
.route-pick-copy small { color:var(--cdp-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.route-planner { position:sticky; top:108px; padding:26px; border-radius:26px; background:var(--cdp-cream); border:1px solid rgba(6,68,110,.09); box-shadow:var(--cdp-shadow); }
.route-planner h2 { margin:6px 0 0; font-size:34px; color:var(--cdp-navy); }
.route-summary { margin:6px 0 18px; color:var(--cdp-muted); font-weight:700; }
.route-selected { display:grid; gap:9px; margin-bottom:18px; max-height:430px; overflow:auto; }
.route-selected-item { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px; border-radius:14px; background:#fff; }
.route-selected-info { min-width:0; display:flex; align-items:center; gap:10px; }
.route-selected-info > div { min-width:0; display:grid; }
.route-selected-info strong { color:var(--cdp-navy); font-size:13px; line-height:1.2; }
.route-selected-info small { color:var(--cdp-muted); font-size:11px; }
.route-number { flex:0 0 28px; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:var(--cdp-teal); color:#fff; font-size:12px; font-weight:900; }
.route-remove { border:0; background:transparent; color:#9b3d3d; font-size:11px; font-weight:800; cursor:pointer; }
.route-empty { margin:0; padding:16px; border:1px dashed rgba(6,68,110,.2); border-radius:14px; color:var(--cdp-muted); background:rgba(255,255,255,.55); font-size:13px; }
.route-open { width:100%; }
.route-open.is-disabled { opacity:.46; cursor:not-allowed; }
.route-clear { width:100%; border:0; background:transparent; padding:12px; color:var(--cdp-muted); font-weight:800; cursor:pointer; }
.route-note { margin:8px 0 0; font-size:11px; color:var(--cdp-muted); }
.cdp-toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); z-index:9999; padding:11px 16px; border-radius:999px; background:#102f40; color:#fff; box-shadow:0 14px 34px rgba(0,0,0,.2); font-size:13px; font-weight:800; opacity:0; pointer-events:none; transition:.2s ease; }
.cdp-toast.is-visible { opacity:1; transform:translate(-50%,0); }

@media (max-width: 980px) {
  .route-home-grid, .route-layout, .event-single-grid { grid-template-columns:1fr; }
  .route-planner { position:static; }
  .event-date-big { width:120px; height:120px; }
  .event-date-big strong { font-size:46px; }
  .route-steps { grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  .program-card { grid-template-columns:68px 1fr; gap:12px; padding:14px; }
  .program-date { width:60px; height:60px; border-radius:15px; }
  .program-date strong { font-size:23px; }
  .program-arrow { display:none; }
  .route-pick-item { grid-template-columns:56px minmax(0,1fr); }
  .route-pick-thumb { width:56px; height:56px; }
  .route-pick-item .route-add-compact { grid-column:2; justify-self:start; }
  .route-home-card { min-height:270px; padding:28px; }
}


/* ===== Capital do Peixe 3.0 — Festival 2026 oficial ===== */
.card-price {
  display: inline-flex;
  margin: 2px 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(227,166,41,.13);
  color: #8b5f08;
  font-size: 13px;
  font-weight: 900;
}
.single-dish-name { font-size: 18px; }
.festival-official-poster {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(6,68,110,.08);
  box-shadow: var(--cdp-shadow);
}
.festival-official-poster img {
  width: 100%;
  max-height: 610px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
}
.festival-official-poster span {
  position: absolute;
  left: 26px;
  bottom: 26px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6,68,110,.92);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dish-showcase-section {
  background: linear-gradient(180deg,#fff 0%,#f7fbfb 100%);
}
.official-art-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}
.official-art-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(6,68,110,.09);
  box-shadow: 0 10px 34px rgba(7,63,97,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.official-art-card:hover { transform: translateY(-5px); box-shadow: var(--cdp-shadow); }
.official-art-card > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.official-art-card > span {
  display: grid;
  gap: 2px;
  padding: 15px 16px 17px;
  color: var(--cdp-ink);
}
.official-art-card strong { color: var(--cdp-navy); font-size: 15px; }
.official-art-card small { color: var(--cdp-teal); font-weight: 800; }
.dish-panel-v3 {
  grid-template-columns: minmax(300px,.78fr) minmax(0,1.22fr);
  align-items: start;
  padding: 30px;
}
.dish-panel-v3 .dish-art-wrap { display: grid; gap: 8px; }
.dish-panel-v3 .dish-art-wrap > a { display: block; }
.dish-panel-v3 img.dish-official-art {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: 760px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: #f8fafb;
}
.dish-art-wrap small { color: var(--cdp-muted); font-size: 11px; font-weight: 750; }
.dish-description { font-size: 17px; color: #425d6a; }
.dish-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 24px 0 0;
}
.dish-facts > div {
  display: grid;
  gap: 3px;
  padding: 16px;
  border-radius: 16px;
  background: var(--cdp-cream);
}
.dish-facts span {
  color: var(--cdp-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.dish-facts strong { color: var(--cdp-navy); font-size: 17px; }
.dish-extra {
  margin-top: 14px;
  padding: 16px 18px;
  border-left: 4px solid var(--cdp-gold);
  border-radius: 0 14px 14px 0;
  background: #fff9eb;
}
.dish-extra p { margin: 4px 0 0; color: #5f5c52; }
.contact-strip-section { padding-top: 68px; padding-bottom: 68px; }
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border-radius: 28px;
  background: var(--cdp-cream);
  border: 1px solid rgba(6,68,110,.08);
}
.contact-strip h2 { margin: 8px 0 8px; color: var(--cdp-navy); font-size: clamp(24px,3vw,36px); line-height: 1.08; }
.contact-strip p { margin: 0; color: var(--cdp-muted); }

@media (max-width: 980px) {
  .official-art-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dish-panel-v3 { grid-template-columns: 1fr; }
  .dish-panel-v3 .dish-art-wrap { max-width: 560px; margin: 0 auto; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .official-art-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .official-art-card > span { padding: 11px; }
  .official-art-card strong { font-size: 13px; }
  .official-art-card small { font-size: 10px; }
  .dish-facts { grid-template-columns: 1fr; }
  .festival-official-poster { padding: 9px; border-radius: 22px; }
  .festival-official-poster span { left: 18px; bottom: 18px; }
}

/* ===== Capital do Peixe 4.0: hospedagem, filtros e mapa ===== */
.filter-bar {
  display:flex; flex-wrap:wrap; gap:9px; margin:0 0 26px;
}
.filter-bar button {
  border:1px solid rgba(6,68,110,.13); background:#fff; color:var(--cdp-navy);
  padding:10px 14px; border-radius:999px; font:inherit; font-size:13px; font-weight:850; cursor:pointer;
  transition:.18s ease;
}
.filter-bar button:hover,.filter-bar button.is-active { background:var(--cdp-navy); color:#fff; border-color:var(--cdp-navy); }
.filter-bar-light button { background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.2); }
.filter-bar-light button:hover,.filter-bar-light button.is-active { background:#fff; color:var(--cdp-navy); border-color:#fff; }
.filter-card[hidden] { display:none !important; }

.lodging-home-section { background:#fff; }
.lodging-card {
  overflow:hidden; border-radius:22px; background:#fff; border:1px solid rgba(6,68,110,.09); box-shadow:0 10px 34px rgba(7,63,97,.08);
}
.lodging-media { position:relative; display:block; min-height:350px; color:#fff; overflow:hidden; }
.lodging-media img,.lodging-placeholder { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.lodging-card:hover .lodging-media img { transform:scale(1.035); }
.lodging-placeholder { background:linear-gradient(145deg,#0d8b8c,#06446e); }
.lodging-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(2,31,50,.02) 20%,rgba(2,31,50,.88) 100%); }
.lodging-content { position:absolute; left:0; right:0; bottom:0; padding:24px; z-index:2; }
.lodging-content h3 { margin:8px 0; color:#fff; font-size:24px; line-height:1.05; }
.lodging-content p { margin:0; color:rgba(255,255,255,.88); font-size:13px; line-height:1.5; }
.lodging-tag { display:inline-flex; padding:6px 9px; border-radius:999px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.22); font-size:10px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.lodging-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-top:1px solid rgba(6,68,110,.07); }
.lodging-actions > a { color:var(--cdp-navy); font-size:13px; font-weight:850; }
.lodging-single-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:40px; align-items:start; }
.info-side-card { padding:24px; border-radius:22px; background:var(--cdp-cream); border:1px solid rgba(6,68,110,.08); position:sticky; top:110px; }
.info-side-card p { color:#4e6570; line-height:1.65; }
.info-side-card a { color:var(--cdp-navy); font-weight:850; }
.source-note-public { margin-top:30px; padding:18px 20px; border-radius:16px; background:#fff9e9; color:#5f5b4e; border-left:4px solid var(--cdp-gold); font-size:13px; }
.source-note-light { background:rgba(255,255,255,.1); color:rgba(255,255,255,.9); border-left-color:#fff; }

.map-promo-grid { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:42px; align-items:center; }
.map-promo-card { min-height:280px; padding:32px; border-radius:30px; display:flex; flex-direction:column; justify-content:flex-end; background:linear-gradient(145deg,var(--cdp-navy),var(--cdp-teal)); color:#fff; box-shadow:var(--cdp-shadow); }
.map-promo-card strong { font-size:25px; line-height:1.1; }
.map-promo-card p { margin-bottom:0; color:rgba(255,255,255,.85); }
.map-promo-symbol { font-size:74px; line-height:1; margin-bottom:auto; opacity:.9; }

.map-page { padding-top:38px; }
.map-controls { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:14px; }
.map-controls .filter-bar { margin:0; }
#cdp-map-search { width:min(340px,100%); min-height:44px; padding:0 14px; border-radius:999px; border:1px solid rgba(6,68,110,.14); background:#fff; color:var(--cdp-ink); font:inherit; }
.cdp-map { width:100%; height:min(680px,72vh); min-height:480px; border-radius:28px; overflow:hidden; box-shadow:var(--cdp-shadow); border:1px solid rgba(6,68,110,.08); background:#dbe9e9; }
.map-status { color:var(--cdp-muted); font-size:12px; margin:12px 4px 0; }
.map-help { margin-top:18px; padding:16px 18px; border-radius:16px; background:var(--cdp-cream); color:#536771; font-size:13px; }
.cdp-map-icon-wrap { background:transparent; border:none; }
.cdp-map-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; border:3px solid #fff; box-shadow:0 5px 14px rgba(0,0,0,.25); font-size:16px; }
.cdp-map-icon-restaurante { background:#e3a629; }
.cdp-map-icon-turismo { background:#0d8b8c; }
.cdp-map-icon-hospedagem { background:#06446e; }
.cdp-map-popup { min-width:210px; display:grid; gap:4px; }
.cdp-map-popup strong { color:#06446e; font-size:15px; }
.cdp-map-popup span { color:#0d8b8c; font-size:10px; font-weight:900; text-transform:uppercase; }
.cdp-map-popup small { color:#61747e; line-height:1.35; }
.cdp-map-popup a { margin-top:6px; color:#06446e; font-weight:800; }

@media (max-width: 980px) {
  .lodging-single-grid,.map-promo-grid { grid-template-columns:1fr; }
  .info-side-card { position:static; }
  .map-promo-card { min-height:240px; }
  .map-controls { align-items:stretch; flex-direction:column; }
  #cdp-map-search { width:100%; }
}
@media (max-width: 680px) {
  .cdp-map { min-height:440px; border-radius:20px; }
  .map-filter { overflow:auto; flex-wrap:nowrap; padding-bottom:3px; }
  .map-filter button { white-space:nowrap; }
  .lodging-media { min-height:320px; }
}
@media (max-width: 1180px) and (min-width: 981px) {
  .main-navigation { position:absolute; left:0; right:0; top:84px; background:#fff; box-shadow:0 16px 34px rgba(7,63,97,.12); padding:18px 24px 24px; display:none; }
  .main-navigation.is-open { display:block; }
  .main-navigation ul { flex-direction:column; align-items:stretch; gap:4px; }
  .main-navigation a { display:block; padding:10px 4px; }
  .menu-toggle { display:block; }
  .header-cta { margin-left:auto; }
}
.directory-search { display:grid; grid-template-columns:auto minmax(220px,460px) auto; align-items:center; gap:14px; margin:0 0 28px; padding:16px 18px; border-radius:18px; background:var(--cdp-cream); border:1px solid rgba(6,68,110,.08); }
.directory-search label { color:var(--cdp-navy); font-weight:850; font-size:13px; }
.directory-search input { min-height:44px; border:1px solid rgba(6,68,110,.14); border-radius:999px; padding:0 15px; background:#fff; color:var(--cdp-ink); }
.directory-search span { color:var(--cdp-muted); font-size:12px; font-weight:800; white-space:nowrap; }
.directory-no-results { margin-top:18px; }
@media (max-width:680px){ .directory-search { grid-template-columns:1fr; } .directory-search span { justify-self:start; } }

.page-featured-media { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.page-featured-media img { width: 100%; height: auto; border-radius: var(--cdp-radius); box-shadow: var(--cdp-shadow); }
