/* ==========================================================================
   Farol922 — Redesign v2
   Carregado depois do bootstrap/style.css. Classes novas usam prefixo .f-
   para não colidir com o template antigo (que outras páginas ainda usam).
   Cores: as mesmas de produção (pedra.css + logo).
   ========================================================================== */
:root {
  --f-navy: #0C285C;
  --f-navy-dark: #0A1F4A;
  --f-navy-2: #214478;
  --f-gold: #C79827;
  --f-gold-dark: #80611b;
  --f-gold-50: #FBF5E4;
  --f-bg: #F5F6FA;
  --f-text: #3A3A3A;
  --f-muted: #6B7280;
  --f-line: #E6E8EF;
  --f-white: #fff;
  --f-ok: #198754;
  --f-danger: #B42318;
  --f-radius: 14px;
  --f-shadow: 0 4px 18px rgba(12, 40, 92, .08);
  --f-shadow-lg: 0 10px 30px rgba(12, 40, 92, .14);
  --f-font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fonte nova também nas páginas que ainda usam o template antigo */
  --body-font-family: var(--f-font);
}
body { font-family: var(--f-font); background: var(--f-bg); color: var(--f-text); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-font); }

.f-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.f-main { padding-bottom: 24px; }
.f-main h1, .f-main h2, .f-main h3, .f-main h4 { color: var(--f-navy); margin: 0; letter-spacing: -.02em; font-weight: 700; }
.f-main a { text-decoration: none; }
.f-main img { max-width: 100%; }
.f-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botões ------------------------------------------------------------------- */
.f-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--f-font);
  border-radius: 10px; padding: 12px 18px; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.f-btn-gold { background: var(--f-gold); color: var(--f-white) !important; }
.f-btn-gold:hover { background: var(--f-gold-dark); }
.f-btn-line { background: var(--f-white); border-color: var(--f-line); color: var(--f-navy) !important; }
.f-btn-line:hover { border-color: var(--f-navy); }
.f-btn:focus-visible, .f-chip:focus-visible, .f-card:focus-visible { outline: 3px solid var(--f-gold); outline-offset: 2px; }

/* Header ------------------------------------------------------------------- */
.f-top { background: var(--f-white); border-bottom: 3px solid var(--f-gold); position: sticky; top: 0; z-index: 50; }
.f-top .f-wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.f-logo img { height: 36px; width: auto; display: block; }
.f-nav { display: flex; gap: 24px; }
.f-nav a { font-weight: 600; font-size: 15px; color: var(--f-navy); text-decoration: none; }
.f-nav a:hover, .f-nav a.on { color: var(--f-gold-dark); }
.f-search { margin-left: auto; display: flex; align-items: center; gap: 8px; border: 1px solid var(--f-line); border-radius: 999px;
  padding: 0 6px 0 16px; height: 44px; width: 320px; background: var(--f-white); }
.f-search:focus-within { border-color: var(--f-gold); }
.f-search input { border: 0; outline: 0; flex: 1; font: 15px var(--f-font); min-width: 0; background: none; }
.f-search button { border: 0; background: none; width: 34px; height: 34px; border-radius: 50%; color: var(--f-navy); cursor: pointer; }
.f-search button:hover { background: var(--f-bg); }

/* Hero --------------------------------------------------------------------- */
.f-hero { position: relative; color: var(--f-white); padding: 64px 0 104px; background-color: var(--f-navy);
  background-image: linear-gradient(90deg, rgba(10,31,74,.94) 0%, rgba(12,40,92,.78) 45%, rgba(12,40,92,.15) 100%), var(--f-hero-img);
  background-size: cover; background-position: center 35%; }
.f-hero h1 { color: var(--f-white) !important; font-size: 46px; line-height: 1.08; max-width: 640px; }
.f-hero p { font-size: 20px; margin: 14px 0 0; color: rgba(255,255,255,.9); max-width: 560px; }
.f-hero .f-count { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.f-hero-sm { padding: 40px 0 44px; }
.f-hero-sm h1 { font-size: 34px; }

/* Busca (finder) ----------------------------------------------------------- */
.f-finder { margin-top: -60px; position: relative; z-index: 2; }
.f-finder form { background: var(--f-white); border-radius: var(--f-radius); box-shadow: var(--f-shadow-lg); display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px; padding: 8px; margin: 0; }
.f-field { position: relative; display: block; margin: 0; }
.f-field + .f-field::before { content: ""; position: absolute; left: -4px; top: 14px; bottom: 14px; width: 1px; background: var(--f-line); }
.f-field > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--f-gold); pointer-events: none; }
.f-field > b { position: absolute; left: 52px; top: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--f-muted); pointer-events: none; }
.f-field select, .f-field input { appearance: none; -webkit-appearance: none; width: 100%; height: 72px; padding: 28px 44px 10px 52px;
  border: 1px solid transparent; border-radius: 10px; font: 600 17px var(--f-font); color: var(--f-navy); background: transparent;
  text-overflow: ellipsis; transition: background-color .15s, border-color .15s; outline: 0; }
