﻿/* ============================================================
   GUIA FLORIPA â€” Home v4 Â· "Google Ads First"
   Design System (brief v4): #1995C7 / #F19114 / #333 / #F8FAFC
   ============================================================ */
:root {
  --c-primary: #1995C7;
  --c-primary-dark: #137AA6;
  --c-deep: #0C4A6E;
  --c-deeper: #08374F;
  --c-orange: #F19114;
  --c-orange-dark: #D87908;
  --c-green: #1F8A5B;
  --c-text: #333333;
  --c-muted: #64748B;
  --c-line: #E2E8F0;
  --c-line-2: #EDF2F6;
  --c-neutral: #F8FAFC;
  --c-sand: #F4E9DA;
  --c-white: #FFFFFF;

  --f-serif: 'Playfair Display', Georgia, serif;
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 80px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --sh-1: 0 2px 8px rgba(15, 44, 69, .07);
  --sh-2: 0 12px 32px rgba(15, 44, 69, .13);
  --sh-ad: 0 2px 4px rgba(0, 0, 0, .06);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--f-sans);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

.eyebrow {
  font: 600 12px/1 var(--f-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
}

/* ---- image placeholders ---- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(25, 149, 199, .06) 0 14px, rgba(25, 149, 199, .11) 14px 28px),
    linear-gradient(180deg, #DCEAF2 0%, #C7DCE9 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.ph--sand {
  background: repeating-linear-gradient(135deg, rgba(25, 149, 199, .05) 0 14px, rgba(241, 145, 20, .08) 14px 28px), linear-gradient(180deg, #F4E9DA 0%, #E9D8C0 100%);
}

.ph--green {
  background: repeating-linear-gradient(135deg, rgba(25, 149, 199, .05) 0 14px, rgba(31, 138, 91, .10) 14px 28px), linear-gradient(180deg, #D7E8DC 0%, #B9D4C2 100%);
}

.ph--dark {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 14px, rgba(255, 255, 255, .08) 14px 28px), linear-gradient(180deg, #0C4A6E 0%, #08374F 100%);
}

.ph__label {
  font: 400 11px/1.3 var(--f-mono);
  color: rgba(12, 74, 110, .75);
  background: rgba(255, 255, 255, .86);
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: .02em;
}

.ph--dark .ph__label {
  color: rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .32);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 var(--s-3);
  border-radius: var(--r-sm);
  font: 600 15px/1 var(--f-sans);
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}

.btn--primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(241, 145, 20, .25);
}

.btn--primary:hover {
  background: var(--c-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(241, 145, 20, .32);
}

.btn--secondary {
  background: #fff;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}

.btn--secondary:hover {
  background: #EAF5FA;
  transform: translateY(-2px);
}

/* ---- section rhythm ---- */
/* Section vertical/horizontal spacing comes from theme CONTAINER_PADDING_* utilities */

section.neutral {
  background: var(--c-neutral);
}

section.sand {
  background: var(--c-sand);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.sec-head__title .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.sec-head__title h2 {
  margin-bottom: 10px;
}

.sec-head__title p {
  color: var(--c-muted);
  font-size: 15px;
  max-width: 600px;
}

.sec-head__link {
  font: 600 14px/1 var(--f-sans);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-bottom: 4px;
}

.sec-head__link:hover {
  color: var(--c-orange);
  gap: 9px;
}

/* ---- search ---- */
.search-wrap {
  position: relative;
  z-index: 20;
  margin-top: -38px;
  margin-bottom: var(--s-6);
}

.search {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: var(--s-2);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: var(--s-1);
}

.search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-right: 1px solid var(--c-line);
  min-width: 0;
}

.search__field:last-of-type {
  border-right: 0;
}

.search__field svg {
  flex: none;
  color: var(--c-primary);
}

.search__inner {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search__label {
  font: 600 11px/1 var(--f-sans);
  color: var(--c-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search__input {
  font: 500 15px/1.4 var(--f-sans);
  color: var(--c-text);
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  width: 100%;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: var(--s-3);
  align-items: center;
}

.chips__label {
  font: 600 12px/1 var(--f-sans);
  color: var(--c-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-right: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  font: 500 13px/1 var(--f-sans);
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  transition: all .2s;
}

.chip:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.chip--active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* ============================================================
   HOJE NA ILHA â€” micro-band (sÃ³ dados automÃ¡ticos)
   ============================================================ */
.today {
  background: var(--c-deep);
  color: #fff;
  padding: 14px 0;
  font: 500 13px/1 var(--f-mono);
  letter-spacing: .04em;
}

.today__inner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.today__label {
  color: var(--c-orange);
  font-weight: 700;
  letter-spacing: .16em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.today__label::after {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, .28);
}

.today__item {
  color: rgba(255, 255, 255, .85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.today__item strong {
  color: #fff;
}

.today__sep {
  color: rgba(255, 255, 255, .28);
}

.today__auto {
  margin-left: auto;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  letter-spacing: .06em;
}

/* ============================================================
   MAPA 3D INTERATIVO v6
   ============================================================ */
.mapa-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--s-5);
  align-items: start;
}

/* --- botÃµes de navegaÃ§Ã£o --- */
.mapa-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.mapa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--c-line);
  background: #fff;
  cursor: pointer;
  font-family: var(--f-sans);
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.mapa-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rc, #1995C7);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}

.mapa-btn:hover {
  transform: translateY(-1px);
  border-color: var(--rc, #1995C7);
}

.mapa-btn:hover::after {
  opacity: .07;
}

.mapa-btn[aria-pressed="true"] {
  border-color: var(--rc, #1995C7);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc, #1995C7) 18%, transparent), 0 4px 12px rgba(0, 0, 0, .10);
}

.mapa-btn[aria-pressed="true"]::after {
  opacity: .09;
}

.mapa-btn__pip {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rc, #999);
  position: relative;
  z-index: 1;
  transition: box-shadow .2s;
}

.mapa-btn[aria-pressed="true"] .mapa-btn__pip {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rc, #999) 28%, transparent);
}

.mapa-btn__text {
  font: 600 12px/1 var(--f-sans);
  color: var(--c-text);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.mapa-btn__dir {
  margin-left: auto;
  font: 500 10px/1 var(--f-mono);
  color: var(--c-muted);
  position: relative;
  z-index: 1;
}

/* --- perspectiva 3D --- */
.mapa-3d-wrap {
  perspective: 1000px;
  perspective-origin: 50% 15%;
}

@keyframes mapFloat {
  0%, 100% {
    transform: rotateX(7deg) rotateY(-3.5deg) translateY(0);
  }

  50% {
    transform: rotateX(7deg) rotateY(-3.5deg) translateY(-8px);
  }
}

.mapa-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(155deg, #e8f4fb 0%, #cfe5f3 50%, #bdd8ec 100%);
  padding: 22px 22px 16px;
  transform: rotateX(7deg) rotateY(-3.5deg);
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.23, 1, .32, 1), box-shadow .65s ease;
  will-change: transform;
  animation: mapFloat 6s ease-in-out infinite;
  box-shadow:
    0 1px 2px rgba(15, 44, 69, .04),
    0 5px 10px rgba(15, 44, 69, .07),
    0 16px 32px rgba(15, 44, 69, .12),
    0 36px 60px rgba(15, 44, 69, .14),
    0 64px 100px rgba(15, 44, 69, .08);
  border: 1px solid rgba(255, 255, 255, .95);
  border-bottom-color: rgba(15, 44, 69, .18);
  border-right-color: rgba(15, 44, 69, .12);
}

.mapa-card:hover {
  animation-play-state: paused;
}

/* reflexo gloss */
.mapa-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(148deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .10) 28%, transparent 52%);
  pointer-events: none;
  z-index: 20;
}

/* sombra no chÃ£o */
.mapa-card::after {
  content: '';
  position: absolute;
  bottom: -44px;
  left: 8%;
  right: 8%;
  height: 52px;
  background: radial-gradient(ellipse at center 30%, rgba(15, 44, 69, .30) 0%, transparent 68%);
  z-index: -1;
  filter: blur(10px);
  transform: scaleY(.45) skewX(-3deg);
}

/* palco de imagens */
.mapa-img-stage {
  position: relative;
  aspect-ratio: 317/459;
  border-radius: 8px;
  overflow: hidden;
}

.mapa-img-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.97) translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
  filter: contrast(1.06) saturate(1.12) drop-shadow(0 8px 20px rgba(15, 44, 69, .22));
}

.mapa-img-stage img.on {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* badge de regiÃ£o no canto do card */
.mapa-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(15, 44, 69, .1);
  border-radius: 100px;
  padding: 5px 10px 5px 7px;
  font: 600 10px/1 var(--f-sans);
  color: var(--c-deep);
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(15, 44, 69, .1);
  transition: all .3s ease;
}

.mapa-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--badge-rc, #999);
  transition: background .3s;
}

/* rodapÃ© do card */
.mapa-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 44, 69, .14);
}

