/*
 * Landing do Dr. Nestor Neto: estilos na ordem das seções do index.html.
 * Mobile-first: o básico vale para o celular (360 px) e as @media (min-width) ajustam telas maiores.
 * IDENTIDADE: cores, fontes, cantos e largura só nas variáveis do :root.
 */

:root {
  /* Dourado da marca */
  --cor-dourado: #E9C77B;            /* links, contornos e ícones do vídeo */
  --cor-dourado-claro: #FFF1C9;      /* links ao passar o mouse */
  --cor-dourado-icone: #E2BD6E;      /* ícones, etiquetas e marcadores */
  --cor-dourado-registro: #D9B56A;   /* "MÉDICO · CRM" da abertura */
  --cor-texto-contorno: #F1E3BE;     /* texto dos botões só com contorno */
  --cor-texto-botao: #17120A;        /* texto dos botões dourados */
  --gradiente-texto: linear-gradient(100deg, #A8782A 0%, #E7C06A 30%, #FFF1C9 48%, #E3B556 64%, #B0802C 100%);
  --gradiente-botao: linear-gradient(100deg, #C79B52 0%, #EFD39A 42%, #FCEBC9 58%, #D6B06F 100%);
  --gradiente-play: linear-gradient(135deg, #C79B52, #FCEBC9 55%, #D6B06F);
  --brilho-logo: linear-gradient(100deg, transparent 42%, rgba(255, 252, 235, 0.95) 50%, transparent 58%);
  --luz-cerebro-0: rgba(255, 225, 150, 0);
  --luz-cerebro-forte: rgba(255, 220, 140, 0.85);
  --luz-cerebro-fraca: rgba(233, 190, 100, 0.3);

  /* Dourado transparente (linhas, bordas e brilhos); o número é a opacidade em % */
  --dourado-0: rgba(233, 199, 123, 0);
  --dourado-10: rgba(233, 199, 123, 0.1);
  --dourado-12: rgba(233, 199, 123, 0.12);
  --dourado-14: rgba(233, 199, 123, 0.14);
  --dourado-16: rgba(233, 199, 123, 0.16);
  --dourado-18: rgba(233, 199, 123, 0.18);
  --dourado-40: rgba(233, 199, 123, 0.4);
  --dourado-45: rgba(233, 199, 123, 0.45);
  --dourado-50: rgba(233, 199, 123, 0.5);

  /* Fundos: azul-marinho quase preto */
  --cor-fundo: #06080E;
  --cor-fundo-alternado: #0A0E18;    /* seções Experiência e Localização */
  --cor-cartao: #0D121E;
  --cor-fundo-mapa: #0B101C;
  --cor-fundo-chamada: #0D1014;
  --cor-fundo-rodape: #050608;
  --fundo-0: rgba(6, 8, 14, 0);
  --fundo-50: rgba(6, 8, 14, 0.5);
  --fundo-55: rgba(6, 8, 14, 0.55);
  --fundo-70: rgba(6, 8, 14, 0.7);
  --fundo-80: rgba(6, 8, 14, 0.8);
  --fundo-abertura: radial-gradient(ellipse 70% 60% at 50% 42%, #0F1C3B 0%, #070B15 55%, #03050A 100%);
  --fundo-topo: radial-gradient(ellipse 60% 70% at 78% 35%, rgba(22, 44, 96, 0.42), rgba(6, 8, 14, 0) 70%);

  /* Textos */
  --cor-titulo: #F6F1E7;
  --cor-texto: #F4EFE4;
  --cor-texto-frase: #F1ECE1;
  --cor-texto-lista: #E4DFD4;
  --cor-texto-menu: #D9D3C7;
  --cor-texto-dica: #D9CFB9;
  --cor-texto-chamada: #C2BDB1;
  --cor-texto-topo: #B9B4A8;
  --cor-texto-suave: #B3AEA2;
  --cor-texto-apagado: #A9A397;
  --cor-texto-rodape: #8E897E;

  /* Fontes (as famílias também estão no <link> do Google Fonts, no index.html) */
  --fonte-titulo: 'Marcellus', serif;
  --fonte-texto: 'Manrope', system-ui, sans-serif;

  /* Cantos e largura */
  --raio-botao: 999px;
  --raio-foto: 28px;
  --raio-depoimento: 26px;
  --raio-cartao: 24px;
  --raio-bloco: 20px;
  --largura: 1240px;
}

/* ─── Base ─── */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cor-fundo);
  color: var(--cor-texto);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  color: var(--cor-titulo);
}

h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.14;
}

h3 {
  font-size: 30px;
  line-height: 1.15;
}

a {
  color: var(--cor-dourado);
}

a:hover {
  color: var(--cor-dourado-claro);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cor-dourado);
  outline-offset: 3px;
}

