/* BASE / TEMA (Clube do Sol) */

:root{
  --ink:#0b1b2b;
  --ink-2:#0a3d62;
  --muted:#4b6076;
  --sun-1:#ff7a00;
  --sun-2:#ffb347;
  --sun-3:#ffd36a;
  --sky-1:#e6f6ff;
  --surface:rgba(255,255,255,0.86);
  --glass:rgba(255,255,255,0.18);
  --radius-lg:28px;
  --radius-md:18px;
  --radius-sm:14px;
  --shadow-1:0 18px 50px rgba(12,23,43,0.12);
  --shadow-2:0 28px 90px rgba(12,23,43,0.20);
  --header-h:78px;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 16px);
}

body{
  min-height:100%;
  font-family:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(255,179,71,.40), transparent 60%),
    radial-gradient(700px 460px at 82% 0%, rgba(255,122,0,.24), transparent 55%),
    radial-gradient(900px 650px at 80% 92%, rgba(10,61,98,.14), transparent 60%),
    linear-gradient(180deg, #fff7ea 0%, #f3fbff 40%, #f6f7ff 100%);
}

img{max-width:100%;display:block;}
a{color:inherit;}

:focus-visible{
  outline:3px solid rgba(255,122,0,0.55);
  outline-offset:3px;
}

.container{
  width:min(1180px, 100% - 16%);
  margin:0 auto;
}

.muted{
  color:rgba(11,27,43,0.72);
  margin-top:10px;
}

/* Acessibilidade: link de pular conteúdo */

.skipLink{
  position:fixed;
  left:16px;
  top:10px;
  z-index:2000;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(10,61,98,0.14);
  box-shadow:0 16px 55px rgba(12,23,43,0.12);
  text-decoration:none;
  transform:translateY(-140%);
  transition:transform 160ms ease;
}

.skipLink:focus{
  transform:translateY(0);
}

/* PROGRESSO NO TOPO (efeito WP) */

.topProgress{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:3px;
  z-index:1400;
  background:rgba(255,255,255,0.20);
  backdrop-filter: blur(10px);
}

.topProgress span{
  display:block;
  height:100%;
  width:var(--progress, 0%);
  background:linear-gradient(90deg, var(--sun-1), var(--sun-3));
  box-shadow:0 10px 25px rgba(255,122,0,0.35);
}

/* HEADER MODERNO */

header{
  height:var(--header-h);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 8%;
  background:rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  position:fixed;
  width:100%;
  top:0;
  z-index:1300;
  border-bottom:1px solid rgba(10,61,98,0.10);
  box-shadow:0 10px 35px rgba(12,23,43,0.10);
  transition:background 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

header.is-scrolled{
  background:rgba(255,255,255,0.78);
  border-color:rgba(10,61,98,0.14);
  box-shadow:0 16px 55px rgba(12,23,43,0.14);
}

.logo{
  font-size:22px;
  font-weight:800;
  letter-spacing:0.5px;
  text-decoration:none;
  color:var(--ink-2);
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.logoImg{
  width:34px;
  height:34px;
  flex:0 0 auto;
  filter:drop-shadow(0 12px 22px rgba(255,122,0,0.22));
}

.logoText{
  line-height:1;
}

.logo::after{
  content:"";
  position:absolute;
  left:44px;
  bottom:-10px;
  width:40px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--sun-1), var(--sun-3));
  opacity:0.9;
}

nav{
  display:flex;
  gap:10px;
  align-items:center;
}

nav a{
  text-decoration:none;
  color:rgba(11,27,43,0.86);
  font-weight:650;
  padding:10px 14px;
  border-radius:999px;
  transition:transform 160ms ease, background 160ms ease, color 160ms ease;
}

nav a:hover{
  transform:translateY(-1px);
  background:rgba(255,122,0,0.12);
  color:rgba(11,27,43,0.92);
}

