/* =====================================================================
   Praia Brava Futevôlei — estilos
   ✏️ CORES: tiradas do uniforme (degradê rosa → azul do logo sobre o preto da camisa).
   Para mudar as cores, ajuste só as variáveis abaixo.
   ===================================================================== */
:root {
  --escuro: #17131A;      /* preto da camisa: textos e fundos escuros */
  --rosa: #F23D6E;        /* começo do degradê do logo: destaques sobre fundo escuro */
  --azul: #1FA6E8;        /* fim do degradê do logo */
  --azul-escuro: #0A6FB0; /* azul com contraste para texto branco */
  --areia: #F4ECDF;       /* fundo das seções de areia */
  --raio: linear-gradient(100deg, var(--rosa), var(--azul)); /* botões de ação (o ⚡ do logo) */
  --branco: #FFFFFF;
  --zap: #25D366;

  --largura: 1120px;
  --margem: clamp(16px, 4vw, 32px);
  --raio-borda: 6px;
  --fonte: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--escuro);
  background: var(--branco);
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, blockquote, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--rosa);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--escuro);
  border-radius: 2px;
}

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.pular {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: .6em 1em; background: var(--rosa); color: var(--escuro); font-weight: 700;
}
.pular:focus { top: 8px; }

.dentro { width: min(100% - 2 * var(--margem), var(--largura)); margin-inline: auto; }