img,
video {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* ─── Peças repetidas ─── */
.container {
  max-width: var(--largura);
  margin: 0 auto;
}

/* Trecho do título em dourado */
.texto-dourado {
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Botão dourado: todos os que levam ao WhatsApp */
.botao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 28px;
  border-radius: var(--raio-botao);
  background: var(--gradiente-botao);
  color: var(--cor-texto-botao);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}

.botao:hover {
  color: var(--cor-texto-botao);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.botao-pequeno {
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 14px;
  white-space: nowrap;
}

.botao-grande {
  min-height: 56px;
  padding: 17px 30px;
  font-size: 16px;
}

/* Botão só com contorno: navegação dentro da página e "Saiba mais" */
.botao-contorno {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 26px;
  border: 1px solid var(--dourado-45);
  border-radius: var(--raio-botao);
  color: var(--cor-texto-contorno);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.botao-contorno:hover {
  background: var(--dourado-10);
  border-color: var(--cor-dourado);
  color: var(--cor-dourado-claro);
}

.botao-contorno-pequeno {
  min-height: 46px;
  padding: 12px 22px;
  font-size: 14.5px;
}

/* Etiqueta acima do título: "— ÁREAS DE ATUAÇÃO —" */
.etiqueta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--fonte-titulo);
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--cor-dourado-icone);
}

.etiqueta::before,
.etiqueta-centro::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--cor-dourado-icone);
}

.etiqueta-centro {
  justify-content: center;
}

/* ═══ ABERTURA ═══ animação do logo. As fases (classes fase-*) entram pelo js/main.js */
.abertura {
  position: relative;
  height: clamp(600px, 100vh, 960px);
  background: var(--fundo-abertura);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.abertura-conteudo {
  width: min(880px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -40px;
}

.abertura-logo {
  position: relative;
  width: 100%;
  aspect-ratio: 1890 / 650;
}

.abertura-camada {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.abertura-palco {
  overflow: visible;
}

.abertura-atleta {
  opacity: 0;
  transform: translateX(-24%);
  filter: blur(8px);
  transform-origin: 20% 60%;
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.16, 0.84, 0.24, 1), filter 1s ease;
}

.fase-atleta .abertura-atleta {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.fase-chute .abertura-atleta {
  animation: chute 0.55s cubic-bezier(0.3, 0.7, 0.3, 1) 1;
}

.abertura-tracado {
  clip-path: inset(0 100% 0 0);
}

.abertura-n1,
.abertura-n2 {
  opacity: 0;
  transform: scale(0.55);
  filter: brightness(2.6);
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.2, 1.5, 0.4, 1), filter 0.9s ease;
}

.abertura-n1 {
  transform-origin: 49.7% 40%;
}

.abertura-n2 {
  transform-origin: 64% 54%;
}

.fase-n1 .abertura-n1,
.fase-n2 .abertura-n2 {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
}

.abertura-cabeca {
  clip-path: circle(0% at 91% 8%);
  transition: clip-path 1.1s cubic-bezier(0.3, 0.6, 0.2, 1);
}

.fase-cabeca .abertura-cabeca {
  clip-path: circle(150% at 91% 8%);
}

.abertura-cerebro {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: 84.7% 40%;
  transition: opacity 0.5s ease, transform 0.9s cubic-bezier(0.2, 1.3, 0.4, 1);
}

.fase-cabeca .abertura-cerebro {
  opacity: 1;
  transform: scale(1);
  animation: acender 1.6s ease-out 0.1s 1 both;
}

/* Brilho que passa pelo símbolo (a máscara exige abrir por http://, não por file://) */
.abertura-brilho {
  -webkit-mask: url(../assets/img/logo-simbolo.svg) center / 100% 100% no-repeat;
  mask: url(../assets/img/logo-simbolo.svg) center / 100% 100% no-repeat;
  background: var(--brilho-logo) 100% 0 / 300% 100% no-repeat;
}

.fase-nome .abertura-brilho {
  animation: brilho 5s ease-in-out infinite;
}

.abertura-nome {
  width: min(560px, 66vw);
  height: auto;
  margin-top: 30px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.6, 0, 0.2, 1);
}

.fase-nome .abertura-nome {
  clip-path: inset(0 0% 0 0);
}

.abertura-registro {
  margin-top: 14px;
  font-family: var(--fonte-titulo);
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--cor-dourado-registro);
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
}

