/* =====================================================================
   Ação Social Nino Motos — estilo do site
   Cores tiradas dos logos (azul + verde) e do fundo azul da foto.
   ===================================================================== */

:root {
  --navy-900: #061226;
  --navy-800: #0b1d3a;
  --navy-700: #12305c;
  --azul: #1f63b8;
  --azul-claro: #4a9be8;
  --verde: #7cbd2e;
  --verde-claro: #9bd24f;
  --verde-texto: #3d780c;

  --texto: #182234;
  --texto-suave: #556175;
  --fundo: #ffffff;
  --fundo-claro: #f2f6fb;
  --borda: #d6dfeb;
  --erro: #c62828;

  --raio: 14px;
  --raio-g: 22px;
  --sombra: 0 10px 30px rgba(11, 29, 58, .10);
  --sombra-forte: 0 24px 60px rgba(6, 18, 38, .35);

  --fonte-titulo: "Poppins", system-ui, sans-serif;
  --fonte-texto: "Nunito Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--fonte-titulo); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

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

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--verde); color: var(--navy-900); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.pular:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; background: none;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.botao:hover { transform: translateY(-2px); }
.botao:active { transform: translateY(0); }
.botao--verde { background: var(--verde); color: var(--navy-900); box-shadow: 0 8px 22px rgba(124, 189, 46, .35); }
.botao--verde:hover { background: var(--verde-claro); }
.botao--azul { background: var(--azul); color: #fff; }
.botao--azul:hover { background: #2a74d1; }
.botao--contorno { border-color: rgba(255,255,255,.45); color: #fff; }
.botao--contorno:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.botao--branco { background: #fff; color: var(--navy-900); }
.botao--branco:hover { background: #eef3fa; }
.botao--contorno-escuro { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.botao--contorno-escuro:hover { background: var(--fundo-claro); }
.botao--pequeno { min-height: 42px; padding: 0 18px; font-size: 15px; }
.botao--largo { width: 100%; }
.botao[disabled] { opacity: .7; cursor: wait; transform: none; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 18, 38, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topo__linha { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.topo__marca img { height: 60px; width: auto; }
.topo__menu { display: flex; gap: 28px; margin-left: auto; }
.topo__menu a {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.topo__menu a:hover { color: #fff; border-bottom-color: var(--verde); }
.topo__insta {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: 1.5px solid rgba(255,255,255,.3); transition: border-color .15s ease, background-color .15s ease;
}
.topo__insta:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.topo__insta svg, .botao--branco svg, .rodape__insta svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Abertura ---------- */
.abertura {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(74,155,232,.45), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(124,189,46,.18), transparent 70%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
}
.abertura__grade {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px;
  padding-block: 72px 88px;
}
.selo {
  display: inline-block; font-family: var(--fonte-titulo); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--verde-claro);
  padding: 6px 14px; border-radius: 999px; background: rgba(124,189,46,.14); border: 1px solid rgba(124,189,46,.35);
}
.abertura h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin: 20px 0 18px; letter-spacing: -.01em; }
.abertura__sub { font-size: 19px; color: rgba(255,255,255,.82); max-width: 54ch; }
.abertura__botoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.abertura__pilares { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 700; color: rgba(255,255,255,.9); }
.abertura__pilares li { display: flex; align-items: center; gap: 8px; }
.ponto { width: 10px; height: 10px; border-radius: 50%; }
.ponto--verde { background: var(--verde); }
.ponto--azul { background: var(--azul-claro); }

.abertura__foto { position: relative; justify-self: center; width: min(440px, 100%); }
.abertura__foto::before {
  content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: var(--raio-g);
  background: linear-gradient(135deg, var(--verde), #3e8a14);
}
.abertura__moldura {
  position: relative; border-radius: var(--raio-g); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--sombra-forte);
}
.abertura__moldura img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.abertura__selo-saude {
  position: absolute; left: -38px; bottom: -30px; width: 120px; padding: 14px;
  background: var(--navy-900); border-radius: 20px; box-shadow: var(--sombra-forte);
  border: 1px solid rgba(255,255,255,.1);
}

/* ---------- Seções ---------- */
.secao { padding-block: 96px; }
.secao--clara { background: var(--fundo-claro); }
.secao__cabeca { max-width: 720px; margin-bottom: 48px; }
.secao__cabeca h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--navy-800); margin-top: 10px; }
.secao__cabeca p:not(.sobretitulo) { margin-top: 14px; color: var(--texto-suave); font-size: 18px; }
.sobretitulo {
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--verde-texto);
}

/* ---------- Cards "Como ajudamos" ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio-g); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--sombra); transform: translateY(-4px); }
.card h3 { font-size: 22px; color: var(--navy-800); }
.card p { color: var(--texto-suave); flex: 1; }
.card__icone { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 6px; }
.card__icone svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__icone--azul { background: #e5effb; color: var(--azul); }
.card__icone--verde { background: #eaf5dc; color: var(--verde-texto); }
.card__link { font-weight: 700; color: var(--azul); text-decoration: none; }
.card__link:hover { text-decoration: underline; }

/* ---------- Vídeo + Instagram ---------- */
.video-secao {
  color: #fff; padding-block: 88px;
  background:
    radial-gradient(45% 60% at 20% 50%, rgba(74,155,232,.30), transparent 70%),
    radial-gradient(35% 45% at 100% 0%, rgba(124,189,46,.16), transparent 70%),
    var(--navy-900);
}
.video-secao__grade { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.video-secao__player {
  width: 320px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000;
  border: 8px solid #10223f; box-shadow: var(--sombra-forte), 0 0 0 1px rgba(255,255,255,.08);
}
.video-secao__player video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.video-secao__texto { max-width: 560px; }
.video-secao__texto h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 18px 0 14px; }
.video-secao__texto p:not(.selo) { color: rgba(255,255,255,.82); font-size: 18px; margin-bottom: 28px; white-space: pre-line; }
/* Sem vídeo: vira só uma faixa com o convite do Instagram */
.video-secao.sem-video { padding-block: 72px; }
.video-secao.sem-video .video-secao__grade { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.video-secao.sem-video .video-secao__texto p:not(.selo) { margin-inline: auto; max-width: 52ch; }

/* ---------- Esporte (mosaico de fotos) ---------- */
.mosaico {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px;
}
.mosaico__item {
  position: relative; padding: 0; border: 0; border-radius: var(--raio); overflow: hidden; cursor: zoom-in;
  background: var(--navy-800);
}
.mosaico__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaico__item:hover img { transform: scale(1.05); }
.mosaico__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaico__item:nth-child(6), .mosaico__item:nth-child(7) { grid-column: span 2; }
.mosaico__mais { display: inline-block; margin-top: 20px; }

/* ---------- Projeto Saúde ---------- */
.saude { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.saude__logo { width: 150px; border-radius: 16px; background: #fff; padding: 10px; box-shadow: var(--sombra); }
.saude h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--navy-800); margin-top: 24px; }
.saude__intro { color: var(--texto-suave); margin-top: 8px; font-size: 18px; }

.servicos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.servicos__grupo { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px 22px; }
.servicos__grupo h3 { font-size: 17px; color: var(--azul); margin-bottom: 10px; }
.servicos__grupo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.servicos__grupo li { position: relative; padding-left: 22px; font-weight: 600; }
.servicos__grupo li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--verde);
}

.documentos {
  display: flex; align-items: center; gap: 16px; margin: 24px 0 28px; padding: 18px 22px;
  background: var(--navy-800); color: #fff; border-radius: var(--raio);
}
.documentos strong { font-family: var(--fonte-titulo); font-size: 15px; letter-spacing: .02em; color: var(--verde-claro); }
.documentos p { font-size: 18px; font-weight: 700; }
.documentos__icone { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.documentos__icone svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.saude__flyer { margin: 0; position: sticky; top: 100px; }
.saude__flyer img { border-radius: var(--raio-g); box-shadow: var(--sombra-forte); }

/* ---------- Doações ---------- */
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.galeria__item { margin: 0; position: relative; border-radius: var(--raio-g); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-800); }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galeria__item:hover img { transform: scale(1.04); }
.galeria__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 26px 24px; color: #fff;
  background: linear-gradient(to top, rgba(6,18,38,.92), rgba(6,18,38,0));
  display: grid; gap: 2px;
}
.galeria__item figcaption strong { font-family: var(--fonte-titulo); font-size: 22px; }
.galeria__item figcaption span { color: rgba(255,255,255,.85); }

/* ---------- Cadastro ---------- */
.cadastro {
  color: #fff; padding-block: 96px;
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(74,155,232,.30), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(124,189,46,.16), transparent 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.cadastro__grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.cadastro__chamada { position: sticky; top: 110px; }
.cadastro__chamada h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 18px 0 14px; }
.cadastro__chamada > p { color: rgba(255,255,255,.82); font-size: 18px; }

.lista-check { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.lista-check li { position: relative; padding-left: 36px; color: rgba(255,255,255,.9); font-weight: 600; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061226' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.formulario {
  background: #fff; color: var(--texto); border-radius: var(--raio-g); padding: 36px;
  box-shadow: var(--sombra-forte);
}

fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 19px; color: var(--navy-800);
}
.legend__num {
  width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--azul); color: #fff; font-size: 14px;
}

.linha { display: flex; gap: 16px; }
.linha > .campo { flex: 1; min-width: 0; }
.linha > .campo--curto { flex: 0 0 120px; }
.campo--medio input { max-width: 220px; }

.campo { margin-bottom: 14px; }
.campo label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.obrig { color: var(--erro); }

.campo input, .campo select {
  width: 100%; min-height: 50px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--texto);
  background: #fbfcfe; border: 1.5px solid var(--borda); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.campo select { appearance: none; padding-right: 34px; cursor: pointer;
  background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556175' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 18px no-repeat;
}
.campo input::placeholder { color: #9aa5b5; }
.campo input:focus, .campo select:focus {
  outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(31,99,184,.15);
}
.campo.tem-erro input, .campo.tem-erro select { border-color: var(--erro); background: #fff7f7; }

.dica { font-size: 14px; color: var(--texto-suave); margin-top: 6px; }
.dica--topo { margin: -6px 0 14px; }
.erro { font-size: 14px; font-weight: 700; color: var(--erro); margin-top: 6px; }
.erro:empty { display: none; }

.opcoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opcao { position: relative; cursor: pointer; }
.opcao input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcao span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px 10px;
  border: 1.5px solid var(--borda); border-radius: 10px; font-weight: 700; font-size: 15px; line-height: 1.25;
  background: #fbfcfe; transition: all .15s ease;
}
.opcao:hover span { border-color: var(--azul-claro); }
.opcao input:checked + span { border-color: var(--azul); background: #e8f1fc; color: var(--azul); box-shadow: inset 0 0 0 1px var(--azul); }
.opcao input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 2px; }

.aceite { margin: 4px 0 20px; padding: 16px 18px; background: var(--fundo-claro); border-radius: var(--raio); }
.aceite__label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; line-height: 1.5; color: var(--texto-suave); }
.aceite__label input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--azul); cursor: pointer; }
.aceite.tem-erro { box-shadow: inset 0 0 0 1.5px var(--erro); background: #fff7f7; }

.aviso-envio:empty { display: none; }
.aviso-envio {
  margin-bottom: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 700; font-size: 15px;
  background: #fdecec; color: var(--erro); border: 1px solid #f5c2c2;
}

.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.botao.carregando .botao__texto::after { content: "…"; }
.botao.carregando::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid rgba(6,18,38,.25); border-top-color: var(--navy-900); animation: girar .8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

.sucesso { text-align: center; padding: 40px 12px; }
.sucesso:focus { outline: none; }
.sucesso__icone {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--verde);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(124,189,46,.4);
}
.sucesso__icone svg { width: 44px; height: 44px; fill: none; stroke: var(--navy-900); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sucesso h3 { font-size: 28px; color: var(--navy-800); margin-bottom: 10px; }
.sucesso p { color: var(--texto-suave); font-size: 18px; max-width: 40ch; margin: 0 auto 28px; }

/* ---------- Avisos (vêm do painel) ---------- */
.secao--avisos { background: var(--fundo-claro); padding-block: 72px; }
.avisos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.aviso {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio-g); overflow: hidden;
  display: flex; flex-direction: column;
}
.aviso__imagem {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; background: var(--navy-800); overflow: hidden;
}
.aviso__imagem img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.aviso__imagem:hover img { transform: scale(1.03); }
.aviso__lupa {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(6,18,38,.8); color: #fff; font-weight: 700; font-size: 13px;
}
.aviso__corpo { padding: 20px 22px 24px; display: grid; gap: 8px; }
.aviso__corpo h3 { font-size: 19px; color: var(--navy-800); }
.aviso__corpo p { color: var(--texto-suave); white-space: pre-line; }