.mapa-card-foot span {
  font: 500 10px/1 var(--f-mono);
  color: rgba(15, 44, 69, .38);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media(prefers-reduced-motion:reduce) {
  .mapa-card {
    animation: none;
    transition: none;
  }

  .mapa-img-stage img {
    transition: none;
  }
}

/* ============================================================
   EM ALTA (GA4 filtrado)
   ============================================================ */
.trending {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--sh-1);
}

.trending__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--c-line);
}

.trending__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trending__title h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.trending__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
  flex: none;
  box-shadow: 0 0 0 0 rgba(241, 145, 20, .5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 145, 20, .5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(241, 145, 20, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(241, 145, 20, 0);
  }
}

.trending__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--s-6);
}

.trending__item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--c-line-2);
}

.trending__rank {
  font: 700 20px/1 var(--f-serif);
  color: #CBD9E3;
  min-width: 26px;
}

.trending__item:nth-child(-n+3) .trending__rank {
  color: var(--c-orange);
}

.trending__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trending__name {
  font: 600 15px/1.3 var(--f-sans);
  color: var(--c-deep);
}

.trending__link:hover .trending__name {
  color: var(--c-primary);
}

.trending__cat {
  font: 400 10px/1 var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.trending__views {
  font: 400 11px/1 var(--f-mono);
  color: var(--c-muted);
  white-space: nowrap;
}

.trending__trend {
  font-weight: 700;
  font-size: 14px;
}

.trending__trend--up {
  color: var(--c-green);
}

.trending__trend--flat {
  color: var(--c-muted);
}

.trending__note {
  margin-top: var(--s-3);
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.5;
}

/* sponsor line (condicional) */
.sponsor-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 500 11px/1.4 var(--f-mono);
  color: var(--c-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 12px;
}

.sponsor-line::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--c-line);
}

