/* Clínica Lobo */
:root {
  --gold: #C6A15B;
  --champagne: #D8BD82;
  --gold-ink: #8A6A2E; /* dourado escuro, legível em fundo claro */
  --navy: #0B1F33;
  --navy-2: #15344F;
  --walnut: #8E7460;
  --wood-light: #B79A80;
  --ink: #111111;
  --ivory: #F5F1EA;
  --ivory-2: #ECE5D9;
  --white: #FFFFFF;

  --text: #16232F;
  --text-mute: #5B6670;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 3.5vw, 40px);
  --space-section: clamp(64px, 7vw, 96px);
  --space-head: clamp(32px, 3.5vw, 48px);
  /* recuo interno dos blocos de canto arredondado: alinha o conteúdo com a coluna .wrap */
  --frame-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  --r-xl: clamp(20px, 2.4vw, 32px);
  --r-lg: 22px;
  --r-md: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem; /* texto corrido: 18px */
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex: none; }

::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--walnut) var(--ivory); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.section { padding-block: var(--space-section); }
.section--tint { background: var(--ivory); }
.section--compact .split { gap: clamp(32px, 4vw, 64px); }
.section--compact .feature-list { margin-top: 28px; }
.section--compact .feature-list li { padding: 16px 0; }

/* ---------- Pílulas (botões) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 22px; min-height: 52px;
  border-radius: 999px; font-weight: 500; font-size: 1.125rem; letter-spacing: -.005em;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.pill__dot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-size: 18px; transition: transform .55s var(--ease);
}
.pill:hover .pill__dot { transform: rotate(-45deg); }
.pill:active { transform: translateY(1px); }
.pill--light { background: var(--white); color: var(--navy); }
.pill--light .pill__dot { background: var(--navy); color: var(--gold); }
.pill--light:hover { background: var(--ivory); }
.pill--navy { background: var(--navy); color: var(--white); }
.pill--navy .pill__dot { background: var(--gold); color: var(--navy); }
.pill--navy:hover { background: var(--navy-2); }
.pill--gold { background: var(--gold); color: var(--navy); }
.pill--gold .pill__dot { background: var(--navy); color: var(--gold); }
.pill--gold:hover { background: var(--champagne); }
.pill--sm { min-height: 44px; padding-left: 18px; font-size: 1.125rem; }
.pill--sm .pill__dot { width: 32px; height: 32px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(10px, 1.4vw, 18px); position: relative; z-index: 50; } /* acima das seções, para o menu fixo aparecer por cima */
.hero__frame {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  min-height: min(530px, calc(100svh - 386px));
  display: flex; flex-direction: column;
  padding: clamp(14px, 1.6vw, 22px) var(--frame-x) clamp(20px, 3vw, 40px);
  color: var(--white);
  background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,31,51,.92) 0%, rgba(11,31,51,.72) 34%, rgba(11,31,51,.15) 62%, rgba(11,31,51,0) 80%),
    linear-gradient(0deg, rgba(11,31,51,.75) 0%, rgba(11,31,51,0) 35%);
}

.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__name { font-weight: 500; font-size: 1.08rem; letter-spacing: -.01em; color: var(--champagne); }
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 1.125rem; color: rgba(255,255,255,.86); transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav__links a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 42px; border-radius: 999px;
  background: var(--white); color: var(--navy); font-size: 1.125rem; font-weight: 500;
  transition: background-color .25s var(--ease);
}
.nav__cta:hover { background: var(--champagne); }
.nav__toggle { display: none; }

