/* =========================================================
   Amanda Campos | Nutricionista em Pouso Alegre
   style.css — mobile-first
   ========================================================= */

/* ---------- Fontes da identidade visual (locais) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens (Paleta de Cores da ID Visual) ---------- */
:root {
  --jabuticaba: #2d0a0a;
  --jabuticaba-2: #1f0606;
  --cereja: #661717;
  --framboesa: #912e23;
  --sakura: #f5eae5;
  --lima: #f9f0d9;
  --morango: #f5c2a6;
  --leite: #f6f1e8;
  --mocca: #a77965;
  --alecrim: #978f63;
  --oliva: #715a17;
  --mirtilo: #9493c8;
  --whatsapp: #188046;       /* verde WhatsApp mais fechado (texto branco com contraste AA) */
  --whatsapp-hover: #126838;
  --whatsapp-rgb: 24, 128, 70;
  --cta-text: #ffffff;

  --text: var(--jabuticaba);
  --text-soft: #5b3530;

  --ff-serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --ff-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --shadow: 0 20px 50px -20px rgba(45, 10, 10, .35);
  --shadow-sm: 0 8px 24px -12px rgba(45, 10, 10, .3);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --container: 1200px;
  --gutter: 20px;
  --topbar-h: 0px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--leite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--framboesa); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lima); color: var(--cereja); padding: .6rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.center { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Ícones ---------- */
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.g-logo { width: 28px; height: 28px; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.6rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--ff-sans); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .35s var(--ease), background-color .35s, color .35s, box-shadow .35s, border-color .35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.25em; height: 1.25em; }
.btn--lg { min-height: 58px; padding: 1rem 2.1rem; font-size: .88rem; }
.btn--primary { background: var(--cereja); color: var(--lima); box-shadow: 0 14px 30px -14px rgba(102, 23, 23, .8); }
.btn--primary:hover { background: var(--framboesa); }
.hero .btn--primary { background: var(--morango); color: var(--jabuticaba); box-shadow: 0 14px 40px -12px rgba(245, 194, 166, .55); }
.hero .btn--primary:hover { background: var(--lima); }
.btn--light { background: var(--lima); color: var(--cereja); }
.btn--light:hover { background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
/* CTAs de agendamento (todos os botões com link de WhatsApp) em verde WhatsApp */
.btn[data-wa] { background: var(--whatsapp); color: var(--cta-text); border-color: transparent; box-shadow: 0 14px 30px -14px rgba(var(--whatsapp-rgb), .8); }
.btn[data-wa]:hover { background: var(--whatsapp-hover); color: var(--cta-text); box-shadow: 0 18px 34px -14px rgba(var(--whatsapp-rgb), .95); }
.btn--ghost { border-color: rgba(249, 240, 217, .5); color: var(--lima); }
.btn--ghost:hover { background: rgba(249, 240, 217, .12); border-color: var(--lima); }
.btn--ghost .ico { transition: transform .3s var(--ease); }
.btn--ghost:hover .ico { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: var(--topbar-h) 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, top .4s var(--ease), height .4s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(45, 10, 10, .78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity .4s;
  border-bottom: 1px solid rgba(249, 240, 217, .08);
}
.header.is-scrolled { top: 0; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header__logo img { height: 34px; width: auto; }
.header__cta { display: none; }

.burger { position: relative; z-index: 120; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; gap: 5px; background: rgba(249, 240, 217, .1); border: 1px solid rgba(249, 240, 217, .25); }
.burger span { display: block; width: 20px; height: 1.6px; background: var(--lima); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Menu mobile (painel + overlay) */
.nav {
  position: fixed; top: 0; right: 0; z-index: 110;
  width: min(86vw, 380px); height: 100dvh;
  padding: calc(var(--header-h) + 1.5rem) 2rem 2rem;
  background: var(--jabuticaba);
  background-image: radial-gradient(circle at 100% 0%, rgba(145, 46, 35, .55), transparent 55%);
  display: flex; flex-direction: column; gap: 1.8rem;
  transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.nav.is-open { transform: none; visibility: visible; }
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block; padding: .7rem 0;
  font-family: var(--ff-serif); font-size: 1.9rem; color: var(--lima);
  border-bottom: 1px solid rgba(249, 240, 217, .1);
  transition: color .3s, padding .3s;
}
.nav__link:hover, .nav__link.is-active { color: var(--morango); padding-left: .4rem; }
.nav__cta { align-self: stretch; white-space: nowrap; letter-spacing: .06em; }
.nav__mobile-extra { margin-top: auto; color: rgba(249, 240, 217, .7); font-size: .85rem; }
.nav__mobile-extra img { width: 64px; margin-bottom: 1rem; opacity: .9; }
.nav-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(31, 6, 6, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.nav-overlay.is-visible { opacity: 1; }
body.menu-open { overflow: hidden; }

/* ---------- Social ---------- */
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(249, 240, 217, .08); border: 1px solid rgba(249, 240, 217, .16); color: var(--lima);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.social a:hover { background: var(--lima); color: var(--cereja); transform: translateY(-2px); }
.social--lg a { width: 46px; height: 46px; border-radius: 14px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-start;
  padding: calc(var(--topbar-h) + var(--header-h) + 1.25rem) 0 3.5rem;
  color: var(--lima);
  overflow: hidden;
  background: var(--jabuticaba);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(45, 10, 10, .74) 0%, rgba(45, 10, 10, .8) 35%, rgba(45, 10, 10, .9) 60%, rgba(45, 10, 10, .97) 100%),
    linear-gradient(90deg, rgba(102, 23, 23, .35), rgba(102, 23, 23, 0));
}
.hero__pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background: url("assets/img/logo/selo-circular-lima.webp") no-repeat right -50px bottom -50px / 230px;
}
.hero__inner { display: grid; gap: 3rem; align-items: center; }
.hero__content { max-width: 640px; }
.hero__logo { display: none; }
.hero__title {
  font-family: var(--ff-serif); font-size: clamp(3.1rem, 12vw, 6.4rem); letter-spacing: -.01em; line-height: .95;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}
.hero__title span {
  display: block; margin-top: .5rem;
  font-style: italic; font-size: clamp(1.55rem, 5vw, 2.6rem); color: var(--morango); line-height: 1.1;
}
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.02rem, 2.6vw, 1.2rem); font-weight: 500; line-height: 1.55; max-width: 34em; }
.hero__rotator {
  display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0 1.2rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--lima);
}
.hero__rotator::before { content: ""; width: 38px; height: 1px; background: var(--morango); flex: none; }
.rotator { position: relative; display: inline-block; flex: 1; min-width: 0; height: 1.6em; overflow: hidden; }
.rotator__item { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease), opacity .6s; color: var(--morango); }
.rotator__item.is-active { opacity: 1; transform: none; }
.rotator__item.is-leaving { opacity: 0; transform: translateY(-100%); }
.hero__text { font-size: .9rem; line-height: 1.65; color: rgba(249, 240, 217, .82); max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__perks { display: grid; grid-template-columns: 1fr; gap: .7rem 1rem; margin-top: 2rem; font-size: .82rem; font-weight: 500; }
.hero__perks li { display: flex; align-items: center; gap: .55rem; line-height: 1.3; }
.check { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 194, 166, .18); border: 1px solid rgba(245, 194, 166, .5); color: var(--morango); }
.check .ico { width: 13px; height: 13px; stroke-width: 2.6; }