.abertura-dica {
  position: absolute;
  left: 50%;
  bottom: 96px; /* no celular, acima da barra do navegador e do botão flutuante */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cor-texto-dica);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}

.abertura-dica svg {
  color: var(--cor-dourado-icone);
  animation: flutuar 1.8s ease-in-out infinite;
}

.fase-nome .abertura-registro,
.fase-nome .abertura-dica {
  opacity: 1;
}

.sem-animacao,
.sem-animacao * {
  transition: none !important;
  animation: none !important;
}

/* ═══ CABEÇALHO ═══ fixo no alto da tela */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--fundo-80);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dourado-14);
}

.cabecalho-conteudo {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.marca img {
  display: block;
  width: auto;
  height: 42px;
}

.marca-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.marca-nome {
  font-family: var(--fonte-titulo);
  font-size: 18px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.marca-registro {
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--cor-texto-apagado);
  white-space: nowrap;
}

/* Menu e botão do cabeçalho: só a partir de 821 px (no celular fica o botão flutuante) */
.menu {
  display: none;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
}

.menu a {
  color: var(--cor-texto-menu);
  text-decoration: none;
}

.menu a:hover {
  color: var(--cor-dourado);
}

.cabecalho .botao {
  display: none;
}

/* ═══ TOPO ═══ */
.topo {
  position: relative;
  padding: 72px 24px 104px;
  background: var(--fundo-topo);
}

.topo-grade {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}

.topo-texto {
  flex: 1 1 520px;
  min-width: 0;
}

.topo h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.topo-descricao {
  max-width: 560px;
  margin-top: 28px;
  font-size: 18.5px;
  color: var(--cor-texto-topo);
}

.sintomas {
  list-style: none;
  max-width: 620px;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 15px;
  color: var(--cor-texto-lista);
}

.sintomas li {
  flex: 1 1 260px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sintomas svg {
  flex: none;
  margin-top: 3px;
  color: var(--cor-dourado-icone);
}

.topo-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.topo-foto {
  position: relative;
  flex: 1 1 400px;
  min-width: 0;
  max-width: 500px;
  margin: 0 auto;
}

.topo-foto-moldura {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--dourado-45);
  border-radius: var(--raio-foto);
}

.topo-foto img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--raio-foto);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* ═══ FAIXA ═══ frase e diferenciais */
.faixa {
  padding: 0 24px;
}

.faixa-conteudo {
  padding: 52px 0;
  border-top: 1px solid var(--dourado-14);
  border-bottom: 1px solid var(--dourado-14);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.faixa-frase {
  flex: 1 1 420px;
  font-family: var(--fonte-titulo);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--cor-texto-frase);
}

.diferenciais {
  flex: 1 1 560px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.diferencial {
  flex: 1 1 160px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.diferencial-icone {
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--dourado-40);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cor-dourado-icone);
}

.diferencial-texto {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--cor-texto-menu);
}

/* ─── Seções com título centralizado (Especialidades e Depoimentos) ─── */
.secao {
  padding: 112px 24px;
}

.secao-cabecalho {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.secao-descricao {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 17px;
  color: var(--cor-texto-suave);
}

/* ─── Seções de fundo alternado e duas colunas (Experiência e Localização) ─── */
.secao-alternada {
  padding: 104px 24px;
  background: var(--cor-fundo-alternado);
  border-top: 1px solid var(--dourado-10);
}

.grade-duas {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.grade-texto {
  flex: 1 1 400px;
  min-width: 0;
}

.secao-texto {
  margin-top: 22px;
  font-size: 17px;
  color: var(--cor-texto-suave);
}

/* ═══ ESPECIALIDADES ═══ */
.grade-especialidades {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 56px;
}

.especialidade {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cor-cartao);
  border: 1px solid var(--dourado-16);
  border-radius: var(--raio-cartao);
}

.especialidade-midia {
  position: relative;
  height: 500px;
}

.especialidade-midia img,
.especialidade-midia video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Enquadramento de cada foto no cartão */
.foto-jaleco-bola {
  object-position: 50% 28%;
}

.foto-escritorio {
  object-position: 45% 30%;
}

.especialidade-video {
  background: #000;
}

.especialidade-video video {
  object-position: 50% 40%;
}

.especialidade-texto {
  flex: 1;
  padding: 32px 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.especialidade-numero {
  font-family: var(--fonte-titulo);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--cor-dourado-icone);
}

.especialidade-descricao {
  font-size: 15.5px;
  color: var(--cor-texto-suave);
}

.especialidade-lista {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--cor-texto-lista);
}

