/* ==========================================================================
   BIGODINHO DE OURO — Barbearia Infantil
   Paleta amostrada do manual da marca: ciano #00b9f2 e grafite #2c2e35.
   Estrutura inspirada na referência: coluna única, tipografia gigante,
   seções alternando escuro e claro.
   ========================================================================== */

:root {
  --ciano: #00b9f2;
  --ciano-escuro: #0098c8;
  --ciano-claro: #7bd9f8;
  --grafite: #2c2e35;
  --grafite-fundo: #232529;
  --preto: #1a1c20;
  --branco: #ffffff;
  --creme: #f4f7f9;
  --texto-claro: #c7cdd4;
  --linha: rgba(255, 255, 255, 0.12);
  --linha-escura: rgba(44, 46, 53, 0.14);

  --display: "Luckiest Guy", "Baloo 2", system-ui, sans-serif;
  --corpo: "Nunito", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--grafite-fundo);
  color: var(--branco);
  font-family: var(--corpo);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--ciano); color: var(--grafite); }

.env { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* Rótulo pequeno acima dos títulos — marca registrada da referência */
.rotulo {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ciano);
  margin-bottom: 0.9rem;
}
.rotulo.escuro { color: var(--ciano-escuro); }

.titulao {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ciano);
  color: var(--grafite);
  overflow: hidden;
}


/* Bolhas decorativas — leveza infantil sem virar poluição */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  z-index: 0;
  pointer-events: none;
}
.hero::before { width: 320px; height: 320px; top: -110px; right: -90px; }
.hero::after { width: 200px; height: 200px; bottom: 14%; left: -80px; }


.hero-topo {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 1.6rem 1.5rem 0;
}
.hero-topo img { width: clamp(150px, 42vw, 230px); height: auto; }

/* "Atendimento humanizado" é bem mais longo que o título anterior: sem reduzir,
   estoura a largura no celular. */
.titulao-hero { font-size: clamp(2.1rem, 8.4vw, 4rem); }

/* Coluna única centralizada: sem foto, o texto é o hero inteiro */
.hero-corpo {
  position: relative;
  z-index: 2;
  margin: auto;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 46rem;
  text-align: center;
}

/* No ciano, o rótulo pede o grafite — o ciano sobre ciano sumiria */
.hero .rotulo { color: var(--grafite); opacity: 0.72; }

.hero h1 { margin-bottom: 0.9rem; color: var(--branco); }
.hero h1 .linha2 { display: block; color: var(--grafite); }

.hero-sub {
  font-size: clamp(0.95rem, 4vw, 1.1rem);
  font-weight: 800;
  color: var(--grafite);
  margin-bottom: 0.4rem;
}
.hero-frase {
  font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  font-style: italic;
  color: rgba(44, 46, 53, 0.82);
  max-width: 34rem;
  margin: 0 auto 1.8rem;
}
.hero .botoes { justify-content: center; }

.botoes { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--corpo);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  flex: 1 1 auto;
  min-width: 150px;
}
.btn:active { transform: scale(0.97); }
.btn-cheio { background: var(--ciano); color: var(--grafite); }
.btn-cheio:hover { background: var(--branco); }
.btn-vazio { border-color: rgba(255, 255, 255, 0.5); color: var(--branco); }
.btn-vazio:hover { background: var(--branco); color: var(--grafite); }

/* Sobre o ciano, a hierarquia se inverte: cheio vira grafite, vazio vira branco */
.hero .btn-cheio { background: var(--grafite); color: var(--branco); }
.hero .btn-cheio:hover { background: var(--branco); color: var(--grafite); }
.hero .btn-vazio { border-color: rgba(255, 255, 255, 0.85); color: var(--branco); }
.hero .btn-vazio:hover { background: var(--branco); color: var(--grafite); }

/* ==========================================================================
   NÚMEROS
   ========================================================================== */

.numeros { background: var(--branco); color: var(--grafite); padding: 2.4rem 0; }
.numeros-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}
.numeros-grade div { padding: 0 0.3rem; }
.numeros b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 8vw, 2.6rem);
  line-height: 1;
  color: var(--ciano-escuro);
}
.numeros span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  line-height: 1.35;
}

