/* =========================================================
   PALETA DE CORES (azul e dourado)
   Mude as cores aqui e o site inteiro muda junto.
   ========================================================= */
:root {
  --preto: #000;
  --azul-900: #07142b;
  --azul-800: #0b1f3f;
  --azul-700: #12305e;
  --azul-500: #2b5aa8;

  --ouro: #c9a24d;
  --ouro-claro: #e8cf8f;
  --bege: #f5f5dc;

  --texto: #e9eef7;
  --texto-suave: #a9b7cf;

  --fonte-titulo: "Cormorant Garamond", Georgia, serif;
  --fonte-texto: "Inter", system-ui, sans-serif;
  --raio: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-texto);
  background: var(--azul-900);
  color: var(--texto);
  line-height: 1.6;
}

.container {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

.centro { text-align: center; }

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  line-height: 1.15;
}

h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }

.sobretitulo {
  color: var(--ouro);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.intro {
  color: var(--texto-suave);
  max-width: 560px;
  margin-bottom: 36px;
}
.centro .intro { margin-inline: auto; }

/* ===== BOTÕES ===== */
.botao {
  display: inline-block;
  background: linear-gradient(135deg, var(--ouro-claro), var(--ouro));
  color: var(--azul-900);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.botao:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 162, 77, 0.35);
}

.botao-contorno {
  background: transparent;
  color: var(--ouro-claro);
  border: 1px solid var(--ouro);
}
.botao-contorno:hover { box-shadow: none; background: rgba(201, 162, 77, 0.1); }

/* ===== TOPO ===== */
.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(20px, 5vw, 60px);
  background: rgba(7, 20, 43, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 77, 0.2);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fonte-titulo);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--texto);
  text-decoration: none;
}
.rodape-logo {
  display: block;
  width: 90px;          /* tamanho da logo: aumente ou diminua */
  height: auto;
  margin: 0 auto 16px;  /* centraliza e dá espaço embaixo */
  opacity: 0.9;
}

.logo em { color: var(--ouro); font-style: normal; }
.logo-icone { height: 34px; width: auto; display: block; }

.menu { display: flex; gap: 28px; }
.menu a {
  color: var(--texto-suave);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.menu a:hover { color: var(--ouro-claro); }

/* ===== SEÇÕES ===== */
.secao { padding: 90px 0; }
.secao-escura { background: var(--azul-800); }

/* ===== QUIZ ===== */
.quiz-caixa {
  background: linear-gradient(160deg, var(--azul-700), var(--azul-800));
  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 44px);
  max-width: 720px;
}

.progresso {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
}
.progresso-barra {
  height: 100%;
  min-width: 6%;
  background: linear-gradient(90deg, var(--ouro), var(--ouro-claro));
  transition: width 0.35s ease;
}

