/* Mundo Acqua — folha de estilo única. Fonte padrão: Sora */
:root {
  --fonte: "Sora", "Segoe UI", sans-serif;
  --marinho: #052b4c;
  --azul: #0064ac; /* CMYK 98 62 3 0 */
  --ciano: #19b5d8;
  --claro: #80c9ef; /* CMYK 45 5 0 0 */
  --claro-escuro: #5fb8ea;
  --texto: #34495c;
  --fundo: #ffffff;
  --gelo: #f2f8fa;
  --raio: 28px;
  --sombra: 0 18px 45px rgba(5, 43, 76, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fonte); font-size: 16px; line-height: 1.75; color: var(--texto); background: var(--fundo); overflow-x: clip; }
body.travado { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--claro); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--marinho); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.caixa { width: min(1240px, 100% - 40px); margin-inline: auto; }
.secao { padding: clamp(64px, 9vw, 120px) 0; }
.secao-gelo { background: var(--gelo); }
.centro { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sobretitulo { color: var(--azul); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7em; }
.etiqueta { color: var(--azul); font-size: .85rem; font-weight: 600; margin: 18px 0 6px; }
.acoes { text-align: center; margin-top: 46px; }

.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 11px 31px; border: 3px solid transparent; border-radius: 100px; background: var(--claro); color: var(--marinho); font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; text-align: center; transition: background .25s, border-color .25s, transform .25s; }
.botao:hover, .botao:focus-visible { background: #fff; border-color: var(--azul); color: var(--marinho); text-decoration: none; transform: translateY(-2px); box-shadow: var(--sombra); }
/* Sobre fundos azuis, a borda é azul-clara para continuar visível */
:is(.topo, .hero, .faixa, .orcamento, .novidades, .plano-destaque) .botao:is(:hover, :focus-visible) { border-color: var(--claro); }

.lista { list-style: none; padding: 0; margin: 0 0 28px; }
.lista li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.lista li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-top: 2px solid var(--azul); border-right: 2px solid var(--azul); transform: rotate(45deg); }

.pular { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--claro); color: var(--marinho); padding: 10px 18px; border-radius: 8px; font-weight: 700; }
.pular:focus { top: 12px; }