.sponsor-line strong {
  color: var(--c-deep);
  font-weight: 700;
}

.sponsor-line a {
  color: var(--c-deep);
  border-bottom: 1px solid var(--c-line);
  transition: color .2s, border-color .2s;
}

.sponsor-line a:hover {
  color: var(--c-orange);
  border-color: var(--c-orange);
}

.cond-pill {
  font: 600 9px/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(25, 149, 199, .1);
  padding: 3px 7px;
  border-radius: 999px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-deeper);
  color: rgba(255, 255, 255, .75);
  padding: var(--s-8) 0 var(--s-4);
  font-size: 14px;
}

.footer__credo {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.footer__credo-mark {
  font: 700 40px/1 var(--f-serif);
  color: var(--c-orange);
  flex: none;
}

.footer__credo-text {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.55;
}

.footer__credo-text strong {
  color: #fff;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}

.footer__brand h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: var(--s-2);
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.footer__brand p {
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
  max-width: 280px;
}

.footer__col h5 {
  font: 700 12px/1 var(--f-sans);
  color: #fff;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 var(--s-2);
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col a {
  color: rgba(255, 255, 255, .65);
  transition: color .15s;
  font-size: 14px;
}

.footer__col a:hover {
  color: var(--c-sand);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  gap: var(--s-3);
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .75);
  transition: all .15s;
}

.footer__social a:hover {
  border-color: var(--c-sand);
  color: var(--c-sand);
}

/* ============================================================
   Responsivo (desktop-first Â· fallback bÃ¡sico p/ fase 2)
   ============================================================ */
@media (max-width:1100px) {
  .mapa-layout {
    grid-template-columns: 55% 1fr;
    gap: var(--s-3);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:860px) {
  .mapa-layout {
    grid-template-columns: 1fr;
  }

  .mapa-3d-wrap {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width:720px) {
  .container {
    padding: 0 var(--s-3);
  }

  .search {
    grid-template-columns: 1fr;
  }

  .search__field {
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }

  .trending__list {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

}