nav a.is-active{
  background:linear-gradient(135deg, rgba(255,122,0,0.22), rgba(255,211,106,0.20));
  box-shadow:0 10px 28px rgba(255,122,0,0.18);
}

/* MENU MOBILE (HAMBÚRGUER) */

.menuToggle{
  display:none;
  width:44px;
  height:44px;
  border:0;
  background:rgba(255,255,255,0.62);
  backdrop-filter: blur(12px);
  border-radius:14px;
  cursor:pointer;
  padding:10px;
  gap:6px;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
  box-shadow:0 12px 35px rgba(12,23,43,0.12);
}

.menuToggle span{
  height:3px;
  background:var(--ink-2);
  border-radius:999px;
  transition:0.25s ease;
}

header.menu-open .menuToggle span:nth-child(1){transform:translateY(9px) rotate(45deg);}
header.menu-open .menuToggle span:nth-child(2){opacity:0;}
header.menu-open .menuToggle span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}

/* HERO */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  padding-top:calc(var(--header-h) + 32px);
  padding-bottom:80px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 50% 25%, rgba(255,211,106,0.22), transparent 60%),
    linear-gradient(180deg, rgba(11,27,43,0.55), rgba(11,27,43,0.28) 42%, rgba(11,27,43,0.18));
  pointer-events:none;
  z-index:1;
}

/* CARROSSEL */

.carrossel{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#000;
}

.carrossel::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
  pointer-events:none;
}

.slides{width:100%;height:100%;position:relative;}

.slides img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.05) contrast(1.05) brightness(0.78);
  position:absolute;
  inset:0;
  opacity:0;
  transform:scale(1.06) translate3d(0, var(--parallax, 0px), 0);
  transition:opacity 900ms ease, transform 1400ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change:opacity, transform;
}

.slides img.is-active{opacity:1;}

/* HERO TEXTO (Glass + brilho solar) */

.heroTexto{
  position:relative;
  z-index:2;
  width:min(880px, 92vw);
  background:rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  padding:54px 52px;
  border-radius:calc(var(--radius-lg) + 6px);
  text-align:center;
  color:rgba(255,255,255,0.96);
  box-shadow:0 30px 110px rgba(0,0,0,0.42);
  border:1px solid rgba(255,255,255,0.18);
  animation:fadeUp 900ms ease;
  overflow:hidden;
}

.heroTexto::before{
  content:"";
  position:absolute;
  top:-55%;
  left:-25%;
  width:60%;
  height:120%;
  transform:rotate(18deg);
  background:linear-gradient(90deg, transparent, rgba(255,211,106,0.16), transparent);
  animation:shine 4.5s ease-in-out infinite;
  pointer-events:none;
}

.heroKicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  letter-spacing:0.26em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.88);
  margin-bottom:14px;
}

.heroTexto h1{
  font-size:clamp(34px, 4.2vw, 56px);
  line-height:1.05;
  margin-bottom:14px;
  letter-spacing:-0.02em;
}

.heroTexto p{
  font-size:clamp(16px, 2.2vw, 20px);
  color:rgba(255,255,255,0.92);
}

.heroActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-top:28px;
}

/* BOTÕES */

.botao{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:linear-gradient(135deg, var(--sun-1), var(--sun-2));
  padding:14px 22px;
  border-radius:999px;
  color:white;
  font-weight:750;
  text-decoration:none;
  transition:transform 160ms ease, box-shadow 200ms ease, filter 200ms ease;
  box-shadow:0 14px 40px rgba(255,122,0,0.35);
  border:1px solid rgba(255,255,255,0.16);
}

.botao:hover{
  transform:translateY(-3px);
  filter:saturate(1.08);
  box-shadow:0 18px 55px rgba(255,122,0,0.45);
}

.botao:active{transform:translateY(-1px);}

.botao.botaoSec{
  background:rgba(255,255,255,0.10);
  box-shadow:none;
  border:1px solid rgba(255,255,255,0.26);
}