.hero__visual { display: none; }

/* Glass cards */
.glass {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.1rem; border-radius: 18px;
  background: rgba(249, 240, 217, .12);
  border: 1px solid rgba(249, 240, 217, .28);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
  color: var(--lima); line-height: 1.2;
  animation: float 7s ease-in-out infinite;
}
.glass strong { display: block; font-family: var(--ff-serif); font-size: 1.35rem; font-weight: 400; }
.glass small { display: block; font-size: .72rem; opacity: .85; letter-spacing: .02em; }
.glass .ico { width: 30px; height: 30px; color: var(--morango); }
.glass .stars svg { width: 13px; height: 13px; }
.glass--light { background: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .9); color: var(--cereja); box-shadow: var(--shadow-sm); }

/* Blobs de luz */
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: blob 18s ease-in-out infinite alternate; }
.blob--1 { width: 420px; height: 420px; right: -120px; top: 10%; background: radial-gradient(circle, rgba(145, 46, 35, .75), rgba(145, 46, 35, 0) 70%); z-index: -1; }
.blob--2 { width: 360px; height: 360px; left: -140px; bottom: -80px; background: radial-gradient(circle, rgba(245, 194, 166, .32), rgba(245, 194, 166, 0) 70%); z-index: -1; animation-delay: -6s; }
.blob--3 { width: 520px; height: 520px; right: -200px; top: -120px; background: radial-gradient(circle, rgba(245, 194, 166, .7), rgba(245, 194, 166, 0) 70%); }
.blob--4 { width: 460px; height: 460px; left: -180px; top: 20%; background: radial-gradient(circle, rgba(148, 147, 200, .28), rgba(148, 147, 200, 0) 70%); }
.blob--5 { width: 520px; height: 520px; right: -160px; bottom: -160px; background: radial-gradient(circle, rgba(145, 46, 35, .55), rgba(145, 46, 35, 0) 70%); }

