/* Dra. Miriam Gontijo — base comum da home e das landings (navy #00244c, nude #b59c8f, creme #fff8f1) */
:root {
  --navy: #00244c; --navy-2: #0a3263; --navy-3: #001a38;
  --nude: #b59c8f; --nude-2: #d8c5ba; --nude-3: #8f7465;
  --creme: #fff8f1; --creme-2: #f6ebe0; --tinta: #1d2533; --cinza: #5d6573;
  --branco: #fff; --wa: #1fa855;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --raio: 22px; --sombra: 0 30px 60px -30px rgba(0, 36, 76, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--tinta); background: var(--creme); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(36px, 5vw, 62px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
h1 em, h2 em { font-style: italic; color: var(--nude-3); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--nude-3); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--cinza); max-width: 54ch; }
section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 28px; border-radius: 999px; font: 700 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 0; cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--creme); box-shadow: 0 16px 30px -14px rgba(0, 36, 76, .6); }
.btn-navy:hover { background: var(--navy-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 16px 30px -14px rgba(31, 168, 85, .6); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--creme); }
.btn-nude { background: var(--nude); color: var(--navy-3); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(120%); }

/* header */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; padding: 22px 0; }
.topo.rolou { background: rgba(255, 248, 241, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(0, 36, 76, .08); padding: 12px 0; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 30px; width: auto; }
.menu { display: flex; gap: 30px; align-items: center; }
.menu a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--navy); position: relative; }
.menu a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--nude); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.menu a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.menu .btn { padding: 12px 20px; font-size: 13px; color: var(--creme); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-aberto .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-aberto .burger span:nth-child(2) { opacity: 0; }
.menu-aberto .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 920px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0; background: var(--creme); flex-direction: column; justify-content: center; gap: 26px; transform: translateY(-100%); transition: transform .6s var(--ease); z-index: -1; }
  .menu a { font-size: 22px; font-family: var(--serif); }
  .menu-aberto .menu { transform: none; }
}

/* motion: entrada ao rolar */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.on { opacity: 1; transform: none; }
.rv-img { clip-path: inset(100% 0 0 0 round var(--raio)); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.rv-img.on { clip-path: inset(0 0 0 0 round var(--raio)); }
.rv-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.rv-img.on img { transform: scale(1); }
.linha { display: block; overflow: hidden; }
.linha > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.on .linha > span, .linha.on > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-img, .rv-img img, .linha > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .marquee-trilho { animation: none !important; }
}

/* faixa que corre */
.marquee { overflow: hidden; background: var(--navy); color: var(--creme); padding: 22px 0; }
.marquee-trilho { display: flex; gap: 48px; width: max-content; animation: corre 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); font-style: italic; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: '✦'; font-style: normal; font-size: 14px; color: var(--nude); }
@keyframes corre { to { transform: translateX(-50%); } }

/* formulário */
.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.campo input, .campo select, .campo textarea { font: 500 16px var(--sans); padding: 15px 18px; border-radius: 14px; border: 1.5px solid rgba(0, 36, 76, .14); background: #fff; color: var(--tinta); transition: border-color .3s, box-shadow .3s; width: 100%; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--nude); box-shadow: 0 0 0 4px rgba(181, 156, 143, .22); }
.campo .erro { color: #b3261e; font-size: 13px; display: none; }
.campo.invalido .erro { display: block; }
.campo.invalido input { border-color: #b3261e; }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cinza); margin: 6px 0 18px; }
.aceite input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* whatsapp flutuante */
.wa-flutua { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.wa-flutua:hover { transform: scale(1.08); }
.wa-flutua svg { width: 30px; height: 30px; fill: #fff; }
.wa-flutua::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulsa 2.4s var(--ease) infinite; z-index: -1; }
@keyframes pulsa { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }

/* rodapé */
.rodape { background: var(--navy-3); color: rgba(255, 248, 241, .72); padding: 70px 0 40px; font-size: 14px; }
.rodape .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rodape h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--creme); margin: 0 0 14px; }
.rodape a { color: rgba(255, 248, 241, .8); text-decoration: none; }
.rodape a:hover { color: var(--nude-2); }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rodape .logo-claro { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
.rodape .base { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; margin-top: 10px; font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .rodape .wrap { grid-template-columns: 1fr; } }
