/* Landing page — OndeVoar.pt (brandkit-aligned) */
* { box-sizing: border-box; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 80px 32px 88px;
  background: radial-gradient(120% 130% at 75% 0%, #14304A, #0D1B2A);
}

.hero-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 150, 255, 0.16);
  border: 1px solid rgba(0, 150, 255, 0.4);
  border-radius: var(--ov-radius-pill);
  font-family: var(--ov-font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #7FC4FF;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero h1 {
  font-family: var(--ov-font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #fff;
  position: relative;
}

.hero-desc {
  font-size: 18px;
  color: #C8D8E8;
  max-width: 520px;
  margin: 0 0 30px;
  position: relative;
  font-family: var(--ov-font-sans);
  line-height: 1.65;
}

/* Hero CTAs */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 40px;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: var(--ov-blue);
  color: #fff;
  font-family: var(--ov-font-display);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--ov-radius-pill);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.12s ease;
  min-height: 48px;
  cursor: pointer;
}
.hero-cta-primary:hover {
  background: #0078D7;
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff;
  font-family: var(--ov-font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--ov-radius-pill);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 48px;
  cursor: pointer;
}
.hero-cta-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
  text-decoration: none;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-num {
  font-family: var(--ov-font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--ov-font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.search {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: var(--ov-radius-md);
  padding: 7px 7px 7px 18px;
  max-width: 460px;
  position: relative;
}

.search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--ov-font-sans);
  font-size: 15px;
  color: var(--ov-navy);
  min-width: 0;
}

.search input::placeholder { color: var(--ov-slate); }

.search-btn {
  font-family: var(--ov-font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--ov-radius-sm);
  border: none;
  cursor: pointer;
  background: var(--ov-blue);
  color: #fff;
  transition: background 0.14s var(--ov-ease);
  white-space: nowrap;
}
.search-btn:hover { background: var(--ov-blue-700); }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.map-preview {
  position: relative;
  background: #DDE6EC;
  min-height: 440px;
}

.map-preview svg.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
}

.map-pin-dot {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.map-pin:hover .map-pin-dot { transform: rotate(-45deg) scale(1.15); }

.map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: var(--ov-radius-md);
  padding: 9px 13px;
  box-shadow: var(--ov-shadow-sm);
  font-size: 11px;
  font-weight: 600;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ov-steel);
  font-family: var(--ov-font-sans);
}

.leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-cta-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--ov-blue);
  color: #fff;
  font-family: var(--ov-font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--ov-radius-md);
  text-decoration: none;
  transition: background 0.14s ease;
}
.map-cta-link:hover { background: var(--ov-blue-700); }

/* Spots panel */
.spots-panel {
  padding: 22px 26px;
  background: var(--ov-white);
  overflow-y: auto;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.panel-header b {
  font-family: var(--ov-font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ov-navy);
}

.panel-header a {
  font-size: 12px;
  color: var(--ov-blue);
  font-weight: 600;
  text-decoration: none;
}

.spot-list-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spot-row {
  display: flex;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--ov-line);
  border-radius: var(--ov-radius-md);
  cursor: pointer;
  transition: box-shadow 0.14s var(--ov-ease);
  text-decoration: none;
  color: inherit;
}
.spot-row:hover { box-shadow: var(--ov-shadow-md); }

.spot-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  flex-shrink: 0;
}

.spot-info { flex: 1; min-width: 0; }

.spot-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.spot-name {
  font-family: var(--ov-font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ov-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spot-meta {
  font-size: 12px;
  color: var(--ov-slate);
  margin: 3px 0;
  font-family: var(--ov-font-sans);
}

.spot-stars {
  font-size: 12px;
  color: #F5A623;
  font-family: var(--ov-font-sans);
}

.spot-stars span { color: var(--ov-slate); }

.zone-chip {
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--ov-font-sans);
}
.zone-chip--free  { color: var(--ov-free-fg);   background: var(--ov-free-bg); }
.zone-chip--cond  { color: var(--ov-cond-fg);   background: var(--ov-cond-bg); }
.zone-chip--banned{ color: var(--ov-banned-fg); background: var(--ov-banned-bg); }

/* Features bar */
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ov-navy);
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s ease;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,0.04); }

.feature-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 150, 255, 0.18);
  border-radius: var(--ov-radius-md);
  color: #7FC4FF;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.feature-item-title {
  font-family: var(--ov-font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin: 0;
}

.feature-item-desc {
  font-family: var(--ov-font-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.55;
}

/* CTA */
.cta-section {
  background: var(--ov-cloud);
  padding: 56px 32px;
  text-align: center;
  border-top: 1px solid var(--ov-line);
}

.cta-section-title {
  font-family: var(--ov-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ov-navy);
  margin: 0 0 12px;
  letter-spacing: var(--ov-track-tight);
}

.cta-section-desc {
  font-family: var(--ov-font-sans);
  font-size: 15px;
  color: var(--ov-slate);
  margin: 0 0 24px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--ov-blue);
  color: #fff;
  font-family: var(--ov-font-display);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--ov-radius-pill);
  text-decoration: none;
  transition: background 0.14s ease, transform 0.12s ease;
}
.cta-btn:hover { background: var(--ov-blue-700); transform: translateY(-1px); }

/* Responsive */
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .map-preview { min-height: 260px; }
  .features-bar { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 20px 56px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-stats { gap: 14px; }
  .hero-stat-num { font-size: 18px; }
}
@media (max-width: 480px) {
  .features-bar { grid-template-columns: 1fr; }
  .spots-panel { padding: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-cta-primary, .hero-cta-ghost { width: 100%; justify-content: center; }
}