/* Faixa do Instagram */
.faixa-insta {
  background: var(--branco);
  color: var(--grafite);
  padding: 0 0 2.6rem;
  text-align: center;
}
.cartao-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--linha-escura);
  border-radius: 999px;
  padding: 0.6rem 1.3rem 0.6rem 0.6rem;
  transition: border-color 0.2s ease;
}
.cartao-insta:hover { border-color: var(--ciano); }
.cartao-insta .disco {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ciano); display: grid; place-items: center; flex: none;
}
.cartao-insta .disco svg { width: 20px; height: 20px; fill: var(--branco); }
.cartao-insta b { font-size: 0.95rem; font-weight: 800; }
.cartao-insta .selo { width: 15px; height: 15px; fill: var(--ciano); }
.faixa-insta p {
  margin-top: 1rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9aa3ad;
}

/* ==========================================================================
   SEÇÕES
   ========================================================================== */

.secao { padding: 3.4rem 0; }
.secao-escura { background: var(--grafite-fundo); }
.secao-clara { background: var(--branco); color: var(--grafite); }
.secao-ciano { background: var(--ciano); color: var(--grafite); }

.sobre-grade { display: grid; gap: 1.6rem; }
.sobre-foto {
  border-radius: 14px;
  overflow: hidden;
  background: var(--grafite);
  aspect-ratio: 1 / 1;
}
.sobre-foto img { width: 100%; height: 100%; object-fit: cover; }

/* Variante com a marca: a logo é branca, então precisa do ciano por trás —
   sobre o branco da seção só o contorno apareceria. */
.sobre-marca {
  background: var(--ciano);
  display: grid;
  place-items: center;
  padding: 14%;
  position: relative;
  overflow: hidden;
}
.sobre-marca img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
/* bolha, o mesmo respiro usado no hero */
.sobre-marca::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -16%;
  right: -14%;
}
.sobre h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.35rem, 6vw, 1.8rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.sobre .cargo {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ciano-escuro);
  margin-bottom: 0.9rem;
}
.sobre p { color: #55606c; margin-bottom: 0.9rem; }
.secao-clara .sobre p:last-child { margin-bottom: 0; }

/* Lista de contato — linhas grandes, como na referência */
.linhas-contato { border-top: 1px solid var(--linha); }
.linhas-contato a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0.2rem;
  border-bottom: 1px solid var(--linha);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.linhas-contato a:hover { color: var(--ciano); padding-left: 0.6rem; }
.linhas-contato svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ==========================================================================
   GALERIA — espaço para fotos de cortes
   ========================================================================== */

.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.galeria figure {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--creme);
}
.galeria img { width: 100%; height: 100%; object-fit: cover; }