.hero__content { margin: 90px 0 auto; padding-block: 0 16px; max-width: 900px; }
.hero__tag { font-size: .95rem; color: var(--champagne); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.hero__lead { margin: 18px 0 28px; font-size: 1.125rem; color: rgba(255,255,255,.78); max-width: 33em; }

.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
@media (min-width: 981px) {
  /* o cartão 3D fica no canto inferior direito, ao lado do texto, sem somar altura */
  .glass-card { position: absolute; right: var(--frame-x); bottom: clamp(20px, 3vw, 40px); }
  .hero__areas { max-width: calc(100% - 340px); }
  .hero__foot { margin-top: 70px; }
}
.hero__areas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__areas > span { font-size: .9rem; font-weight: 500; }
.hero__areas ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__areas li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: .84rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__areas li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.glass-card {
  flex: none; width: 270px; padding: 16px;
  border-radius: var(--r-lg);
  background: rgba(11,31,51,.38);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.glass-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.avatars { display: flex; }
.avatars img { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy); }
.avatars img + img { margin-left: -9px; }
.chip { font-size: .68rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.glass-card p { margin: 12px 0 5px; font-size: .81rem; color: rgba(255,255,255,.82); line-height: 1.45; }
.glass-card__big { display: flex; align-items: flex-end; justify-content: space-between; }
.glass-card__big strong { font-size: 3.24rem; line-height: 1; font-weight: 400; letter-spacing: -.04em; color: var(--champagne); }
.glass-card__big span { font-size: .72rem; color: rgba(255,255,255,.7); text-align: right; line-height: 1.3; padding-bottom: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__bg { animation: zoom 2.8s var(--ease) both; }
  .hero__content > * { animation: rise 1.4s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .15s; }
  .hero__content > :nth-child(3) { animation-delay: .3s; }
  .hero__content > :nth-child(4) { animation-delay: .45s; }
  .glass-card { animation: rise 1.5s var(--ease) .7s both; }
}
@keyframes zoom { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 22px; background: rgba(11,31,51,.96);
    border: 1px solid rgba(255,255,255,.12);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1.125rem; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.14); border: 0; cursor: pointer;
  }
  .nav__toggle i { display: block; width: 16px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }
  .hero__foot { flex-direction: column; align-items: stretch; }
  .glass-card { width: 100%; max-width: 360px; }
}
@media (max-width: 600px) {
  .hero__bg { object-position: 72% 50%; }
  .hero__frame::before { background: linear-gradient(0deg, rgba(11,31,51,.95) 0%, rgba(11,31,51,.75) 50%, rgba(11,31,51,.35) 100%); }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .logo__name { font-size: 1rem; }
  .hero__areas { display: none; } /* no celular, as etiquetas de áreas saem do topo */
  .hero__content { margin-top: 56px; }
  .hero__foot { margin-top: 28px; }
}

/* ---------- Cabeçalhos ---------- */
.head { margin-bottom: var(--space-head); }
.head h2, .split h2, .faq__list h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 600; color: var(--navy); }
.head p { color: var(--text-mute); }
.head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.head--center p { margin: 18px auto 0; max-width: 34em; }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.head--row h2 { max-width: 14ch; }
.head--row p { max-width: 24em; }
.head--stack h2 { max-width: 14ch; }
.head--stack p { margin-top: 16px; max-width: 32em; }
@media (max-width: 760px) { .head--row { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ---------- Redes ---------- */
.social { padding-block: clamp(40px, 4.5vw, 64px) 100px; } /* +100px antes de "Como funciona" */
.social__list { display: grid; gap: 16px; }
.channel {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(14px, 1.6vw, 18px);
  padding-left: clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl); background: var(--ivory);
}
.channel--flip { grid-template-columns: 1.1fr 1fr; padding-left: clamp(14px, 1.6vw, 18px); padding-right: clamp(24px, 4vw, 56px); }
.channel--flip .channel__media { order: -1; }
.channel__text { padding-block: 24px; max-width: 460px; }
.channel__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--walnut); color: var(--ivory); font-size: 24px; margin-bottom: 22px;
}
.channel h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--navy); }
.channel p { margin: 14px 0 26px; color: var(--text-mute); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.posts img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-md); }
.video { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,51,.6), rgba(11,31,51,.05) 55%); }
.video:hover img { transform: scale(1.03); }
.video__play {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 26px;
  box-shadow: 0 10px 30px -8px rgba(11,31,51,.5);
}
.video__label { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; color: var(--white); font-weight: 500; font-size: .95rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (max-width: 860px) {
  .channel, .channel--flip { grid-template-columns: 1fr; padding: 24px 16px 16px; gap: 8px; }
  .channel--flip .channel__media { order: -1; margin-bottom: 20px; } /* no celular: vídeo primeiro, botão de inscrição por último */
  .channel__text { padding: 0 8px 16px; }
}

/* ---------- Cartões com foto ---------- */
.photo-card { position: relative; overflow: hidden; border-radius: var(--r-lg); color: var(--white); background: var(--navy-2); isolation: isolate; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.3s var(--ease); }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,31,51,.92) 0%, rgba(11,31,51,.55) 34%, rgba(11,31,51,0) 62%); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.photo-card h3 { font-size: 1.3125rem; letter-spacing: -.02em; }
.photo-card p { margin-top: 8px; font-size: 1.125rem; color: rgba(255,255,255,.8); line-height: 1.45; }
.photo-card__n {
  position: absolute; top: 16px; left: 16px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); border: 1px solid rgba(216,189,130,.45);
  font-weight: 500; color: var(--champagne);
}

