/* Site público do Flow Floripa. Estrutura do padrão visual CliQue (superfícies brancas, bordas leves, raio 16,
   badges suaves) com a identidade Flow [ASSUMIDO]: azul-oceano #0B3D5C, turquesa do mar #19A7B8 (decorativo),
   pôr do sol #F29F45 (decorativo) e botões em #0B6E8A (contraste AA com texto branco). */
:root {
  --ocean: #0B3D5C; --ocean-deep: #082436; --sea: #19A7B8; --sea-soft: #E3F5F7; --sun: #F29F45; --sun-soft: #FDF0E1;
  --sand: #FBF6EE; --accent: #0B6E8A; --accent-dark: #095A71;
  --text: #13304A; --muted: #5B6B7D; --faint: #94A3B8; --border: #E3E9EF; --page: #F3F7FA; --card: #FFFFFF;
  --radius: 16px; --radius-sm: 12px; --shadow: 0 1px 2px rgba(11, 61, 92, .05), 0 10px 28px -20px rgba(11, 61, 92, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Poppins', 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); color: var(--ocean); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.ui-icon { flex: none; vertical-align: -3px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ocean); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--sea); color: var(--ocean); }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 1rem; }

/* cabeçalho */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ocean); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ocean); }
.brand-name span { font-weight: 500; color: var(--sea); margin-left: 2px; }
.brand-name.light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a:not(.btn) { color: var(--text); font-weight: 500; }
.site-nav > a:not(.btn):hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 44px; color: var(--ocean); cursor: pointer; }
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 10px 4px; }
}

/* hero */
.hero { background: linear-gradient(160deg, #fff 0%, var(--sea-soft) 60%, var(--sand) 100%); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; margin-bottom: 18px; }
.pill-sun { background: var(--sun-soft); color: #8A4B0B; }
.hero-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; background: var(--page); }
.timeline .t { font-family: var(--display); font-weight: 600; color: var(--ocean); }
.hero-card-foot { margin: 14px 0 0; font-size: .85rem; color: var(--faint); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 36px 0 44px; } }

/* secções e cartões */
.section { padding: 56px 0; }
.section-sand { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } .section { padding: 40px 0; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sea-soft); color: var(--accent); margin-bottom: 14px; }
.place-card { display: flex; flex-direction: column; gap: 8px; color: var(--text); transition: transform .15s, border-color .15s; }
.place-card:hover { transform: translateY(-2px); border-color: var(--sea); color: var(--text); }
.place-card h3 { margin: 4px 0 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--sea-soft); color: #0A5868; font-size: .8rem; font-weight: 600; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--faint); margin-top: auto; }
.region-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .region-list { grid-template-columns: 1fr; } }
.region { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); color: var(--text); }
.region:hover { border-color: var(--sea); color: var(--text); }
.region strong { font-family: var(--display); color: var(--ocean); }
.region span { color: var(--muted); font-size: .92rem; }

/* páginas internas */
.page-head { padding: 40px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--text); font-weight: 500; }
.chip span { font-size: .8rem; color: var(--faint); }
.chip:hover { border-color: var(--sea); color: var(--text); }
.map { height: 440px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--sea-soft); overflow: hidden; }
.map-small { height: 280px; }
@media (max-width: 600px) { .map { height: 320px; } }
.region-section { padding: 40px 0 8px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.place-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .place-layout { grid-template-columns: 1fr; } }
.place-body p { font-size: 1.05rem; }
.best-time { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--sun-soft); color: #6B3A08; }
.cta-box { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--ocean); color: #DCEAF2; }
.cta-box h2 { color: #fff; font-size: 1.3rem; }
.aside-title { font-size: 1.1rem; margin-top: 24px; }
.nearby { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nearby a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); }
.nearby a:hover { border-color: var(--sea); }
.nearby span { font-size: .85rem; color: var(--faint); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps ol { padding-left: 1.2em; color: var(--muted); }
.steps li { margin-bottom: 8px; }

/* rodapé */
.site-footer { background: var(--ocean-deep); color: #A9C1D1; padding: 40px 0 24px; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-row p { margin-top: 8px; max-width: 46ch; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #DCEAF2; }
.footer-legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* erro */
.error-page { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(160deg, #fff, var(--sea-soft)); }
.error-box { text-align: center; padding: 48px 0; }
.error-box .lead { margin-inline: auto; }

/* mapa (Leaflet) */
.leaflet-popup-content a { font-weight: 600; }
.flow-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(8, 36, 54, .35); }