/* Slot vazio: fica evidente que falta a foto, em vez de quebrar o layout */
.vazio {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
  border: 2px dashed rgba(44, 46, 53, 0.22);
  border-radius: 12px;
  color: #8b95a1;
}
.secao-escura .vazio, .hero .vazio { border-color: rgba(255,255,255,.25); color: #8b95a1; }
.vazio svg { width: 26px; height: 26px; margin: 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; }
.vazio b { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.vazio small { font-size: 0.66rem; line-height: 1.4; opacity: 0.8; }

/* Vídeos */
.videos { display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
.videos figure {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: var(--creme);
}
.videos video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   CLUBINHO DE OURO — planos de assinatura
   ========================================================================== */

.secao-intro {
  font-size: 1rem;
  color: var(--texto-claro);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.secao-clara .secao-intro { color: #55606c; }

/**
 * O ouro vem da marca adulta (#c49f4d, amostrado do manual do Bigode de Ouro).
 * Usar aqui liga o Clubinho à ideia de "ouro" do nome e cria um terceiro
 * patamar visual: ciano para a criança, grafite para o corpo, ouro para o clube.
 */
.secao-ouro {
  /* O tom anterior (#c49f4d chapado) puxava para mostarda. Este é mais quente
     e mais claro no topo — lê como ouro, não como amarelo queimado. */
  background: linear-gradient(165deg, #f2d98c 0%, #e0bc63 42%, #c9a147 100%);
  color: var(--grafite);
}
.secao-ouro .rotulo { color: #7a5b18; }
.secao-ouro .secao-intro { color: rgba(44, 46, 53, 0.8); }

.planos { display: grid; gap: 1.4rem; }

.plano {
  background: var(--branco);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(90, 66, 20, 0.18);
}
/* Deitada, para o card nao esticar. As fotos sao retrato, entao o corte mostra
   uma faixa horizontal — qual faixa e o que  decide. */
.plano-foto { aspect-ratio: 4 / 3; background: var(--creme); }
.plano-foto img { width: 100%; height: 100%; object-fit: cover; }

.plano-corpo { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.plano-etiqueta {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8853a;
}
.plano h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 6.5vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--grafite);
}
.plano-texto { color: #55606c; font-size: 0.95rem; }
.plano .btn { margin-top: 0.6rem; align-self: flex-start; flex: 0 0 auto; }
/* No cartão branco o botão ciano brigaria com o ouro da seção */
.plano .btn-cheio { background: var(--grafite); color: var(--branco); }
.plano .btn-cheio:hover { background: #a8853a; }

/* ==========================================================================
   COLLAB — Bigodinho + Bigode de Ouro
   ========================================================================== */

.collab {
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  margin-bottom: 2rem;
}
.collab-marca {
  width: 100%;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.4rem;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  text-align: center;
}
/**
 * Cada marca no fundo que ela pede.
 *
 * A infantil é branca chapada: sem o ciano por trás, sumiria. A adulta tem o
 * rosto em navy e a tipografia em ouro — sobre grafite o rosto encostava no
 * fundo e desaparecia, então ela fica no claro, como no manual dela.
 */
.collab-infantil { background: var(--ciano); }
.collab-adulto { background: var(--creme); border: 1px solid var(--linha-escura); }

.collab-marca img { width: 100%; max-width: 200px; height: auto; }
.collab-marca p {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--branco);
}
.collab-adulto p { color: var(--grafite); }
.collab-marca p span { font-weight: 700; opacity: 0.72; letter-spacing: 0.1em; }

.collab-mais {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ciano-escuro);
  line-height: 1;
}

.collab-texto { color: #55606c; max-width: 40rem; margin-bottom: 1.6rem; }

/* Botão que sai para a marca adulta: grafite, não ciano — quem clica está
   indo para o outro lado da casa, e a cor já avisa isso. */
.btn-escuro {
  background: var(--grafite);
  color: var(--branco);
  flex: 0 0 auto;
}
.btn-escuro:hover { background: #a8853a; }

/* ==========================================================================
   AVALIAÇÃO
   ========================================================================== */

/* ==========================================================================
   SEÇÃO CIANO — texto em branco
   ==========================================================================
   O branco sobre o ciano dá menos contraste que o grafite, então tudo aqui
   sobe de peso: o rótulo fica quase opaco e o tique da lista vira branco
   cheio. O botão também muda — `btn-cheio` é ciano, e ciano sobre ciano
   desapareceria.
   -------------------------------------------------------------------------- */
.rotulo.escuro-ciano { color: rgba(255, 255, 255, 0.9); }

.secao-ciano .titulao,
.secao-ciano .depoimento,
.secao-ciano .lista-marcada li { color: var(--branco); }
.secao-ciano .lista-marcada li::before { background: var(--branco); }

.secao-ciano .btn-cheio { background: var(--branco); color: var(--ciano-escuro); }
.secao-ciano .btn-cheio:hover { background: var(--grafite); color: var(--branco); }

.depoimento {
  font-size: clamp(1.05rem, 4.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 1.6rem;
  max-width: 38rem;
}

.lista-marcada { list-style: none; display: grid; gap: 0.85rem; max-width: 38rem; }
.lista-marcada li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.98rem;
  line-height: 1.5;
}
.lista-marcada li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--grafite);
  /* tique desenhado no próprio fundo, sem depender de fonte de ícone */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat,
           linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat,
        linear-gradient(#000, #000);
  mask-composite: exclude;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.rodape { background: var(--preto); padding: 3rem 0 2.4rem; text-align: center; }
.rodape img { width: 140px; margin: 0 auto 1.4rem; }
.rodape h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
}
.rodape p { font-size: 0.85rem; color: var(--texto-claro); line-height: 1.7; }
.rodape .links {
  display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap;
  margin: 1.6rem 0 1.4rem;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.rodape .links a:hover { color: var(--ciano); }
.rodape .miudo { font-size: 0.66rem; color: #6c7684; line-height: 1.7; }

/* Botão flutuante do WhatsApp */
.zap-flutua {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.zap-flutua:hover { transform: scale(1.08); }
.zap-flutua svg { width: 29px; height: 29px; fill: #fff; }

/* ==========================================================================
   DESKTOP
   ========================================================================== */

@media (min-width: 760px) {
  .secao { padding: 4.6rem 0; }
  .sobre-grade { grid-template-columns: 320px 1fr; align-items: center; gap: 2.6rem; }
  .galeria { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .videos { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .botoes .btn { flex: 0 0 auto; min-width: 190px; }
  .numeros-grade { gap: 2rem; }

  .planos { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .collab { grid-template-columns: 1fr auto 1fr; gap: 1.6rem; }
  .collab-marca { padding: 2.4rem 2rem 1.8rem; }
  .collab-mais { font-size: 2.6rem; }

}

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