/* =========================================================
   Bárbara M. Argenton · Nutricionista Materno-Infantil
   Cores e fontes ficam aqui em cima para facilitar ajustes.
   ========================================================= */
:root {
  --amarelo: #F1DF90;
  --amarelo-claro: #FBF1C4;
  --creme: #FFF9EC;
  --rosa: #DB99B2;
  --rosa-claro: #FBE3EC;
  --rosa-forte: #B9557F;
  --lilas: #AB8CBF;
  --lilas-claro: #EDE3F4;
  --lilas-forte: #7E5C97;
  --roxo-titulo: #45334F;
  --verde: #A1C069;
  --verde-forte: #5F7D2E;
  --laranja: #DE9E68;
  --laranja-forte: #A9632B;
  --azul: #C6E9F4;
  --azul-claro: #E8F6FA;
  --whats: #128C4B;
  --whats-hover: #0E7A40;
  --texto: #45334F;
  --texto-suave: #6B5876;
  --branco: #fff;

  --titulo: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --corpo: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --raio: 28px;
  --sombra: 0 14px 40px -18px rgba(90, 55, 100, .35);
  --sombra-forte: 0 22px 50px -20px rgba(90, 55, 100, .5);
  --topo-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.1; margin: 0; text-wrap: balance; }
h1, h2 { color: var(--roxo-titulo); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.pular { position: absolute; left: -999px; top: 8px; background: var(--texto); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 200; }
.pular:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lilas-forte); outline-offset: 3px; border-radius: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--titulo); font-weight: 700; font-size: 1.05rem; line-height: 1.1;
  padding: .8em 1.35em; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 10px 24px -10px rgba(18, 140, 75, .8); }
.btn--whats:hover { background: var(--whats-hover); box-shadow: 0 16px 30px -12px rgba(18, 140, 75, .9); }
.btn--linha { background: var(--branco); color: var(--lilas-forte); box-shadow: inset 0 0 0 2.5px var(--lilas); }
.btn--linha:hover { background: var(--lilas-claro); }
.btn--grande { font-size: 1.15rem; padding: .95em 1.6em; }
.btn--cheio { width: 100%; }

.link-seta {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 800; text-decoration: none;
  color: var(--rosa-forte); margin-top: auto; padding-top: .4em;
}
.link-seta .ico { transition: transform .2s; }
.link-seta:hover .ico { transform: translateX(5px); }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 100; background: var(--amarelo);
  transition: box-shadow .25s;
}
.rolou .topo { box-shadow: 0 8px 26px -14px rgba(90, 55, 100, .45); }
.topo__linha { display: flex; align-items: center; gap: 18px; height: var(--topo-h); }
.topo__logo img { height: 66px; width: auto; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a {
  font-family: var(--titulo); font-weight: 600; font-size: 1.05rem; text-decoration: none;
  padding: .45em .8em; border-radius: 999px; transition: background .2s, color .2s;
}
.menu a:hover { background: rgba(255, 255, 255, .7); color: var(--rosa-forte); }
.topo__cta { font-size: 1rem; }
.hamb { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--lilas); padding: 44px 0 130px; overflow: hidden; }
.hero__grade { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.selo {
  display: inline-flex; align-items: center; gap: .5em; background: rgba(255, 255, 255, .75);
  padding: .4em 1em .4em .5em; border-radius: 999px; font-weight: 800; font-size: .95rem; color: var(--lilas-forte);
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 700; margin: .55em 0 .4em; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--rosa-forte); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em;
  background: #fff; border-radius: 99px; z-index: -1; opacity: .85;
}
.hero__sub { font-size: 1.2rem; max-width: 34em; color: var(--texto); margin-bottom: .7em; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 28px; }
.hero__pontos { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; font-size: .98rem; }
.hero__pontos li { display: flex; align-items: center; gap: .45em; }
.hero__pontos { color: var(--texto); }
.hero__pontos .ico { color: var(--rosa-forte); }

.hero__visual { position: relative; }
.hero__foto {
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--rosa);
  border-radius: 58% 42% 47% 53% / 52% 48% 52% 48%;
  box-shadow: 14px 14px 0 var(--rosa), var(--sombra-forte);
  animation: gelatina 12s ease-in-out infinite;
}
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
@keyframes gelatina {
  0%, 100% { border-radius: 58% 42% 47% 53% / 52% 48% 52% 48%; }
  50% { border-radius: 45% 55% 56% 44% / 46% 56% 44% 54%; }
}
.adesivo {
  position: absolute; background: #fff; padding: .6em 1.1em; border-radius: 20px; font-weight: 700;
  font-size: .98rem; line-height: 1.25; box-shadow: var(--sombra); max-width: 13em;
  animation: flutua 6s ease-in-out infinite;
}
.adesivo b { color: var(--rosa-forte); font-family: var(--titulo); font-size: 1.1em; }
.adesivo--1 { left: -22px; top: 9%; }
.adesivo--2 { right: -8px; bottom: 12%; background: var(--amarelo); color: var(--texto); }
.adesivo--2 b { color: var(--rosa-forte); }
.hero__mascote { position: absolute; filter: drop-shadow(0 8px 12px rgba(90, 55, 100, .25)); z-index: 3; }
.hero__flor { position: absolute; z-index: 1; }
@keyframes flutua { 50% { translate: 0 -10px; } }
@keyframes balanca { 0%, 100% { rotate: -8deg; } 50% { rotate: 8deg; } }
@keyframes gira { to { rotate: 360deg; } }