.f-field select { cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230C285C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.f-field input { padding-right: 16px; }
.f-field input::placeholder { color: var(--f-navy); opacity: .55; font-weight: 500; }
.f-field select:hover, .f-field input:hover { background-color: var(--f-bg); }
.f-field select:focus-visible, .f-field input:focus { border-color: var(--f-gold); background-color: var(--f-gold-50); }
.f-field select option, .f-field select optgroup { font-size: 15px; color: var(--f-text); }
.f-finder .f-btn { height: 72px; padding: 0 30px; font-size: 16px; }

.f-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; font-weight: 600; color: var(--f-navy); }
.f-chip { border: 1px solid var(--f-line); background: var(--f-white); border-radius: 999px; padding: 9px 16px; font: 500 14px var(--f-font);
  color: var(--f-navy); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: all .15s; }
.f-chip:hover { border-color: var(--f-navy); }
.f-chip.on { background: var(--f-navy); color: var(--f-white); border-color: var(--f-navy); }

/* Seções ------------------------------------------------------------------- */
.f-sec { margin: 52px 0; padding: 0; } /* style.css antigo põe padding em toda <section> */
.f-hero { padding-left: 0; padding-right: 0; }
.f-sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.f-sec-head h2 { font-size: 30px; }
.f-sec-head p { margin: 4px 0 0; color: var(--f-muted); font-size: 15px; }
.f-more { color: var(--f-gold-dark) !important; font-weight: 600; font-size: 15px; white-space: nowrap; }
.f-more:hover { text-decoration: underline !important; }
.f-empty { background: var(--f-white); border: 1px dashed var(--f-line); border-radius: var(--f-radius); padding: 32px; text-align: center; color: var(--f-muted); }

/* Cards de evento ---------------------------------------------------------- */
.f-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.f-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f-card { background: var(--f-white); border-radius: var(--f-radius); box-shadow: var(--f-shadow); overflow: hidden; display: flex;
  flex-direction: column; transition: transform .15s, box-shadow .15s; position: relative; }
.f-card:hover { transform: translateY(-3px); box-shadow: var(--f-shadow-lg); }
.f-card[hidden] { display: none; }
.f-card .f-thumb { position: relative; aspect-ratio: 4/3; background: var(--f-line); overflow: hidden; display: block; }
.f-card .f-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.f-badge-date { position: absolute; left: 12px; top: 12px; background: var(--f-gold); color: var(--f-white); font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 8px; text-transform: uppercase; letter-spacing: .02em; z-index: 2; }
.f-icon-btn { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--f-white);
  color: var(--f-navy) !important; display: grid; place-items: center; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 16px; }
.f-icon-btn:hover { background: var(--f-gold-50); }
.f-card .f-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.f-card h3 { font-size: 16px; line-height: 1.3; font-weight: 700; }
.f-card h3 a { color: var(--f-navy); }
.f-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* card inteiro clicável */
.f-meta { font-size: 14px; color: var(--f-muted); display: flex; gap: 6px; align-items: flex-start; line-height: 1.35; }
.f-meta i { color: var(--f-navy); margin-top: 1px; }
.f-tag { align-self: flex-start; background: var(--f-gold-50); color: var(--f-gold-dark); font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: 999px; display: inline-flex; gap: 6px; }
.f-card .f-foot { margin-top: auto; padding-top: 6px; position: relative; z-index: 2; }


/* Card encerrado */
.f-card.f-past { opacity: .62; }
.f-card.f-past .f-thumb img { filter: grayscale(.7); }
.f-card.f-past .f-badge-date { background: var(--f-muted); }