.botao.botaoSec:hover{
  box-shadow:0 18px 60px rgba(0,0,0,0.28);
}

.heroBadges{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:24px;
  padding:0;
}

.heroBadges li{
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.20);
  font-weight:650;
  color:rgba(255,255,255,0.92);
  box-shadow:0 16px 45px rgba(0,0,0,0.20);
}

.scrollHint{
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:rgba(255,255,255,0.88);
  font-weight:650;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
}

.scrollHintDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--sun-1), var(--sun-3));
  box-shadow:0 10px 25px rgba(255,122,0,0.45);
  animation:bounce 1.35s ease-in-out infinite;
}

.scrollHintText{
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

/* SEÇÕES */

.secao{
  padding:110px 8%;
  text-align:center;
  position:relative;
}

.cinza{
  background:linear-gradient(180deg, rgba(10,61,98,0.06), rgba(255,122,0,0.03));
  border-top:1px solid rgba(10,61,98,0.08);
  border-bottom:1px solid rgba(10,61,98,0.08);
}

.secao h2{
  font-size:clamp(28px, 3.2vw, 40px);
  margin-bottom:18px;
  color:var(--ink-2);
  letter-spacing:-0.02em;
}

.secao h2::after{
  content:"";
  display:block;
  width:78px;
  height:6px;
  border-radius:999px;
  margin:14px auto 0;
  background:linear-gradient(90deg, var(--sun-1), var(--sun-3));
  box-shadow:0 12px 30px rgba(255,122,0,0.28);
}

.secao p{
  max-width:860px;
  margin:18px auto 0;
  color:rgba(11,27,43,0.74);
  line-height:1.65;
  font-size:17px;
}

/* CARTEIRINHA DIGITAL */

.carteirinhaCard{
  margin:34px auto 0;
  width:min(520px, 100%);
  padding:28px 22px;
  border-radius:calc(var(--radius-lg) + 6px);
  background:rgba(255,255,255,0.56);
  border:1px solid rgba(10,61,98,0.14);
  box-shadow:var(--shadow-1);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

.carteirinhaQr{
  width:220px;
  height:220px;
  padding:10px;
  background:white;
  border-radius:22px;
  border:1px solid rgba(10,61,98,0.12);
  box-shadow:0 18px 60px rgba(12,23,43,0.10);
}

.carteirinhaUrl{
  display:inline-block;
  padding:12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  color:white;
  background:linear-gradient(135deg, var(--sun-1), var(--sun-2));
  box-shadow:0 14px 40px rgba(255,122,0,0.30);
  border:1px solid rgba(255,255,255,0.16);
  transition:transform 160ms ease, box-shadow 200ms ease, filter 200ms ease;
  max-width:100%;
  overflow-wrap:anywhere;
}

.carteirinhaUrl:hover{
  transform:translateY(-2px);
  filter:saturate(1.06);
  box-shadow:0 18px 55px rgba(255,122,0,0.40);
}

.carteirinhaHint{
  margin:0;
  font-size:15px;
  color:rgba(11,27,43,0.72);
}

/* GALERIA */

.galeria{
  position:relative;
  margin-top:46px;
}

.galeriaViewport{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding:10px 60px 18px;
  border-radius:calc(var(--radius-lg) + 8px);
  background:rgba(255,255,255,0.46);
  border:1px solid rgba(10,61,98,0.12);
  box-shadow:0 18px 60px rgba(12,23,43,0.10);
  outline:none;
}

.galeriaViewport:focus{
  box-shadow:0 0 0 4px rgba(255,122,0,0.15), 0 18px 60px rgba(12,23,43,0.10);
}

.galeriaViewport::-webkit-scrollbar{display:none;}
.galeriaViewport{scrollbar-width:none;}

.galeriaTrack{
  list-style:none;
  display:flex;
  gap:16px;
  padding:0;
  margin:0;
}

.galeriaItem{
  flex:0 0 auto;
  width:clamp(240px, 36vw, 380px);
  scroll-snap-align:center;
}

.galeriaFigure{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:calc(var(--radius-lg) + 6px);
  background:rgba(255,255,255,0.60);
  border:1px solid rgba(10,61,98,0.14);
  box-shadow:var(--shadow-1);
}

.galeriaFigure img{
  width:100%;
  height:auto;
  aspect-ratio:4 / 3;
  object-fit:cover;
  filter:saturate(1.06) contrast(1.02);
}

.galeriaCaption{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.76);
  border:1px solid rgba(10,61,98,0.14);
  color:rgba(11,27,43,0.92);
  font-weight:800;
  letter-spacing:0.02em;
  box-shadow:0 12px 30px rgba(12,23,43,0.12);
}

.galeriaBtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(255,255,255,0.62);
  backdrop-filter: blur(12px);
  cursor:pointer;
  color:rgba(11,27,43,0.88);
  box-shadow:0 18px 55px rgba(12,23,43,0.14);
  display:grid;
  place-items:center;
  font-size:28px;
  font-weight:900;
  transition:transform 160ms ease, filter 160ms ease, opacity 160ms ease;
  user-select:none;
}