/* Como funciona: foto em cima, número, título e texto embaixo */
.method { background: var(--white); }
.method__head { max-width: 640px; }
.method__tag { display: block; margin-bottom: 14px; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--walnut); }
.method__head p { margin-top: 16px; max-width: 34em; }
.method__cta { margin-top: 28px; margin-bottom: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.step img.step__img--contain { object-fit: contain; background: #fff; padding: 6%; box-shadow: inset 0 0 0 1px rgba(142,116,96,.18); } /* imagem larga de telas: mostra inteira */
.step__n { display: block; margin: 22px 0 10px; font-size: .82rem; font-weight: 500; color: var(--gold-ink, #8A6A2E); letter-spacing: .04em; }
.step h3 { font-size: 1.3125rem; color: var(--navy); letter-spacing: -.015em; }
.step p { margin-top: 10px; font-size: 1.125rem; color: var(--text-mute); max-width: 30em; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
}

.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.care-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 961px) { .care-grid > li:last-child:nth-child(3n+1) { grid-column: 2; } } /* card sozinho na última linha fica no centro */
.photo-card--care { aspect-ratio: 5 / 4; }
@media (max-width: 960px) { .care-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .care-grid { grid-template-columns: 1fr; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split h2 { max-width: 15ch; }
.feature-list { margin-top: 40px; }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; }
.feature-list li + li { border-top: 1px solid rgba(142,116,96,.25); }
.feature-list__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: var(--white); color: var(--walnut); font-size: 24px;
  box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 6px 16px -8px rgba(142,116,96,.35);
}
.feature-list h3 { font-size: 1.3125rem; color: var(--navy); letter-spacing: -.015em; }
.feature-list p { margin-top: 6px; color: var(--text-mute); font-size: 1.125rem; }
.split__media { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 5.4; width: 85%; justify-self: end; }
.split__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.glass-mini {
  position: absolute; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 22px; padding: 14px 14px 14px 18px;
  border-radius: var(--r-md); color: var(--white); font-weight: 500; line-height: 1.3;
  background: rgba(11,31,51,.42); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.glass-mini small { font-weight: 400; color: rgba(255,255,255,.72); font-size: .82rem; }
.glass-mini__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 18px; transition: transform .3s var(--ease); }
.glass-mini:hover .glass-mini__play { transform: scale(1.08); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 3.4; width: 100%; }
}

/* ---------- Tecnologia: cards brancos com miniatura ---------- */
.tech { background: var(--ivory); }
.tech .head h2 { max-width: 16ch; }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 28px); }
.tech-grid > li { grid-column: span 2; }
/* os 2 cards da linha de baixo ficam centralizados entre os 3 de cima */
.tech-grid > li:nth-child(4) { grid-column: 2 / span 2; }
.tech-grid > li:nth-child(5) { grid-column: 4 / span 2; }
.tech-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start;
  padding: 20px; border-radius: var(--r-lg); background: var(--white);
}
.tech-card img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-md); }
.tech-card h3 { font-size: 1.3125rem; line-height: 1.2; color: var(--navy); letter-spacing: -.015em; margin-top: 4px; }
.tech-card p { margin-top: 8px; color: var(--text-mute); line-height: 1.5; }
@media (max-width: 1100px) { .tech-grid { grid-template-columns: 1fr 1fr; } .tech-grid > li, .tech-grid > li:nth-child(4), .tech-grid > li:nth-child(5) { grid-column: auto; } }
@media (max-width: 640px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { grid-template-columns: 80px 1fr; gap: 16px; padding: 16px; }
  .tech-card img { width: 80px; height: 80px; }
}