/* Elementos flutuantes */
.float, .deco { position: absolute; pointer-events: none; user-select: none; }
.float { z-index: 1; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .3)); }
.float--a { width: 64px; top: 12%; right: 5%; opacity: .55; animation-duration: 6.5s; }
.float--b { display: none; width: 110px; animation-duration: 8s; animation-delay: -2s; }
.float--c { width: 54px; top: 40%; right: -14px; opacity: .45; animation-duration: 5.5s; animation-delay: -1s; }
.float--d { display: none; }

.hero__scroll { display: none; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; overflow: hidden; isolation: isolate; }
.section--leite { background: var(--leite); }
.section--sakura { background: var(--sakura); }
.section--morango { background: var(--morango); }
.section--cereja { background: var(--cereja); color: var(--lima); }
.section--jabuticaba { background: var(--jabuticaba); color: var(--lima); }

.section__head { max-width: 780px; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--framboesa);
}
.eyebrow::before, .section__head .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--morango); }
.section__title { font-family: var(--ff-serif); font-size: clamp(2.3rem, 6vw, 3.8rem); letter-spacing: -.01em; margin-bottom: 1.2rem; }
.section__title em { font-style: italic; color: var(--framboesa); }
.section--cereja .section__title em, .section--jabuticaba .section__title em { color: var(--morango); }
.section__lead { font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.55rem); color: var(--framboesa); margin-bottom: 1rem; }
.section__desc { color: var(--text-soft); font-size: 1rem; }

.deco { z-index: 0; opacity: .9; }

/* ---------- Quando procurar ---------- */
.deco--onion { width: 120px; left: -40px; top: 90px; opacity: .25; }
.deco--rosemary { width: 90px; right: -20px; bottom: 6%; opacity: .3; transform: rotate(-12deg); }

.symptoms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
.symptom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; font-family: var(--ff-serif); font-size: 1.12rem; line-height: 1.2; }
.symptom__icon {
  position: relative; width: 92px; height: 92px; border-radius: 24px;
  background: #fff; border: 1px solid rgba(45, 10, 10, .14);
  box-shadow: 0 10px 30px -18px rgba(45, 10, 10, .35);
  transition: transform .45s var(--ease), background-color .45s, box-shadow .45s;
}
.symptom__icon::before {
  content: ""; position: absolute; inset: 14px;
  background: var(--cereja);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  transition: background-color .45s;
}
.symptom:hover .symptom__icon { transform: translateY(-6px) rotate(-3deg); background: var(--cereja); box-shadow: 0 20px 34px -16px rgba(102, 23, 23, .6); }
.symptom:hover .symptom__icon::before { background: var(--lima); }