/* ---------------------------------------------------------------- tipografia */
.titulo {
  font-stretch: 68%;
  font-weight: 850;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -.005em;
  margin-bottom: .45em;
}
.intro { font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.nota { font-size: .9rem; margin-top: 1rem; opacity: .8; }

/* ---------------------------------------------------------------- botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: .8em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--raio-borda);
  font-stretch: 85%;
  font-weight: 750;
  font-size: 1.05rem;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.botao-pequeno { min-height: 44px; padding: .6em 1.15em; font-size: .98rem; }
.botao-raio { background: var(--raio) border-box; color: var(--escuro); }
.botao-raio:hover { filter: brightness(1.1); }
.botao-escuro { background: var(--escuro); color: var(--branco); }
.botao-escuro:hover { background: #2E2734; }
.botao-vazado { border-color: currentColor; color: var(--branco); }
.botao-vazado:hover { background: rgba(255, 255, 255, .12); }
.botao-vazado-escuro { border-color: var(--escuro); color: var(--escuro); }
.botao-vazado-escuro:hover { background: rgba(23, 19, 26, .08); }

/* ---------------------------------------------------------------- topo */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--branco);
  transition: background-color .25s, box-shadow .25s;
}
.topo.solido, .topo.menu-aberto { background: var(--escuro); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.topo-dentro {
  width: min(100% - 2 * var(--margem), var(--largura)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.marca { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.marca-logo { width: 44px; height: 44px; flex: none; }
.marca-texto { display: flex; flex-direction: column; line-height: .9; }
.marca-nome { font-stretch: 62%; font-weight: 900; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .01em; }
.marca-sub { font-stretch: 100%; font-weight: 600; font-size: .8rem; letter-spacing: .02em; color: var(--rosa); }

.menu-botao {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.menu-icone, .menu-icone::before, .menu-icone::after {
  display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px;
  transition: transform .2s;
}
.menu-icone { position: relative; }
.menu-icone::before, .menu-icone::after { content: ""; position: absolute; left: 0; }
.menu-icone::before { top: -7px; }
.menu-icone::after { top: 7px; }
.menu-botao[aria-expanded="true"] .menu-icone { background: transparent; }
.menu-botao[aria-expanded="true"] .menu-icone::before { transform: translateY(7px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-icone::after { transform: translateY(-7px) rotate(-45deg); }

.menu {
  display: none;
  position: absolute; inset: 64px 0 auto;
  flex-direction: column; gap: .25rem;
  padding: .5rem var(--margem) 1.5rem;
  background: var(--escuro);
}
.topo.menu-aberto .menu { display: flex; }
.menu a:not(.botao) {
  padding: .7rem 0; text-decoration: none; font-weight: 600; font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.menu .botao { margin-top: 1rem; }

@media (min-width: 900px) {
  .menu-botao { display: none; }
  .menu {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 1.75rem;
    padding: 0; background: none;
  }
  .menu a:not(.botao) { padding: .3rem 0; border: 0; font-size: 1rem; }
  .menu a:not(.botao):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .menu .botao { margin: 0 0 0 .5rem; }
}

/* ---------------------------------------------------------------- abertura */
.abertura {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--branco);
  background: var(--escuro) url("imagens/abertura-capa.jpg") center / cover;
  overflow: hidden;
  isolation: isolate;
}
.abertura-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
/* escurece só o alto (menu) e a base (faixa da rede); o texto fica na placa, legível sobre qualquer foto ou vídeo */
.abertura::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(18, 14, 21, .55) 0, rgba(18, 14, 21, 0) 140px),
    linear-gradient(to top, rgba(18, 14, 21, .45) 0, rgba(18, 14, 21, 0) 220px);
}
.abertura-texto {
  width: min(100% - 2 * var(--margem), var(--largura)); margin-inline: auto;
  padding: 120px 0 calc(48px + clamp(1.5rem, 5vw, 3.5rem));
}
/* placa preta, a mesma dos planos: garante o contraste do texto e dos botões */
.abertura-placa {
  width: fit-content; max-width: 100%;
  padding: clamp(1.5rem, 4.5vw, 3rem);
  background: var(--escuro);
  border-radius: var(--raio-borda);
}
.abertura-titulo {
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(3rem, 11vw, 6rem);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}
.abertura-titulo span { display: block; }
.abertura-sub { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 40ch; margin-bottom: 1.75rem; text-wrap: pretty; }
.abertura-acoes { display: flex; flex-wrap: wrap; gap: .75rem; }

/* a faixa da rede: fita branca + malha, divisa entre a abertura e o site */
.rede {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  border-top: 7px solid var(--branco);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .55) 0 1.5px, transparent 1.5px 13px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .55) 0 1.5px, transparent 1.5px 13px);
}

@media (prefers-reduced-motion: no-preference) {
  .abertura-titulo span,
  .abertura-sub,
  .abertura-acoes { animation: sobe .7s cubic-bezier(.2, .7, .2, 1) both; }
  .abertura-titulo span:nth-child(2) { animation-delay: .12s; }
  .abertura-sub { animation-delay: .3s; }
  .abertura-acoes { animation-delay: .42s; }
}
@keyframes sobe { from { opacity: 0; transform: translateY(28px); } }

/* ---------------------------------------------------------------- seções */
.secao { padding-block: clamp(4rem, 11vw, 7.5rem); }
.secao-areia { background: var(--areia); }
.secao-escura { background: var(--escuro); color: var(--branco); }

/* sobre */
.sobre { display: grid; gap: 2.5rem; }
.sobre p { font-size: clamp(1.15rem, 2.4vw, 1.35rem); max-width: 40ch; }
.destaques { display: grid; gap: 1.5rem; align-content: start; }
.destaques li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.destaques svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 50%;
  background: var(--azul-escuro); fill: var(--branco); stroke: var(--branco);
}
.destaques strong { display: block; font-stretch: 85%; font-size: 1.15rem; line-height: 1.3; }
@media (min-width: 900px) {
  .sobre { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
  .destaques { padding-top: .75rem; }
}

/* horários: uma coluna por dia; a cor da barra indica o nível */
.grade {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--raio-borda); overflow: hidden;
}
.dia { padding: 1.25rem; background: var(--escuro); }
.dia h3 { font-stretch: 75%; font-weight: 800; font-size: 1.3rem; line-height: 1.1; margin-bottom: 1rem; }
.dia ul { display: grid; gap: .85rem; }
.dia li { padding-left: .75rem; border-left: 4px solid var(--cor-nivel); font-size: .95rem; line-height: 1.3; }
.dia time { display: block; font-stretch: 62%; font-weight: 900; font-size: 1.75rem; line-height: 1; }
.nivel-iniciante { --cor-nivel: var(--azul); }
.nivel-intermediario { --cor-nivel: #8E6BE8; }
.nivel-avancado { --cor-nivel: var(--rosa); }
.nivel-todos { --cor-nivel: var(--rosa); border-image: linear-gradient(var(--rosa), var(--azul)) 1; }
@media (min-width: 700px) { .grade { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grade { grid-template-columns: repeat(6, 1fr); } }

/* planos: foto do CT ao lado da placa de preços */
.planos { display: grid; }
.planos-foto {
  width: 100%; height: 220px; object-fit: cover; object-position: 50% 28%;
  border-radius: var(--raio-borda) var(--raio-borda) 0 0;
}
.placa {
  background: var(--escuro); color: var(--branco);
  border-radius: 0 0 var(--raio-borda) var(--raio-borda);
  padding: .5rem clamp(1.25rem, 4vw, 2.5rem);
}
.plano { display: grid; gap: .5rem; padding: 1.75rem 0; }
.plano + .plano { border-top: 1px solid rgba(255, 255, 255, .14); }
.plano h3 { font-stretch: 75%; font-weight: 800; font-size: clamp(1.35rem, 3.6vw, 1.75rem); line-height: 1.1; }
.preco {
  font-stretch: 62%; font-weight: 900; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1;
  color: var(--rosa); white-space: nowrap;
}
.preco span { font-stretch: 100%; font-weight: 500; font-size: .95rem; color: var(--branco); margin-left: .2em; }
.plano-inclui { opacity: .9; max-width: 48ch; }
.plano .botao { justify-self: start; margin-top: .5rem; }
@media (min-width: 700px) {
  .plano { grid-template-columns: 1fr auto; gap: .6rem 2.5rem; align-items: center; }
  .preco { grid-column: 2; grid-row: 1; justify-self: end; }
  .plano-inclui { grid-column: 1; grid-row: 2; }
  .plano .botao { grid-column: 2; grid-row: 2; justify-self: end; margin-top: 0; }
}
@media (min-width: 900px) {
  .planos { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
  /* a altura vem da placa; a foto só preenche */
  .planos-foto { height: 0; min-height: 100%; object-position: 50% 35%; border-radius: var(--raio-borda) 0 0 var(--raio-borda); }
  .placa { border-radius: 0 var(--raio-borda) var(--raio-borda) 0; padding: 1rem clamp(2rem, 4vw, 3.5rem); }
}

/* eventos */
.eventos { display: grid; gap: 1.25rem; }
.evento {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 2px solid var(--escuro);
  border-radius: var(--raio-borda);
}
.evento h3 { font-stretch: 75%; font-weight: 800; font-size: 1.6rem; line-height: 1.1; margin-bottom: .4rem; }
.evento p { margin-bottom: 1.25rem; max-width: 42ch; }
.evento-data {
  display: grid; justify-items: center; line-height: 1;
  min-width: 4.5rem; padding: .7rem .5rem;
  background: var(--azul-escuro); color: var(--branco); border-radius: var(--raio-borda);
}
.evento-dia { font-stretch: 62%; font-weight: 900; font-size: 2.8rem; }
.evento-mes { font-weight: 700; font-size: .95rem; margin-top: .2rem; }
.evento-vazio { grid-template-columns: 1fr; align-items: center; }
.evento-vazio p { margin-bottom: 0; }
.evento-vazio .botao { justify-self: start; }
@media (min-width: 700px) {
  .evento-vazio { grid-template-columns: 1fr auto; }
}

/* fotos */
.fotos-cabeca { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.fotos-cabeca .titulo { margin: 0; }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.galeria li:first-child { grid-column: span 2; }
.foto {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  border-radius: 4px; overflow: hidden; cursor: zoom-in;
}
.foto img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .galeria { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .galeria li:first-child { grid-row: span 2; }
}

/* avaliações */
.nota-google { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; font-size: 1.15rem; font-weight: 600; margin-bottom: 2rem; }
.estrelas { color: #E8A600; letter-spacing: .08em; }
.depoimentos {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(85%, 340px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; margin-bottom: 1.5rem;
}
.depoimentos li {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  padding: 1.5rem; background: var(--areia); border-radius: var(--raio-borda);
}
.depoimentos blockquote { font-size: 1.1rem; line-height: 1.55; }
.depoimentos p { font-weight: 700; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
@media (min-width: 900px) {
  .depoimentos { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; overflow: visible; }
}

/* local */
.local { display: grid; gap: 2rem; }
.local address { font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; }
.local-acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.mapa { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--raio-borda); background: #E8E3EA; }
@media (min-width: 900px) {
  .local { grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: center; }
}

/* rodapé */
.rodape { background: var(--escuro); color: var(--branco); padding-block: 3rem 6rem; }
.rodape-dentro { display: grid; gap: 1.5rem; }
.marca-rodape .marca-nome { font-size: 2.2rem; }
.marca-rodape { gap: 1rem; }
.marca-rodape .marca-logo { width: 88px; height: 88px; }
.rodape-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.rodape-links a { text-underline-offset: 4px; }
.rodape-copy { font-size: .9rem; opacity: .75; }
@media (min-width: 900px) {
  .rodape { padding-bottom: 3rem; }
  .rodape-dentro { grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem; }
  .rodape-links { justify-content: center; }
}

/* botão flutuante do WhatsApp */
.zap {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--zap); color: var(--branco);
  box-shadow: 0 6px 18px rgba(23, 19, 26, .35);
}
.zap svg { width: 32px; height: 32px; fill: currentColor; }

/* visor de fotos */
.visor {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(12, 9, 14, .94);
}
.visor[open] { display: grid; place-items: center; }
.visor::backdrop { background: rgba(12, 9, 14, .6); }
.visor img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: 4px; }
.visor button {
  position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: var(--branco); font-size: 2rem; line-height: 1; cursor: pointer;
}
.visor button:hover { background: rgba(255, 255, 255, .26); }
.visor-fechar { top: 16px; right: 16px; }
.visor-ant { left: 12px; top: 50%; translate: 0 -50%; }
.visor-prox { right: 12px; top: 50%; translate: 0 -50%; }

/* ---------------------------------------------------------------- modo rascunho */
.aviso-rascunho { display: none; }
body:not(.modo-rascunho) .exemplo { display: none; }
.modo-rascunho .pendente,
.modo-rascunho .exemplo {
  outline: 2px dashed #D9A400; outline-offset: 4px;
  /* camada por cima do fundo, sem apagar a cor própria do bloco */
  background-image: linear-gradient(rgba(255, 212, 59, .16), rgba(255, 212, 59, .16));
}
.modo-rascunho .aviso-rascunho {
  display: block; position: fixed; left: 12px; bottom: 16px; z-index: 45;
  max-width: calc(100% - 100px);
  padding: .5rem .85rem; border-radius: var(--raio-borda);
  background: #FFD43B; color: var(--escuro); font-size: .85rem; font-weight: 700; line-height: 1.3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