/* Participação (Vou / Talvez) — mesmas classes que participacao.js usa */
.f-part.farol-participacao-container { display: flex; gap: 8px; padding: 0; background: none; border: 0; } /* neutraliza participacao.css */
.f-part .participacao-count { min-width: 0; padding: 0; background: none; color: inherit; }
.f-part .btn-participacao { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px;
  border-radius: 10px; border: 1px solid var(--f-line); background: var(--f-white); color: var(--f-navy); font: 600 14px var(--f-font);
  cursor: pointer; transition: all .15s; padding: 0 10px; }
.f-part .btn-participacao:hover { border-color: var(--f-navy); }
.f-part .btn-participacao.active { background: var(--f-navy); color: var(--f-white); border-color: var(--f-navy); }
.f-part .btn-participacao-talvez.active { background: var(--f-gold); border-color: var(--f-gold); }
.f-part .btn-participacao.loading { opacity: .6; }
.f-part .participacao-count:not(:empty), .f-part .active .participacao-count:not(:empty) { background: rgba(12,40,92,.08); border-radius: 999px; padding: 1px 7px; font-size: 12px; }
.f-part .active .participacao-count:not(:empty) { background: rgba(255,255,255,.25); }
.f-part-lg .btn-participacao { height: 46px; font-size: 15px; flex: 0 1 auto; padding: 0 20px; }

/* Cidades ------------------------------------------------------------------ */
.f-cities { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.f-city { background: var(--f-white); border-radius: 12px; box-shadow: var(--f-shadow); padding: 14px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; color: var(--f-navy) !important; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: all .15s; }
.f-city:hover, .f-city.on { background: var(--f-gold-50); border-color: var(--f-gold); }
.f-city span { background: var(--f-bg); color: var(--f-navy); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.f-city.on span { background: var(--f-gold); color: var(--f-white); }
.f-cities-more { margin-top: 14px; }
.f-cities-more summary { cursor: pointer; color: var(--f-gold-dark); font-weight: 600; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.f-cities-more summary::-webkit-details-marker { display: none; }
.f-cities-more[open] summary .bi { transform: rotate(180deg); }
.f-cities-more .f-cities { margin-top: 14px; }

/* Lista "próximos dias" ---------------------------------------------------- */
.f-rows { display: grid; gap: 12px; }
.f-row { display: grid; grid-template-columns: 132px 76px minmax(0, 1fr) 40px; gap: 18px; align-items: center; background: var(--f-white);
  border-radius: var(--f-radius); box-shadow: var(--f-shadow); padding: 10px; color: inherit; transition: box-shadow .15s; }
.f-row:hover { box-shadow: var(--f-shadow-lg); }
.f-row img { width: 132px; height: 84px; object-fit: cover; object-position: top; border-radius: 10px; }
.f-day { text-align: center; color: var(--f-navy); background: var(--f-gold-50); border-radius: 10px; padding: 8px 0; line-height: 1.1; }
.f-day small { display: block; font-size: 11px; text-transform: uppercase; font-weight: 600; }
.f-day b { font-size: 26px; font-weight: 800; }
.f-row h3 { font-size: 16px; margin-bottom: 4px !important; }
.f-go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--f-line); display: grid; place-items: center; color: var(--f-navy); }
/* Painel ------------------------------------------------------------------ */
.f-panel { background: var(--f-white); border-radius: var(--f-radius); box-shadow: var(--f-shadow); padding: 24px; }
.f-panel h4 { font-size: 17px; margin-bottom: 14px !important; }

/* Footer ------------------------------------------------------------------- */
.f-footer { background: var(--f-navy-dark); color: rgba(255,255,255,.75); padding: 44px 0 28px; margin-top: 64px; font-size: 15px; }
.f-footer .f-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.f-footer img { height: 34px; filter: brightness(0) invert(1); opacity: .95; }
.f-footer h6 { color: var(--f-white); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.f-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.f-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.f-footer a:hover { color: var(--f-gold); }
.f-footer .f-copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 13px; }

/* Detalhe do evento -------------------------------------------------------- */
.f-banner { position: relative; padding: 24px 0; background: var(--f-navy-dark); overflow: hidden; } /* faixa larga com o fundo desfocado */
.f-banner-in { position: relative; width: calc(100% - 32px); max-width: 1208px; height: 440px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.35); } /* banner na largura útil */
.f-banner .f-blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(.5); }
.f-banner-in img { position: relative; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 30%; cursor: zoom-in; }
.f-zoom { position: absolute; right: 18px; bottom: 18px; z-index: 3; border: 0; color: var(--f-white); font: 600 14px var(--f-font);
  background: rgba(10,31,74,.7); padding: 9px 14px; border-radius: 8px; backdrop-filter: blur(4px); display: inline-flex; gap: 8px; align-items: center; }