.ampliado {
  width: min(720px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0;
  border-radius: var(--raio-g); overflow: auto; box-shadow: var(--sombra-forte);
}
.ampliado::backdrop { background: rgba(6,18,38,.8); }
.ampliado img { width: 100%; height: auto; background: var(--navy-800); }
.ampliado__texto { padding: 20px 24px 26px; display: grid; gap: 8px; justify-items: start; }
.ampliado__texto h3 { font-size: 22px; color: var(--navy-800); }
.ampliado__texto p { color: var(--texto-suave); white-space: pre-line; }
.ampliado__texto p:empty { display: none; }
.ampliado__fechar {
  position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(6,18,38,.85); color: #fff; display: grid; place-items: center;
}
.ampliado__fechar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }

/* ---------- Parceiros (vêm do painel) ---------- */
.parceiros { padding-block: 80px; }
.secao__cabeca--centro { text-align: center; margin-inline: auto; }
.parceiros__lista {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.parceiros__lista li { width: 200px; }
.parceiro {
  display: grid; gap: 10px; justify-items: center; text-align: center; text-decoration: none; color: var(--texto);
}
.parceiro__logo {
  width: 100%; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 18px;
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); transition: box-shadow .2s ease, transform .2s ease;
}
.parceiro__logo { overflow: hidden; }
.parceiro__logo img { width: 100%; height: 100%; object-fit: contain; }
a.parceiro:hover .parceiro__logo { box-shadow: var(--sombra); transform: translateY(-3px); }
.parceiro__nome { font-weight: 700; font-size: 15px; color: var(--texto-suave); }

