/*
Theme Name: Surf Maldivas
Theme URI: https://surfemaldivas.com.br
Author: Surf Tour
Description: Tema institucional da plataforma Surf Maldivas, operada pela Surf Tour. Site 100% informativo, sem venda direta.
Version: 1.0.0
Text Domain: surf-maldivas
*/

/* ==========================================================================
   DESIGN TOKENS
   Extraídos por amostragem de pixel do wireframe (Photoshop -> PNG)
   ========================================================================== */

:root {
  --color-ink: #14353B;        /* logo, texto do header */
  --color-nav: #23464B;        /* barra de menu */
  --color-teal: #3C595F;       /* botões, títulos de seção, acentos */
  --color-teal-light: #5C7A80; /* hover, estados secundários */
  --color-teal-pale: #E9EEEE;  /* fundos suaves */
  --color-white: #FFFFFF;
  --color-offwhite: #FAF9F6;
  --color-body: #4A4A4A;
  --color-black: #000000;

  --font-display: 'Fraunces', Georgia, serif;
  --font-nav: 'Jost', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --container: 1200px;
  --radius-pill: 999px;
  --radius-md: 6px;
  --gap-section: clamp(48px, 8vw, 96px);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

:focus-visible {
  outline: 3px solid var(--color-teal-light);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.img-placeholder {
  background: linear-gradient(135deg, var(--color-teal-pale) 0%, #d7e2e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-light);
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--color-ink);
  letter-spacing: 0.01em;
}
.site-logo em {
  font-style: italic;
  font-weight: 400;
  margin-right: 6px;
}
.site-logo strong {
  font-style: normal;
  font-weight: 700;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-teal-light);
  text-transform: uppercase;
}
.powered-by__badges { display: flex; align-items: center; gap: 10px; }
.powered-by__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--color-teal-pale);
  border-radius: var(--radius-md);
  font-family: var(--font-nav);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--color-ink);
  white-space: nowrap;
}

.site-nav {
  background: var(--color-nav);
}
.site-nav .container { display: flex; justify-content: center; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 16px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.site-nav a {
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: opacity 0.2s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible { opacity: 0.7; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--color-white);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .site-nav .container { justify-content: flex-start; }
  .site-nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .site-nav ul.is-open { display: flex; }
  .site-nav li { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .powered-by__badges { display: none; }
}

/* ==========================================================================
   HERO BANNER ROTATIVO
   ========================================================================== */

.hero-banner {
  position: relative;
  overflow: hidden;
  height: min(70vh, 640px);
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.hero-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,53,59,0.35) 0%, rgba(20,53,59,0.05) 40%, rgba(20,53,59,0.05) 70%, rgba(20,53,59,0.25) 100%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 0 80px;
}

.hero-slide__eyebrow {
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-slide__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 12vw, 140px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.hero-slide__tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-top: 18px;
}
.hero-slide__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(20,53,59,0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s ease;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: rgba(20,53,59,0.45); }
.hero-arrow--prev { left: 28px; }
.hero-arrow--next { right: 28px; }

@media (max-width: 640px) {
  .hero-slide__content { padding: 0 24px; }
  .hero-slide__tags { flex-direction: column; gap: 6px; max-width: none; }
  .hero-arrow { width: 36px; height: 36px; }
}

/* ==========================================================================
   WAVE HIGHLIGHTS (carrossel de ondas)
   ========================================================================== */

.wave-highlights {
  position: relative;
  padding: 64px 0 var(--gap-section);
}

.wave-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2 + 24px));
  scrollbar-width: none;
}
.wave-track::-webkit-scrollbar { display: none; }

.wave-card {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: center;
}
.wave-card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
}
.wave-card__media img { width: 100%; height: 100%; object-fit: cover; }

.wave-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-align: center;
  color: var(--color-ink);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.wave-card__excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-teal);
  max-width: 320px;
  margin: 0 auto;
}
.wave-card__tag {
  display: block;
  text-align: center;
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 10px;
}

.wave-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.wave-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--color-teal-pale);
  background: var(--color-white);
  color: var(--color-teal);
  display: flex; align-items: center; justify-content: center;
}
.wave-nav button:hover { background: var(--color-teal-pale); }

/* ==========================================================================
   LIFESTYLE CAROUSEL
   ========================================================================== */

.lifestyle {
  padding: 0 0 var(--gap-section);
}
.lifestyle__heading {
  font-family: var(--font-nav);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-ink);
  margin: 0 0 32px;
}
.lifestyle__frame {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.lifestyle__frame img { width: 100%; height: 100%; object-fit: cover; }
.lifestyle .hero-arrow--prev { left: 24px; }
.lifestyle .hero-arrow--next { right: 24px; }

/* ==========================================================================
   QUICK ACCESS (fileira de ícones)
   ========================================================================== */

.quick-access {
  padding: 0 0 var(--gap-section);
}
.quick-access__list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 56px);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.quick-access__item { text-align: center; width: 132px; }
.quick-access__circle {
  width: 132px; height: 132px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  transition: transform 0.25s ease;
}
.quick-access__item:hover .quick-access__circle { transform: translateY(-4px); }
.quick-access__circle img { width: 100%; height: 100%; object-fit: cover; }
.quick-access__label {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
}

/* ==========================================================================
   SURF PASS TEASER
   ========================================================================== */

.surfpass {
  background: var(--color-teal-pale);
  padding: var(--gap-section) 0;
}
.surfpass__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.surfpass__eyebrow {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 12px;
}
.surfpass__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-ink);
  margin: 0 0 20px;
}
.surfpass__text {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 32px;
}
.surfpass__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease;
}
.surfpass__cta:hover, .surfpass__cta:focus-visible { background: var(--color-ink); }

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */

.video-section {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  overflow: hidden;
}
.video-section__cover { position: absolute; inset: 0; }
.video-section__cover img { width: 100%; height: 100%; object-fit: cover; }
.video-section__cover::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.15);
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.video-play:hover, .video-play:focus-visible { transform: translate(-50%, -50%) scale(1.06); }
.video-play svg { width: 26px; height: 26px; fill: var(--color-teal); margin-left: 4px; }

.video-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,20,22,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.is-open { display: flex; }
.video-modal__frame {
  width: min(960px, 100%);
  aspect-ratio: 16/9;
  position: relative;
}
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; top: -44px; right: 0;
  background: none; border: 0; color: var(--color-white);
  font-size: 28px; line-height: 1;
}

/* ==========================================================================
   RESERVE CTA
   ========================================================================== */

.reserve {
  text-align: center;
  padding: var(--gap-section) 0 56px;
}
.reserve__title {
  font-family: var(--font-nav);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0 0 28px;
}
.reserve__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 44px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease;
}
.reserve__button:hover, .reserve__button:focus-visible { background: var(--color-ink); }

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */

.trust-badges {
  padding: 0 0 var(--gap-section);
}
.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-badge {
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trust-badge__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
}
.trust-badge__text {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
}
@media (max-width: 900px) {
  .trust-badges__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-badges__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 56px 0 28px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 14px;
}
.site-footer__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
}
.site-footer h4 {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.85);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { font-size: 13px; color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: var(--color-white); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION HEADING (genérico)
   ========================================================================== */

.section-heading {
  font-family: var(--font-nav);
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-ink);
  margin: 0 0 32px;
}