.onda { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--creme); z-index: 1; display: block; }
.onda--topo { bottom: auto; top: -1px; }

/* ---------- Faixa animada ---------- */
.faixa { background: var(--amarelo); color: var(--texto); overflow: hidden; padding: 12px 0; transform: rotate(-1.2deg) scale(1.03); margin: -18px 0 0; position: relative; z-index: 3; box-shadow: var(--sombra); }
.faixa__trilho { display: flex; gap: 26px; width: max-content; align-items: center; animation: corre 32s linear infinite; font-family: var(--titulo); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.secao { position: relative; padding: 96px 0; }
.cabeca { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.cabeca p:last-child { margin: 0; font-size: 1.12rem; color: var(--texto-suave); }
.sobretitulo {
  display: inline-block; font-family: var(--titulo); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .88rem; color: var(--rosa-forte); background: var(--rosa-claro);
  padding: .3em 1em; border-radius: 999px; margin-bottom: 14px;
}
.sobretitulo--claro { background: rgba(255, 255, 255, .9); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; margin-bottom: .4em; }

/* ---------- Para quem ---------- */
.publicos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 110px 32px; margin: 90px auto 0; max-width: 940px; }
.publico {
  position: relative; background: #fff; border-radius: var(--raio); padding: 96px 28px 28px; text-align: center;
  box-shadow: var(--sombra); display: flex; flex-direction: column; align-items: center;
  border-bottom: 8px solid var(--cor); transition: transform .3s, box-shadow .3s;
}
.publico:hover { transform: translateY(-8px); box-shadow: var(--sombra-forte); }
.publico--rosa { --cor: var(--rosa); }
.publico--amarelo { --cor: var(--laranja); }
.publico--lilas { --cor: var(--amarelo); }
.publico--verde { --cor: var(--verde); }
.publico--verde .publico__foto { background: #fff; }
.publico__foto {
  position: absolute; top: -74px; width: 152px; height: 152px; border-radius: 50%; overflow: hidden;
  border: 7px solid #fff; box-shadow: 0 0 0 6px var(--cor), var(--sombra); transition: transform .4s;
}
.publico:hover .publico__foto { transform: rotate(-6deg) scale(1.06); }
.publico__foto img { width: 100%; height: 100%; object-fit: cover; }
.publico h3 { font-size: 1.5rem; margin-bottom: .45em; }
.publico p { color: var(--texto-suave); font-size: 1rem; }

/* ---------- Sobre ---------- */
.sobre { background: var(--rosa-claro); padding: 150px 0 160px; }
.sobre__grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.sobre__visual { position: relative; max-width: 400px; justify-self: center; width: 100%; }
.sobre__foto {
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: 200px 200px var(--raio) var(--raio);
  box-shadow: -14px 14px 0 var(--amarelo), var(--sombra-forte); background: #333;
}
.sobre__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.sobre__flor { position: absolute; filter: drop-shadow(0 8px 12px rgba(90, 55, 100, .25)); animation: balanca 6s ease-in-out infinite; }
.adesivo--sobre { left: -26px; bottom: 34px; transform: rotate(-4deg); background: var(--lilas); color: #fff; }
.adesivo--sobre b { color: var(--amarelo); }
.sobre__texto h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sobre__texto p { font-size: 1.08rem; }
blockquote {
  margin: 1.4em 0; padding: 1.1em 1.3em 1.1em 1.5em; background: #fff; border-radius: 22px;
  border-left: 8px solid var(--rosa); font-family: var(--titulo); font-weight: 600; font-size: 1.3rem; line-height: 1.35;
  color: var(--lilas-forte); box-shadow: var(--sombra);
}
.sobre__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Atendimentos ---------- */
.servicos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.servico {
  background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra);
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.servico:hover { transform: translateY(-6px); box-shadow: var(--sombra-forte); }
.servico__foto { aspect-ratio: 16 / 9; overflow: hidden; }
.servico__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.servico:hover .servico__foto img { transform: scale(1.06); }
.servico__corpo { padding: 26px 28px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.servico h3 { font-size: 1.6rem; margin-bottom: .4em; }
.servico p { color: var(--texto-suave); font-size: 1rem; }
.servico .btn { margin-top: auto; }
.servico--destaque { grid-column: 1 / -1; flex-direction: row; background: var(--lilas-claro); }
.servico--destaque .servico__foto { aspect-ratio: auto; flex: 0 0 46%; min-height: 340px; }
.servico--destaque .servico__corpo { padding: 38px 40px; justify-content: center; }
.servico--destaque h3 { font-size: 2.1rem; }
.servico--destaque p { color: var(--texto); font-size: 1.06rem; }
.etiqueta {
  font-family: var(--titulo); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  background: var(--rosa); color: #fff; padding: .25em .9em; border-radius: 999px; margin-bottom: 10px;
}
.etiqueta--lilas { background: var(--amarelo); color: var(--texto); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; }
.chips li {
  background: var(--amarelo-claro); color: var(--texto); font-weight: 800; font-size: .9rem;
  padding: .35em .95em; border-radius: 999px;
}
.servico--destaque .chips li { background: #fff; }
.nao-sei {
  margin: 44px auto 0; text-align: center; font-size: 1.12rem; background: var(--amarelo-claro);
  padding: 20px 26px; border-radius: 22px; max-width: 760px;
}
.nao-sei a { font-weight: 800; color: var(--lilas-forte); display: inline-flex; align-items: center; gap: .35em; }

/* ---------- Como funciona ---------- */
.como { background: var(--lilas-claro); }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: p; }
.passo { background: #fff; border-radius: var(--raio); padding: 44px 28px 26px; text-align: center; position: relative; box-shadow: var(--sombra); }
.passo__n {
  position: absolute; top: -28px; left: 50%; translate: -50% 0; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--titulo); font-weight: 800; font-size: 1.6rem;
  background: var(--laranja); color: #fff; box-shadow: 0 0 0 6px var(--lilas-claro);
}
.passo:nth-child(2) .passo__n { background: var(--rosa); }
.passo:nth-child(3) .passo__n { background: var(--verde); }
.passo h3 { font-size: 1.4rem; margin-bottom: .35em; }
.passo p { margin: 0; color: var(--texto-suave); }

/* ---------- Contato ---------- */
.contato { background: var(--rosa); padding: 140px 0 110px; }
.contato::before {
  content: ''; position: absolute; inset: 0; background: url(../img/padrao-flor.png) center / 620px auto; opacity: .28; pointer-events: none;
}
.contato .onda--topo { fill: var(--amarelo-claro); }
.contato__grade { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contato__texto { color: #fff; }
.contato__texto h2 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); text-shadow: 0 3px 0 rgba(150, 70, 105, .35); }
.contato__lead { font-size: 1.22rem; font-weight: 600; max-width: 26em; color: #4a2238; }
.btn--enorme { font-size: 1.5rem; padding: .7em 1.4em .7em 1em; margin: 14px 0 22px; text-align: left; gap: .6em; }
.btn--enorme .ico { width: 2.1em; height: 2.1em; }
.btn--enorme span { display: flex; flex-direction: column; line-height: 1.15; }
.btn--enorme small { font-family: var(--corpo); font-weight: 700; font-size: .58em; opacity: .95; }
.redes { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.redes a {
  display: inline-flex; align-items: center; gap: .5em; background: #fff; color: var(--rosa-forte);
  font-weight: 800; text-decoration: none; padding: .65em 1.15em; border-radius: 999px; min-height: 48px;
  transition: transform .2s; box-shadow: var(--sombra);
}
.redes a:hover { transform: translateY(-3px) rotate(-2deg); }
.contato__info { display: grid; gap: 8px; font-weight: 800; color: #4a2238; }
.contato__info li { display: flex; align-items: center; gap: .5em; }

.cartao-form { background: #fff; border-radius: var(--raio); padding: 34px; box-shadow: var(--sombra-forte); }
.cartao-form h3 { font-size: 1.55rem; margin-bottom: .3em; }
.cartao-form__dica { color: var(--texto-suave); font-size: .98rem; margin-bottom: 18px; }
.cartao-form label, .cartao-form legend { font-weight: 800; font-size: .98rem; display: block; margin-bottom: 6px; padding: 0; }
.cartao-form small { font-weight: 600; color: var(--texto-suave); }
.cartao-form input[type=text], .cartao-form textarea {
  width: 100%; font: inherit; color: inherit; padding: .8em 1em; border-radius: 16px; border: 2px solid #E6D9EE;
  background: #FCFAFD; margin-bottom: 18px; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.cartao-form input[type=text]:focus, .cartao-form textarea:focus { outline: 0; border-color: var(--lilas); box-shadow: 0 0 0 4px var(--lilas-claro); }
.cartao-form input.erro { border-color: #D2496E; box-shadow: 0 0 0 4px #FBDDE6; }
.cartao-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes label { margin: 0; cursor: pointer; }
.opcoes input { position: absolute; opacity: 0; pointer-events: none; }
.opcoes span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4em 1.05em; border-radius: 999px;
  border: 2px solid #E6D9EE; font-weight: 700; font-size: .95rem; transition: all .15s; background: #fff;
}
.opcoes label:hover span { border-color: var(--lilas); }
.opcoes input:checked + span { background: var(--lilas-forte); border-color: var(--lilas-forte); color: #fff; }
.opcoes input:focus-visible + span { outline: 3px solid var(--lilas-forte); outline-offset: 2px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--amarelo); padding: 34px 0 22px; position: relative; }
.rodape::before { content: ""; position: absolute; inset: 0; display: none; }
.rodape > * { position: relative; }
.rodape__linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rodape img { height: 92px; width: auto; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--titulo); font-weight: 600; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover { color: var(--rosa-forte); }
.rodape__redes { display: flex; gap: 10px; }
.rodape__redes a {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff;
  color: var(--lilas-forte); transition: transform .2s, background .2s, color .2s;
}
.rodape__redes a:hover { transform: translateY(-4px); background: var(--lilas-forte); color: #fff; }
.rodape__fim { text-align: center; font-size: .9rem; margin: 22px 20px 0; color: var(--texto); font-weight: 600; }

/* ---------- Botão flutuante e barra do celular ---------- */
.flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: .5em;
  background: var(--whats); color: #fff; text-decoration: none; font-family: var(--titulo); font-weight: 700; font-size: 1.05rem;
  padding: .75em 1.2em .75em .9em; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(18, 140, 75, .9);
  opacity: 0; translate: 0 30px; pointer-events: none; transition: opacity .3s, translate .3s, background .2s;
}
.flutuante .ico { width: 1.7em; height: 1.7em; }
.flutuante::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--whats); animation: pulso 2.4s ease-out infinite; }
@keyframes pulso { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.35, 1.7); } }
.rolou-muito .flutuante { opacity: 1; translate: 0 0; pointer-events: auto; }
.rolou-muito.no-contato .flutuante { opacity: 0; translate: 0 30px; pointer-events: none; }
.flutuante:hover { background: var(--whats-hover); }
.barra-mobile { display: none; }

/* ---------- Animação de entrada ---------- */
.revela { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.revela.visivel { opacity: 1; transform: none; }
.publicos .revela:nth-child(2), .passos .revela:nth-child(2) { transition-delay: .12s; }
.publicos .revela:nth-child(3), .passos .revela:nth-child(3) { transition-delay: .24s; }
.publicos .revela:nth-child(4) { transition-delay: .36s; }

/* =========================================================
   VIDA: flor oficial, entradas, parallax, jardim, brilho
   ========================================================= */
.flor { height: auto; aspect-ratio: 460 / 588; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* caule que cresce com a rolagem, com a flor na ponta */
.broto { position: absolute; left: 0; right: 0; top: 100%; height: 0; --prog: 0; }
.broto__linha { position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: linear-gradient(90deg, #A9C873, var(--verde)); border-radius: 0 5px 5px 0; transform: scaleX(var(--prog)); transform-origin: left; }
.broto__flor { position: absolute; top: -17px; left: calc(var(--prog) * (100% - 26px)); width: 34px; translate: -40% 0; opacity: 0; transition: opacity .3s; filter: drop-shadow(0 3px 5px rgba(90, 55, 100, .3)); animation: balanca 3s ease-in-out infinite; transform-origin: 60% 100%; }
.rolou .broto__flor { opacity: 1; }
.menu { z-index: 2; }

/* entrada do início */
@keyframes sobe { from { opacity: 0; transform: translateY(30px); } }
@keyframes pop { 0% { opacity: 0; scale: .5; } 70% { scale: 1.06; } 100% { opacity: 1; scale: 1; } }
@keyframes brota { 0% { opacity: 0; scale: 0; } 70% { scale: 1.15; } 100% { opacity: 1; scale: 1; } }
@keyframes risca { from { transform: scaleX(0); } }
.hero__texto > * { animation: sobe .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero__texto > :nth-child(2) { animation-delay: .1s; }
.hero__texto > :nth-child(3) { animation-delay: .22s; }
.hero__texto > :nth-child(4) { animation-delay: .32s; }
.hero__texto > :nth-child(5) { animation-delay: .42s; }
.hero__texto > :nth-child(6) { animation-delay: .52s; }
.hero h1 em::after { transform-origin: left; animation: risca .7s .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero__foto { animation: pop .9s .15s cubic-bezier(.2, .8, .2, 1) both, gelatina 12s ease-in-out infinite; }
.hero .adesivo { animation: pop .6s 1s both, flutua 6s ease-in-out infinite; }
.hero .adesivo--2 { animation-delay: 1.25s, -3s; }
.hero__mascote { animation: brota .8s 1.4s both, balanca 5s ease-in-out infinite; }

/* parallax com o mouse (as variáveis --mx/--my vêm do JS) */
.hero { --mx: 0; --my: 0; }
.hero__foto { transform: translate(calc(var(--mx) * -8px), calc(var(--my) * -8px)); }
.hero .adesivo--1 { transform: translate(calc(var(--mx) * 16px), calc(var(--my) * 16px)) rotate(-5deg); }
.hero .adesivo--2 { transform: translate(calc(var(--mx) * 22px), calc(var(--my) * 22px)) rotate(4deg); }
.hero__mascote { transform: translate(calc(var(--mx) * 28px), calc(var(--my) * 18px)); pointer-events: auto; cursor: pointer; }
.hero__flor { transform: translate(calc(var(--mx) * var(--f, 20) * -1px), calc(var(--my) * var(--f, 20) * -1px)); }
.hero__flor--1 { --f: 26; } .hero__flor--2 { --f: 12; } .hero__flor--3 { --f: 34; }

/* florzinhas subindo no fundo do início */
.voa { position: absolute; bottom: -80px; z-index: 1; opacity: 0; animation: voa var(--t, 14s) linear var(--d, 0s) infinite; }
@keyframes voa {
  0% { opacity: 0; transform: translate(0, 0) rotate(-12deg); }
  10% { opacity: .55; }
  50% { transform: translate(var(--x, 30px), -45vh) rotate(12deg); }
  90% { opacity: .45; }
  100% { opacity: 0; transform: translate(0, -95vh) rotate(-12deg); }
}

/* palavra que troca */
.troca { color: var(--texto); font-family: var(--titulo); font-weight: 700; font-size: 1.25rem; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .1em .5em; }
.troca__palavra { display: inline-block; background: #fff; color: var(--rosa-forte); padding: .1em .8em; border-radius: 999px; box-shadow: var(--sombra); min-width: 7.6em; text-align: center; transition: opacity .3s, transform .3s; }
.troca__palavra.sai { opacity: 0; transform: translateY(-12px) rotate(-3deg); }
.troca__palavra.vem { opacity: 0; transform: translateY(12px) rotate(3deg); transition: none; }

/* brilho passando nos botões principais */
.btn--grande.btn--whats, .btn--enorme { position: relative; overflow: hidden; }
.btn--grande.btn--whats::after, .btn--enorme::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: brilho 4.5s ease-in-out infinite;
}
@keyframes brilho { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* anel girando em volta das fotos de "para quem" */
.publico__foto { overflow: visible; }
.publico__foto img { border-radius: 50%; }
.publico__foto::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 3px dashed var(--cor); animation: gira 26s linear infinite; opacity: .8; }
.publico:hover .publico__foto::before { animation-duration: 6s; }

/* linha pontilhada andando entre os passos */
.passos { position: relative; }
.passos::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--rosa) 0 14px, transparent 14px 28px); animation: anda 1.2s linear infinite; opacity: .7; }
@keyframes anda { to { background-position: 28px 0; } }
.passo:hover .passo__n { animation: pula .5s; }
@keyframes pula { 40% { transform: translateY(-14px) scale(1.1); } 70% { transform: translateY(0) scale(.95); } }

/* cartões que inclinam com o mouse */
.inclina { transition: transform .12s linear, box-shadow .3s !important; will-change: transform; }

/* flores decorativas da marca */
.hero__flor { opacity: .9; animation: balanca 7s ease-in-out infinite; transform-origin: 60% 100%; filter: drop-shadow(0 6px 10px rgba(90, 55, 100, .15)); }
.hero__flor--1 { width: 96px; left: 1%; bottom: 120px; animation-delay: -2s; }
.hero__flor--2 { width: 54px; left: 47%; top: 14px; animation-duration: 5s; }
.hero__flor--3 { width: 120px; right: 1%; bottom: 70px; animation-duration: 9s; }
.hero__mascote { width: 112px; height: auto; left: -3%; bottom: -6%; transform-origin: 60% 100%; }
.sobre__flor { width: 96px; height: auto; right: -34px; top: 10px; transform-origin: 60% 100%; }
.selo__flor { width: 1.5em; margin: -.2em 0; }
.faixa__trilho i { display: inline-flex; }
.faixa__flor { width: 26px; }

/* jardim no fim do contato */
.contato { padding-bottom: 210px; }
.jardim { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; overflow: hidden; pointer-events: none; }
.jardim span { position: absolute; bottom: -10px; transform-origin: 60% 100%; scale: 0; transition: scale .8s cubic-bezier(.3, 1.7, .5, 1) var(--d, 0s); pointer-events: auto; cursor: pointer; }
.jardim.brotou span { scale: 1; }
.jardim img { width: 100%; animation: balanca var(--t, 5s) ease-in-out var(--d2, 0s) infinite; transform-origin: 60% 100%; filter: drop-shadow(0 4px 6px rgba(120, 50, 85, .25)); }
.jardim span:hover { animation: pula .5s; }

/* florzinhas que saltam no clique */
.estouro { position: fixed; z-index: 300; pointer-events: none; left: 0; top: 0; }


/* ---------- Sobre: foto colorida + mini retrato + CRN ---------- */
.sobre__foto img { object-position: 50% 50%; }
.foto-consultorio { object-position: 50% 72%; }
.servico--destaque .servico__foto { position: relative; }
.servico--destaque .servico__foto img { position: absolute; inset: 0; }
.sobre__mini { position: absolute; right: -30px; bottom: -22px; width: 124px; height: 124px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--sombra); rotate: 6deg; transition: rotate .3s, scale .3s; }
.sobre__mini:hover { rotate: 0deg; scale: 1.08; }
.sobre__mini img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; scale: 1.7; transform-origin: 58% 50%; }
.crn { display: inline-block; font-family: var(--titulo); font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: var(--lilas-forte); background: #fff; padding: .2em .9em; border-radius: 999px; margin: 0 0 1em; }

/* ---------- Dicas (reels) ---------- */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 980px; margin-inline: auto; }
.reel { background: #fff; border-radius: var(--raio); padding: 12px 12px 20px; box-shadow: var(--sombra); text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s, rotate .3s; }
.reel:nth-child(odd) { rotate: -1.5deg; } .reel:nth-child(even) { rotate: 1.5deg; }
.reel:hover { transform: translateY(-8px); rotate: 0deg; box-shadow: var(--sombra-forte); }
.reel__capa { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.reel__capa img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s; }
.reel:hover .reel__capa img { transform: scale(1.06); }
.reel__play { position: absolute; right: 14px; bottom: 14px; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--sombra); animation: pulsa 2s ease-in-out infinite; }
.reel__play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 17px solid var(--rosa-forte); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
@keyframes pulsa { 50% { transform: scale(1.12); } }
.reel h3 { font-size: 1.2rem; padding: 0 8px; }
.reel .link-seta { padding: 0 8px; font-size: .95rem; }
.dicas__seguir { text-align: center; margin: 40px 0 0; }

/* ---------- Onde atendo ---------- */
.onde { background: var(--amarelo-claro); padding-bottom: 150px; }
.locais { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.local { background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.local__clinica { padding: 18px 26px; background: var(--lilas-claro); border-bottom: 4px solid var(--amarelo); }
.local__clinica p { margin: 0; font-family: var(--titulo); font-weight: 600; font-size: 1.3rem; line-height: 1.15; color: var(--texto); }
.local__clinica small { display: block; font-family: var(--corpo); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa-forte); margin-bottom: 3px; }
.local__mapa { width: 100%; height: 240px; border: 0; display: block; background: var(--lilas-claro); }
.local__corpo { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.local h3 { font-size: 1.5rem; display: flex; align-items: center; gap: .3em; }
.local h3 .ico { color: var(--rosa-forte); }
.local address { font-style: normal; color: var(--texto-suave); }
.online { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 32px auto 0; background: #fff; padding: 18px 26px; border-radius: 22px; max-width: 820px; box-shadow: var(--sombra); }
.online > .ico { color: var(--lilas-forte); width: 1.6em; height: 1.6em; }
.online a { font-weight: 800; color: var(--rosa-forte); display: inline-flex; align-items: center; gap: .35em; }
.contato__enderecos { margin: 14px 0 0; font-weight: 800; }
.contato__enderecos a { color: #4a2238; }


/* selos redondos oficiais, como adesivos */
.carimbo { position: absolute; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--sombra); animation: flutua 6s ease-in-out infinite; transition: scale .3s cubic-bezier(.3, 1.7, .5, 1), rotate .3s; pointer-events: auto; height: auto; }
.carimbo:hover { scale: 1.12; rotate: 0deg; }
.cartao-form { position: relative; }
.carimbo--form { width: 108px; right: -34px; top: -46px; rotate: 12deg; animation-delay: -1s; }

/* azul da paleta nas dicas */
.dicas { background: var(--azul-claro); }
.dicas .sobretitulo { background: var(--azul); color: var(--lilas-forte); }
.reel:nth-child(1) { border-bottom: 8px solid var(--laranja); }
.reel:nth-child(2) { border-bottom: 8px solid var(--rosa); }
.reel:nth-child(3) { border-bottom: 8px solid var(--verde); }
.rodape nav a, .rodape nav { color: var(--texto); }
.rodape img { height: 96px; border-radius: 0; }


/* ---------- Início em roxo: textos no azul da marca, destaque em amarelo ---------- */
.hero h1 { color: var(--azul); }
.hero h1 em { color: var(--amarelo); }
.hero h1 em::after { background: var(--lilas-forte); opacity: .45; }
.hero__sub, .hero .troca, .hero__pontos { color: var(--azul); }
.hero__pontos .ico { color: var(--amarelo); }


/* ---------- Início: fotos de introdução alimentar como fundo ---------- */
.hero__fundo {
  position: absolute; top: 0; bottom: 0; right: 0; left: 44%; z-index: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%);
  mask-image: linear-gradient(to right, transparent 0, #000 34%);
}
.hero__fundo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  animation: fundo-troca 28s linear infinite; animation-delay: calc(var(--i) * 7s - 1s);
}
/* cada foto aparece, dá um zoom lento e some para a próxima */
@keyframes fundo-troca {
  0% { opacity: 0; transform: scale(1); }
  4% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.14); }
}
/* véu lilás para a foto conversar com a marca e a onda de baixo não brigar */
.hero__fundo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(171, 140, 191, .55), rgba(171, 140, 191, .12) 45%, rgba(171, 140, 191, .12)), linear-gradient(to top, rgba(171, 140, 191, .55), transparent 30%);
}
.hero__visual { min-height: 430px; }
.hero .adesivo--1 { left: 6%; top: 12%; }
.hero .adesivo--2 { right: 2%; bottom: 20%; }
.hero__mascote { left: 4%; bottom: 2%; }
.hero h1, .hero__sub, .hero .troca, .hero__pontos { text-shadow: 0 2px 10px rgba(110, 80, 135, .55); }
.hero .adesivo { background: var(--lilas-forte); color: var(--azul); }
.hero .adesivo b { color: var(--amarelo); }
.hero .troca__palavra { text-shadow: none; color: var(--amarelo); background: rgba(126, 92, 151, .55); box-shadow: none; }


/* ---------- Início: textos de apoio no mesmo estilo do selo (pílula clara, texto roxo) ---------- */
.hero__sub, .hero .troca, .hero__pontos li, .hero .adesivo {
  background: rgba(255, 255, 255, .78); color: var(--lilas-forte); text-shadow: none; font-weight: 700;
}
.hero__sub { padding: .75em 1.1em; border-radius: 22px; font-size: 1.08rem; line-height: 1.5; max-width: 32em; }
.hero .troca { display: inline-flex; padding: .3em .35em .3em 1em; border-radius: 999px; font-size: 1.1rem; }
.hero__pontos { gap: 8px 10px; text-shadow: none; }
.hero__pontos li { padding: .35em .95em .35em .7em; border-radius: 999px; font-size: .92rem; }
.hero__pontos .ico { color: var(--lilas-forte); }
.hero .adesivo { background: rgba(255, 255, 255, .9); box-shadow: var(--sombra); }
.hero .adesivo b { color: var(--lilas-forte); background: linear-gradient(to top, var(--amarelo) 42%, transparent 42%); padding: 0 .15em; border-radius: 4px; }

/* subtítulo e "Cuidado com afeto para": sem fundo, em roxo escuro */
.hero__sub, .hero .troca { background: none; color: #fff; padding: 0; border-radius: 0; text-shadow: 0 1px 8px rgba(80, 50, 105, .6); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--amarelo); }
.hero__sub { font-size: 1.15rem; font-weight: 700; }
.hero .troca { font-size: 1.2rem; }
.hero .troca__palavra { background: #5E4178; color: var(--amarelo); }


/* logo do topo e do rodapé: a linha "Nutricionista Materno-Infantil" na mesma cor do nome */
.logo-lilas { position: relative; display: inline-block; line-height: 0; }
.logo-lilas::after { content: ""; position: absolute; inset: 0; background: #AC8CC0; -webkit-mask: url(../img/logo-topo.png) center / 100% 100% no-repeat; mask: url(../img/logo-topo.png) center / 100% 100% no-repeat; clip-path: inset(74% 0 0 30%); pointer-events: none; }


/* ---------- Projeto Crescer com Saúde (faixa abaixo dos cartões) ---------- */
.projeto { display: flex; align-items: stretch; max-width: 940px; margin: 56px auto 0; background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); border-bottom: 8px solid var(--rosa); transition: transform .3s, box-shadow .3s; }
.projeto:hover { transform: translateY(-6px); box-shadow: var(--sombra-forte); }
.projeto__logo { flex: 0 0 300px; background: #FDFDFD; position: relative; min-height: 250px; border-right: 2px dashed var(--amarelo); }
.projeto__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projeto__corpo { padding: 34px 36px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; flex: 1; }
.projeto h3 { font-size: 1.8rem; margin-bottom: .3em; }
.projeto p { color: var(--texto-suave); font-size: 1.1rem; }
.projeto__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 8px; }
.projeto__acoes .link-seta { margin-top: 0; padding-top: 0; }
.etiqueta--projeto { background: var(--verde); }

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1020px) {
  .menu a { padding: .45em .55em; font-size: 1rem; }
  .topo__cta span { display: none; }
  .topo__cta { padding: .7em; width: 48px; }
  .hero__grade { gap: 30px; }
  .sobre__grade { gap: 40px; }
}

/* =========================================================
   CELULAR
   ========================================================= */
@media (max-width: 820px) {
  :root { --topo-h: 68px; --raio: 24px; }
  body { font-size: 16.5px; }
  .rodape { padding-bottom: 96px; }
  .secao { padding: 68px 0; }

  /* topo + menu */
  .topo__logo img { height: 54px; }
  .topo__cta { margin-left: auto; }
  .hamb {
    display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; border: 0; border-radius: 14px;
    background: rgba(255, 255, 255, .7); cursor: pointer; padding: 0;
  }
  .hamb span { display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--texto); transition: transform .25s, opacity .25s; }
  .menu-aberto .hamb span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-aberto .hamb span:nth-child(2) { opacity: 0; }
  .menu-aberto .hamb span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--amarelo); padding: 6px 20px 20px; box-shadow: 0 24px 30px -18px rgba(90, 55, 100, .5);
    border-radius: 0 0 26px 26px; visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .menu-aberto .menu { visibility: visible; opacity: 1; transform: none; }
  .menu a { font-size: 1.2rem; padding: .7em .6em; border-radius: 14px; border-bottom: 1px solid rgba(69, 51, 79, .1); }

  /* hero */
  .hero { padding: 26px 0 96px; }
  .hero__grade { grid-template-columns: 1fr; gap: 34px; }
  .hero__texto { text-align: center; }
  .hero h1 { font-size: clamp(1.95rem, 8.2vw, 2.7rem); }
  .hero h1 em { white-space: normal; }
  .hero__sub { font-size: 1.08rem; margin-inline: auto; }
  .hero__acoes { justify-content: center; margin: 22px 0; }
  .hero__acoes .btn { width: 100%; }
  .hero__pontos { justify-content: center; gap: 8px 18px; font-size: .93rem; }
  .hero__visual { width: 100%; min-height: 300px; }
  .hero__fundo { left: 0; top: auto; height: 470px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 42%); mask-image: linear-gradient(to bottom, transparent 0, #000 42%); }
  .hero__fundo::after { background: linear-gradient(to top, rgba(171, 140, 191, .5), rgba(171, 140, 191, .12) 40%); }
  .hero .adesivo--1 { left: 0; top: 18%; }
  .hero .adesivo--2 { right: 0; bottom: 16%; }
  .hero__mascote { left: 2%; bottom: 0; }
  .hero__foto { box-shadow: 10px 10px 0 var(--rosa), var(--sombra-forte); }
  .adesivo { font-size: .86rem; padding: .5em .9em; }
  .adesivo--1 { left: -18px; top: 2%; }
  .adesivo--2 { right: -18px; bottom: 6%; }
  .hero__mascote { width: 84px; left: -6%; }
  .hero__flor--1, .hero__flor--2 { display: none; }
  .hero__flor--3 { width: 74px; right: -14px; bottom: 44px; }
  .troca { justify-content: center; font-size: 1.12rem; }
  .passos::before { display: none; }
  .contato { padding-bottom: 170px; }
  .jardim { height: 130px; }
  .faixa__flor { width: 22px; }
  .onda { height: 44px; }
  .faixa__trilho { font-size: 1.05rem; }

  /* para quem */
  .cabeca { margin-bottom: 36px; }
  .publicos { grid-template-columns: 1fr; gap: 96px; margin-top: 100px; }

  /* sobre */
  .sobre { padding: 100px 0 110px; }
  .sobre__grade { grid-template-columns: 1fr; gap: 44px; }
  .sobre__visual { max-width: 290px; }
  .sobre__flor { width: 78px; right: -22px; }
  .adesivo--sobre { left: -20px; bottom: 22px; }
  blockquote { font-size: 1.15rem; }
  .sobre__acoes .btn { flex: 1 1 auto; }

  /* atendimentos */
  .servicos { grid-template-columns: 1fr; gap: 22px; }
  .servico--destaque { flex-direction: column; }
  .servico--destaque .servico__foto { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .servico--destaque .servico__corpo, .servico__corpo { padding: 22px 22px 24px; }
  .servico--destaque h3 { font-size: 1.75rem; }
  .servico .btn { width: 100%; }

  /* como funciona */
  .onde { padding-bottom: 110px; }
  .projeto { flex-direction: column; margin-top: 44px; }
  .projeto__logo { flex: none; min-height: 0; aspect-ratio: 16 / 11; border-right: 0; border-bottom: 2px dashed var(--amarelo); }
  .projeto__corpo { padding: 24px 22px 26px; }
  .carimbo--form { width: 84px; right: -8px; top: -44px; }
  .reels { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .locais { grid-template-columns: 1fr; }
  .online { flex-direction: column; text-align: center; }
  .sobre__mini { width: 96px; height: 96px; right: -14px; }
  .passos { grid-template-columns: 1fr; gap: 46px; }

  /* contato */
  .contato { padding-top: 96px; }
  .contato__grade { grid-template-columns: 1fr; gap: 36px; }
  .contato__texto { text-align: center; }
  .contato__lead { margin-inline: auto; font-size: 1.1rem; }
  .btn--enorme { width: 100%; font-size: 1.3rem; justify-content: center; }
  .redes { justify-content: center; }
  .contato__info { justify-items: center; }
  .cartao-form { padding: 24px 20px; }
  .cartao-form input[type=text], .cartao-form textarea { font-size: 16px; }

  /* rodapé */
  .rodape__linha { flex-direction: column; text-align: center; }
  .rodape nav { justify-content: center; }

  /* barra fixa de contato */
  .flutuante { display: none; }
  .barra-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; gap: 10px; align-items: center;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 249, 236, .94);
    backdrop-filter: blur(10px); box-shadow: 0 -10px 28px -16px rgba(90, 55, 100, .55);
    transition: transform .3s;
  }
  .barra-mobile .btn { flex: 1; font-size: 1.08rem; }
  .barra-mobile__insta {
    flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    background: var(--rosa-claro); color: var(--rosa-forte);
  }
  .barra-mobile__insta .ico { width: 1.5em; height: 1.5em; }
  .no-contato .barra-mobile { transform: translateY(110%); }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .topo__logo img { height: 46px; }
  .opcoes span { font-size: .9rem; padding: .4em .85em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela { opacity: 1; transform: none; }
  .jardim span { scale: 1; }
  .hero__fundo img:first-child { opacity: 1; }
  .voa { display: none; }
}
