
/* ============================================================
   JOÃO LUIZ GROSSL — PARAPSICÓLOGO CLÍNICO
   Design: tema azul profundo + dourado, padrão agência
   ============================================================ */
:root {
  --azul-escuro: #06122b;
  --azul: #0b2a5b;
  --azul-medio: #123e7e;
  --azul-claro: #2b9df4;
  --azul-glow: #5ec2ff;
  --ouro: #d4af6a;
  --ouro-claro: #ecd9ae;
  --branco: #f4f7fc;
  --cinza: #9db2cc;
  --serif: 'Playfair Display', 'Georgia', serif;
  --manuscrita: 'Great Vibes', cursive;
  --sans: 'Poppins', 'Segoe UI', sans-serif;
  --transicao: all .35s cubic-bezier(.22,.68,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  background: var(--azul-escuro);
  color: var(--branco);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }
.titulo-secao { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.subtitulo { color: var(--cinza); max-width: 720px; font-size: 1.05rem; }
.divisor {
  width: 90px; height: 3px; margin: 18px 0 26px;
  background: linear-gradient(90deg, var(--ouro), var(--azul-claro));
  border-radius: 3px; position: relative;
}
.divisor::after {
  content: ''; position: absolute; right: -14px; top: -4px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--azul-claro); box-shadow: 0 0 12px var(--azul-claro);
}
.secao { padding: 110px 0; position: relative; }

/* ---------- MENU ---------- */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(4,10,24,.92), rgba(4,10,24,.65));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(91,162,255,.12);
  transition: var(--transicao);
}
header.encolhido { padding: 8px 0; background: rgba(4,10,24,.97); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
header.encolhido .logo img { height: 56px; }
header.encolhido .logo-nome { font-size: 1.7rem; }
header.encolhido nav a { font-size: .82rem; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 88px; width: auto; transition: var(--transicao); filter: drop-shadow(0 4px 16px rgba(43,157,244,.45)); }
.logo:hover img { transform: rotate(-4deg) scale(1.06); }
.logo-texto { display: flex; flex-direction: column; line-height: 1; }
.logo-nome {
  font-family: var(--manuscrita); font-size: 2.15rem; color: var(--branco);
  text-shadow: 0 2px 14px rgba(94,194,255,.55); white-space: nowrap;
}
.logo-sub {
  font-size: .58rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--azul-glow); margin-top: 6px;
}
nav ul { display: flex; gap: 34px; list-style: none; align-items: center; }
nav a {
  font-size: .92rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: #d8e4f5; position: relative; padding: 6px 2px;
  transition: var(--transicao);
}
nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--azul-claro), var(--ouro));
  border-radius: 2px; transition: width .35s ease;
}
nav a:hover { color: var(--azul-glow); }
nav a:hover::after, nav a.ativo::after { width: 100%; }
.btn-menu {
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-medio));
  color: #fff !important; padding: 11px 26px !important; border-radius: 50px;
  font-weight: 600 !important; box-shadow: 0 6px 20px rgba(43,157,244,.4);
  transition: var(--transicao) !important;
}
.btn-menu::after { display: none; }
.btn-menu:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(43,157,244,.6); }
.hamburguer { display: none; flex-direction: column; gap: 6px; cursor: pointer; background: none; border: 0; }
.hamburguer span { width: 30px; height: 3px; background: var(--branco); border-radius: 3px; transition: var(--transicao); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background: url('../img/hero-bg.jpg') center/cover no-repeat fixed;
  padding: 160px 0 90px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,10,24,.92) 30%, rgba(4,10,24,.55) 70%, rgba(4,10,24,.35));
}
.hero .nebulosa, .hero .estrelas {
  position: absolute; inset: 0; pointer-events: none;
  background-repeat: repeat; background-size: cover;
}
.hero .nebulosa { background-image: url('../img/nebulosa.png'); z-index: 0; }
.hero .estrelas { z-index: 1; }
.hero .camada-1 { background-image: url('../img/estrelas-1.png'); animation: cintilar 5.5s ease-in-out infinite; }
.hero .camada-2 { background-image: url('../img/estrelas-2.png'); animation: cintilar 8.5s ease-in-out infinite 1.6s; }
@keyframes cintilar {
  0%, 100% { opacity: .95; }
  50% { opacity: .3; }
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(94,194,255,.4); border-radius: 50px;
  padding: 8px 20px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul-glow); background: rgba(43,157,244,.08); margin-bottom: 26px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--azul-claro); box-shadow: 0 0 10px var(--azul-claro); animation: pulsar 1.8s infinite; }