/* ---------- Equipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; background: var(--ivory-2); }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.person:hover img { transform: scale(1.04); }
.person__tag {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px;
  border-radius: var(--r-md); color: var(--white);
  background: rgba(11,31,51,.5); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.person__tag h3 { font-size: 1.3125rem; letter-spacing: -.015em; }
.person__tag p { margin-top: 2px; font-size: 1.125rem; color: var(--champagne); }
.person__tag .person__extra { margin-top: 6px; font-size: .95rem; line-height: 1.4; color: rgba(255,255,255,.85); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } .person { aspect-ratio: 4 / 4.2; } }

/* ---------- Dúvidas ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__media { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 2.6; }
@media (min-width: 861px) { .faq__media { position: sticky; top: 100px; } } /* a foto acompanha a lista, que ficou longa */
.faq__media img { width: 100%; height: 100%; object-fit: cover; }
.faq__media figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 18px;
  display: grid; gap: 4px; justify-items: start;
  border-radius: var(--r-md); color: var(--white);
  background: rgba(11,31,51,.5); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.faq__media strong { font-weight: 500; font-size: 1.2rem; letter-spacing: -.015em; }
.faq__media span { color: rgba(255,255,255,.75); font-size: 1.125rem; margin-bottom: 12px; }
.faq__media .pill__dot { margin: 0; color: var(--gold); }
.faq__list h2 { margin-bottom: 32px; }
.faq details { background: var(--white); border-radius: var(--r-md); margin-bottom: 10px; transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: 0 10px 30px -18px rgba(11,31,51,.35); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 20px 20px 24px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 1.04rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ivory); color: var(--walnut); transition: transform .55s var(--ease), background-color .45s var(--ease); }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq details p { padding: 0 24px 22px; color: var(--text-mute); max-width: 38em; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__media { aspect-ratio: 3 / 2.4; order: 2; }
}