.especialidade-lista li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.especialidade-lista li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cor-dourado-icone);
}

.especialidade-acao {
  margin-top: auto;
  padding-top: 12px;
}

/* Vídeo: capa com botão de play pulsando (js/main.js toca ao clicar).
   ✏️ Altura do botão: align-items center = meio do vídeo; flex-end = embaixo; flex-start = em cima */
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, var(--fundo-0) 55%, var(--fundo-50) 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-alvo {
  position: relative;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-onda {
  position: absolute;
  inset: 0;
  border: 2px solid var(--cor-dourado);
  border-radius: 50%;
  animation: onda 1.8s ease-out infinite;
}

.video-play-onda-atrasada {
  animation-delay: 0.9s;
}

.video-play-botao {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--gradiente-play);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cor-texto-botao);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  animation: piscar 1.8s ease-in-out infinite;
}

.video-instagram {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dourado-40);
  border-radius: 50%;
  background: var(--fundo-70);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-instagram svg {
  color: var(--cor-dourado);
}

/* ═══ EXPERIÊNCIA ═══ */
.experiencia {
  border-bottom: 1px solid var(--dourado-10);
}

.experiencia h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
}

.experiencia .botao {
  margin-top: 32px;
}

.galeria {
  flex: 1 1 560px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 230px 230px;
  gap: 14px;
}

.galeria img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--raio-bloco);
}

.foto-campo {
  grid-row: span 2;
  object-position: 50% 25%;
}

.foto-atendimento-campo {
  object-position: 60% 50%;
}

.foto-correndo {
  object-position: 50% 40%;
}

/* ═══ DEPOIMENTOS ═══ prints reais de WhatsApp, cada um num cartão. As imagens têm o fundo na cor do cartão */
.grade-depoimentos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}

.depoimento {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 560px;
  margin: 0;
  padding: 14px;
  background: var(--cor-cartao);
  border: 1px solid var(--dourado-16);
  border-radius: var(--raio-depoimento);
}

/* print mais alto que largo: cartão mais estreito, para não ficar comprido demais ao lado dos outros */
.depoimento-vertical {
  max-width: 420px;
}

.depoimento img {
  display: block;
  width: 100%;
  height: auto;
}

.depoimentos-acao {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ═══ LOCALIZAÇÃO ═══ */
.localizacao .secao-texto {
  margin-top: 18px;
}

.contato-cartao {
  margin-top: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--cor-cartao);
  border: 1px solid var(--dourado-16);
  border-radius: var(--raio-bloco);
}

.contato-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contato-item svg {
  flex: none;
  margin-top: 2px;
  color: var(--cor-dourado-icone);
}

.contato-item-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  font-size: 15px;
  color: var(--cor-texto-suave);
}

.contato-item-texto strong,
.contato-item-texto a {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--cor-texto);
  text-decoration: none;
}

.contato-item-texto a:hover {
  color: var(--cor-dourado-claro);
}

.localizacao-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.mapa {
  flex: 1 1 520px;
  min-width: 0;
  height: 460px;
  overflow: hidden;
  background: var(--cor-fundo-mapa);
  border: 1px solid var(--dourado-18);
  border-radius: var(--raio-cartao);
}

/* O filtro deixa o mapa escuro; apague a linha "filter" para o mapa claro */
.mapa iframe {
  display: block;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) saturate(0.6);
}