.f-zoom:hover { background: var(--f-gold); color: var(--f-navy-dark); }
.f-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; cursor: zoom-out; }
.f-lightbox::backdrop { background: rgba(5,15,40,.88); }
.f-lightbox img { display: block; max-width: 96vw; max-height: 94vh; object-fit: contain; border-radius: 8px; }
.f-lb-close { position: fixed; top: 16px; right: 16px; border: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--f-white); color: var(--f-navy); font-size: 18px; }
.f-banner .f-back { position: absolute; left: 16px; top: 16px; z-index: 2; color: var(--f-white); font-weight: 600; font-size: 14px; background: rgba(10,31,74,.6); padding: 8px 14px; border-radius: 8px;
  backdrop-filter: blur(4px); display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.f-ended { background: var(--f-danger); color: var(--f-white); padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 18px;
  display: flex; gap: 8px; align-items: center; }
.f-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: 20px; }
.f-detail h1 { font-size: 34px; line-height: 1.15; }
.f-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 22px; font-size: 15px; }
.f-facts span, .f-facts a { display: inline-flex; gap: 7px; align-items: center; color: var(--f-text); }
.f-facts a:hover { color: var(--f-gold-dark); }
.f-facts i { color: var(--f-navy); }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.f-detail h2 { font-size: 22px; margin: 32px 0 12px !important; }
.f-desc { line-height: 1.75; font-size: 16px; overflow-wrap: anywhere; }
.f-desc p { margin: 0 0 12px; }
.f-list { list-style: none; padding: 0; margin: 4px 0 16px; border: 1px solid var(--f-line); border-radius: 12px; overflow: hidden; }
.f-list li { padding: 10px 16px 10px 40px; position: relative; line-height: 1.5; }
.f-list li + li { border-top: 1px solid var(--f-line); }
.f-list li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--f-gold); }
.f-list b { color: var(--f-navy); }
.f-detail aside { display: grid; gap: 20px; align-content: start; }
.f-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 15px; }
.f-info li { display: grid; grid-template-columns: 28px minmax(0, 1fr); }
.f-info i { color: var(--f-navy); font-size: 18px; }
.f-info b { display: block; color: var(--f-navy); font-size: 13px; }
.f-info a { color: var(--f-gold-dark); overflow-wrap: anywhere; }
.f-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--f-line); height: 220px; }
.f-note { font-size: 13px; color: var(--f-muted); margin: 10px 0 0; }
.f-sponsors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.f-sponsors div { background: var(--f-bg); border-radius: 10px; height: 64px; display: grid; place-items: center; padding: 8px; }
.f-sponsors img { max-height: 100%; max-width: 100%; object-fit: contain; }
.f-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--f-navy); color: var(--f-white); padding: 10px 18px;
  border-radius: 10px; font-weight: 600; z-index: 100; box-shadow: var(--f-shadow-lg); }

/* Responsivo --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .f-search { width: 240px; }
}
@media (max-width: 900px) {
  .f-nav, .f-search { display: none; }
  .f-top .f-btn { margin-left: auto; }
  .f-grid, .f-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-finder form { grid-template-columns: 1fr; }
  .f-field + .f-field::before { left: 12px; right: 12px; top: -4px; bottom: auto; width: auto; height: 1px; }
  .f-detail { grid-template-columns: 1fr; }
  .f-footer .f-cols { grid-template-columns: 1fr 1fr; }
  .f-footer .f-cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .f-top .f-wrap { height: 62px; gap: 12px; }
  .f-logo img { height: 30px; }
  .f-top .f-btn { padding: 10px 12px; font-size: 14px; }
  .f-hero { padding: 40px 0 92px; background-image: linear-gradient(180deg, rgba(10,31,74,.88), rgba(12,40,92,.7)), var(--f-hero-img-sm, var(--f-hero-img)); }
  .f-hero h1 { font-size: 32px; }
  .f-hero p { font-size: 16px; }
  .f-sec { margin: 40px 0; }
  .f-sec-head h2 { font-size: 24px; }
  .f-grid, .f-grid.g3 { grid-template-columns: 1fr; }
  .f-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-row { grid-template-columns: 64px minmax(0, 1fr) 32px; gap: 12px; }
  .f-row img { display: none; }
  .f-banner { padding: 12px 0; } .f-banner-in { height: 280px; border-radius: 12px; }
.f-zoom { right: 12px; bottom: 12px; font-size: 13px; }
  .f-detail h1 { font-size: 26px; }
  .f-actions .f-btn, .f-part-lg .btn-participacao { flex: 1 1 calc(50% - 10px); }
  .f-actions .f-part { flex: 1 1 100%; } /* Eu vou + Talvez dividem a linha inteira */
}