/* ---------- Rodapé ---------- */
.footer { padding: clamp(10px, 1.4vw, 18px); }
.footer__frame {
  border-radius: var(--r-xl); background: var(--navy); color: rgba(255,255,255,.72);
  padding: clamp(36px, 5vw, 72px) var(--frame-x) 28px;
  position: relative; overflow: hidden;
}
.footer__frame::before { /* faixa de nogueira no topo, como o revestimento da clínica */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--walnut), var(--wood-light) 30%, var(--walnut) 55%, var(--wood-light) 80%, var(--walnut));
}
.footer__cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; color: var(--white); max-width: 15ch; letter-spacing: -.035em; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 40px; }
.footer__logo { display: inline-block; margin: -6px 0 14px -8px; }
.footer__logo img { width: 128px; height: auto; }
.footer__muted { max-width: 26em; font-size: .95rem; }
.footer h3 { font-size: .95rem; color: var(--champagne); margin-bottom: 14px; letter-spacing: 0; }
.footer li { font-size: .95rem; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: var(--white); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 860px) {
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { /* rodapé centralizado no celular */
  .footer__cta { align-items: center; text-align: center; }
  .footer__cta h2 { margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; justify-items: center; }
  .footer__logo { margin-inline: 0; }
  .footer__muted { margin-inline: auto; }
  .footer__legal { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- WhatsApp flutuante (animação Lottie) ---------- */
.float-whats {
  position: fixed; right: 4px; bottom: 4px; z-index: 1000; /* sempre acima de qualquer bloco do site */
  display: block; width: 115px; height: 115px;
  transition: transform .25s var(--ease);
}
.float-whats:hover { transform: translateY(-2px) scale(1.04); }
.float-whats__anim { display: grid; place-items: center; width: 100%; height: 100%; }
/* camada de clique com as classes que o Tag Manager usa para o botão flutuante */
.float-whats__hit { position: absolute; inset: 0; z-index: 2; border-radius: 50%; }
.float-whats__still { /* ícone reserva enquanto a animação não carrega */
  width: 56px; height: 56px; padding: 14px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(11,31,51,.45);
}

/* ---------- Destaque dourado nos títulos ---------- */
.serif { font-style: normal; color: var(--champagne); }

/* ---------- Faixa deslizante ---------- */
.marquee { overflow: hidden; padding-block: clamp(18px, 2.2vw, 26px); border-bottom: 1px solid rgba(142,116,96,.18); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; color: var(--navy);
}
.marquee li::after { content: ""; width: 7px; height: 7px; margin-inline: clamp(22px, 3vw, 40px); background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Entrada ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .photo-card[data-reveal] img, .js .person[data-reveal] img, .js .split__media[data-reveal] img, .js .faq__media[data-reveal] img { transform: scale(1.08); transition: transform 2.2s var(--ease); }
  .js .is-in.photo-card img, .js .is-in.person img, .js .is-in.split__media img, .js .is-in.faq__media img { transform: none; }
  .js .photo-card.is-in:hover img, .js .person.is-in:hover img { transform: scale(1.04); }
}

/* ---------- Menu fixo ao rolar ---------- */
.nav-slot { position: relative; z-index: 30; min-height: 60px; }
.nav.is-fixed {
  position: fixed; top: 12px; z-index: 60;
  left: var(--nav-l, 16px); width: var(--nav-w, calc(100% - 32px));
  background: rgba(11,31,51,.95); border-color: rgba(216,189,130,.22);
  box-shadow: 0 14px 34px -18px rgba(5,14,24,.6);
  transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.nav.is-fixed.is-hidden { transform: translateY(calc(-100% - 20px)); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .nav.is-fixed:not(.is-hidden) { animation: navIn .7s var(--ease); }
}
@keyframes navIn { from { transform: translateY(-20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Instagram: celular saindo do card ---------- */

.social:has(.channel--phone) { padding-top: clamp(80px, 6.5vw, 100px); } /* espaço para o celular que sai do card */
.channel--phone { padding-block: 50px; align-items: stretch; }
.channel--phone .channel__text { align-self: center; padding-block: 0; }

/* o card fica com 50px acima e abaixo do texto; o celular desce até a base (cortado um pouco) e sobe para fora do card */
.iphone-wrap {
  position: relative; z-index: 2; display: block;
  margin-block: -50px;
  clip-path: inset(-400px -400px 0 -400px); /* corta só na borda de baixo do card */
  perspective: 1600px;
}

.iphone {
  position: relative; margin-inline: auto;
  width: 290px; height: 598px; /* proporção real do iPhone: 1 : 2,06 */
  padding: 10px;
  border-radius: 52px;
  /* moldura em titânio champanhe, puxada do dourado da marca */
  background: linear-gradient(135deg, #E7D2A6 0%, #C6A15B 28%, #F1E3C4 50%, #B8955A 72%, #D8BD82 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.45),
    inset 0 0 0 4px rgba(120,92,50,.35),
    0 40px 60px -30px rgba(11,31,51,.55),
    0 18px 30px -18px rgba(11,31,51,.35);
  position: absolute; left: 50%; bottom: -40px; margin-left: -145px; /* desce além da base: a borda do card corta um pedacinho do aparelho */
  transform: rotateY(-16deg) rotateX(6deg) rotateZ(-4deg) scale(.7);
  transform-origin: 50% 100%;
  transition: transform 1.2s var(--ease);
}
.iphone-wrap:hover .iphone { transform: rotateY(-8deg) rotateX(3deg) rotateZ(-2deg) translateY(-6px) scale(.7); }
.iphone::before { /* botões laterais */
  content: ""; position: absolute; left: -3px; top: 120px; width: 3px; height: 54px; border-radius: 2px 0 0 2px;
  background: #B8955A; box-shadow: 0 70px 0 #B8955A;
}

.iphone__screen {
  height: 100%; overflow: hidden;
  border-radius: 43px;
  background: #0C0F14;
  border: 4px solid #050608;
  color: #F2F2F2;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 10.5px; line-height: 1.35;
  padding: 0 14px;
}

.ig-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 10px; font-weight: 600; font-size: 12px; }
.ig-island { position: absolute; left: 50%; top: 10px; width: 86px; height: 25px; margin-left: -43px; border-radius: 20px; background: #000; }
.ig-sig { display: inline-flex; align-items: flex-end; gap: 1.5px; }
.ig-sig b { width: 3px; background: #F2F2F2; border-radius: 1px; }
.ig-sig b:nth-child(1) { height: 4px; } .ig-sig b:nth-child(2) { height: 6px; } .ig-sig b:nth-child(3) { height: 8px; } .ig-sig b:nth-child(4) { height: 10px; }
.ig-sig em { width: 20px; height: 10px; margin-left: 5px; border-radius: 3px; background: #F2F2F2; }

.ig-top { display: flex; align-items: center; gap: 6px; height: 34px; font-size: 13px; }
.ig-top svg { width: 18px; height: 18px; }
.ig-top strong { font-weight: 700; }
.ig-verified { width: 11px; height: 11px; border-radius: 50%; background: #3897F0 radial-gradient(circle, #fff 0 1.6px, transparent 2px); }
.ig-more { margin-left: auto; letter-spacing: 1px; }

.ig-head { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.ig-avatar {
  flex: none; width: 74px; height: 74px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75);
}
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #0C0F14; }
.ig-stats { display: flex; gap: 14px; }
.ig-stats li { display: flex; flex-direction: column; font-size: 10px; color: #E6E6E6; }
.ig-stats b { font-size: 12.5px; font-weight: 700; color: #fff; }

.ig-bio { display: flex; flex-direction: column; margin-top: 12px; }
.ig-bio b { font-weight: 700; font-size: 11px; }
.ig-muted { color: #8E8E93; }
.ig-link { color: #A5B4FC; }

.ig-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.ig-btns span { text-align: center; padding: 7px 0; border-radius: 8px; background: #262A33; font-weight: 600; font-size: 11px; }
.ig-btns .ig-follow { background: #4A5DF9; }

.ig-hl { display: flex; gap: 14px; margin-top: 14px; }
.ig-hl li { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9.5px; width: 54px; text-align: center; }
.ig-hl span { width: 54px; height: 54px; border-radius: 50%; padding: 2px; border: 1.5px solid #3A3F49; }
.ig-hl img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.15); }

.ig-tabs { display: flex; justify-content: space-around; margin: 16px -14px 0; border-bottom: 1px solid #23262D; }
.ig-tabs svg { width: 18px; height: 18px; color: #6B7079; padding-bottom: 8px; box-sizing: content-box; }
.ig-tabs svg.is-on { color: #F2F2F2; border-bottom: 1.5px solid #F2F2F2; padding-inline: 10px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; margin: 1.5px -14px 0; }
.ig-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ig-grid img.is-cut { aspect-ratio: 105 / 82; object-position: top; }

@media (max-width: 860px) {
  /* celular primeiro: o aparelho sai pela borda de cima do card e é cortado onde o texto começa */
  .social:has(.channel--phone) { padding-top: 130px; }
  .channel--phone { padding-block: 0 40px; }
  .channel--phone .channel__text { padding: 0 8px 8px; }
  .iphone-wrap {
    order: -1; height: 300px; margin: -90px -16px 28px;
    clip-path: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
  }
  .iphone { bottom: -110px; }
  .iphone { transform: rotateY(-10deg) rotateX(5deg) rotateZ(-3deg) scale(.68); }
}
@media (prefers-reduced-motion: reduce) { .iphone, .iphone-wrap:hover .iphone { transition: none; } }