.contador {
  color: var(--ouro);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pergunta-titulo {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 24px;
}

.opcoes { display: grid; gap: 12px; }

.opcao {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  color: var(--texto);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--raio);
  padding: 16px 20px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.opcao:hover {
  border-color: var(--ouro);
  background: rgba(201, 162, 77, 0.1);
  transform: translateX(4px);
}
.opcao.selecionada {
  border-color: var(--ouro);
  background: rgba(201, 162, 77, 0.16);
}

.voltar {
  margin-top: 22px;
  background: none;
  border: none;
  color: var(--texto-suave);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.voltar:hover { color: var(--ouro-claro); }

/* Resultado */
.resultado-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--raio);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.resultado-card h4 { font-size: 1.5rem; margin-bottom: 6px; }
.resultado-card p { color: var(--texto-suave); font-size: 0.95rem; }

.resultado-card.destaque {
  border-color: var(--ouro);
  background: rgba(201, 162, 77, 0.1);
}

.selo {
  display: inline-block;
  background: var(--ouro);
  color: var(--azul-900);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.aviso {
  color: var(--texto-suave);
  font-size: 0.82rem;
  margin: 18px 0 24px;
}

.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== GRADES E CARTÕES ===== */
.grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.grade.tres { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.cartao {
  background: linear-gradient(160deg, var(--azul-700), var(--azul-800));
  border: 1px solid rgba(201, 162, 77, 0.22);
  border-radius: var(--raio);
  padding: 26px;
  transition: transform 0.25s, border-color 0.25s;
}
.cartao:hover { transform: translateY(-4px); border-color: var(--ouro); }

.cartao h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cartao p { color: var(--texto-suave); font-size: 0.95rem; }

.etiqueta {
  display: inline-block;
  color: var(--ouro);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===== CONTATO / RODAPÉ ===== */
.endereco { margin-top: 28px; color: var(--texto-suave); font-size: 0.92rem; }

.logo em { color: var(--ouro); font-style: normal; }
.logo-icone1 { height: 60px; width: auto; display: block; }

.rodape {
  text-align: center;
  padding: 40px 30px;
  border-top: 1px solid rgba(201, 162, 77, 0.2);
  color: var(--texto-suave);
  font-size: 0.85rem;
}
.aviso-rodape { margin-top: 6px; font-size: 0.75rem; opacity: 0.75; }

/* ===== CELULAR ===== */
@media (max-width: 720px) {
  .menu { display: none; }   /* no celular, só o logo no topo (simples) */
  .secao { padding: 64px 0; }
}

/* =========================================================
   QUESTIONÁRIO (novas telas)
   ========================================================= */
.subtitulo { color: var(--texto-suave); margin-bottom: 26px; max-width: 520px; }
.ajuda { color: var(--texto-suave); font-size: 0.9rem; margin: -10px 0 16px; }
.acoes-quiz { margin-top: 22px; }

.opcao:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.opcao:disabled:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }
.botao:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.formulario { display: grid; gap: 14px; margin-top: 26px; }
.campo { display: grid; gap: 6px; font-size: 0.9rem; color: var(--texto-suave); }
.campo input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--raio);
  padding: 14px 16px;
  color: var(--texto);
  font: inherit;
  font-size: 1rem;
}
.campo input:focus { outline: none; border-color: var(--ouro); }

.consentimento {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.88rem; color: var(--texto-suave); cursor: pointer;
}
.consentimento input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ouro); flex: none; }