/* ---------- Cabeçalho ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; background: linear-gradient(rgba(3, 28, 50, .72), transparent); }
.topo.rolado, .topo.aberto { background: var(--azul); box-shadow: 0 8px 30px rgba(5, 43, 76, .22); }
.topo-interno { width: min(1360px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 112px; transition: height .3s; }
.topo.rolado .topo-interno { height: 96px; }
.marca img { height: 96px; width: auto; transition: height .3s; }
.topo.rolado .marca img { height: 82px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.menu li a, .submenu > button { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .93rem; background: none; border: 0; padding: 8px 0; cursor: pointer; border-bottom: 2px solid transparent; }
.menu li a:hover, .submenu > button:hover { text-decoration: none; border-color: var(--claro); }
.menu a[aria-current], .submenu > button.ativo { border-color: var(--claro); }
.submenu { position: relative; }
.submenu i { width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-2px) rotate(45deg); }
.menu .submenu ul { position: absolute; top: 100%; left: -22px; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 190px; padding: 14px 22px; background: var(--marinho); border-radius: 18px; box-shadow: var(--sombra); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.submenu:hover ul, .submenu:focus-within ul, .submenu.aberto ul { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.menu .botao { min-height: 50px; padding: 9px 23px; }
.redes { display: flex; gap: 10px; }
.redes .rede { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); color: #fff; transition: background .25s, border-color .25s, color .25s, translate .25s; }
.redes .rede:hover { background: var(--claro); border-color: var(--claro); color: var(--marinho); text-decoration: none; translate: 0 -3px; }
.rede svg { width: 22px; height: 22px; }
.rede .cheio { fill: currentColor; stroke: none; }
.menu-botao { display: none; width: 48px; height: 48px; padding: 12px; border: 0; background: none; cursor: pointer; }
.menu-botao span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }
.topo.aberto .menu-botao span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topo.aberto .menu-botao span:nth-child(2) { opacity: 0; }
.topo.aberto .menu-botao span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Destaque inicial ---------- */
.hero { position: relative; height: clamp(620px, 100svh, 900px); overflow: hidden; background: var(--marinho); }
/* O slide não usa opacidade própria: assim a foto fica abaixo do efeito e o texto acima dele */
.slide { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.slide.ativo { pointer-events: auto; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.slide.com-foto > img { opacity: 1; }
.hero.fragmentando .slide > img { transition: none; }
.hero-efeito { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(3, 30, 54, .84) 0%, rgba(3, 40, 68, .6) 42%, rgba(3, 40, 68, .05) 75%); }
.slide-texto { position: relative; z-index: 3; padding-top: 60px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.slide.ativo .slide-texto { visibility: visible; opacity: 1; transition: none; }
.slide.ativo .slide-texto > * { animation: texto-entra 1s cubic-bezier(.645, .045, .355, 1) both; animation-delay: .35s; }
.slide.ativo .slide-texto > :nth-child(2) { animation-delay: .5s; }
.slide.ativo .slide-texto > :nth-child(3) { animation-delay: .65s; }
.slide.ativo .slide-texto > :nth-child(4) { animation-delay: .8s; }
@keyframes texto-entra { from { opacity: 0; transform: translateX(-100%) skewX(45deg); } to { opacity: 1; transform: none; } }
.slide-texto > * { max-width: 640px; }
.slide-texto h1, .slide-texto h2 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.slide-texto p { color: #fff; font-size: 1.08rem; }
.slide-texto .sobretitulo { color: var(--claro); font-size: .85rem; }
.slide-texto .botao { margin-top: 14px; }
.onda-base { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 8vw, 120px); z-index: 3; fill: var(--fundo); stroke: none; pointer-events: none; }
.hero-controles { position: absolute; z-index: 4; right: max(20px, calc((100% - 1240px) / 2)); bottom: clamp(60px, 10vw, 140px); display: flex; align-items: center; gap: 14px; }
.hero-pontos { display: flex; gap: 4px; }
.hero-pontos button, .pontos button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-pontos button::before, .pontos button::before { content: ""; width: 11px; height: 11px; border-radius: 20px; background: rgba(255, 255, 255, .65); transition: .25s; }
.hero-pontos button.ativo::before { width: 28px; background: var(--claro); }
.hero-pontos button.ativo { width: 40px; }
.hero-pausa { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: rgba(3, 30, 54, .35); cursor: pointer; position: relative; }
.hero-pausa::before { content: ""; position: absolute; left: 14px; top: 13px; width: 3px; height: 12px; background: #fff; box-shadow: 7px 0 #fff; }
.hero-pausa.pausado::before { left: 15px; width: 0; height: 0; background: none; box-shadow: none; border-left: 12px solid #fff; border-block: 7px solid transparent; top: 12px; }

/* ---------- Faixa das páginas internas ---------- */
.faixa { position: relative; padding: 200px 0 150px; text-align: center; background: var(--marinho) url("../img/fotos/fundo-agua.jpg") center / cover; isolation: isolate; }
.faixa::before { content: ""; position: absolute; inset: 0; background: rgba(3, 35, 62, .62); z-index: -1; }
.faixa h1 { color: #fff; max-width: 880px; margin-inline: auto; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.faixa p { color: #fff; margin: 0; }
.faixa p a { color: var(--claro); font-weight: 600; }
.faixa .sobretitulo { color: var(--claro); margin-bottom: 12px; }

/* ---------- Sobre ---------- */
.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.colagem { display: grid; grid-template-columns: 82px repeat(12, 1fr); grid-template-rows: auto; column-gap: 0; align-items: start; }
.emblema { grid-column: 1; grid-row: 1; justify-self: start; width: 74px; background: var(--azul); color: #fff; padding: 30px 0; writing-mode: vertical-rl; rotate: 180deg; display: flex; align-items: center; justify-content: center; gap: 14px; border-radius: var(--raio) var(--raio) 0 0; }
.emblema strong { font-size: 1.9rem; font-weight: 800; color: var(--claro); line-height: 1; }
.emblema span { font-size: .82rem; font-weight: 600; }
.colagem .foto-a { grid-column: 2 / 12; grid-row: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 0 0 var(--raio); }
.colagem .foto-b { grid-column: 7 / -1; grid-row: 1; align-self: end; position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid #fff; border-radius: 12px; translate: 0 18%; box-shadow: var(--sombra); }
.abas [role="tablist"] { display: flex; flex-wrap: wrap; gap: 6px 26px; border-bottom: 1px solid #d7e5eb; margin-bottom: 24px; }
.abas [role="tab"] { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--marinho); }
.abas [role="tab"][aria-selected="true"] { color: var(--azul); border-color: var(--azul); }
.abas [role="tabpanel"] { min-height: 150px; }

/* ---------- Aulas ---------- */
.grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.aula-foto { position: relative; display: block; overflow: hidden; border-radius: var(--raio); aspect-ratio: 7 / 5; }
.aula-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.aula-foto:hover img { transform: scale(1.1); }
.aula-foto span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(3, 35, 62, .38); color: #fff; font-weight: 600; line-height: 1.3; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.aula-foto strong { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; }
.aula h3 a { color: inherit; }

.detalhe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; margin-bottom: clamp(60px, 9vw, 110px); }
.detalhe:last-child { margin-bottom: 0; }
.detalhe > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--raio); }
.detalhe:nth-child(even) > img { order: 2; }

/* ---------- Mergulhe ---------- */
.mergulhe-foto { width: 100%; aspect-ratio: 1 / .86; object-fit: cover; border-radius: var(--raio); }
.mergulhe-extra { display: flex; align-items: center; gap: 30px; margin: 30px 0 34px; flex-wrap: wrap; }
.mergulhe-extra .lista { margin: 0; font-weight: 600; font-size: .93rem; color: var(--marinho); }
.video-cartao { position: relative; width: 190px; aspect-ratio: 1; border-radius: var(--raio); overflow: hidden; display: grid; place-items: end center; }
.video-cartao img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-cartao span { position: relative; margin-bottom: 14px; background: rgba(3, 35, 62, .82); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 30px; }
.video-cartao.com-video::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; translate: -35% -50%; border-left: 30px solid #fff; border-block: 19px solid transparent; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }

/* ---------- Formulários ---------- */
.orcamento { display: grid; grid-template-columns: 1fr 1.4fr; background: var(--azul); }
.orcamento > img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.orcamento-conteudo { padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 100px); max-width: 780px; }
.orcamento h2, .orcamento .sobretitulo, .orcamento p { color: #fff; }
.orcamento .sobretitulo { color: var(--claro); }
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formulario .inteiro { grid-column: 1 / -1; }
.formulario label { display: block; font-size: .82rem; font-weight: 600; margin: 0 0 6px 8px; }
.orcamento label, .orcamento .aviso { color: #fff; }
.formulario input, .formulario select, .formulario textarea { width: 100%; min-height: 56px; padding: 14px 24px; border: 1px solid #cfe0e8; border-radius: 30px; background: #fff; color: var(--marinho); }
.formulario textarea { min-height: 140px; border-radius: 24px; resize: vertical; }
.formulario .botao { justify-self: start; }
.formulario .aviso { margin: 0; font-size: .9rem; font-weight: 600; }
.formulario .aviso:empty { display: none; }
.cartao-form { background: #fff; border-radius: var(--raio); padding: clamp(24px, 4vw, 44px); box-shadow: var(--sombra); }

/* ---------- Equipe ---------- */
.grade-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.pessoa { text-align: center; }
.pessoa-foto { aspect-ratio: 4 / 5; border-radius: var(--raio); overflow: hidden; background: linear-gradient(160deg, var(--ciano), var(--azul) 60%, var(--marinho)); margin-bottom: 18px; }
.pessoa-foto img { width: 100%; height: 100%; object-fit: cover; }
.pessoa-foto svg { width: 100%; height: 100%; stroke: none; fill: rgba(255, 255, 255, .72); }
.pessoa-foto .onda { fill: rgba(128, 201, 239, .92); }
.pessoa h3 { font-size: 1.08rem; margin-bottom: 4px; }
.pessoa p { margin: 0; font-size: .92rem; }

/* ---------- Galeria ---------- */
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galeria-item { padding: 0; border: 0; background: var(--gelo); cursor: zoom-in; overflow: hidden; border-radius: 14px; aspect-ratio: 1; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.galeria-item:hover img { transform: scale(1.08); }
.ampliada { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.ampliada::backdrop { background: rgba(2, 20, 37, .92); }
.ampliada img { max-width: 94vw; max-height: 86vh; border-radius: 14px; }
.ampliada button { position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--claro); color: var(--marinho); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.ampliada .fechar { top: 18px; right: 18px; }
.ampliada .anterior { left: 12px; bottom: 16px; }
.ampliada .proxima { right: 12px; bottom: 16px; }

/* ---------- Depoimentos ---------- */
.depoimentos { max-width: 780px; margin-inline: auto; text-align: center; }
.depoimentos-palco { display: grid; }
.depoimento { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; translate: 120px 0; transition: opacity 1s, translate 1s, visibility 1s; }
.depoimento.ativo { opacity: 1; visibility: visible; translate: 0 0; }
.depoimento blockquote { margin: 0 0 28px; font-size: 1.15rem; line-height: 1.9; }
.depoimento figcaption { display: flex; flex-direction: column; align-items: center; font-size: .9rem; }
.depoimento strong { color: var(--marinho); font-size: 1.1rem; }
.inicial { width: 72px; height: 72px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; margin-bottom: 14px; font-size: 3.4rem; font-weight: 800; line-height: 1; padding-top: 18px; }
.pontos { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pontos button::before { background: #b9d3de; }
.pontos button.ativo::before { background: var(--azul); width: 24px; }
.pontos button.ativo { width: 34px; }

/* ---------- Blog ---------- */
.trilho { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; }
.trilho::-webkit-scrollbar { display: none; }
.trilho > * { scroll-snap-align: start; }
.setas { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.setas button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--azul); background: transparent; color: var(--azul); cursor: pointer; display: grid; place-items: center; }
.setas button:hover { background: var(--azul); color: #fff; }
.setas button:first-child svg { transform: rotate(180deg); }
.artigo-cartao a { color: var(--texto); display: block; }
.artigo-cartao a:hover { text-decoration: none; }
.artigo-cartao a:hover h3 { color: var(--azul); }
.artigo-cartao img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); }
.texto-artigo { max-width: 780px; margin-inline: auto; font-size: 1.05rem; }
.texto-artigo .capa { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--raio); margin-bottom: 40px; }
.texto-artigo h2 { font-size: 1.7rem; margin-top: 1.4em; }

/* ---------- Novidades ---------- */
.novidades { position: relative; isolation: isolate; padding: clamp(90px, 13vw, 170px) 0; text-align: center; background: var(--marinho) url("../img/fotos/galeria-1.jpg") center / cover fixed; }
.novidades::before { content: ""; position: absolute; inset: 0; background: rgba(3, 35, 62, .72); z-index: -1; }
.novidades h2, .novidades p, .novidades label { color: #fff; }
.novidades .formulario { max-width: 620px; margin: 30px auto 0; grid-template-columns: 1fr auto; }
.novidades .formulario input { min-height: 60px; }
.novidades .botao { justify-self: stretch; min-height: 60px; }
.novidades .aviso { grid-column: 1 / -1; color: #fff; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Planos ---------- */
.planos { align-items: stretch; gap: 28px; }
.plano { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--raio); padding: 44px 34px; box-shadow: var(--sombra); }
.plano .lista { flex: 1; }
.plano-vezes strong { font-size: 3.4rem; font-weight: 800; color: var(--azul); letter-spacing: -.04em; }
.plano-valor { font-weight: 700; color: var(--marinho); border-top: 1px solid #d7e5eb; padding-top: 20px; }
.plano-destaque { background: var(--azul); color: #fff; }
.plano-destaque h3, .plano-destaque .plano-valor, .plano-destaque .plano-vezes strong { color: #fff; }
.plano-destaque .lista li::before { border-color: var(--claro); }
.selo { position: absolute; top: -15px; left: 34px; background: var(--marinho); color: var(--claro); font-size: .75rem; font-weight: 700; padding: 6px 16px; border-radius: 30px; }

/* ---------- Valores / diferenciais ---------- */
.valor { background: #fff; border-radius: var(--raio); padding: 36px 30px; box-shadow: var(--sombra); }
.valor b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--claro); color: var(--marinho); font-size: 1.1rem; margin-bottom: 22px; }
.valor p { margin: 0; }

/* ---------- Contato ---------- */
.contato-grade { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 70px; }
.contato-cartao { flex: 1 1 250px; background: var(--gelo); border-radius: var(--raio); padding: 32px 24px; text-align: center; overflow-wrap: anywhere; }
.contato-cartao svg { width: 38px; height: 38px; color: var(--azul); margin-bottom: 14px; }
.contato-cartao h3 { font-size: 1rem; }
.contato-cartao p { margin: 0; font-size: .9rem; }
.mapa { height: 100%; min-height: 420px; border-radius: var(--raio); overflow: hidden; background: var(--gelo); }
.mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.mapa:empty { display: none; }
.duas-colunas:has(> .mapa:empty) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.alinhado-topo { align-items: stretch; }

.contato-redes { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; color: var(--marinho); }
.contato-redes .rede { border-color: var(--azul); color: var(--azul); }
.contato-redes .rede:hover { background: var(--azul); border-color: var(--azul); color: #fff; }

/* ---------- Escolha da unidade no WhatsApp ---------- */
.escolha-zap { width: min(370px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--raio); background: #fff; color: var(--texto); box-shadow: 0 24px 60px rgba(2, 20, 37, .35); }
.escolha-zap[open] { animation: surge .3s ease both; }
.escolha-zap::backdrop { background: rgba(2, 20, 37, .6); }
.escolha-zap.ancorado { margin: auto 18px 84px auto; }
.escolha-zap > div { position: relative; padding: 28px 24px 14px; }
.escolha-zap h2 { font-size: 1.2rem; margin: 0 40px 6px 0; }
.escolha-zap p { margin-bottom: 14px; font-size: .92rem; }
.escolha-zap .fechar { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--gelo); color: var(--marinho); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.escolha-zap .unidade { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 14px 18px; border: 2px solid #d7e5eb; border-radius: 18px; color: var(--texto); line-height: 1.45; transition: border-color .25s, background .25s; }
.escolha-zap .unidade:hover, .escolha-zap .unidade:focus-visible { border-color: var(--azul); background: var(--gelo); text-decoration: none; }
.unidade svg { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: #146c43; color: #fff; }
.unidade strong { display: block; color: var(--marinho); }
@keyframes surge { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Rodapé ---------- */
.rodape { background: var(--marinho); color: #d5e8f2; border-top: 8px solid var(--claro); padding-top: 80px; font-size: .92rem; }
.rodape-grade { display: grid; grid-template-columns: 1.2fr 1fr .8fr 1fr; gap: 44px; }
.rodape h2 { color: #fff; font-size: 1.25rem; margin-bottom: 22px; }
.rodape p strong { color: #fff; }
.rodape a { color: #d5e8f2; overflow-wrap: anywhere; }
.rodape a:hover { color: var(--claro); }
.rodape ul { list-style: none; margin: 0; padding: 0; line-height: 2.3; }
.rodape dl { margin: 0; }
.rodape dl div { margin-bottom: 14px; }
.rodape dt { color: var(--claro); font-weight: 600; }
.rodape dd { margin: 0; }
.rodape-logo { width: 180px; height: auto; margin-bottom: 24px; }
.direitos { text-align: center; border-top: 1px solid rgba(255, 255, 255, .14); margin: 60px 0 0; padding: 26px 20px 96px; font-size: .82rem; }
.flutuantes { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.flutuante { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.flutuante svg { width: 28px; height: 28px; }
.zap { background: #146c43; color: #fff; padding: 0; border: 0; cursor: pointer; }
.subir { background: var(--claro); color: var(--marinho); opacity: 0; visibility: hidden; transition: .25s; }
.subir.visivel { opacity: 1; visibility: visible; }

/* ---------- Página 404 ---------- */
.erro { min-height: 100svh; display: grid; place-content: center; }
.erro .gigante { font-size: clamp(6rem, 22vw, 14rem); font-weight: 800; color: var(--claro); line-height: 1; margin: 0; }

/* ---------- Animações de entrada (ativadas na rolagem) ---------- */
/* Impede que blocos em movimento alarguem a página no celular */
main > section, main > article, .depoimentos { overflow: clip; }
.oculto { opacity: 0; }
.animar { animation-duration: 1.25s; animation-timing-function: ease; animation-fill-mode: both; }
.a-fadeIn { animation-name: fadeIn; }
.a-fadeInUp { animation-name: fadeInUp; }
.a-fadeInDown { animation-name: fadeInDown; }
.a-slideInLeft { animation-name: slideInLeft; }
.a-slideInRight { animation-name: slideInRight; }
.a-zoomIn { animation-name: zoomIn; }
.a-rotateInDownRight { animation-name: rotateInDownRight; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes slideInLeft { from { opacity: 1; transform: translateX(-100%); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { opacity: 1; transform: translateX(100%); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.4); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes rotateInDownRight { from { opacity: 0; transform-origin: right bottom; transform: rotate(45deg); } to { opacity: 1; transform-origin: right bottom; transform: none; } }

/* ---------- Efeitos ao passar o mouse ---------- */
@media (hover: hover) {
  .colagem .foto-a { transition: transform .3s; }
  .colagem .foto-a:hover { animation: afunda .3s ease-out forwards, balanca 1.5s ease-in-out .3s infinite alternate; }
  .colagem .foto-b:hover { animation: sacode 1s ease-in-out; }
  .video-cartao { transition: transform .3s; }
  .video-cartao:hover { transform: scale(1.1); }
  .galeria-item::after { content: "+"; position: absolute; inset: 10px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 10px; color: #fff; font-size: 3rem; font-weight: 300; box-shadow: 0 0 0 20px rgba(5, 43, 76, .5); background: rgba(5, 43, 76, .5); opacity: 0; transform: scale(1.12); transition: .35s; }
  .galeria-item:hover::after, .galeria-item:focus-visible::after { opacity: 1; transform: none; }
  .artigo-cartao img { transition: filter .35s; }
  .artigo-cartao a:hover img { filter: brightness(.6); }
  .pessoa-foto, .valor, .plano, .contato-cartao { transition: translate .35s, box-shadow .35s; }
  .pessoa:hover .pessoa-foto, .valor:hover, .plano:hover, .contato-cartao:hover { translate: 0 -8px; box-shadow: var(--sombra); }
}
@keyframes afunda { to { transform: translateY(8px); } }
@keyframes balanca { 0%, 100% { transform: translateY(8px); } 50% { transform: translateY(4px); } }
@keyframes sacode { 16.65% { transform: translateX(8px); } 33.3% { transform: translateX(-6px); } 49.95% { transform: translateX(4px); } 66.6% { transform: translateX(-2px); } 83.25% { transform: translateX(1px); } 100% { transform: none; } }
.galeria-item { position: relative; }
.abas [role="tabpanel"]:not([hidden]) { animation: fadeIn .6s; }

/* ---------- Telas menores ---------- */
@media (max-width: 1100px) {
  .menu-botao { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100%); overflow-y: auto; background: var(--azul); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px; padding: 20px 28px 40px; visibility: hidden; opacity: 0; transition: .25s; }
  .topo.aberto .menu { visibility: visible; opacity: 1; }
  .menu ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .menu li a, .submenu > button { font-size: 1.1rem; }
  .menu .submenu ul { position: static; display: none; background: none; box-shadow: none; padding: 4px 0 4px 20px; transform: none; opacity: 1; visibility: inherit; }
  .menu .submenu.aberto ul { display: flex; }
  .menu .redes { justify-content: center; }
  .grade-4 { grid-template-columns: repeat(2, 1fr); }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .duas-colunas, .detalhe, .orcamento { grid-template-columns: 1fr; }
  .detalhe:nth-child(even) > img { order: 0; }
  .orcamento > img { max-height: 420px; }
  .colagem { margin-bottom: 40px; }
  .grade-3 { grid-template-columns: repeat(2, 1fr); }
  .trilho { grid-auto-columns: calc((100% - 28px) / 2); }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .novidades { background-attachment: scroll; }
}
@media (max-width: 620px) {
  .topo-interno { height: 92px; }
  .topo.rolado .topo-interno { height: 76px; }
  .marca img { height: 72px; }
  .topo.rolado .marca img { height: 60px; }
  .grade-3, .rodape-grade, .formulario, .novidades .formulario { grid-template-columns: 1fr; }
  .grade-4 { gap: 30px 14px; }
  .pessoa h3 { font-size: .92rem; }
  .pessoa-foto { border-radius: 18px; }
  .trilho { grid-auto-columns: 86%; }
  .galeria { gap: 8px; }
  .formulario .botao { justify-self: stretch; }
  .hero::after { background: rgba(3, 30, 54, .66); }
  .hero-controles { right: auto; left: 20px; bottom: 56px; }
  .colagem { grid-template-columns: 56px repeat(12, 1fr); }
  .emblema { width: 52px; padding: 18px 0; gap: 8px; }
  .emblema strong { font-size: 1.35rem; }
  .emblema span { font-size: .68rem; }
  .colagem .foto-b { border-width: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .novidades { background-attachment: scroll; }
}