.highlight {
  position: relative;
  max-width: 920px; margin: clamp(4.5rem, 9vw, 6rem) auto 0;
  padding: 4.2rem 1.6rem 2.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--cereja), #4a0f0f);
  color: var(--lima); text-align: center;
  box-shadow: var(--shadow);
  overflow: visible;
  clip-path: inset(-80px 0 0 0 round 0 0 var(--radius-lg) var(--radius-lg));
}
.highlight__badge {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -45%) rotate(-4deg);
  width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center;
  background: var(--framboesa); color: var(--lima); box-shadow: 0 16px 30px -12px rgba(45, 10, 10, .6);
  animation: float-badge 6s ease-in-out infinite;
}
.highlight__badge .ico { width: 40px; height: 40px; stroke-width: 1.4; }
.highlight__seal { position: absolute; width: 260px; right: -70px; bottom: -70px; opacity: .07; animation: spin 60s linear infinite; pointer-events: none; }
.highlight__title { font-family: var(--ff-serif); font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: .5rem; }
.highlight__sub { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--morango); font-weight: 600; margin-bottom: 1.4rem; }
.highlight__text { max-width: 680px; margin: 0 auto 2rem; color: rgba(249, 240, 217, .88); }

/* ---------- Sobre ---------- */
.about__grid { display: grid; gap: 3.5rem; align-items: center; }
.about__media { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.photo-carousel { position: relative; aspect-ratio: 4 / 5.3; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--morango); }
.photo-carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 6s linear; }
.photo-carousel img.is-active { opacity: 1; transform: scale(1); }
.photo-carousel__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.photo-carousel__dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; background: rgba(249, 240, 217, .6); transition: width .4s var(--ease), background-color .4s; }
.photo-carousel__dots button[aria-selected="true"] { width: 28px; background: var(--lima); }
.photo-carousel__dots button { position: relative; }
.photo-carousel__dots button::after { content: ""; position: absolute; inset: -10px; }
.deco--apple { width: 96px; left: -34px; top: 34%; z-index: 3; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(45, 10, 10, .25)); }
.glass--about { position: absolute; right: -10px; bottom: 56px; z-index: 3; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -3s; }
.about__content { max-width: 600px; }
.about__content p { color: var(--text-soft); }
.tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.8rem 0 2.2rem; }
.tags li { padding: .5rem 1rem; border-radius: 99px; background: var(--cereja); color: var(--lima); font-size: .78rem; font-weight: 600; letter-spacing: .02em; transition: background-color .3s, transform .3s var(--ease); }
.tags li:hover { background: var(--framboesa); transform: translateY(-2px); }