.galeriaBtn[data-dir="-1"]{left:14px;}
.galeriaBtn[data-dir="1"]{right:14px;}

.galeriaBtn:hover{
  transform:translateY(-50%) scale(1.04);
  filter:saturate(1.05);
}

.galeriaBtn:active{
  transform:translateY(-50%) scale(0.98);
}

.galeriaBtn.is-disabled{
  opacity:0.35;
  pointer-events:none;
}

/* SEÇÃO "O CLUBE" (texto + imagem) */

.clubeGrid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:26px;
  align-items:center;
  margin-top:22px;
  text-align:left;
}

.clubeCopy p{
  margin:0;
  max-width:none;
  font-size:18px;
}

.clubeFigure{
  margin:0;
}

.clubeFigure img{
  width:100%;
  height:auto;
  border-radius:calc(var(--radius-lg) + 6px);
  box-shadow:var(--shadow-2);
  border:1px solid rgba(10,61,98,0.12);
  background:rgba(255,255,255,0.6);
}

/* CONTATO */

.contatoForm{
  max-width:720px;
  margin:35px auto 0;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.contatoForm label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-weight:700;
  color:var(--ink-2);
}

.contatoForm input,
.contatoForm textarea{
  border:1px solid rgba(10,61,98,0.16);
  border-radius:18px;
  padding:14px 16px;
  font-size:16px;
  font-family:inherit;
  outline:none;
  background:rgba(255,255,255,0.90);
  transition:border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contatoForm textarea{
  resize:vertical;
  min-height:120px;
}

.contatoForm input:focus,
.contatoForm textarea:focus{
  border-color:rgba(255,122,0,0.75);
  box-shadow:0 0 0 4px rgba(255,122,0,0.15);
}

.contatoForm .botao{
  align-self:flex-start;
}

/* CARDS */

.cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  align-items:stretch;
  justify-content:center;
  margin-top:52px;
}

/* REVEAL (CARDS ENTRANDO NA TELA) */

.js .reveal{
  opacity:0;
  transform:translate3d(var(--reveal-x, 0px), var(--reveal-y, 18px), 0) scale(0.985);
  filter:blur(7px);
  transition:transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 700ms ease, filter 700ms ease;
  will-change:transform, opacity, filter;
}

.js .reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  filter:blur(0);
}

/* CARD PADRÃO */

.card{
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(255,122,0,0.42), rgba(10,61,98,0.22)) border-box;
  border:1px solid transparent;
  padding:36px 30px;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-1);
  transition:transform 220ms ease, box-shadow 220ms ease;
  position:relative;
}

.card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-2);
}

.cardIcon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  color:rgba(11,27,43,0.92);
  background:linear-gradient(135deg, rgba(255,122,0,0.20), rgba(230,246,255,0.55));
  border:1px solid rgba(255,122,0,0.22);
  box-shadow:0 14px 35px rgba(255,122,0,0.16);
}