/* ═══ CHAMADA FINAL ═══ foto do Dr. Nestor à direita, com véu escuro à esquerda */
.chamada-final {
  padding: 128px 24px;
  border-top: 1px solid var(--dourado-14);
  background: linear-gradient(90deg, var(--cor-fundo) 38%, var(--fundo-55) 58%, var(--fundo-0) 80%),
    url(../assets/img/nestor-retrato.jpg) right center / auto 100% no-repeat;
  background-color: var(--cor-fundo-chamada);
}

.chamada-final-texto {
  max-width: 560px;
}

.chamada-final h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.chamada-final-descricao {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--cor-texto-chamada);
}

.chamada-final .botao {
  margin-top: 34px;
}

/* ═══ RODAPÉ ═══ */
.rodape {
  padding: 72px 24px 100px;
  background: var(--cor-fundo-rodape);
  border-top: 1px solid var(--dourado-12);
}

.rodape-grade {
  display: flex;
  flex-wrap: wrap;
  gap: 44px 64px;
  justify-content: space-between;
}

.rodape-marca {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.rodape-marca img {
  display: block;
  width: 310px;
  max-width: 100%;
  height: auto;
}

.botao-rodape {
  min-height: 50px;
  padding: 14px 34px;
  font-weight: 600;
  font-size: 16px;
}

.rodape-coluna {
  flex: 0 1 auto;
}

.rodape h4 {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--cor-texto);
}

.rodape-contato {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rodape-contato h4 {
  margin-bottom: 6px;
}

.rodape-link,
.rodape-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--cor-texto-lista);
  text-decoration: none;
}

.rodape-link svg,
.rodape-info svg {
  flex: none;
  color: var(--cor-dourado-icone);
}

.rodape-endereco,
.rodape-info {
  align-items: flex-start;
}

.rodape-endereco {
  line-height: 1.5;
}

.rodape-endereco svg,
.rodape-info svg {
  margin-top: 2px;
}

.rodape-endereco span span {
  display: block;
}

.rodape-info-nota {
  display: block;
  font-size: 14px;
  color: var(--cor-texto-apagado);
}

.rodape-final {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--cor-texto-rodape);
}

.rodape-final a {
  padding: 12px 0;
  color: var(--cor-dourado-icone);
  text-decoration: none;
}

.rodape-final-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 28px;
}

/* Crédito de quem fez o site: texto discreto + logo da VIIA CODE nas cores da própria marca */
.rodape-final .rodape-credito {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cor-texto-rodape);
}

.rodape-credito img {
  display: block;
  width: auto;
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.rodape-final .rodape-credito:hover {
  color: var(--cor-dourado-claro);
}

.rodape-credito:hover img {
  opacity: 1;
}

/* ═══ BOTÃO FLUTUANTE ═══ sempre no canto da tela */
.botao-flutuante {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  padding: 15px 24px 15px 18px;
  font-size: 15px;
  animation: pulsar 2.6s ease-in-out infinite;
}

/* ─── Animações ─── */
@keyframes chute {
  0% { transform: translateX(0) rotate(0); }
  30% { transform: translateX(3%) rotate(-2.5deg); }
  100% { transform: translateX(0) rotate(0); }
}

@keyframes brilho {
  0% { background-position: 100% 0; }
  35%, 100% { background-position: 0% 0; }
}

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

@keyframes acender {
  0% { filter: brightness(2.2) drop-shadow(0 0 0 var(--luz-cerebro-0)); }
  50% { filter: brightness(1.4) drop-shadow(0 0 22px var(--luz-cerebro-forte)); }
  100% { filter: brightness(1) drop-shadow(0 0 8px var(--luz-cerebro-fraca)); }
}

@keyframes pulsar {
  0%, 100% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 0 var(--dourado-50); }
  50% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 14px var(--dourado-0); }
}

@keyframes onda {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes piscar {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.08); filter: brightness(1.2); }
}

/* ─── Telas maiores ─── (os pontos de quebra da landing original: 601 px e 821 px) */
@media (min-width: 601px) {
  .abertura-dica {
    bottom: 28px;
  }
}

@media (min-width: 821px) {
  .menu {
    display: flex;
  }

  .cabecalho .botao {
    display: inline-flex;
  }
}

/* ─── Menos movimento ─── para quem pediu isso nas configurações do aparelho (a abertura já vem pronta pelo js/main.js) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fase-nome .abertura-brilho,
  .abertura-dica svg,
  .video-play-botao,
  .botao-flutuante {
    animation: none;
  }

  .video-play-onda {
    display: none;
  }
}