/* ---------- Consulta ---------- */
.consult__pattern {
  position: absolute; inset: auto 0 0 0; height: 220px; z-index: 0; opacity: .12; pointer-events: none;
  background: url("assets/img/elementos/estampa-9.webp") repeat-x left bottom / auto 220px;
  -webkit-mask: linear-gradient(to top, #000, transparent); mask: linear-gradient(to top, #000, transparent);
}
.consult__grid { display: grid; gap: 3.5rem; align-items: center; }
.consult__content p { color: rgba(249, 240, 217, .85); }
.features { display: grid; gap: .8rem; margin: 2.2rem 0; }
.feature {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem;
  border-radius: 18px; background: rgba(249, 240, 217, .06); border: 1px solid rgba(249, 240, 217, .12);
  transition: background-color .35s, transform .35s var(--ease);
}
.feature:hover { background: rgba(249, 240, 217, .11); transform: translateX(4px); }
.feature__icon { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--lima); color: var(--cereja); }
.feature__icon .ico { width: 24px; height: 24px; }
.feature strong { display: block; font-family: var(--ff-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.feature div span { font-size: .85rem; color: rgba(249, 240, 217, .75); }
.consult__media { position: relative; max-width: 440px; width: 100%; margin-inline: auto; padding-bottom: 3rem; }
.consult__slider { aspect-ratio: 3 / 4.3; border-radius: var(--radius-lg) var(--radius-lg) 220px 220px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); background: #4a0f0f; }
.consult__slider img.is-pos-bottom { object-position: 50% 100%; }
.consult__slider .photo-carousel__dots { top: 22px; bottom: auto; justify-content: flex-start; padding-left: 26px; }
.consult__photo { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 220px 220px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.consult__photo--small { z-index: 3; position: absolute; width: 44%; left: -6%; bottom: 0; aspect-ratio: 3 / 4; border-radius: 22px; border: 5px solid var(--cereja); }
.glass--consult { position: absolute; right: -8px; bottom: calc(3rem + 18px); z-index: 4; animation-delay: -2s; background: rgba(45, 10, 10, .62); }
.deco--cherry { width: 110px; right: -50px; bottom: 6%; opacity: .55; filter: brightness(2.6) saturate(.4); }

/* ---------- Psiquiatria Nutricional ---------- */
.psy__grid { display: grid; gap: 3rem; align-items: center; }
.psy__media { position: relative; }
.psy__media > img:first-child { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.deco--leaf { width: 90px; right: -18px; top: -36px; transform: rotate(18deg); animation: float 8s ease-in-out infinite; }
.psy__content p { color: var(--text-soft); }
.psy__content .btn { margin-top: 1rem; }

/* ---------- Testes ---------- */
.tests__seal { position: absolute; width: min(900px, 140vw); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .025; z-index: 0; pointer-events: none; }
.deco--pumpkin { width: 120px; right: 4%; top: 60px; opacity: .55; animation: float 9s ease-in-out infinite; }
.tests .section__desc { color: var(--text-soft); }
.cards { display: grid; gap: 1.2rem; }
.card {
  position: relative; overflow: hidden;
  padding: 2rem 1.6rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -24px rgba(102, 23, 23, .45);
  transition: transform .45s var(--ease), box-shadow .45s, background-color .45s;
}
.card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .75); box-shadow: 0 30px 50px -28px rgba(102, 23, 23, .55); }
.card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--cereja); color: var(--lima); margin-bottom: 1.3rem; transition: transform .45s var(--ease); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.05); }
.card__icon .ico { width: 28px; height: 28px; }
.card__num { position: absolute; right: 1.4rem; top: .6rem; font-family: var(--ff-serif); font-size: 4.2rem; color: var(--cereja); opacity: .1; line-height: 1; }
.card h3 { font-family: var(--ff-serif); font-size: 1.6rem; margin-bottom: .7rem; color: var(--cereja); }
.card p { font-size: .92rem; color: var(--text-soft); }
.tests__note { max-width: 640px; margin: 2.6rem auto 0; text-align: center; font-family: var(--ff-serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: var(--cereja); }
.tests__note strong { font-weight: 400; color: var(--framboesa); }

/* ---------- Avaliações ---------- */
.rating-summary { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin-top: 1.4rem; padding: .7rem 1.2rem; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); font-size: .82rem; color: var(--text-soft); }
.rating-summary strong { font-family: var(--ff-serif); font-size: 1.6rem; font-weight: 400; color: var(--jabuticaba); line-height: 1; }
.rating-summary .g-logo { width: 22px; height: 22px; }