/* Destaques no formato stories ------------------------------------------- */
.f-stories { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.f-story { flex: 0 0 112px; scroll-snap-align: start; text-align: center; text-decoration: none; color: var(--f-text); display: grid; justify-items: center; gap: 4px; }
.f-story-ring { width: 104px; height: 104px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--f-gold), #f0c75e, var(--f-navy), var(--f-gold)); transition: transform .2s; }
.f-story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--f-bg); display: block; }
.f-story:hover .f-story-ring { transform: scale(1.05); }
.f-story:first-child { margin-left: auto; } .f-story:last-child { margin-right: auto; } /* centraliza; com overflow vira rolagem normal */
.f-story b { font-size: 13px; line-height: 1.25; color: var(--f-navy); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
.f-story small { font-size: 11px; line-height: 1.3; color: #6b7280; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) { .f-story { flex-basis: 84px; } .f-story-ring { width: 78px; height: 78px; } }
.f-id { text-align: right; margin-top: 18px; }
.f-id button { border: 1px solid var(--f-line); background: var(--f-bg); color: #6b7280; font: 12px var(--f-font); padding: 4px 10px; border-radius: 6px; cursor: copy; }
.f-id button:hover { color: var(--f-navy); border-color: var(--f-navy); }

/* Sobre -------------------------------------------------------------------- */
.f-kicker { display: inline-block; color: var(--f-gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.f-ab-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.f-ab-intro h2 { font-size: 32px; line-height: 1.15; margin-bottom: 14px !important; }
.f-ab-intro p { font-size: 17px; line-height: 1.75; margin: 0; }
.f-ab-why { background: var(--f-navy); color: rgba(255,255,255,.88); border-radius: var(--f-radius); padding: 30px; box-shadow: var(--f-shadow-lg); }
.f-ab-why i { font-size: 34px; color: var(--f-gold); }
.f-main .f-ab-why h3 { color: var(--f-white); font-size: 22px; margin: 10px 0 8px; }
.f-ab-why p { font-size: 16px; line-height: 1.65; }
.f-ab-why strong { color: var(--f-gold); }
.f-ab-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.f-ab-feats i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--f-gold-50); color: var(--f-gold-dark); font-size: 22px; margin-bottom: 14px; }
.f-ab-feats p, .f-ab-steps p { margin: 0; line-height: 1.6; color: var(--f-muted); }
.f-ab-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.f-ab-steps li { position: relative; background: var(--f-white); border-radius: var(--f-radius); box-shadow: var(--f-shadow); padding: 24px; border-top: 4px solid var(--f-gold); }
.f-ab-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--f-navy); color: var(--f-white); font-size: 18px; margin-bottom: 12px; }
.f-ab-steps a { color: var(--f-gold-dark); font-weight: 600; }
.f-ab-tip { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; padding: 14px 18px; background: var(--f-gold-50); border-radius: 10px; color: var(--f-gold-dark); }
.f-ab-tip i { font-size: 20px; }
.f-ab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.f-ab-grid h4 { display: flex; gap: 10px; align-items: center; }
.f-ab-grid h4 i { color: var(--f-gold); font-size: 20px; }
.f-ab-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-ab-grid li { position: relative; padding-left: 24px; line-height: 1.5; }
.f-ab-grid li::before { content: "\f633"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px; color: var(--f-ok); }
.f-ab-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding: 36px 40px; border-radius: var(--f-radius);
  background: linear-gradient(120deg, var(--f-navy-dark), var(--f-navy-2)); color: rgba(255,255,255,.85); }
.f-main .f-ab-cta h2 { color: var(--f-white); font-size: 28px; margin-bottom: 4px !important; }
.f-ab-cta p { margin: 0; }
.f-ab-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.f-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); color: var(--f-white) !important; }
.f-btn-ghost:hover { background: rgba(255,255,255,.12); }
@media (max-width: 900px) {
  .f-ab-intro, .f-ab-grid { grid-template-columns: 1fr; gap: 24px; }
  .f-ab-feats, .f-ab-steps { grid-template-columns: 1fr; }
  .f-ab-cta { padding: 28px 22px; }
}
.f-ab-why p, .f-ab-cta p, .f-footer p { color: rgba(255,255,255,.82); }
.f-ab-feats h4, .f-ab-steps h4 { font-size: 18px; margin-bottom: 6px !important; }