.erro { color: #ffb4a8; font-size: 0.9rem; min-height: 1.2em; }

.dor { color: var(--ouro-claro); font-style: italic; margin-bottom: 12px; }
.texto-resultado { color: var(--texto); margin-bottom: 14px; }
.fechamento {
  border-left: 3px solid var(--ouro);
  padding-left: 14px;
  margin: 22px 0 26px;
  color: var(--texto-suave);
}

/* =========================================================
   NOVAS SEÇÕES (ideias do site de referência)
   ========================================================= */
.botao-pequeno { padding: 10px 20px; font-size: 0.9rem; }
.topo-cta { white-space: nowrap; }

/* Galeria */
.carrossel-area { display: flex; align-items: center; gap: 12px; }
.carrossel {
  display: flex; gap: 16px; overflow-x: auto; flex: 1;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: thin;
}
.slide { flex: 0 0 min(300px, 78%); scroll-snap-align: start; }
.foto-exemplo {
  aspect-ratio: 4 / 5;
  border-radius: var(--raio);
  border: 1px dashed rgba(201,162,77,0.5);
  background: linear-gradient(160deg, var(--azul-700), var(--azul-900));
  display: grid; place-items: center;
  color: var(--texto-suave); font-size: 0.9rem;
  overflow: hidden;
}
.foto-exemplo img { width: 100%; height: 100%; object-fit: cover; }
.seta {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; color: var(--ouro-claro);
  border: 1px solid var(--ouro); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.seta:hover { background: rgba(201,162,77,0.12); }
.aviso-galeria { margin-top: 18px; color: var(--texto-suave); font-size: 0.8rem; }

/* Contato */
.contatos { margin-top: 0; }
.cartao-link { display: block; text-decoration: none; color: inherit; }
.mapa { margin-top: 20px; border-radius: var(--raio); overflow: hidden; border: 1px solid rgba(201,162,77,0.3); }
.mapa iframe { display: block; width: 100%; height: 320px; border: 0; }
.endereco { margin: 28px 0 0; }

/* Rodapé e privacidade */
.link-botao {
  background: none; border: none; color: var(--ouro-claro);
  font: inherit; text-decoration: underline; cursor: pointer;
}
.dialogo {
  margin: auto; max-width: min(560px, 92vw); max-height: 86vh; overflow: auto;
  background: var(--azul-800); color: var(--texto);
  border: 1px solid var(--ouro); border-radius: 18px; padding: 28px;
}
.dialogo::backdrop { background: rgba(0,0,0,0.65); }
.dialogo h3 { font-size: 1.8rem; margin-bottom: 14px; }
.dialogo p { color: var(--texto-suave); font-size: 0.92rem; margin-bottom: 12px; }
.dialogo strong { color: var(--texto); }
.dialogo .botao { margin-top: 8px; }

/* WhatsApp flutuante */
.whatsapp-flutuante {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.whatsapp-flutuante:hover { transform: scale(1.07); }

/* Acessibilidade: foco visível */
a:focus-visible, button:focus-visible, input:focus-visible, .carrossel:focus-visible {
  outline: 2px solid var(--ouro-claro); outline-offset: 3px;
}

/* Entrada suave ao rolar (só quando o JavaScript está ativo) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .carrossel { scroll-behavior: auto; }
}

/* Celular */
@media (max-width: 720px) {
  .menu { display: none; }
  .topo { padding: 12px 20px; }
  .logo { font-size: 1.4rem; }
  .seta { display: none; }
  .mapa iframe { height: 260px; }
  .secao { padding: 64px 0; }
  /* Ajustes específicos da Hero no celular (mudança da logo completa para a logo-icone) */
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-bloco {
        width: 90%;
    }
    .hero-cena {
        position: relative;
        width: 100%;
        margin-top: 2rem;
    }
}

/* =========================================================
   COMPARADOR ANTES / DEPOIS
   ========================================================= */
.comparador {
  --pos: 50%;                       /* posição da linha (o JavaScript muda isto) */
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--raio);
  overflow: hidden;
  user-select: none;
  background: var(--azul-900);
}
.comparador img,
.comparador .quadro-exemplo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
}

/* A camada "antes" fica por cima e é cortada na posição da linha */
.camada-antes {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

/* Quadros de exemplo (aparecem quando a foto ainda não existe) */
.quadro-exemplo {
  display: grid; place-items: center;
  color: var(--texto-suave); font-size: 0.85rem;
  background: linear-gradient(160deg, var(--azul-700), var(--azul-900));
}
.camada-antes .quadro-exemplo { background: linear-gradient(160deg, #35507f, #1b2f55); }

.linha-divisora {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos); width: 2px;
  background: #fff; transform: translateX(-1px);
  pointer-events: none;
}
.alca {
  position: absolute; top: 50%; left: var(--pos);
  width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(7, 20, 43, 0.55);
  color: #fff; font-size: 0.95rem; letter-spacing: -2px;
  display: grid; place-items: center;
  cursor: ew-resize;
  touch-action: none;               /* arrastar a bolinha não rola a página */
}
.alca:hover { background: rgba(201, 162, 77, 0.6); }

.rotulo {
  position: absolute; top: 10px;
  background: rgba(7, 20, 43, 0.65); color: #fff;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  pointer-events: none;
}
.rotulo-antes { left: 10px; }
.rotulo-depois { right: 10px; }

/* corrige o texto do quadro de exemplo (centralizado) */
.comparador .quadro-exemplo { display: grid; }


/* =========================================================
   TEXTO SÓ PARA LEITORES DE TELA / BUSCADORES
   ========================================================= */
.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;
}

/* =========================================================
   CENA: fundo + logo desfocada + foto  (usada no INÍCIO e no SOBRE)
   Cada camada é independente:
     1) fundo  → só CSS (degradês), não depende de nenhuma imagem
     2) .marca-fundo → img/logo-icone.png, desfocada, passando por trás
     3) .dr          → foto do Dr. em PNG transparente, por cima de tudo
   Para mudar o desfoque ou a força da logo: --marca-blur e --marca-opacidade.
   ========================================================= */
.hero, .sobre-secao { --marca-blur: 10px; --marca-opacidade: 0.5; }

.marca-fundo {
  position: absolute; z-index: 1;
  left: 50%; top: 44%;
  width: 112%; max-width: none; height: auto;
  transform: translate(-50%, -50%);
  filter: blur(var(--marca-blur));
  opacity: var(--marca-opacidade);
  pointer-events: none; user-select: none;
}
.dr {
  position: relative; z-index: 2;
  display: block; height: 94%; max-height: 780px; width: auto; max-width: 100%;
  object-fit: contain; object-position: bottom;
  pointer-events: none;
}

/* esmaece as laterais da foto do início (cortes retos somem) */
.hero-cena .dr {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
}

/* ===== 1) INÍCIO ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, 90vh, 900px);
  display: flex; align-items: center; justify-content: center;
}
.hero-fundo {                         /* camada 1: o "joguinho do degradê" */
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(circle at 76% 32%, rgba(43, 90, 168, 0.55), transparent 55%),
    radial-gradient(circle at 10% 96%, rgba(121, 95, 38, 0.09), transparent 45%),
    linear-gradient(160deg, var(--azul-800), var(--azul-900));
}
.hero-cena {
  position: absolute; z-index: -1; isolation: isolate;
  top: 0; right: 0; bottom: 0; width: 54%;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-conteudo { position: relative; z-index: 1; padding: 70px 0; }
.hero-bloco {
  width: min(520px, 46%);
  display: flex; flex-direction: column; align-items: center; gap: 34px;
}
/*onde eu mudo a logo completa para a logo-icone, e adiciono o nome e subtitulo do Dr. */
.hero-logo { width: 100%; height: auto; display: block; height: auto; margin-bottom: 0px; }
.logo-subtitulo { font-size: 1.4rem; letter-spacing: 2px; color: var(--texto-suave); text-transform: uppercase; margin: 0 0 2px; }

/* ===== 4) SOBRE ===== */
.sobre-secao { position: relative; isolation: isolate; overflow: hidden; }
.sobre-fundo {                        /* camada 1: degradê só em CSS */
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(circle at 22% 62%, rgba(43, 90, 168, 0.5), transparent 55%),
    radial-gradient(circle at 92% 8%, rgba(201, 162, 77, 0.12), transparent 45%),
    linear-gradient(200deg, var(--azul-900), var(--azul-800));
}
.sobre-grade {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px; align-items: center; min-height: 600px;
}
.sobre-cena {
  position: relative; isolation: isolate; align-self: end;
  height: 600px; display: flex; align-items: flex-end; justify-content: center;
}
/* a foto foi recortada reta nas laterais e embaixo: as bordas se dissolvem suavemente */
.sobre-cena .dr {
  height: 100%;
  -webkit-mask-image:
    linear-gradient(to top, transparent 0, #000 14%),
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to top, transparent 0, #000 14%),
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
.sobre-bloco { padding: 80px 0; }
.sobre-bloco h2 { margin-bottom: 16px; }
.sobre-texto { color: var(--texto-suave); margin-bottom: 14px; max-width: 560px; }
.selos { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.selos li {
  border: 1px solid rgba(201, 162, 77, 0.4);
  color: var(--ouro-claro);
  border-radius: 999px; padding: 6px 14px; font-size: 0.85rem;
}

/* ===== 6) DEPOIMENTOS (imagens) ===== */
.carrossel-dep { align-items: flex-start; text-align: left; }
.slide-dep { flex: 0 0 min(340px, 80%); scroll-snap-align: start; margin: 0; }
.slide-dep img {
  display: block; width: 100%; height: auto;
  border-radius: var(--raio);
  border: 1px solid rgba(201, 162, 77, 0.22);
  background: var(--azul-800);
}
.depoimento-vazio {
  aspect-ratio: 3 / 4; width: 100%;
  display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--texto-suave); font-size: 0.85rem; line-height: 1.5;
  border: 1px dashed rgba(201, 162, 77, 0.5);
  border-radius: var(--raio);
  background: linear-gradient(160deg, var(--azul-700), var(--azul-900));
}
.depoimento-vazio code { color: var(--ouro-claro); font-size: 0.8rem; }
.pontos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.ponto {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ponto.ativo { background: var(--ouro-claro); transform: scale(1.3); }

/* ===== PERGUNTAS FREQUENTES ===== */
.faq-grade { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.faq-titulo { position: sticky; top: 110px; }            /* o título acompanha a rolagem no computador */
.faq-titulo h2 { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; }
.faq-titulo h2 span   { font-weight: 500; }
.faq-titulo h2 strong { font-weight: 700; color: var(--ouro); }
 
.faq-item { border-top: 1px solid rgba(201, 162, 77, 0.28); }
.faq-item:last-child { border-bottom: 1px solid rgba(201, 162, 77, 0.28); }
 
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: 1.1rem; font-weight: 500; color: var(--texto);
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }   /* tira a setinha padrão */
.faq-item summary:hover { color: var(--ouro-claro); }
.faq-item summary:focus-visible { outline: 2px solid var(--ouro-claro); outline-offset: 4px; }
 
/* botão redondo + / − */
.faq-item summary::after {
  content: "+"; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--ouro); color: var(--ouro);
  font-size: 1.5rem; line-height: 1; font-weight: 400;
  transition: background .25s, color .25s, transform .25s;
}
.faq-item[open] summary::after { content: "−"; background: var(--ouro); color: var(--azul-900); }
 
.faq-item p {
  padding: 0 60px 28px 0; color: var(--texto-suave); line-height: 1.7;
  animation: faq-abre .35s ease;
}
@keyframes faq-abre { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
 
@media (max-width: 860px) {
  .faq-grade { grid-template-columns: 1fr; gap: 28px; }
  .faq-titulo { position: static; }
  .faq-item p { padding-right: 0; }
}

/* ===== 7) CONTATO: ícones verdadeiros ===== */
.icone {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.icone-whatsapp { background: #25d366; }
.icone-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.icone-telefone { background: linear-gradient(135deg, var(--ouro-claro), var(--ouro)); }

/* ===== AGENDAMENTO ===== */
.agendamento {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px; overflow: hidden;
  background: linear-gradient(160deg, var(--azul-800), var(--azul-900));   /* fundo só em CSS */
}
.agendamento-foto { position: relative; }
.agendamento-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* a foto se dissolve no azul (se mudar a foto, o fundo continua igual) */
.agendamento-foto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, transparent 55%, var(--azul-800) 100%);
}
.agendamento-texto { align-self: center; padding: 60px clamp(24px, 6vw, 90px); }
.agendamento-texto h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.05; margin-bottom: 20px; }
.agendamento-texto h2 em { color: var(--ouro); font-style: normal; font-weight: 700; }
.agendamento-sub { color: var(--texto-suave); max-width: 420px; margin-bottom: 30px; }

@media (max-width: 860px) {
  .agendamento { grid-template-columns: 1fr; }
  .agendamento-foto { height: min(90vw, 420px); }
  .agendamento-foto::after { background: linear-gradient(to bottom, transparent 55%, var(--azul-800) 100%); }
  .agendamento-texto { padding: 10px 20px 60px; }
}

/* ===== CELULAR (novas seções) ===== */
@media (max-width: 860px) {
  /* ===== CELULAR · INÍCIO: foto grande no topo, logo + nome e botão embaixo ===== */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-cena {
    position: relative; width: 100%; height: min(125vw, 600px);
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  }
  .dr { height: 100%; max-height: none; }
  .marca-fundo { width: 135%; top: 42%; }
  .hero-conteudo { padding: 0 0 56px; margin-top: -14vw; }   /* sobe sobre o degradê da foto */
  .hero-bloco { width: min(440px, 100%); margin-inline: auto; }

  /* ===== CELULAR · SOBRE: foto primeiro, texto depois ===== */
  .sobre-grade { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .sobre-cena { order: -1; height: min(110vw, 520px); }
  .sobre-bloco { order: 0; padding: 28px 0 60px; }
}
/* =========================================================
   ANIMAÇÃO DE ENTRADA (ao abrir o site)
   Cada elemento com a classe "anim" chega de fora e é "puxado"
   para o centro/posição final. Ajuste por elemento no index.html:
   --x e --y = de onde ele vem · --atraso = quando começa.
   Para desligar tudo: apague este bloco.
   ========================================================= */
@keyframes puxar {
  from { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) scale(1.12); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes puxar-marca {            /* logo desfocada do fundo: encolhe até o lugar */
  from { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
  to   { opacity: var(--marca-opacidade); transform: translate(-50%, -50%) scale(1); }
}
.anim { animation: puxar 1.1s cubic-bezier(.16, 1, .3, 1) var(--atraso, 0s) backwards; }
.marca-anim { animation: puxar-marca 1.6s cubic-bezier(.16, 1, .3, 1) .1s backwards; }
@media (max-width: 860px) {
  .hero-conteudo .anim { --x: 0px !important; }   /* no celular tudo sobe de baixo, sem estourar a tela */
  .hero-cena .dr.anim { --x: 0px !important; --y: 60px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .anim, .marca-anim { animation: none; }
}
/* =========================================================
   ENTRADA DOS ELEMENTOS AO ROLAR (todas as seções)
   Escreva no index.html:
     data-entra="lados"  → os itens de dentro entram um da esquerda, outro da direita
     data-entra="esq"    → o bloco entra pela esquerda
     data-entra="dir"    → o bloco entra pela direita
   Distância: --dist · velocidade: .9s · intervalo entre itens: .12s
   Para desligar tudo: apague este bloco.
   ========================================================= */
:root { --dist: 110px; }
@keyframes entra-lado {
  from { opacity: 0; translate: var(--x, 0) 0; }
  to   { opacity: 1; translate: 0 0; }
}
/* antes de aparecer: escondido (só com JavaScript ativo) */
.js [data-entra="esq"]:not(.visivel),
.js [data-entra="dir"]:not(.visivel),
.js [data-entra="lados"]:not(.visivel) > *:not(#grade-procedimentos),
.js [data-entra]:not(.visivel) .cartao-procedimento { opacity: 0; }
 
[data-entra="esq"] { --x: calc(var(--dist) * -1); }
[data-entra="dir"] { --x: var(--dist); }
[data-entra="lados"] > :nth-child(odd)  { --x: calc(var(--dist) * -1); }
[data-entra="lados"] > :nth-child(even) { --x: var(--dist); }
[data-entra="lados"] > :nth-child(2) { --i: 1; }
[data-entra="lados"] > :nth-child(3) { --i: 2; }
[data-entra="lados"] > :nth-child(4) { --i: 3; }
[data-entra="lados"] > :nth-child(5) { --i: 4; }
[data-entra="lados"] > :nth-child(6) { --i: 5; }
 
[data-entra="esq"].visivel,
[data-entra="dir"].visivel { animation: entra-lado .9s cubic-bezier(.16, 1, .3, 1) backwards; }
[data-entra="lados"].visivel > *:not(#grade-procedimentos) {
  animation: entra-lado .9s cubic-bezier(.16, 1, .3, 1) backwards;
  animation-delay: calc(var(--i, 0) * .12s);
}
/* cartões de procedimento: um de cada lado, em sequência */
[data-entra].visivel .cartao-procedimento { animation: entra-lado .9s cubic-bezier(.16, 1, .3, 1) backwards; }
[data-entra].visivel .cartao-procedimento:nth-child(odd)  { --x: calc(var(--dist) * -1); }
[data-entra].visivel .cartao-procedimento:nth-child(even) { --x: var(--dist); }
[data-entra].visivel .cartao-procedimento:nth-child(2) { animation-delay: .1s; }
[data-entra].visivel .cartao-procedimento:nth-child(3) { animation-delay: .2s; }
[data-entra].visivel .cartao-procedimento:nth-child(4) { animation-delay: .3s; }
[data-entra].visivel .cartao-procedimento:nth-child(5) { animation-delay: .4s; }
[data-entra].visivel .cartao-procedimento:nth-child(6) { animation-delay: .5s; }
[data-entra].visivel .cartao-procedimento:nth-child(n+7) { animation-delay: .6s; }
 
@media (max-width: 860px) { :root { --dist: 56px; } }
body { overflow-x: clip; }            /* nada passa da borda enquanto entra */
@media (prefers-reduced-motion: reduce) {
  [data-entra], [data-entra] > *, [data-entra] .cartao-procedimento { animation: none !important; opacity: 1 !important; }
}
/*sistema de pixel*/
.faixa-cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 760px; margin-inline: auto; padding: 16px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  background: var(--azul-800); border: 1px solid var(--ouro); border-radius: 14px;
  color: var(--texto-suave); font-size: .9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.faixa-cookies[hidden] { display: none; }
.faixa-cookies p { flex: 1 1 260px; margin: 0; }
.cookies-acoes { display: flex; gap: 10px; }
.cookies-recusar { background: transparent; color: var(--ouro-claro); border: 1px solid var(--ouro); }