.slider { position: relative; }
.slider__track {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 1rem 4px 2rem; margin-inline: -4px;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 86%; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.8rem 1.6rem; border-radius: var(--radius);
  background: #fff; box-shadow: 0 18px 40px -26px rgba(45, 10, 10, .4);
  border: 1px solid rgba(102, 23, 23, .06);
  position: relative;
}
.review::after { content: "”"; position: absolute; right: 1.4rem; top: .2rem; font-family: var(--ff-serif); font-size: 5rem; line-height: 1; color: var(--morango); opacity: .7; }
.review__head { display: flex; align-items: center; gap: .9rem; }
.review__avatar { position: relative; width: 52px; height: 52px; flex: none; }
.review__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review__avatar svg { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.review h3 { font-family: var(--ff-sans); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.review__date { font-size: .75rem; color: #8a706b; }
.review__text { font-size: .9rem; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.review.is-expanded .review__text { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--framboesa); text-decoration: underline; text-underline-offset: 3px; padding: .2rem 0; }
.slider__btn {
  display: none; position: absolute; top: 50%; z-index: 3; translate: 0 -50%;
  width: 50px; height: 50px; border-radius: 50%; place-items: center;
  background: var(--cereja); color: var(--lima); box-shadow: var(--shadow-sm);
  transition: background-color .3s, transform .3s var(--ease), opacity .3s;
}
.slider__btn:hover { background: var(--framboesa); transform: scale(1.06); }
.slider__btn[disabled] { opacity: .35; cursor: default; transform: none; }
.slider__btn--prev { left: -24px; }
.slider__btn--next { right: -24px; }
.slider__btn .ico { width: 22px; height: 22px; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .4rem; }
.slider__nav-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cereja); color: var(--lima); box-shadow: var(--shadow-sm); transition: background-color .3s, transform .3s var(--ease), opacity .3s; }
.slider__nav-btn:hover { background: var(--framboesa); transform: scale(1.06); }
.slider__nav-btn[disabled] { opacity: .35; cursor: default; transform: none; }
.slider__nav-btn .ico { width: 20px; height: 20px; }
.slider__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.slider__dots button { position: relative; width: 9px; height: 9px; padding: 0; border-radius: 99px; background: rgba(102, 23, 23, .25); transition: width .4s var(--ease), background-color .4s; }
.slider__dots button::after { content: ""; position: absolute; inset: -8px -4px; }
.slider__dots button[aria-selected="true"] { width: 26px; background: var(--cereja); }

/* ---------- FAQ ---------- */
.faq__seal { position: absolute; width: 520px; right: -200px; bottom: -160px; opacity: .1; z-index: 0; pointer-events: none; filter: brightness(.6) sepia(1) hue-rotate(-30deg); animation: spin 90s linear infinite; }
.deco--carrot { width: 60px; left: 3%; top: 18%; opacity: .35; transform: rotate(-18deg); }
.accordion { display: grid; gap: .7rem; }
.accordion details { border-radius: 18px; background: #fff; border: 1px solid rgba(102, 23, 23, .08); box-shadow: 0 8px 24px -20px rgba(45, 10, 10, .4); transition: box-shadow .35s, border-color .35s; }
.accordion details[open] { border-color: rgba(102, 23, 23, .2); box-shadow: 0 18px 34px -24px rgba(45, 10, 10, .5); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; font-weight: 600; font-size: .95rem; line-height: 1.4;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { width: 32px; height: 32px; padding: 7px; flex: none; border-radius: 50%; background: var(--sakura); color: var(--cereja); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.accordion details[open] summary .ico { transform: rotate(45deg); background: var(--cereja); color: var(--lima); }
.accordion__body { padding: 0 1.3rem 1.3rem; color: var(--text-soft); font-size: .93rem; }
.accordion details[open] .accordion__body { animation: fade-down .45s var(--ease); }

/* ---------- Contato ---------- */
.contact__pattern {
  position: absolute; inset: 0; z-index: 0; opacity: .05; pointer-events: none;
  background: url("assets/img/elementos/estampa-9.webp") repeat center / 260px auto;
}
.contact__grid { display: grid; gap: 3rem; align-items: center; }
.contact__content > p { color: rgba(249, 240, 217, .82); }
.contact__list { display: grid; gap: 1.1rem; margin: 2rem 0; }
.contact__list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(249, 240, 217, .08); border: 1px solid rgba(249, 240, 217, .16); color: var(--morango); }
.contact__icon .ico { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(249, 240, 217, .6); }
.contact__list a, .contact__list address, .contact__list span { font-weight: 500; font-size: .98rem; word-break: break-word; }
.contact__list a:hover { color: var(--morango); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.contact__map {
  position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden;
  background: #3a1210 url("assets/img/logo/selo-circular-lima.webp") no-repeat center / 180px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); border: 1px solid rgba(249, 240, 217, .14);
}
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--jabuticaba-2); color: rgba(249, 240, 217, .8); padding: 4.5rem 0 1.5rem; font-size: .9rem; }
.footer__bigname { position: absolute; left: 50%; bottom: -2.5vw; translate: -50% 0; white-space: nowrap; font-family: var(--ff-serif); font-size: 21vw; line-height: 1; color: rgba(145, 46, 35, .12); pointer-events: none; z-index: 0; }
.footer__grid { display: grid; gap: 2.6rem; }
.footer__brand img { width: 170px; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 300px; }
.footer__col h2 { font-family: var(--ff-serif); font-size: 1.45rem; color: var(--lima); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--morango); }
.footer__contact small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(249, 240, 217, .5); }
.footer__bottom { display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(249, 240, 217, .1); font-size: .78rem; color: rgba(249, 240, 217, .6); }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--lima); text-decoration: underline; text-decoration-color: rgba(249, 240, 217, .3); text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--morango); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(var(--whatsapp-rgb), .7);
  transition: transform .35s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; padding: .5rem .9rem; border-radius: 10px; background: var(--jabuticaba); color: var(--lima); font-size: .78rem; font-weight: 600; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__content > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.js .hero__content > :nth-child(1) { animation-delay: .1s; }