/* ---------- Rodapé ---------- */
.rodape { background: #000; color: rgba(255,255,255,.75); padding-block: 48px; font-size: 15px; }
.rodape__grade { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.rodape__logos { display: flex; align-items: center; gap: 28px; }
.rodape__logos img:first-child { height: 76px; width: auto; }
.rodape__logos img:last-child { height: 84px; width: auto; }
.rodape__texto { display: grid; gap: 6px; max-width: 460px; }
.rodape__texto strong { color: #fff; }
.rodape__ano { color: rgba(255,255,255,.5); }
.rodape__ano a { color: rgba(255,255,255,.7); }
.rodape__insta { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.rodape__insta:hover { text-decoration: underline; }

/* ---------- Botão WhatsApp ---------- */
.whats {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: #25d366; color: #062b14; border-radius: 999px; text-decoration: none;
  font-family: var(--fonte-titulo); font-weight: 700; box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.whats svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  .topo__menu { display: none; }
  .topo__marca { margin-right: auto; }
  .abertura__grade { grid-template-columns: 1fr; gap: 56px; padding-block: 48px 72px; }
  .abertura__foto { width: min(380px, 86%); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .video-secao__grade { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
  .video-secao__player { width: min(300px, 80vw); }
  .mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .mosaico__item:nth-child(6), .mosaico__item:nth-child(7) { grid-column: span 1; }
  .saude { grid-template-columns: 1fr; }
  .saude__flyer { position: static; max-width: 480px; }
  .cadastro__grade { grid-template-columns: 1fr; gap: 36px; }
  .cadastro__chamada { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topo__linha { min-height: 64px; }
  .topo__marca img { height: 44px; }
  .abertura__sub { font-size: 17px; }
  .abertura__botoes .botao { width: 100%; }
  .abertura__selo-saude { width: 92px; left: -14px; bottom: -24px; padding: 10px; }
  .secao, .cadastro { padding-block: 64px; }
  .servicos { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .mosaico { grid-auto-rows: 130px; gap: 8px; }
  .video-secao { padding-block: 64px; }
  .topo__insta { width: 38px; height: 38px; }
  .topo__linha { gap: 12px; }
  .galeria { grid-template-columns: 1fr; }
  .galeria__item { aspect-ratio: 4 / 5; }
  .formulario { padding: 24px 18px; border-radius: 18px; }
  .linha { flex-wrap: wrap; gap: 0 12px; }
  .linha > .campo { flex: 1 1 100%; }
  .linha > .campo--curto { flex: 1 1 calc(40% - 12px); }
  .linha > .campo--curto:only-child { flex-basis: 100%; }
  /* telefone + idade e cidade + estado ficam lado a lado */
  .linha > .campo:has(+ .campo--curto) { flex: 1 1 calc(60% - 12px); }
  .opcoes { grid-template-columns: repeat(2, 1fr); }
  .secao--avisos, .parceiros { padding-block: 56px; }
  .parceiros__lista { gap: 14px; }
  .parceiros__lista li { width: calc(50% - 7px); }
  .rodape__grade { flex-direction: column; align-items: flex-start; }
  .whats span { display: none; }
  .whats { padding: 14px; }
}

/* =====================================================================
   Animações
   ===================================================================== */

/* ---------- Abertura: entrada ao carregar a página ---------- */
@keyframes surgir { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes entrarFoto { from { opacity: 0; translate: 48px 0; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes crescerFundo { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
@keyframes flutuar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes sublinhar { to { background-size: 100% .12em; } }
@keyframes derivar1 { 0%, 100% { translate: 0 0; } 50% { translate: -60px 40px; } }
@keyframes derivar2 { 0%, 100% { translate: 0 0; } 50% { translate: 50px -30px; } }

.abertura::before, .abertura::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.abertura::before {
  width: 420px; height: 420px; right: 8%; top: -120px; background: rgba(74,155,232,.35);
  animation: derivar1 14s ease-in-out infinite;
}
.abertura::after {
  width: 360px; height: 360px; left: -80px; bottom: -160px; background: rgba(124,189,46,.22);
  animation: derivar2 18s ease-in-out infinite;
}
.abertura__grade { position: relative; z-index: 1; }

.abertura__texto > * { animation: surgir .8s cubic-bezier(.2,.7,.2,1) both; }
.abertura__texto > :nth-child(1) { animation-delay: .05s; }
.abertura__texto > :nth-child(2) { animation-delay: .15s; }
.abertura__texto > :nth-child(3) { animation-delay: .3s; }
.abertura__texto > :nth-child(4) { animation-delay: .45s; }
.abertura__texto > :nth-child(5) { animation-delay: .6s; }

.destaque {
  background: linear-gradient(var(--verde), var(--verde)) no-repeat 0 92% / 0% .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: sublinhar .9s 1s cubic-bezier(.6,0,.2,1) forwards;
}

.abertura__foto { animation: entrarFoto 1s .2s cubic-bezier(.2,.7,.2,1) both; }
.abertura__foto::before { animation: crescerFundo 1s .55s cubic-bezier(.2,.7,.2,1) both; }
.abertura__moldura { transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.abertura__selo-saude {
  animation: flutuar 5s ease-in-out 1.2s infinite;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

/* ---------- Aparecer ao rolar (js/animacoes.js) ---------- */
/* Corta o que entra "de lado" para a página não ganhar rolagem horizontal no celular */
main { overflow-x: clip; }
@supports not (overflow: clip) { main { overflow-x: hidden; } }

[data-animar] {
  opacity: 0;
  transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1), scale .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--atraso, 0ms);
}
[data-animar="subir"] { translate: 0 34px; }
[data-animar="esquerda"] { translate: -44px 0; }
[data-animar="direita"] { translate: 44px 0; }
[data-animar="zoom"] { scale: .9; }
[data-animar].visivel { opacity: 1; translate: 0 0; scale: 1; }

/* ---------- Topo ao rolar + barra de progresso ---------- */
.topo { transition: background-color .3s ease, box-shadow .3s ease; }
.topo--rolado { background: rgba(6, 18, 38, .97); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.topo__marca img { transition: height .3s ease; }
.topo--rolado .topo__marca img { height: 50px; }
.progresso-rolagem {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--verde), var(--azul-claro));
  transform: scaleX(0); transform-origin: 0 50%;
}
.topo__menu a { transition: color .2s ease, border-color .2s ease; }
.topo__menu a.ativo { color: #fff; border-bottom-color: var(--verde); }

/* ---------- Botões: brilho que passa ---------- */
@keyframes brilhar { 0% { translate: -130% 0; } 30%, 100% { translate: 130% 0; } }
.botao--verde { position: relative; overflow: hidden; isolation: isolate; }
.botao--verde::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  translate: -130% 0;
}
.botao--verde:hover::after { animation: brilhar 1.1s ease; }
.abertura .botao--verde::after { animation: brilhar 4.5s 2s ease-in-out infinite; }

/* ---------- Cards: ícone que mexe + brilho que segue o mouse ---------- */
.card { position: relative; overflow: hidden; isolation: isolate; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(74,155,232,.13), transparent 65%);
}
.card:hover::before { opacity: 1; }
.card__icone { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.card:hover .card__icone { transform: translateY(-4px) rotate(-8deg) scale(1.06); }

.servicos__grupo { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.servicos__grupo:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: #bcd2ee; }

/* ---------- Fotos: etiqueta "Ampliar" ao passar o mouse ---------- */
.mosaico__item::after {
  content: "Ampliar"; position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; text-align: left;
  color: #fff; font-family: var(--fonte-titulo); font-weight: 700; font-size: 14px;
  background: linear-gradient(to top, rgba(6,18,38,.75), transparent);
  opacity: 0; translate: 0 8px; transition: opacity .3s ease, translate .3s ease;
}
.mosaico__item:hover::after, .mosaico__item:focus-visible::after { opacity: 1; translate: 0 0; }

/* ---------- Foto ampliada: abre com zoom ---------- */
@keyframes abrirDialogo { from { opacity: 0; scale: .94; translate: 0 12px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes clarear { from { opacity: 0; } to { opacity: 1; } }
.ampliado[open] { animation: abrirDialogo .35s cubic-bezier(.2,.8,.2,1); }
.ampliado[open]::backdrop { animation: clarear .35s ease; }

/* ---------- Formulário ---------- */
@keyframes preenchido { 0% { background: #eaf5dc; border-color: var(--verde); } 100% { background: #fbfcfe; border-color: var(--borda); } }
.campo .preenchido { animation: preenchido 1.4s ease; }
.opcao span { transition: all .2s ease, transform .2s cubic-bezier(.3,1.6,.5,1); }
.opcao input:checked + span { transform: scale(1.03); }

@keyframes estourar { 0% { scale: 0; } 70% { scale: 1.12; } 100% { scale: 1; } }
@keyframes desenhar { to { stroke-dashoffset: 0; } }
@keyframes surgirSucesso { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.sucesso:not([hidden]) .sucesso__icone { animation: estourar .55s cubic-bezier(.2,.9,.3,1.2) both; }
.sucesso:not([hidden]) .sucesso__icone path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: desenhar .45s .35s ease forwards; }
.sucesso:not([hidden]) > :not(.sucesso__icone) { animation: surgirSucesso .5s both; }
.sucesso:not([hidden]) > h3 { animation-delay: .3s; }
.sucesso:not([hidden]) > p { animation-delay: .4s; }
.sucesso:not([hidden]) > button { animation-delay: .5s; }

/* ---------- WhatsApp: entra e pulsa ---------- */
@keyframes entrarWhats { from { opacity: 0; translate: 0 30px; scale: .8; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
.whats { animation: entrarWhats .6s 1.2s cubic-bezier(.2,.9,.3,1.2) both; transition: transform .2s ease; }
.whats:hover { transform: scale(1.06); }
.whats::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: pulsar 2.4s 2s ease-out infinite;
}

/* ---------- Quem prefere menos movimento: sem animações ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  [data-animar] { opacity: 1; translate: none; scale: none; }
  .destaque { background-size: 100% .12em; }
  .abertura::before, .abertura::after { animation: none; }
}