.card h3{
  font-size:20px;
  color:rgba(11,27,43,0.92);
  margin-bottom:8px;
}

.card p{
  color:rgba(11,27,43,0.72);
  line-height:1.55;
  margin:0;
}

/* PLANOS */

.cardPlano{
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(255,211,106,0.55), rgba(10,61,98,0.18)) border-box;
  border:1px solid transparent;
  padding:40px 32px;
  border-radius:calc(var(--radius-lg) + 4px);
  box-shadow:var(--shadow-1);
  transition:transform 220ms ease, box-shadow 220ms ease;
  position:relative;
  overflow:hidden;
}

.cardPlano:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-2);
}

.cardPlano h3{font-size:22px;color:rgba(11,27,43,0.92);margin-bottom:10px;}
.cardPlano p{color:rgba(11,27,43,0.72);margin:0;line-height:1.6;}

/* PLANO DESTAQUE */

.destaque{
  border:1px solid rgba(255,122,0,0.45);
  box-shadow:0 28px 90px rgba(255,122,0,0.22);
  transform:translateY(-6px);
}

/* BOTÃO PLANOS */

.cardPlano button{
  margin-top:20px;
  border:none;
  background:linear-gradient(135deg, var(--ink-2), rgba(10,61,98,0.78));
  color:white;
  padding:12px 18px;
  border-radius:999px;
  cursor:pointer;
  transition:transform 160ms ease, filter 200ms ease, box-shadow 200ms ease;
  box-shadow:0 14px 40px rgba(10,61,98,0.20);
}

.cardPlano button:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
  box-shadow:0 18px 55px rgba(255,122,0,0.30);
}

/* FOOTER */

footer{
  background:linear-gradient(135deg, rgba(10,61,98,1), rgba(11,27,43,1));
  color:rgba(255,255,255,0.92);
  padding:44px 8%;
  text-align:center;
  margin-top:40px;
  border-top:1px solid rgba(255,255,255,0.08);
}

/* ANIMAÇÕES */

@keyframes fadeUp{
  from{opacity:0;transform:translateY(32px);}
  to{opacity:1;transform:translateY(0);}
}

@keyframes shine{
  0%{transform:translateX(-20%) rotate(18deg);opacity:0;}
  18%{opacity:1;}
  55%{opacity:1;}
  100%{transform:translateX(120%) rotate(18deg);opacity:0;}
}

@keyframes bounce{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-6px);}
}

/* RESPONSIVO */

@media(max-width:900px){
  .container{width:min(1180px, 100% - 12%);}

  .heroTexto{padding:40px 22px;}

  .galeriaViewport{padding:10px 54px 16px;}

  .cards{grid-template-columns:1fr;}

  .clubeGrid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .clubeCopy p{
    font-size:17px;
  }

  nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    background:rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
    max-height:0;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
    padding:0 8%;
    transition:max-height 300ms ease, opacity 250ms ease;
  }

  header.menu-open nav{
    max-height:70vh;
    opacity:1;
    pointer-events:auto;
    padding:14px 8% 18px;
  }

  nav a{
    width:100%;
    padding:12px 16px;
    border-radius:16px;
  }

  .menuToggle{display:flex;}
}

/* BOTÃO "TO TOP" */

.toTop{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1300;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  background:linear-gradient(135deg, rgba(255,122,0,0.92), rgba(255,211,106,0.92));
  color:white;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 22px 70px rgba(255,122,0,0.35);
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity 200ms ease, transform 200ms ease;
}

.toTop.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .scrollHintDot{animation:none;}
  .heroTexto{animation:none;}
  .heroTexto::before{animation:none;}
  .slides img{transition:opacity 900ms ease;}
  .toTop{transition:none;}
  .js .reveal{transition:none;transform:none;opacity:1;filter:none;}
}
