/* css/site-chrome.css — navegacao do site (navbar, menu movel, dropdown "Parceiros", barra de baixo no telemovel)
 * para paginas que NAO carregam css/style.css (hoje: /planear e /en/planear, que tem CSS proprio e leve).
 * Gerado a 07/10/2026 a partir das regras de style.css?v=20260522-navdd-c (so seletores da navegacao). Se a navbar mudar em style.css, regenerar.
 */
.navbar, .navbar *, .mobile-menu, .mobile-menu *, .mobile-bottom-nav, .mobile-bottom-nav *{box-sizing:border-box;}
:where(.navbar, .mobile-menu, .mobile-bottom-nav) a{text-decoration:none; color:inherit;}
.navbar svg, .mobile-bottom-nav svg{max-width:none;}
.navbar ul, .mobile-menu ul{list-style:none; margin:0; padding:0;}
.navbar button, .mobile-menu button, .mobile-bottom-nav button{font-family:inherit;}
:root{--blue:#0a3d6b;--blue-mid:#1a5fa3;--gold:#c9a84c;--gold-text:#8c6b14;--gold-light:#e8c97a;--gold-glow:rgba(201, 168, 76, 0.28);--white:#ffffff;--text:#1a1a2e;--glass:rgba(255,255,255,0.10);--glass-border:rgba(255,255,255,0.20);--shadow-xs:0 1px 4px rgba(10,61,107,0.06);--shadow-sm:0 2px 8px rgba(10,61,107,0.06), 0 8px 24px rgba(10,61,107,0.08);--shadow:0 4px 16px rgba(10,61,107,0.10), 0 12px 40px rgba(10,61,107,0.12);--shadow-lg:0 8px 32px rgba(10,61,107,0.16), 0 24px 64px rgba(10,61,107,0.14);--font-body:'Inter', system-ui, sans-serif;--radius-sm:8px;--radius-pill:50px;--ease:cubic-bezier(0.4, 0, 0.2, 1);--transition:0.3s cubic-bezier(0.4, 0, 0.2, 1)}
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--blue); color: var(--white); padding: 12px 16px; border-radius: var(--radius-sm); z-index: 9999; font-family: var(--font-body); font-size: 0.875rem; transition: top 0.2s; min-height: 44px; display: inline-flex; align-items: center; }
.skip-link:focus { top: 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.025em; cursor: pointer; min-height: 48px; white-space: nowrap; border: none; position: relative; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), border-color var(--transition), color var(--transition); }
.btn::after { content: ""; position: absolute; inset: 0px; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.2) 50%, transparent 65%) 200% 0px / 200% 100%; transition: background-position 0.55s var(--ease); pointer-events: none; }
.btn:hover::after { background-position: -200% 0px; }
.btn:active { transform: translateY(0px) scale(0.98) !important; }
.btn-primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: var(--blue); font-weight: 600; box-shadow: rgba(201, 168, 76, 0.32) 0px 4px 16px, rgba(201, 168, 76, 0.18) 0px 1px 4px; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: rgba(201, 168, 76, 0.5) 0px 10px 32px, rgba(201, 168, 76, 0.24) 0px 4px 12px; }
.btn-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); color: var(--white); font-weight: 500; box-shadow: var(--shadow); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { backdrop-filter: blur(12px); font-weight: 400; border: 1.5px solid var(--glass-border) !important; color: var(--white) !important; background: var(--glass) !important; }
.btn-outline::after { display: none; }
.btn-outline:hover { border-color: rgba(201, 168, 76, 0.65) !important; color: var(--gold-text) !important; background: rgba(201, 168, 76, 0.09) !important; }
.btn-submit { width: 100%; padding: 15px; border-radius: 14px; min-height: 52px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); color: var(--white); cursor: pointer; border: none; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: rgba(10, 61, 107, 0.28) 0px 4px 20px; position: relative; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition); }
.btn-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: rgba(10, 61, 107, 0.38) 0px 10px 32px; }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }
.btn-submit .spinner { width: 18px; height: 18px; border-width: 2px; border-style: solid; border-right-color: rgba(255, 255, 255, 0.35); border-bottom-color: rgba(255, 255, 255, 0.35); border-left-color: rgba(255, 255, 255, 0.35); border-image: initial; border-top-color: var(--white); border-radius: 50%; animation: 0.7s linear 0s infinite normal none running spin; display: none; }
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { display: none; }
@keyframes spin { 
  100% { transform: rotate(360deg); }
}
.btn-social { width: 100%; padding: 13px; border-radius: var(--radius-sm); min-height: 48px; border: 1.5px solid rgba(10, 61, 107, 0.12); background: var(--white); font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition); box-shadow: var(--shadow-xs); }
.btn-social:hover { border-color: rgba(10, 61, 107, 0.25); background: rgba(10, 61, 107, 0.024); box-shadow: var(--shadow-sm); }
.btn-social svg { width: 20px; height: 20px; }
.premium-actions .btn-outline:hover { background: var(--gold-glow); color: var(--gold-light); }
.navbar { position: fixed; top: 0px; left: 0px; right: 0px; z-index: 999; background: rgb(27, 58, 107); height: 64px; display: flex; align-items: center; padding: 0px 24px; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: rgb(255, 255, 255); font-weight: 600; font-size: 15px; white-space: nowrap; flex-shrink: 0; min-height: 44px; }
.nav-logo-icon { width: 32px; height: 32px; background: rgb(201, 168, 76); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-icon svg { width: 18px; height: 18px; fill: rgb(27, 58, 107); }
.nav-links { display: flex; list-style: none; margin: 0px; padding: 0px; gap: 4px; flex: 1 1 0%; justify-content: center; }
.nav-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.1); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn { color: rgba(255, 255, 255, 0.7); font-size: 13px; padding: 4px 5px; cursor: pointer; text-decoration: none; }
.lang-btn--active { color: rgb(255, 255, 255); font-weight: 600; }
.lang-sep { color: rgba(255, 255, 255, 0.3); font-size: 0.65rem; user-select: none; }
#nav-login-btn { color: rgb(255, 255, 255); text-decoration: none; font-size: 14px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 20px; }
#nav-register-btn { background: rgb(201, 168, 76); color: rgb(27, 58, 107); text-decoration: none; font-size: 14px; font-weight: 700; padding: 7px 16px; border-radius: 20px; white-space: nowrap; }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgb(255, 255, 255); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0px; right: 0px; height: calc(-64px + 100vh); background: rgb(27, 58, 107); z-index: 998; overflow-y: auto; padding: 8px 0px 40px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: rgb(255, 255, 255); text-decoration: none; font-size: 18px; padding: 16px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu a:active { background: rgba(255, 255, 255, 0.05); }
.btn-mobile-login { flex: 1 1 0%; text-align: center; padding: 12px; color: rgb(255, 255, 255); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 8px; font-size: 15px; text-decoration: none; }
.btn-mobile-register { flex: 1 1 0%; text-align: center; padding: 12px; background: rgb(201, 168, 76); color: rgb(27, 58, 107); border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; }
.mobile-lang .lang-btn { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); text-decoration: none; padding: 4px 8px; border-radius: 4px; transition: color 0.2s; }
.mobile-lang .lang-btn--active { color: var(--gold); cursor: default; }
.mobile-lang .lang-btn:not(.lang-btn--active):hover { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 768px){.navbar { padding: 0px 16px; height: 60px; }}
@media (max-width: 768px){.nav-links { display: none; }}
@media (max-width: 768px){#nav-login-btn { display: none; }}
@media (max-width: 768px){#nav-register-btn { display: none; }}
@media (max-width: 768px){.hamburger { display: flex; }}
@media (max-width: 768px){.mobile-menu { top: 60px; height: calc(-60px + 100vh); }}
@media (min-width: 769px) and (max-width: 1180px){.navbar { padding: 0px 16px; }}
@media (min-width: 769px) and (max-width: 1180px){.nav-links { display: none; }}
@media (min-width: 769px) and (max-width: 1180px){#nav-login-btn { display: none; }}
@media (min-width: 769px) and (max-width: 1180px){#nav-register-btn { display: none; }}
@media (min-width: 769px) and (max-width: 1180px){.hamburger { display: flex; }}
@media (min-width: 1181px) and (max-width: 1280px){.nav-links { gap: 2px; }}
@media (min-width: 1181px) and (max-width: 1280px){.nav-links a { font-size: 13px; padding: 6px; }}
@media (min-width: 1181px) and (max-width: 1280px){#nav-login-btn { padding: 6px 10px; font-size: 13px; }}
@media (min-width: 1181px) and (max-width: 1280px){#nav-register-btn { padding: 6px 12px; font-size: 13px; }}
@media (min-width: 1181px) and (max-width: 1280px){.nav-actions { gap: 6px; }}
.btn-add-favorite { background: rgb(201, 168, 76); color: rgb(27, 58, 107); text-decoration: none; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; display: inline-block; }
.btn-add-favorite:hover { background: rgb(21, 45, 85); }
.btn-fav-view { flex: 1 1 0%; text-align: center; background: rgb(27, 58, 107); color: rgb(255, 255, 255); text-decoration: none; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.btn-fav-view:hover { background: rgb(21, 45, 85); }
.btn-fav-remove { background: none; border: 1px solid rgb(222, 226, 230); color: rgb(153, 153, 153); width: 34px; height: 34px; border-radius: 6px; cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.btn-fav-remove:hover { border-color: rgb(220, 53, 69); color: rgb(220, 53, 69); }
.btn-explore-beaches { background: rgb(201, 168, 76); color: rgb(27, 58, 107); text-decoration: none; padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 15px; }
@media (max-width: 768px){.btn { min-height: 44px; min-width: 44px; }}
@media (max-width: 768px){.mobile-nav-item { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }}
.pth-dd { position: relative; display: inline-block; }
.pth-dd__trigger { display: inline-flex; align-items: center; gap: 6px; height: 34px; line-height: 1.6; font-size: 14px; padding: 6px 10px; color: rgba(255, 255, 255, 0.85); background: transparent; border: 0px; cursor: pointer; border-radius: 6px; transition: background-color 160ms, color 160ms; white-space: nowrap; }
.pth-dd__trigger:hover, .pth-dd__trigger:focus-visible, .pth-dd__trigger[aria-expanded="true"] { color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.1); }
.pth-dd__trigger:focus-visible { outline: rgba(201, 168, 76, 0.6) solid 2px; outline-offset: 2px; }
.pth-dd__chevron { display: inline-block; font-size: 0.7em; transition: transform 200ms; }
.pth-dd__trigger[aria-expanded="true"] .pth-dd__chevron { transform: rotate(180deg); }
.pth-dd__menu { position: absolute; top: calc(100% + 8px); left: 0px; min-width: 320px; background: rgb(10, 61, 107); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; box-shadow: rgba(0, 0, 0, 0.35) 0px 12px 32px; padding: 14px; display: none; z-index: 1000; }
.pth-dd__trigger[aria-expanded="true"] ~ .pth-dd__menu { display: block; }
.pth-dd__featured { display: block; padding: 14px 16px; border-radius: 8px; background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04)); border: 1px solid rgba(201, 168, 76, 0.25); text-decoration: none; color: rgb(255, 255, 255); margin-bottom: 12px; transition: background 180ms, border-color 180ms; }
.pth-dd__featured:hover, .pth-dd__featured:focus-visible { background: linear-gradient(135deg, rgba(201, 168, 76, 0.22), rgba(201, 168, 76, 0.1)); border-color: rgba(201, 168, 76, 0.5); }
.pth-dd__featured-eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(201, 168, 76); font-weight: 600; margin-bottom: 4px; }
.pth-dd__featured-title { font-size: 16px; font-weight: 600; color: rgb(255, 255, 255); margin-bottom: 6px; }
.pth-dd__featured-link { font-size: 13px; color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 4px; }
.pth-dd__coming { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pth-dd__coming-eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; }
.pth-dd__coming-list { list-style: none; margin: 0px; padding: 0px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.pth-dd__coming-item { font-size: 13px; color: rgba(255, 255, 255, 0.5); padding: 4px 0px 4px 14px; cursor: not-allowed; position: relative; }
.pth-dd__coming-item::before { content: "·"; position: absolute; left: 0px; color: rgba(255, 255, 255, 0.35); }
@media (min-width: 1181px) and (max-width: 1280px){.pth-dd__trigger { font-size: 13px; padding: 6px; height: 34px; }}
@media (max-width: 768px){.pth-dd { display: none; }}
@media (prefers-reduced-motion: reduce){.pth-dd__trigger, .pth-dd__featured, .pth-dd__chevron { transition: none; }}
@media (prefers-reduced-motion: reduce){.pth-dd__trigger[aria-expanded="true"] .pth-dd__chevron { transform: rotate(180deg); }}

/* Barra de navegacao do telemovel (igual a das restantes paginas) */
.mobile-bottom-nav{display:none; position:fixed; bottom:0; left:0; right:0; z-index:90; background:rgba(10,61,107,.97); -webkit-backdrop-filter:blur(20px) saturate(1.5); backdrop-filter:blur(20px) saturate(1.5); border-top:1px solid rgba(255,255,255,.2);}
.mobile-bottom-nav-inner{display:flex; height:60px; align-items:stretch; padding-bottom:env(safe-area-inset-bottom,0px);}
.mobile-nav-item{flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:rgba(255,255,255,.6); font-size:.58rem; font-weight:500; letter-spacing:.05em; text-transform:uppercase; padding:4px 2px; text-decoration:none; cursor:pointer; border:none; background:none; font-family:inherit; min-height:44px; transition:color .3s ease;}
.mobile-nav-item svg{width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.mobile-nav-item.active, .mobile-nav-item:hover{color:#c9a84c;}
@media (max-width:768px){ .mobile-bottom-nav{display:block;} body{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px));} }

/* Ajustes do planeador com a navbar do site (fixa, 64 px; 60 px no telemovel) */
body.pv3 .navbar{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;}
body.pv3-has-results main{padding-top:64px;}
@media (max-width:768px){
  body.pv3-has-results main{padding-top:60px;}
  body.pv3 .r-sticky{bottom:calc(70px + env(safe-area-inset-bottom,0px));}
}

/* Lote B 09/10/2026 (INAV-04): a 320-380 px o hamburger ficava fora do ecra (logo + PT|EN + menu nao cabiam). */
@media (max-width: 380px) {
  .navbar { padding: 0 10px; gap: 8px; }
  .nav-logo { font-size: 13px; gap: 7px; min-width: 0; flex-shrink: 1; overflow: hidden; }
  .nav-logo-icon { width: 28px; height: 28px; }
  .nav-actions { gap: 2px; }
  .lang-btn { padding: 4px 3px; }
}