@keyframes pulsar { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 24px; }
.hero h1 span {
  background: linear-gradient(90deg, var(--ouro-claro), var(--ouro));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: #c4d3e8; max-width: 560px; margin-bottom: 38px; font-size: 1.08rem; }
.hero-foto { position: relative; justify-self: center; }
.hero-foto .moldura {
  width: min(480px, 86vw); border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(94,194,255,.35);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 10px rgba(43,157,244,.06);
  position: relative; animation: flutuar 6s ease-in-out infinite;
}
@keyframes flutuar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-foto .moldura::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,18,43,.85));
}
.hero-foto img { width: 100%; height: auto; }
/* aura de energia atrás da foto */
.hero-foto .aura {
  position: absolute; inset: -16%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(94,194,255,.4), rgba(43,157,244,.14) 45%, transparent 70%);
  filter: blur(14px); border-radius: 40px;
  animation: respirar 5.5s ease-in-out infinite;
}
@keyframes respirar {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1.04); }
}
/* ondas de energia emanando suavemente */
.hero-foto .ondas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-foto .ondas span {
  position: absolute; inset: 0; border-radius: 26px;
  border: 1.5px solid rgba(94,194,255,.55);
  box-shadow: 0 0 18px rgba(94,194,255,.25), inset 0 0 18px rgba(94,194,255,.12);
  opacity: 0;
  animation: onda-energia 4.2s ease-out infinite;
}
.hero-foto .ondas span:nth-child(2) { animation-delay: 1.4s; border-color: rgba(212,175,106,.5); }
.hero-foto .ondas span:nth-child(3) { animation-delay: 2.8s; }
@keyframes onda-energia {
  0% { transform: scale(1); opacity: 0; }
  18% { opacity: .7; }
  100% { transform: scale(1.16); opacity: 0; }
}
/* partículas de luz orbitando (energia em movimento) */
.hero-foto .orbita {
  position: absolute; inset: -34px; z-index: 3; pointer-events: none;
  animation: girar 26s linear infinite;
}
.hero-foto .orbita i {
  position: absolute; border-radius: 50%; display: block;
  background: radial-gradient(circle at 35% 30%, #ffffff, #5ec2ff 55%, rgba(43,157,244,0) 100%);
  box-shadow: 0 0 14px rgba(94,194,255,.9);
}
.hero-foto .orbita .p1 { width: 14px; height: 14px; top: -4px; left: 50%; margin-left: -7px; }
.hero-foto .orbita .p2 { width: 9px;  height: 9px;  top: 32%; right: -6px; box-shadow: 0 0 12px rgba(212,175,106,.9); background: radial-gradient(circle at 35% 30%, #fff, #ecd9ae 55%, rgba(212,175,106,0) 100%); }
.hero-foto .orbita .p3 { width: 11px; height: 11px; bottom: -5px; left: 30%; }
.hero-foto .orbita .p4 { width: 7px;  height: 7px;  top: 55%; left: -8px; }
.hero-foto .orbita .p5 { width: 8px;  height: 8px;  top: 8%; left: 12%; }
@keyframes girar { to { transform: rotate(360deg); } }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; border-radius: 50px; font-weight: 600; font-size: .95rem;
  transition: var(--transicao); cursor: pointer; border: 0; position: relative; overflow: hidden;
}
.btn-primario {
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-medio));
  color: #fff; box-shadow: 0 8px 26px rgba(43,157,244,.45);
}
.btn-primario::before {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primario:hover::before { left: 130%; }
.btn-primario:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 40px rgba(43,157,244,.6); }
.btn-secundario {
  background: transparent; color: var(--branco);
  border: 2px solid rgba(212,175,106,.7);
}
.btn-secundario:hover { background: var(--ouro); color: var(--azul-escuro); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(212,175,106,.4); }
.btn svg { width: 20px; height: 20px; }

/* ---------- BARRA DE AUTORIDADE ---------- */
.autoridade {
  background: linear-gradient(135deg, #081a3d, #0a2c60);
  border-top: 1px solid rgba(94,194,255,.15); border-bottom: 1px solid rgba(94,194,255,.15);
  padding: 46px 0;
}
.autoridade .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.autoridade .numero { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--ouro-claro); font-weight: 700; }
.autoridade .rotulo { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cinza); margin-top: 4px; }
.autoridade .item { position: relative; }
.autoridade .item:not(:last-child)::after {
  content: ''; position: absolute; right: -12px; top: 12%; height: 76%; width: 1px;
  background: rgba(94,194,255,.18);
}