/* Privacidade -------------------------------------------------------------- */
.f-pv { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.f-pv-nav { position: sticky; top: 24px; display: grid; gap: 4px; }
.f-pv-nav b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--f-muted); margin-bottom: 6px; }
.f-pv-nav a { color: var(--f-navy); text-decoration: none; padding: 8px 12px; border-left: 3px solid var(--f-line); font-size: 15px; }
.f-pv-nav a:hover { border-color: var(--f-gold); background: var(--f-white); }
.f-pv-body { padding: 36px 40px; }
.f-pv-lead { font-size: 18px; line-height: 1.7; margin: 0 0 8px; color: var(--f-navy); }
.f-pv-body section { padding: 24px 0; border-top: 1px solid var(--f-line); scroll-margin-top: 20px; }
.f-pv-body section:first-of-type { border-top: 0; }
.f-main .f-pv-body h2 { display: flex; gap: 12px; align-items: center; font-size: 21px; margin-bottom: 8px !important; }
.f-pv-body h2 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--f-gold-50); color: var(--f-gold-dark); font-size: 15px; flex: none; }
.f-pv-body section p { margin: 0 0 0 44px; line-height: 1.75; font-size: 16px; }
.f-pv-contact { display: flex; gap: 16px; align-items: center; margin-top: 12px; padding: 20px 24px; border-radius: 12px; background: var(--f-gold-50); }
.f-pv-contact i { font-size: 30px; color: var(--f-gold-dark); }
.f-pv-contact b { color: var(--f-navy); }
.f-pv-contact p { margin: 2px 0 0; }
.f-pv-contact a { color: var(--f-gold-dark); font-weight: 600; }
@media (max-width: 900px) {
  .f-pv { grid-template-columns: 1fr; gap: 20px; }
  .f-pv-nav { position: static; }
  .f-pv-body { padding: 24px 20px; }
  .f-pv-body section p { margin-left: 0; }
}

/* Sobre no fim da lista ---------------------------------------------------- */
.f-ha { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: 56px; padding: 44px 48px !important;
  border-radius: var(--f-radius); background: linear-gradient(120deg, var(--f-navy-dark), var(--f-navy-2)); color: rgba(255,255,255,.85); }
.f-ha .f-kicker { color: var(--f-gold); }
.f-main .f-ha h2 { color: var(--f-white); font-size: 30px; margin-bottom: 12px !important; }
.f-ha p { color: rgba(255,255,255,.82); line-height: 1.7; margin: 0; }
.f-ha-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.f-ha-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.f-ha-steps li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 16px 18px; }
.f-ha-steps i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--f-gold); color: var(--f-navy-dark); font-size: 19px; }
.f-main .f-ha-steps h4 { color: var(--f-white); font-size: 16px; margin-bottom: 2px !important; }
.f-ha-steps p { font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .f-ha { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px !important; } }

/* Enviar evento ------------------------------------------------------------ */
.f-ct-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-ct-channel { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; align-items: start; background: var(--f-white); border-radius: var(--f-radius);
  box-shadow: var(--f-shadow); padding: 26px; text-decoration: none; color: var(--f-text); border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.f-ct-channel:hover { border-color: var(--f-gold); transform: translateY(-2px); }
.f-ct-channel > i { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--f-navy); color: var(--f-gold); font-size: 26px; }
.f-ct-channel h3 { font-size: 20px; margin-bottom: 4px !important; }
.f-ct-channel p { margin: 0; color: var(--f-muted); line-height: 1.55; }
.f-ct-channel b { color: var(--f-navy); }
.f-ct-channel .f-btn { justify-self: start; margin-top: 12px; }
.f-ct-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.f-ct-grid h4 { display: flex; gap: 10px; align-items: center; }
.f-ct-grid h4 i { color: var(--f-gold); font-size: 20px; }
.f-ct-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.f-ct-head h4 { margin: 0 !important; }
.f-ct-copy { padding: 8px 14px; font-size: 14px; }
.f-ct-model { background: var(--f-bg); border: 1px dashed var(--f-line); border-radius: 10px; padding: 16px 18px; margin: 0; font: 14px/1.9 var(--f-font); color: var(--f-navy); white-space: pre-wrap; }
.f-ct-grid .f-muted { color: var(--f-muted); line-height: 1.6; }
.f-ct-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-ct-list li { position: relative; padding-left: 24px; }
.f-ct-list li::before { content: "\f633"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--f-ok); }
.f-faq { display: grid; gap: 10px; }
.f-faq details { background: var(--f-white); border-radius: 12px; box-shadow: var(--f-shadow); }
.f-faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--f-navy); display: flex; justify-content: space-between; gap: 12px; }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: "\f64d"; font-family: "bootstrap-icons"; color: var(--f-gold); transition: transform .2s; }
.f-faq details[open] summary::after { transform: rotate(45deg); }
.f-faq details p { margin: 0; padding: 0 22px 18px; line-height: 1.7; }
@media (max-width: 900px) { .f-ct-channels, .f-ct-grid { grid-template-columns: 1fr; } }
/* pedra.css aplica 'summary:hover { background: #0c3c8e }' global */
.f-main summary, .f-main summary:hover { background: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }

/* Hero "mapa de luzes" ----------------------------------------------------- */
.f-hero-mapa { overflow: hidden; background: radial-gradient(ellipse at 75% 40%, #1B3E7A 0%, var(--f-navy) 45%, var(--f-navy-dark) 100%); min-height: 420px; }
.f-hero-mapa .f-wrap { position: relative; z-index: 1; }
.f-hero-mapa h1, .f-hero-mapa p, .f-hero-mapa .f-count { text-shadow: 0 2px 12px rgba(5,15,40,.6); }
.f-mapa { position: absolute; top: 8px; right: 0; width: 64%; height: calc(100% - 70px); } /* fundo fica sob a busca */
.f-mapa-linhas line { stroke: var(--f-gold); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 3 5; stroke-linecap: round; }
.f-mapa-feixe { transform-origin: 0 0; animation: f-gira 14s linear infinite; mix-blend-mode: screen; }
@keyframes f-gira { to { transform: rotate(360deg); } }
.f-mapa-dot { fill: #FFE7A8; }
.f-mapa-pt.on .f-mapa-dot { fill: var(--f-white); }
.f-mapa-halo { transform-box: fill-box; transform-origin: center; animation: f-pulsa 3s ease-in-out infinite; }
@keyframes f-pulsa { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.05); } }
.f-mapa-pt text { fill: rgba(255,255,255,.75); font: 600 12px var(--f-font); letter-spacing: .02em; }
.f-mapa-pt:hover text { fill: var(--f-gold); }
.f-mapa-pt:hover .f-mapa-dot { fill: var(--f-white); }
@media (prefers-reduced-motion: reduce) { .f-mapa-feixe, .f-mapa-halo { animation: none; } }
@media (max-width: 900px) { .f-mapa { width: 100%; opacity: .45; } .f-mapa-pt text { display: none; } }
.f-mapa-farol { transition: opacity .6s ease; }
.f-mapa-farol.f-off { opacity: 0; }
.f-mapa-extra { opacity: 0; transition: opacity .6s; }
.f-mapa-pt.lit .f-mapa-extra, .f-mapa-pt:hover .f-mapa-extra { opacity: 1; }
.f-mapa-pt.lit text { fill: var(--f-gold); }
.f-mapa-pt.lit .f-mapa-dot { fill: var(--f-white); }

/* Ticket8 ------------------------------------------------------------------ */
.f-t8-badge { display: inline-flex; gap: 8px; align-items: center; background: rgba(199,152,39,.18); border: 1px solid rgba(199,152,39,.5); color: #F3D27A;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.f-t8-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.f-t8-tags span { display: inline-flex; gap: 8px; align-items: center; background: var(--f-white); box-shadow: var(--f-shadow); padding: 12px 18px; border-radius: 999px; font-weight: 600; color: var(--f-navy); }
.f-t8-tags i { color: var(--f-gold); }
.f-t8-feats { grid-template-columns: repeat(3, 1fr); }
.f-t8-plus { margin-top: 0; }
.f-t8-contato { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.f-t8-contato h2 { font-size: 30px; margin-bottom: 10px !important; }
.f-t8-contato > div > p { color: var(--f-muted); line-height: 1.6; margin-bottom: 18px; }
@media (max-width: 900px) {
  .f-t8-contato { grid-template-columns: 1fr; }
  .f-t8-feats { grid-template-columns: 1fr; }
}
.f-t8-dm { text-align: center; padding: 40px 32px; border-top: 4px solid var(--f-gold); }
.f-t8-dm > i { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; font-size: 34px; color: var(--f-white);
  background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); margin-bottom: 16px; }
.f-t8-dm h3 { font-size: 22px; margin-bottom: 8px !important; }
.f-t8-dm p { color: var(--f-muted); line-height: 1.6; max-width: 380px; margin: 0 auto 20px; }
/* âncoras (#agenda, #cidades...) param abaixo do header fixo */
.f-main [id] { scroll-margin-top: 96px; }
.f-hero-mapa-sm { min-height: 0; padding: 52px 0 60px; }
.f-hero-mapa-sm h1 { font-size: 40px; }
.f-hero-mapa-sm .f-mapa { top: -30px; height: calc(100% + 60px); width: 52%; }
.f-hero-mapa .f-t8-badge { margin-bottom: 18px; }
@media (max-width: 900px) { .f-hero-mapa-sm h1 { font-size: 30px; } .f-hero-mapa-sm .f-mapa { width: 100%; } }

/* Seletor de cidade -------------------------------------------------------- */
.f-pick-btn { width: 100%; height: 72px; padding: 28px 44px 10px 52px; border: 1px solid transparent; border-radius: 10px; text-align: left; cursor: pointer;
  font: 600 17px var(--f-font); color: var(--f-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230C285C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.f-pick-btn:hover { background-color: var(--f-bg); }
.f-pick-btn[aria-expanded="true"] { border-color: var(--f-gold); background-color: var(--f-gold-50); }
.f-pick-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: max(100%, 300px); background: var(--f-white); border-radius: 12px;
  box-shadow: var(--f-shadow-lg); border: 1px solid var(--f-line); padding: 8px; }
.f-field .f-pick-q { width: 100%; height: auto; font: 15px var(--f-font); color: var(--f-text); background: var(--f-white); padding: 10px 12px; border: 1px solid var(--f-line); border-radius: 8px; margin-bottom: 6px; outline: 0; }
.f-field .f-pick-q:focus { border-color: var(--f-gold); background: var(--f-white); }
.f-pick-list { max-height: 320px; overflow-y: auto; display: grid; }
.f-pick-list button { border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 8px; font: 15px var(--f-font); color: var(--f-text); cursor: pointer; }
.f-pick-list button:hover, .f-pick-list button:focus { background: var(--f-bg); outline: 0; }
.f-pick-list button.on { background: var(--f-gold-50); color: var(--f-gold-dark); font-weight: 600; }
.f-pick-list button[hidden] { display: none; }

/* CTA do canal do WhatsApp ------------------------------------------------- */
.f-wa { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; background: #E9F8EF; border: 1px solid #BDE7CC;
  border-radius: var(--f-radius); padding: 14px 16px; }
.f-panel .f-wa { margin: 18px 0; }
.f-wa > i { font-size: 28px; line-height: 1; color: #0B7A6B; }
.f-wa-txt { flex: 1 1 220px; min-width: 0; }
.f-wa-txt b { display: block; color: var(--f-navy); line-height: 1.3; }
.f-wa-txt span { display: block; font-size: 14px; color: var(--f-muted); line-height: 1.35; margin-top: 2px; }
.f-wa-btn { background: #0B7A6B; color: var(--f-white) !important; }
.f-wa-btn:hover { background: #095F53; }
.f-wa-btn:focus-visible { outline: 3px solid var(--f-gold); outline-offset: 2px; }
.f-nav a.f-nav-wa { color: #0B7A6B; white-space: nowrap; }
.f-nav a.f-nav-wa:hover { color: #095F53; }
.f-top-wa { display: none; flex: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 10px; background: #0B7A6B; color: var(--f-white) !important; font-size: 20px; text-decoration: none; }
@media (max-width: 1180px) {
  /* sem espaço para o texto: o canal vira ícone ao lado de "Enviar evento" */
  .f-nav a.f-nav-wa { display: none; }
  .f-top-wa { display: inline-flex; }
  .f-top .f-wrap { gap: 16px; }
  .f-nav a { white-space: nowrap; }
  .f-search { width: auto; flex: 1 1 160px; min-width: 0; }
  .f-top .f-btn { flex: none; }
}
@media (max-width: 900px) {
  .f-top-wa { margin-left: auto; }
  .f-top-wa + .f-btn { margin-left: 0; }
}
@media (max-width: 400px) {
  .f-top .f-wrap { gap: 8px; }
  .f-top .f-btn i { display: none; }
}