.js .hero__content > :nth-child(2) { animation-delay: .2s; }
.js .hero__content > :nth-child(3) { animation-delay: .35s; }
.js .hero__content > :nth-child(4) { animation-delay: .45s; }
.js .hero__content > :nth-child(5) { animation-delay: .55s; }
.js .hero__content > :nth-child(6) { animation-delay: .65s; }
.js .hero__content > :nth-child(7) { animation-delay: .75s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}
@keyframes float-badge {
  0%, 100% { transform: translate(-50%, -45%) rotate(-4deg); }
  50% { transform: translate(-50%, -58%) rotate(3deg); }
}
@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes scroll-dot { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 14px); opacity: 0; } }

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .symptoms { grid-template-columns: repeat(3, 1fr); }
  .review { flex-basis: calc((100% - 1.2rem) / 2); }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__perks { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 2.2rem 1.6rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --topbar-h: 44px; --header-h: 88px; }

  .topbar {
    display: block; position: absolute; inset: 0 0 auto 0; z-index: 101; height: var(--topbar-h);
    background: rgba(31, 6, 6, .55); color: rgba(249, 240, 217, .85); font-size: .8rem;
    border-bottom: 1px solid rgba(249, 240, 217, .08);
  }
  .topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
  .topbar__info { display: flex; gap: 2rem; }
  .topbar__info a { display: inline-flex; align-items: center; gap: .5rem; transition: color .3s; }
  .topbar__info a:hover { color: var(--morango); }
  .topbar .social { margin: 0; gap: .4rem; }
  .topbar .social a { width: 30px; height: 30px; border-radius: 9px; }
  .topbar .ico { width: 15px; height: 15px; }

  .header.is-scrolled { height: 74px; }
  .header__logo img { height: 42px; }
  .burger, .nav-overlay, .nav__mobile-extra, .nav__cta { display: none !important; }
  .nav {
    position: static; width: auto; height: auto; padding: 0; background: none; transform: none; visibility: visible;
    flex-direction: row; overflow: visible; margin-left: auto;
  }
  .nav__list { flex-direction: row; gap: .2rem; }
  .nav__link {
    position: relative; padding: .5rem .8rem; border: 0;
    font-family: var(--ff-sans); font-size: .86rem; font-weight: 500; color: rgba(249, 240, 217, .88);
  }
  .nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 1px; background: var(--morango); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
  .nav__link:hover, .nav__link.is-active { padding-left: .8rem; color: var(--lima); }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .header__cta { display: inline-flex; min-height: 46px; padding: .7rem 1.3rem; font-size: .75rem; }

  /* Hero desktop: vídeo de fundo desfocado + moldura com o vídeo nítido */
  .hero { align-items: center; padding-top: calc(var(--topbar-h) + var(--header-h) + 2rem); padding-bottom: 5rem; }
  .hero__video { filter: blur(6px) saturate(1.1); transform: scale(1.08); }
  .hero__pattern { background-position: right -160px bottom -200px; background-size: 620px; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(45, 10, 10, .96) 0%, rgba(45, 10, 10, .88) 45%, rgba(102, 23, 23, .7) 100%),
      linear-gradient(0deg, rgba(45, 10, 10, .7), transparent 40%);
  }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .hero__logo { display: block; width: 64px; margin-bottom: 1.2rem; opacity: .95; }
  .hero__perks { grid-template-columns: repeat(2, max-content); gap: .8rem 2rem; }
  .hero__visual { display: block; position: relative; justify-self: center; width: min(100%, 380px); }
  .hero__frame {
    position: relative; aspect-ratio: 9 / 15; border-radius: 240px 240px 32px 32px; overflow: hidden;
    border: 1px solid rgba(249, 240, 217, .3);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 12px rgba(249, 240, 217, .05), 0 0 0 13px rgba(249, 240, 217, .12);
  }
  .hero__frame-video { width: 100%; height: 100%; object-fit: cover; }
  .glass--rating { position: absolute; left: -90px; top: 18%; }
  .glass--online { position: absolute; right: -60px; top: 52%; animation-delay: -2.5s; animation-duration: 8s; }
  .glass--crn { position: absolute; left: -50px; bottom: 8%; animation-delay: -4s; animation-duration: 6.5s; }
  .glass--crn img { width: 38px; }

  .float--a { width: 100px; top: 15%; right: 3%; }
  .float--b { display: block; width: 150px; top: 58%; left: 1%; opacity: .25; }
  .float--c { width: 80px; top: auto; bottom: 10%; right: 42%; opacity: .6; }
  .float--d { display: block; width: 70px; top: 80%; left: 50%; opacity: .55; animation-duration: 7.5s; animation-delay: -3s; }

  .hero__scroll {
    display: block; position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 3;
    width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid rgba(249, 240, 217, .5);
  }
  .hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--lima); animation: scroll-dot 1.8s ease-in-out infinite; }

  .symptoms { grid-template-columns: repeat(5, 1fr); gap: 2.6rem 1.5rem; }
  .symptom__icon { width: 108px; height: 108px; border-radius: 28px; }
  .symptom__icon::before { inset: 18px; }
  .highlight { padding: 4.8rem 4rem 3rem; }
  .deco--onion { width: 180px; left: -50px; opacity: .35; }
  .deco--rosemary { width: 130px; }

  .about__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .consult__grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .psy__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .contact__map { min-height: 560px; }

  .review { flex-basis: calc((100% - 2.4rem) / 3); }
  .slider__btn { display: grid; }
  .slider__nav-btn { display: none; }

  .footer__grid { grid-template-columns: 1.2fr .8fr 1.2fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1200px) {
  .glass--rating { left: -120px; }
  .glass--online { right: -90px; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__content > * { opacity: 1; transform: none; }
}
