/* 21/11/2026 (Larissa, mockup topo-barra-2026-11-20, barra H25 aprovada): a barra clara de todas as páginas, o painel
   do Menu (claro) e o rodapé em duas linhas centralizadas. A home acrescenta o farol grande (home-topo.css). */

/* a barra fica fora do .wrap, de ponta a ponta; o conteúdo começa logo embaixo dela */
.wrap { padding-top: 0 !important; }
/* 21/11/2026: links com # (ex.: /reflexoes -> #notas-de-bordo) param abaixo da barra fixa, sem esconder o título */
html { scroll-padding-top: 76px; }
.tb { position: sticky; top: 0; z-index: 60; background: #F3EFE2; color: #16333A; }
.tb-in { max-width: 1320px; margin: 0 auto; height: 64px; padding: 0 clamp(16px, 3.4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: height .25s ease; }
.tb.rolou .tb-in { height: 52px; }
.tb-esq { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); min-width: 0; }
.tb-dir { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.tb a.tb-l, .tb .tb-menu { font: 600 12.5px/1 'Raleway', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #16333A; text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.tb a.tb-l:hover, .tb .tb-menu:hover { color: #9C7A3F; }
.tb .tb-menu { display: flex; align-items: center; gap: 10px; }
.tb-tres { display: grid; gap: 4px; width: 18px; }
.tb-tres span { display: block; height: 1.5px; background: currentColor; }
.tb-res { display: inline-block; background: #16333A; color: #F3EFE2 !important; border-radius: 999px; padding: 11px 20px; font: 700 12.5px/1 'Raleway', sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important; }
.tb-res:hover { background: #21454D; }
/* home: enquanto o botão "Quero reservar meu lugar" do topo está à vista, o Reservar da barra some (um só convite por vez); volta quando a pessoa rola */
.tb.com-btn .tb-res { display: none; }
.tb :focus-visible { outline: 2px solid #9C7A3F; outline-offset: 3px; }
.tb .nav-contador { display: inline-block; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: #9C7A3F; color: #F3EFE2; font-size: 11px; font-weight: 700; line-height: 18px; letter-spacing: 0; text-align: center; vertical-align: 1px; }

/* o logo de sempre (farol + FAROL), nas páginas de dentro e na home depois de rolar */
.tb-logo { display: flex; align-items: flex-end; gap: 9px; text-decoration: none !important; }
.tb-logo .tb-ico { width: 22px; height: auto; display: block; }
.tb-logo span { font: 600 22px/1 'Cormorant', 'Times New Roman', serif; letter-spacing: .1em; text-transform: uppercase; color: #16333A; transform: translateY(-2px); }

/* home: o farol grande (o mesmo desenho do logo, proporção fixa). No computador, o topo.js o põe ao lado da palavra FAROL,
   cruzando o fio dourado; ao rolar, ele encolhe e volta para a barra com o nome ao lado. No celular fica pequeno. */
.tb-fg { display: flex; align-items: flex-end; gap: 9px; text-decoration: none !important; }
.tb-fg-svgs { position: relative; display: block; width: 22px; }
.tb-fg-svgs svg { display: block; width: 100%; height: auto; }
.tb-fg-fundo { position: absolute; inset: 0; }
.tb-fg-svgs .tb-fg-svg { position: relative; } /* o desenho colorido por cima da silhueta creme */
.tb-fg-nome { display: none; font: 600 22px/1 'Cormorant', 'Times New Roman', serif; letter-spacing: .1em; text-transform: uppercase; color: #16333A; white-space: nowrap; }
.tb.rolou .tb-fg-nome { display: block; }
.tb-fg.grande { position: absolute; z-index: 2; display: block; transition: width .35s ease, left .35s ease, top .35s ease; }
.tb-fg.grande .tb-fg-svgs { width: 100%; }
.tb-fg.grande .tb-fg-nome { position: absolute; transform: translateY(-50%); }
@media (max-width: 760px) { .tb-fg-svgs { width: 18px; } .tb-fg-nome { font-size: 19px; } }

/* o fio dourado que some nas pontas e a linha que cresce com a leitura */
/* 21/11/2026 (Larissa): o fio embaixo da barra no bronze de CURITIBA (#9C7A3F) */
.tb-regua { display: block; position: relative; height: 1px; background: linear-gradient(90deg, rgba(156, 122, 63, 0), #9C7A3F 8%, #9C7A3F 92%, rgba(156, 122, 63, 0)); }
.tb-marca { position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: linear-gradient(90deg, rgba(227, 198, 138, 0), #E3C68A 40px); transition: width .12s linear; }

/* o painel do Menu, claro */
.tb-painel { position: fixed; inset: 0; z-index: 80; background: #F3EFE2; color: #16333A; overflow: auto; }
.tb-painel[hidden] { display: none; }
.tb-painel-in { max-width: 720px; margin: 0 auto; padding: 22px clamp(20px, 5vw, 44px) 40px; }
.tb-fechar { display: block; margin: 0 0 34px auto; background: none; border: 0; color: #16333A; font: 600 12.5px/1 'Raleway', sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; padding: 10px 0; }
.tb-painel nav { display: flex; flex-direction: column; border-top: 3px double rgba(156, 122, 63, .6); }
.tb-painel nav a { position: relative; padding: 18px 0; border-bottom: 1px solid rgba(22, 51, 58, .14); font: 600 clamp(22px, 4vw, 30px)/1.2 'Cormorant', 'Times New Roman', serif; letter-spacing: .06em; color: #16333A; text-decoration: none; text-transform: uppercase; }
.tb-painel nav a:hover { color: #9C7A3F; }
.tb-painel nav a[aria-current="page"]::before { content: ""; position: absolute; left: -18px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left: 7px solid #9C7A3F; }
.tb-painel .tb-sec { margin: 26px 0 0; font: 600 11px/1 'Raleway', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #9C7A3F; }

/* no celular: Menu, logo e Entrar; o resto fica no Menu */
.tb-pe { display: none; }
@media (max-width: 760px) {
  .tb-in, .tb.rolou .tb-in { height: 54px; gap: 10px; }
  .tb a.tb-l:not(.tb-entrar), .tb .tb-res { display: none; }
  .tb .tb-menu { font-size: 11.5px; letter-spacing: .14em; gap: 8px; }
  .tb .tb-menu .tb-tres { width: 20px; }
  .tb a.tb-entrar { font-size: 11.5px; }
  .tb-logo .tb-ico { width: 18px; }
  .tb-logo span { font-size: 19px; }
  .tb-pe { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #0F2226; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(201, 168, 106, .55); transform: translateY(110%); transition: transform .25s ease; }
  .tb-pe.ver { transform: none; }
  .tb-pe a { display: block; text-align: center; background: #C9A86A; color: #0F2226; border-radius: 6px; padding: 15px 0; font: 700 13.5px/1 'Raleway', sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
}

/* quem entrou: o menu da conta (perfil, planos, sair) continua no canto direito, agora na barra clara */
.tb .account-menu { position: relative; margin: 0; }
.tb .account-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; }
.tb .account-menu summary svg circle:first-child { stroke: #16333A; }
.tb .account-menu summary svg path { fill: #16333A; }
.tb .account-menu-dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; background: #F3EFE2; border: 1px solid rgba(156, 122, 63, .45); border-radius: 6px; padding: 6px 0; z-index: 90; }
.tb .account-menu-dropdown a { display: block; padding: 9px 16px; font: 500 13px/1.3 'Raleway', sans-serif; color: #16333A; text-decoration: none; }
.tb .account-menu-dropdown a:hover { background: rgba(156, 122, 63, .12); }

/* Rodapé R3, 21/11/2026 (Larissa): links em duas linhas centralizadas, com pontos dourados; as duas mais longas
   sozinhas na segunda; o Procon-PR na fileira, do mesmo tamanho dos outros (Lei PR 22.130, art. 49); "© Farol"
   embaixo da linha da empresa; sem a coordenada embaixo da régua náutica. */
.r3 .r3-in { padding-top: 24px !important; }
.footer.r3 .r3-links { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center !important; align-items: baseline; row-gap: 0 !important; column-gap: 0 !important; max-width: none !important; margin: 0 auto; padding-bottom: 14px !important; position: relative; }
.r3 .r3-links a { white-space: nowrap; }
.r3 .r3-ponto { margin: 0 16px; color: #9C7A3F; font: 600 12.5px/1.2 'Syne', 'Raleway', sans-serif; }
.r3 .r3-quebra { flex-basis: 100%; height: 6px; }
.r3 .r3-links .r3-dica { text-decoration: none !important; }
.r3 .r3-links .r3-dica-txt { position: absolute !important; left: 50%; transform: translateX(-50%); }
.r3 .r3-reclama { margin: 0 auto 10px; max-width: 820px; text-align: center; font: 500 12px/1.6 'Raleway', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #16333A; }
.r3 .r3-empresa { margin: 8px 0 0 !important; padding-top: 0 !important; border-top: 0 !important; text-align: center; }
.r3 .r3-copy { margin: 6px 0 0; text-align: center; font: 400 11px/1.5 'Raleway', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #2A3B3E; }
@media (max-width: 760px) {
  .footer.r3 .r3-links { row-gap: 8px !important; column-gap: 20px !important; }
  .r3 .r3-ponto { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tb *, .tb, .tb-pe { transition: none !important; } }