/* ---------- QUEM É ---------- */
.quem { background: url('../img/quem-bg.jpg') center/cover no-repeat; }
.quem::before { content: ''; position: absolute; inset: 0; background: rgba(4,10,24,.55); }
.quem .container { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.quem-foto { position: relative; }
.quem-foto img {
  border-radius: 20px; border: 1px solid rgba(94,194,255,.3);
  box-shadow: 0 26px 70px rgba(0,0,0,.5);
  transition: var(--transicao);
}
.quem-foto:hover img { transform: scale(1.02); box-shadow: 0 32px 90px rgba(43,157,244,.3); }
.quem-foto .selo {
  position: absolute; bottom: -24px; right: -18px;
  background: linear-gradient(135deg, var(--ouro), #b8934d);
  color: var(--azul-escuro); border-radius: 16px; padding: 16px 22px;
  font-weight: 700; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.45);
  animation: flutuar 5s ease-in-out infinite;
}
.quem-foto .selo .anos { font-family: var(--serif); font-size: 1.8rem; display: block; }
.quem-foto .selo .txt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.quem-texto p { color: #c4d3e8; margin-bottom: 18px; }
.quem-texto .destaque {
  border-left: 3px solid var(--ouro); padding: 14px 22px; margin: 26px 0;
  background: rgba(212,175,106,.07); border-radius: 0 14px 14px 0;
  color: var(--ouro-claro); font-style: italic; font-family: var(--serif); font-size: 1.12rem;
}
.quem-lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 26px 0 34px; }
.quem-lista li { display: flex; gap: 10px; align-items: center; color: #d5e1f2; font-size: .95rem; }
.quem-lista li::before {
  content: '✦'; color: var(--azul-claro); font-size: .9rem;
}

/* ---------- ESPECIALIDADES ---------- */
.especialidades { background: linear-gradient(180deg, var(--azul-escuro), #081a3d 60%, var(--azul-escuro)); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(94,194,255,.14);
  border-radius: 20px; overflow: hidden; position: relative;
  transition: var(--transicao);
}
.card:hover { transform: translateY(-12px); border-color: rgba(94,194,255,.5); box-shadow: 0 26px 60px rgba(43,157,244,.25); }
.card .imagem { height: 210px; overflow: hidden; position: relative; }
.card .imagem::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,18,43,.95)); }
.card .imagem img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.68,.36,1); }
.card:hover .imagem img { transform: scale(1.14) rotate(1deg); }
.card .icone {
  position: absolute; top: 178px; left: 26px; z-index: 3;
  width: 62px; height: 62px; border-radius: 16px;
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-medio));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(43,157,244,.5);
  transition: var(--transicao);
}
.card:hover .icone { transform: rotate(-8deg) scale(1.1); background: linear-gradient(135deg, var(--ouro), #b8934d); }
.card .icone svg { width: 30px; height: 30px; stroke: #fff; }
.card .corpo { padding: 46px 26px 28px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--cinza); font-size: .93rem; }
.card .saiba { display: inline-block; margin-top: 16px; color: var(--azul-glow); font-weight: 600; font-size: .86rem; letter-spacing: .04em; transition: var(--transicao); }
.card:hover .saiba { color: var(--ouro-claro); letter-spacing: .1em; }

/* ---------- LIVRO ---------- */
.livro { background: url('../img/rodape-bg.jpg') center/cover no-repeat; }
.livro::before { content: ''; position: absolute; inset: 0; background: rgba(4,10,24,.5); }
.livro .container { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.livro-capa { perspective: 1200px; justify-self: center; }
.livro-capa img {
  width: min(410px, 82vw); border-radius: 8px;
  box-shadow: 24px 30px 70px rgba(0,0,0,.6), 4px 4px 0 rgba(255,255,255,.06), 8px 8px 0 rgba(255,255,255,.04);
  transition: var(--transicao);
  animation: flutuar 7s ease-in-out infinite;
}
.livro-capa:hover img { transform: rotateY(-10deg) rotateX(3deg) scale(1.03); box-shadow: 34px 40px 90px rgba(0,0,0,.7); }
.livro-texto h2 { font-size: clamp(2rem, 4vw, 3rem); }
.livro-texto h2 span { color: var(--ouro-claro); }
.livro-texto p { color: #c4d3e8; margin: 18px 0; }
.livro-frase {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ouro-claro);
  border-left: 3px solid var(--ouro); padding-left: 20px; margin: 26px 0;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #2ee06f, #12a94b);
  color: #fff; box-shadow: 0 8px 26px rgba(46,224,111,.4);
  margin-top: 10px;
}
.btn-whatsapp::before {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-whatsapp:hover::before { left: 130%; }
.btn-whatsapp:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 40px rgba(46,224,111,.55); }

/* ---------- AVALIAÇÕES ---------- */
.avaliacoes {
  background: url('../img/textura-clara.jpg') center/cover no-repeat;
  color: var(--azul-escuro);
}
.avaliacoes .subtitulo { color: #4a5f7d; }
.avaliacoes-topo { text-align: center; display: flex; flex-direction: column; align-items: center; }
.avaliacoes-topo .divisor { margin: 18px auto 20px; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 50px; padding: 12px 26px;
  box-shadow: 0 12px 34px rgba(11,42,91,.14); margin-bottom: 46px;
  font-weight: 600; color: var(--azul);
}
.rating-badge .estrelas { color: #f5a623; font-size: 1.15rem; letter-spacing: 2px; }
.rating-badge .qtd { color: #6b7f99; font-weight: 500; font-size: .9rem; }
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .7s cubic-bezier(.22,.68,.36,1); }
.slide { min-width: 100%; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.depoimento {
  background: #fff; border-radius: 20px; padding: 36px 26px;
  box-shadow: 0 18px 48px rgba(11,42,91,.12);
  text-align: center; position: relative; border-top: 4px solid var(--ouro);
  display: flex; flex-direction: column;
  transition: var(--transicao);
}
.depoimento:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(11,42,91,.2); border-top-color: var(--azul-claro); }
.depoimento .aspas { font-family: var(--serif); font-size: 3.6rem; color: rgba(43,157,244,.18); position: absolute; top: 4px; left: 20px; line-height: 1; }
.depoimento .estrelas { color: #f5a623; font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 16px; }
.depoimento p { color: #3c5170; font-size: .92rem; font-style: italic; margin-bottom: 20px; flex: 1; }
.depoimento .autor { font-weight: 700; color: var(--azul); font-size: .9rem; }
.depoimento .autor::before { content: '— '; color: var(--azul-claro); }
.controles { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.controles button {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--azul);
  background: transparent; color: var(--azul); font-size: 1.15rem; cursor: pointer;
  transition: var(--transicao);
}
.controles button:hover { background: var(--azul); color: #fff; transform: scale(1.12); box-shadow: 0 10px 24px rgba(11,42,91,.3); }
.pontos { display: flex; justify-content: center; gap: 9px; margin-top: 20px; }
.pontos span { width: 9px; height: 9px; border-radius: 50%; background: #c3d2e6; cursor: pointer; transition: var(--transicao); }
.pontos span.ativo { background: var(--azul-claro); transform: scale(1.35); box-shadow: 0 0 10px rgba(43,157,244,.6); }

/* ---------- CONTATO ---------- */
.contato { background: linear-gradient(180deg, var(--azul-escuro), #071733); }
.contato-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; margin-top: 50px; align-items: start; }
.info-item {
  display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(94,194,255,.14);
  padding: 20px 24px; border-radius: 16px; transition: var(--transicao);
}
.info-item:hover { transform: translateX(10px); border-color: rgba(94,194,255,.5); background: rgba(43,157,244,.06); }
.info-item .ic {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-medio));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(43,157,244,.4);
}
.info-item .ic svg { width: 24px; height: 24px; stroke: #fff; }
.info-item h4 { font-size: 1rem; margin-bottom: 3px; color: var(--branco); font-family: var(--sans); }
.info-item p, .info-item a { color: var(--cinza); font-size: .93rem; }
.info-item a:hover { color: var(--azul-glow); }
.mapa {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(94,194,255,.3);
  box-shadow: 0 26px 70px rgba(0,0,0,.5); position: relative;
}
.mapa iframe { width: 100%; height: 430px; display: block; border: 0; filter: saturate(.85) contrast(1.05); transition: var(--transicao); }
.mapa:hover iframe { filter: none; }
.mapa .faixa {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(4,10,24,.95), transparent);
  padding: 40px 26px 16px; font-size: .9rem; color: #d5e1f2;
}

/* ---------- RODAPÉ ---------- */
footer {
  background: #030a18 url('../img/rodape-bg.jpg') center/cover no-repeat;
  border-top: 1px solid rgba(94,194,255,.12); padding: 70px 0 0; position: relative;
}
footer::before { content: ''; position: absolute; inset: 0; background: rgba(3,10,24,.72); }
footer .container { position: relative; z-index: 2; }
.rodape-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.rodape-logo { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.rodape-logo img {
  height: 118px; width: auto;
  filter: drop-shadow(0 10px 26px rgba(43,157,244,.4)); transition: var(--transicao);
}
.rodape-logo img:hover { transform: scale(1.08) rotate(-3deg); }
footer p { color: var(--cinza); font-size: .92rem; }
footer h4 { font-family: var(--sans); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; color: var(--ouro-claro); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: var(--cinza); font-size: .93rem; transition: var(--transicao); }
footer ul a:hover { color: var(--azul-glow); padding-left: 8px; }
.social { display: flex; gap: 14px; margin-top: 22px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(94,194,255,.35); display: flex; align-items: center; justify-content: center;
  transition: var(--transicao);
}
.social a svg { width: 20px; height: 20px; fill: #cfe0f5; transition: var(--transicao); }
.social a:hover { background: linear-gradient(135deg, var(--azul-claro), var(--azul-medio)); transform: translateY(-6px) rotate(8deg); box-shadow: 0 12px 28px rgba(43,157,244,.5); border-color: transparent; }
.social a:hover svg { fill: #fff; }
.rodape-bottom {
  border-top: 1px solid rgba(94,194,255,.12); padding: 22px 0;
  display: flex; justify-content: flex-start; align-items: center; gap: 26px;
  flex-wrap: wrap; font-size: .82rem; color: #6f85a3; position: relative; z-index: 2;
}
.agenet-link { display: inline-flex; align-items: center; opacity: .85; transition: var(--transicao); margin-left: auto; }
.agenet-link img { height: 38px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.agenet-link:hover { opacity: 1; transform: translateY(-3px); }

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-flutuante {
  position: fixed; right: 26px; bottom: 26px; z-index: 2000;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #2ee06f, #12a94b);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(46,224,111,.5);
  animation: pulse-wa 2.2s infinite; transition: var(--transicao);
}
.wa-flutuante svg { width: 34px; height: 34px; fill: #fff; }
.wa-flutuante::before, .wa-flutuante::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(46,224,111,.7); animation: onda 2.2s infinite;
}
.wa-flutuante::after { animation-delay: 1.1s; }
@keyframes onda { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes pulse-wa { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.wa-flutuante:hover { transform: scale(1.15) rotate(8deg); }
.wa-flutuante .dica {
  position: absolute; right: 78px; top: 50%; transform: translateY(-50%) translateX(10px);
  background: #fff; color: var(--azul-escuro); font-size: .82rem; font-weight: 600;
  padding: 9px 16px; border-radius: 10px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transicao);
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}
.wa-flutuante .dica::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
}
.wa-flutuante:hover .dica { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- ANIMAÇÕES DE SCROLL ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .9s cubic-bezier(.22,.68,.36,1), transform .9s cubic-bezier(.22,.68,.36,1); }
.reveal.visivel { opacity: 1; transform: translateY(0); }
.reveal-esq { transform: translateX(-60px); }
.reveal-dir { transform: translateX(60px); }
.reveal-esq.visivel, .reveal-dir.visivel { transform: translateX(0); }
.delay-1 { transition-delay: .15s; } .delay-2 { transition-delay: .3s; } .delay-3 { transition-delay: .45s; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--azul-escuro); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--azul-claro), var(--azul-medio)); border-radius: 8px; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 992px) {
  .hero .container, .quem .container, .livro .container { grid-template-columns: 1fr; }
  .hero { background-attachment: scroll; }
  .hero-foto { order: -1; }
  .hero-foto .moldura { width: min(340px, 80vw); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .autoridade .container { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .autoridade .item:nth-child(2)::after { display: none; }
  .contato-grid { grid-template-columns: 1fr; }
  .rodape-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .logo { gap: 10px; }
  .logo img { height: 56px; }
  .logo-nome { font-size: 1.45rem; }
  .logo-sub { letter-spacing: .24em; font-size: .52rem; }
  header.encolhido .logo img { height: 44px; }
  header.encolhido .logo-nome { font-size: 1.25rem; }
  .hero-foto .orbita { inset: -22px; }
  .hero-foto .orbita .p1 { width: 10px; height: 10px; margin-left: -5px; }
  .hero-foto .orbita .p2 { width: 7px; height: 7px; }
  .hero-foto .ondas span { border-radius: 20px; }
  nav { position: fixed; top: 0; right: -100%; width: min(320px, 84vw); height: 100vh;
    background: rgba(4,10,24,.98); backdrop-filter: blur(16px);
    transition: right .45s cubic-bezier(.22,.68,.36,1); padding: 110px 40px; }
  nav.aberto { right: 0; }
  nav ul { flex-direction: column; align-items: flex-start; gap: 26px; }
  nav a { font-size: 1.05rem; }
  .hamburguer { display: flex; z-index: 1001; }
  .hamburguer.aberto span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburguer.aberto span:nth-child(2) { opacity: 0; }
  .hamburguer.aberto span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .cards { grid-template-columns: 1fr; }
  .quem-lista { grid-template-columns: 1fr; }
  .depoimento { padding: 30px 22px; }
  .slide { grid-template-columns: 1fr; gap: 20px; }
  .secao { padding: 80px 0; }
  .wa-flutuante { right: 18px; bottom: 18px; width: 58px; height: 58px; }
}

/* ---------- SEÇÃO VÍDEO ---------- */
.video-secao { background: linear-gradient(180deg, #081a3d, var(--azul-escuro)); padding: 100px 0; }
.video-secao .central { text-align: center; display: flex; flex-direction: column; align-items: center; }
.video-frame {
  max-width: 520px; margin: 46px auto 0; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(94,194,255,.35); position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(43,157,244,.15);
  transition: var(--transicao);
}
.video-frame:hover { transform: translateY(-8px); box-shadow: 0 40px 100px rgba(0,0,0,.65), 0 0 80px rgba(43,157,244,.3); }
.video-frame video { width: 100%; display: block; }
.video-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
@media (max-width: 768px) {
  .rodape-bottom { justify-content: center; text-align: center; }
}


/* ============================================================
   AJUSTES RESPONSIVOS MOBILE — preserva o layout desktop
   Correções: centralização, imagens, textos, botões e mapa.
   ============================================================ */

@media (max-width: 768px) {

  /* Evita qualquer deslocamento horizontal no telefone */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .container {
    width: min(92%, 560px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* ---------- CABEÇALHO ---------- */
  .nav-inner {
    width: 92%;
    gap: 8px;
  }

  .logo {
    min-width: 0;
    max-width: calc(100% - 48px);
  }

  .logo img {
    flex: 0 0 auto;
  }

  .logo-texto {
    min-width: 0;
  }

  .logo-nome,
  .logo-sub {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---------- HERO ---------- */
  .hero {
    min-height: auto;
    padding: 145px 0 72px;
    text-align: center;
  }

  .hero .container {
    width: min(92%, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .hero .container > div:not(.hero-foto) {
    width: 100%;
  }

  .hero-badge {
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.35;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .hero h1 br {
    display: none;
  }

  .hero p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: .98rem;
    line-height: 1.7;
  }

  .hero-ctas {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .hero-foto {
    width: 100%;
    display: flex;
    justify-content: center;
    order: -1;
  }

  .hero-foto .moldura {
    width: min(340px, 82vw);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* ---------- BOTÕES ---------- */
  .btn,
  .btn-menu {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
  }

  .hero-ctas .btn {
    width: min(100%, 330px);
  }

  /* ---------- SEÇÕES / TÍTULOS ---------- */
  .secao {
    overflow: hidden;
  }

  .secao .container {
    width: min(92%, 560px);
  }

  .titulo-secao,
  .subtitulo {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .titulo-secao {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .subtitulo {
    font-size: .96rem;
    line-height: 1.65;
  }

  /* ---------- QUEM É ---------- */
  .quem .container {
    width: min(92%, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }

  .quem-foto {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .quem-foto img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .quem-foto .selo {
    right: 8px;
    max-width: calc(100% - 16px);
  }

  .quem-lista {
    width: 100%;
  }

  /* ---------- ESPECIALIDADES ---------- */
  .cards {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .card {
    width: 100%;
    max-width: 520px;
  }

  .card .imagem {
    width: 100%;
  }

  .card .imagem img {
    width: 100%;
    max-width: 100%;
  }

  .card .corpo {
    overflow-wrap: anywhere;
  }

  .card h3,
  .card p {
    overflow-wrap: anywhere;
  }

  .card .saiba {
    white-space: normal;
  }

  /* ---------- LIVRO ---------- */
  .livro .container {
    width: min(92%, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }

  .livro-capa {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .livro-capa img {
    width: min(410px, 78vw);
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .livro-texto {
    width: 100%;
    text-align: center;
  }

  .livro-texto h2,
  .livro-texto p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .livro-frase {
    text-align: left;
    overflow-wrap: anywhere;
  }

  .livro-texto .btn {
    width: min(100%, 330px);
  }

  /* ---------- AVALIAÇÕES ---------- */
  .avaliacoes-topo {
    width: 100%;
    text-align: center;
  }

  .rating-badge {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .slider,
  .slides,
  .slide {
    width: 100%;
    max-width: 100%;
  }

  .slide {
    padding: 4px;
  }

  .depoimento {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* ---------- CONTATO ---------- */
  .contato-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 38px;
  }

  .info-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  .info-item p,
  .info-item a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Mapa realmente ocupa somente a largura disponível do telefone */
  .mapa {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
  }

  .mapa iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 340px;
    display: block;
  }

  .mapa .faixa {
    left: 0;
    right: 0;
    padding: 34px 18px 14px;
    text-align: center;
    font-size: .82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  /* ---------- RODAPÉ ---------- */
  .rodape-grid {
    width: 100%;
  }

  .rodape-logo {
    justify-content: center;
    text-align: center;
  }

  footer .container {
    width: min(92%, 560px);
  }

  footer p,
  footer h4 {
    overflow-wrap: anywhere;
  }

  .social {
    justify-content: center;
  }

  .agenet-link {
    margin-left: 0;
  }

  .rodape-bottom {
    gap: 16px;
  }

  /* ---------- WHATSAPP ---------- */
  .wa-flutuante {
    right: 16px;
    bottom: 16px;
  }

  .wa-flutuante .dica {
    display: none;
  }
}

/* Telefones menores */
@media (max-width: 480px) {

  .container,
  .hero .container,
  .secao .container,
  .quem .container,
  .livro .container,
  footer .container {
    width: 90%;
  }

  .logo img {
    height: 50px;
  }

  .logo-nome {
    font-size: 1.25rem;
  }

  .logo-sub {
    font-size: .46rem;
    letter-spacing: .18em;
  }

  header.encolhido .logo img {
    height: 40px;
  }

  header.encolhido .logo-nome {
    font-size: 1.1rem;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-badge {
    padding: 7px 14px;
    font-size: .72rem;
    letter-spacing: .08em;
  }

  .hero-foto .moldura {
    width: min(320px, 82vw);
  }

  .btn,
  .hero-ctas .btn,
  .livro-texto .btn {
    width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }

  .info-item {
    padding: 18px 16px;
    gap: 13px;
  }

  .info-item .ic {
    width: 44px;
    height: 44px;
  }

  .info-item .ic svg {
    width: 21px;
    height: 21px;
  }

  .mapa iframe {
    height: 310px;
  }

  .mapa .faixa {
    padding-left: 14px;
    padding-right: 14px;
  }

  .livro-capa img {
    width: min(360px, 78vw);
  }

  .rodape-logo img {
    height: 96px;
  }
}


/* ============================================================
   CORREÇÃO FINAL MOBILE — evita cortes laterais causados pelas
   animações reveal e garante que todos os elementos caibam no viewport.
   O desktop permanece inalterado.
   ============================================================ */
@media (max-width: 768px) {
  /* As animações horizontais estavam empurrando elementos para fora
     da tela enquanto o IntersectionObserver ainda não os tornava visíveis. */
  .reveal-esq,
  .reveal-dir {
    transform: translateY(28px) !important;
  }

  .reveal-esq.visivel,
  .reveal-dir.visivel {
    transform: translateY(0) !important;
  }

  /* Nenhum filho pode criar uma largura mínima maior que a tela. */
  .hero .container > *,
  .secao .container > *,
  .autoridade .container > *,
  .contato-grid > *,
  .rodape-grid > *,
  .livro .container > *,
  .quem .container > *,
  .cards > *,
  .slide > * {
    min-width: 0 !important;
    max-width: 100%;
  }

  /* HERO: foto sempre totalmente dentro da área disponível. */
  .hero-foto {
    width: 100% !important;
    max-width: 340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    overflow: visible !important;
  }

  .hero-foto .moldura {
    width: min(100%, 320px) !important;
    max-width: calc(100vw - 40px) !important;
    margin: 0 auto !important;
  }

  .hero-foto .moldura img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* A órbita pode ultrapassar a moldura sem empurrar o conteúdo. */
  .hero-foto .aura,
  .hero-foto .ondas,
  .hero-foto .orbita {
    max-width: none !important;
  }

  /* Imagens das especialidades não devem ser cortadas no celular. */
  .card .imagem {
    height: auto !important;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .card .imagem img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  /* Livro, retrato e vídeo sempre respeitam a largura do viewport. */
  .livro-capa,
  .livro-capa img,
  .quem-foto,
  .quem-foto img,
  .video-frame,
  .video-frame video {
    width: 100% !important;
    max-width: 100% !important;
  }

  .livro-capa img {
    height: auto !important;
  }

  .video-frame {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Botões nunca ultrapassam a coluna. */
  .btn,
  .btn-menu,
  .hero-ctas .btn,
  .livro-texto .btn {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* Mapa sem largura fixa herdada do iframe. */
  .mapa,
  .mapa iframe {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mapa {
    overflow: hidden !important;
  }

  /* Textos longos quebram dentro da coluna, sem criar overflow. */
  h1, h2, h3, p, li, a, span, strong {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .hero-foto {
    max-width: calc(100vw - 28px) !important;
  }

  .hero-foto .moldura {
    width: min(100%, 300px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .container,
  .hero .container,
  .secao .container,
  .quem .container,
  .livro .container,
  footer .container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem) !important;
  }

  .hero p {
    font-size: .94rem !important;
  }

  .hero-ctas .btn,
  .livro-texto .btn {
    width: 100% !important;
  }

  .mapa iframe {
    height: 300px !important;
  }
}

/* ============================================================
   MOBILE V3 - CACHE SAFE / FINAL RESPONSIVE LAYER
   ============================================================ */
@media screen and (max-width: 768px) {
  html, body { width:100% !important; max-width:100% !important; overflow-x:hidden !important; }
  *, *::before, *::after { box-sizing:border-box; }

  .container, .hero .container, .quem .container, .livro .container,
  .secao .container, footer .container, .nav-inner {
    width:92% !important;
    max-width:560px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .hero .container, .quem .container, .livro .container {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
  }

  .hero-foto, .quem-foto, .livro-capa, .video-frame, .mapa,
  .cards, .contato-grid, .rodape-grid {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .hero-foto { order:-1 !important; justify-content:center !important; }
  .hero-foto .moldura { width:min(340px, 82vw) !important; max-width:100% !important; margin:auto !important; }
  .hero-foto .moldura img, .quem-foto img, .livro-capa img,
  .card .imagem img, .video-frame video {
    display:block !important;
    max-width:100% !important;
    height:auto !important;
  }

  .hero-foto .aura, .hero-foto .ondas, .hero-foto .orbita { pointer-events:none; }

  .reveal-esq, .reveal-dir {
    transform:translate3d(0,28px,0) !important;
  }
  .reveal-esq.visivel, .reveal-dir.visivel {
    transform:translate3d(0,0,0) !important;
  }

  .hero h1, .hero p, .titulo-secao, .subtitulo, .card h3, .card p,
  .livro-texto, .depoimento, .info-item, footer p, footer h4 {
    max-width:100% !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }

  .hero-ctas { width:100% !important; justify-content:center !important; }
  .btn, .hero-ctas .btn, .livro-texto .btn {
    width:min(100%, 330px) !important;
    max-width:100% !important;
    white-space:normal !important;
    text-align:center !important;
  }

  .mapa { overflow:hidden !important; }
  .mapa iframe { width:100% !important; max-width:100% !important; display:block !important; }

  .slide, .slides, .slider, .depoimento { min-width:0 !important; max-width:100% !important; }
}

@media screen and (max-width: 480px) {
  .container, .hero .container, .quem .container, .livro .container,
  .secao .container, footer .container, .nav-inner {
    width:calc(100% - 28px) !important;
    max-width:calc(100% - 28px) !important;
  }
  .hero-foto { max-width:calc(100vw - 28px) !important; }
  .hero-foto .moldura { width:min(300px, calc(100vw - 32px)) !important; }
  .mapa iframe { height:300px !important; }
}

/* ---------- AVALIAÇÕES NO MOBILE: 1 POR VEZ ---------- */
@media screen and (max-width: 768px) {
  #avaliacoes .slider {
    width: 100%;
    overflow: hidden;
  }

  #avaliacoes .slides {
    width: 100%;
    display: flex;
  }

  #avaliacoes .slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100% !important;
    max-width: 100% !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px;
    box-sizing: border-box;
  }

  #avaliacoes .depoimento {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  #avaliacoes .controles {
    margin-top: 24px;
  }
}
