/* ==========================================================
   LP Ninfoplastia · Dra. Ana Luiza Rios
   Identidade do site draanaluiza.com.br
   ========================================================== */
:root {
  --green-900: #062B22;
  --green-800: #083E31;   /* faixas e título "Dra. Ana Luiza" */
  --green-700: #0F4F3F;
  --ink: #06332F;         /* títulos */
  --sage: #5A9B7F;        /* botões */
  --sage-600: #4A8A6F;
  --sage-200: #CFE3D8;
  --mist: #E1E1E0;        /* fundo do hero */
  --stone: #DFE0DC;       /* fundo das seções cinza */
  --lav: #F5F5FB;         /* fundo "Quem é" */
  --white: #fff;
  --text: #5E6A66;        /* texto corrido cinza */
  --orchid: #F2C4CC;
  --orchid-deep: #C76A84;

  --f-display: "Belleza", "Optima", "Candara", sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-sm: .85rem;
  --t-base: clamp(.95rem, .92rem + .15vw, 1.02rem);
  --t-md: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --t-lg: clamp(1.3rem, 1.15rem + .7vw, 1.65rem);
  --t-xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --t-2xl: clamp(2.4rem, 1.6rem + 3.4vw, 4.3rem);

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 18px 40px -22px rgba(6, 51, 47, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.stage :focus-visible, .band :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sage); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- botões (padrão do site: pílula sálvia, caixa alta espaçada) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  background: var(--sage); color: #fff;
  font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25;
  text-decoration: none; border: 0;
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease), background .4s, box-shadow .5s var(--ease);
  box-shadow: 0 12px 28px -14px rgba(74, 138, 111, .8);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(140px 90px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.btn:hover { transform: translateY(-2px); background: var(--sage-600); }
.btn:hover::after { opacity: 1; }
.btn .ico { width: 1.35em; height: 1.35em; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: .86rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .72rem; }
.btn--light { background: #fff; color: var(--green-800); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.btn--light:hover { background: var(--sage-200); }
.btn--ghost { background: rgba(255,255,255,.12); box-shadow: none; border: 1px solid rgba(255,255,255,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding-block: 1rem; transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s; }
.header.is-scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); padding-block: .5rem; box-shadow: 0 1px 0 rgba(6,51,47,.08); }
.header__inner { display: flex; align-items: center; gap: 2.2rem; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-end; margin-right: auto; color: var(--green-800); text-decoration: none; line-height: 1; }
.brand__mark { position: relative; display: block; width: 136px; height: 35px; }
.brand__img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.brand__img--light { opacity: 0; }
.brand__tag { font: 600 7.5px/1 Georgia, "Times New Roman", serif; letter-spacing: .02em; margin: 2px 22px 0 0; color: currentColor; }
.header.on-dark .brand__img--dark { opacity: 0; }
.header.on-dark .brand__img--light { opacity: 1; }
.nav { display: flex; gap: 2rem; font-size: .88rem; color: var(--ink); }
.nav a { text-decoration: none; position: relative; padding-block: .3rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
/* header sobre a dobra verde */
.header.on-dark:not(.is-scrolled) { color: #fff; }
.header.on-dark { }
.header.on-dark.is-scrolled { background: rgba(8, 62, 49, .82); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header.on-dark .brand, .header.on-dark .nav { color: #fff; }

/* ---------- hero (claro, com lírios em traço) ---------- */
.hero { position: relative; z-index: 3; background: var(--mist); min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-top: 6.5rem; }
.lilies { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(6, 51, 47, .07); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; max-width: 1320px; }
.hero__copy { padding-bottom: clamp(5rem, 12vh, 8rem); align-self: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); line-height: .98; letter-spacing: -.04em;
  color: var(--ink); max-width: 13ch; text-wrap: balance;
}
.hero__lead { margin-top: 1.4rem; font-size: var(--t-md); line-height: 1.55; max-width: 38ch; color: var(--ink); }
.hero__exp { margin-top: .7rem; color: var(--text); }
.hero__cta { margin-top: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.4rem; font-size: .88rem; color: var(--ink); }
.facts li { display: inline-flex; align-items: center; gap: .45rem; }
.facts .ico { color: var(--sage); }
.hero__photo { position: relative; justify-self: end; align-self: end; width: 100%; display: flex; justify-content: center; }
.hero__photo img {
  position: relative; z-index: 1;
  height: min(86svh, 880px); width: auto; max-width: 100%; object-fit: contain; object-position: bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%);
  mask-composite: intersect;
}
/* arco em traço atrás da médica (motivo das molduras do site) */
.hero__arch { position: absolute; z-index: 0; bottom: 0; left: 50%; height: calc(min(86svh, 880px) * .97); aspect-ratio: .62; transform: translateX(-50%); border-radius: 999px 999px 0 0; background: radial-gradient(120% 80% at 50% 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); }
.hero__arch::before { content: ""; position: absolute; inset: -18px -18px 0 18px; border: 1px solid rgba(8,62,49,.35); border-bottom: 0; border-radius: 999px 999px 0 0; }
.hero__badge {
  position: absolute; z-index: 2; left: 2%; bottom: 20%;
  display: flex; flex-direction: column; line-height: 1.35;
  padding: 1rem 1.3rem; border-radius: 22px 22px 22px 6px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.hero__badge strong { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--green-800); margin-bottom: .15rem; }
.hero__badge span { font-size: .75rem; color: var(--text); }
.hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); z-index: 2; fill: var(--green-800); pointer-events: none; }

/* ---------- palco 3D (dobra 2) ---------- */
.stage {
  position: relative; color: #fff;
  background:
    radial-gradient(900px 700px at 50% 45%, rgba(90, 155, 127, .35), transparent 65%),
    linear-gradient(180deg, var(--green-800), var(--green-900));
}
.stage .lilies { stroke: rgba(255,255,255,.05); }
.orchid-stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.orchid-stage canvas { width: 100%; height: 100%; display: block; }
.orchid-stage.is-off { visibility: hidden; }
.bloom { position: relative; z-index: 2; }
.bloom__pin { min-height: 100svh; display: flex; align-items: center; padding-block: 6.5rem 3rem; }
.bloom__inner { display: grid; grid-template-columns: 1fr minmax(340px, 40%) 1fr; grid-template-rows: auto 1fr auto; gap: 1.5rem 2rem; min-height: calc(100svh - 9.5rem); }
.bloom__title { grid-column: 1 / -1; text-align: center; font-family: var(--f-display); font-weight: 400; font-size: var(--t-xl); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.points { display: contents; }
.point {
  --draw: 0;
  position: relative; display: flex; gap: .8rem; align-items: flex-start;
  max-width: 300px; padding: .2rem 0;
}
.point .ico { width: 1.35rem; height: 1.35rem; color: var(--sage-200); margin-top: .3rem; flex: none; }
.point h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.point p { font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.72); margin-top: .25rem; }
/* linhas de anotação ligando o texto à flor, como numa prancha botânica */
.point::after { content: ""; position: absolute; top: .95rem; width: var(--len, 120px); height: 1px; background: linear-gradient(90deg, rgba(207,227,216,.7), rgba(207,227,216,.15)); transform: scaleX(var(--draw)); }
.point::before { content: ""; position: absolute; top: calc(.95rem - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--orchid); box-shadow: 0 0 0 4px rgba(242,196,204,.18); opacity: var(--draw); }
.point:nth-child(-n+3) { text-align: right; flex-direction: row-reverse; }
.point:nth-child(-n+3)::after { left: calc(100% + 1.2rem); transform-origin: left; }
.point:nth-child(-n+3)::before { left: calc(100% + 1.2rem + var(--len, 120px)); }
.point:nth-child(n+4)::after { right: calc(100% + 1.2rem); transform-origin: right; background: linear-gradient(270deg, rgba(207,227,216,.7), rgba(207,227,216,.15)); }
.point:nth-child(n+4)::before { right: calc(100% + 1.2rem + var(--len, 120px)); }
.point:nth-child(1), .point:nth-child(4) { --len: 110px; }
.point:nth-child(2), .point:nth-child(5) { --len: 70px; }
.point:nth-child(3), .point:nth-child(6) { --len: 110px; }
.point:nth-child(-n+3) { grid-column: 1; justify-self: end; }
.point:nth-child(n+4) { grid-column: 3; justify-self: start; }
.point:nth-child(1), .point:nth-child(4) { grid-row: 2; align-self: start; }
.point:nth-child(2), .point:nth-child(5) { grid-row: 2; align-self: center; }
.point:nth-child(3), .point:nth-child(6) { grid-row: 2; align-self: end; }
.bloom__foot { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.bloom__note { font-size: var(--t-md); max-width: 46ch; color: rgba(255,255,255,.9); }
.bloom__caption { font-size: .72rem; color: rgba(255,255,255,.45); }

/* ---------- seções claras ---------- */
.comfort, .doctor, .steps, .band, .faq, .final, .footer { position: relative; z-index: 3; }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-xl); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; color: var(--ink); }
.lead { font-size: var(--t-md); color: var(--text); margin-top: 1.1rem; max-width: 40ch; }

/* ícone no padrão do site: traço verde sobre mancha cinza */
.blob-ico { position: relative; width: 4.2rem; height: 4.2rem; display: grid; place-items: center; color: var(--green-800); flex: none; }
.blob-ico::before { content: ""; position: absolute; width: 70%; height: 70%; right: 0; top: 4%; background: #E4E4E2; border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; z-index: -1; transition: background .5s, transform .6s var(--ease); }
.blob-ico svg { width: 2.6rem; height: 2.6rem; }

/* desenho de orquídea em traço (dobra 3) */
.sketch { display: block; width: min(300px, 70%); margin-top: 2.5rem; stroke: var(--sage); stroke-width: 1.1; }
.sketch path, .sketch circle { stroke-dasharray: var(--l, 600); stroke-dashoffset: var(--off, 0); }

/* dobra 3 */
.comfort { background: var(--white); padding-block: clamp(5rem, 10vw, 8.5rem); }
.comfort__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem 5rem; }
.comfort__head { align-self: start; position: sticky; top: 7rem; }
.benefits { display: flex; flex-direction: column; }
.benefit { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1.5rem; padding-block: 1.9rem; border-top: 1px solid #E8EAE7; isolation: isolate; }
.benefit:last-child { border-bottom: 1px solid #E8EAE7; }
.benefit:hover .blob-ico::before { background: var(--sage-200); transform: rotate(-12deg) scale(1.1); }
.benefit h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-lg); line-height: 1.2; color: var(--ink); }
.benefit p { margin-top: .45rem; max-width: 46ch; }
.comfort__note { grid-column: 2; font-size: var(--t-sm); padding-left: 5.7rem; max-width: 60ch; }

/* dobra 4 (padrão "Quem é Dra. Ana?") */
.doctor { background: var(--lav); padding-block: clamp(5rem, 10vw, 8.5rem); overflow: hidden; }
.doctor__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem 5rem; align-items: center; }
.doctor__photo, .final__photo { position: relative; width: 100%; max-width: 424px; justify-self: center; } /* = largura do arquivo */
.doctor__photo::before, .final__photo::before { /* moldura em traço, como no site */
  content: ""; position: absolute; inset: -16px -16px 16px 16px;
  border: 1px solid var(--green-800); border-radius: 130px 0 130px 0; opacity: .55;
}
.doctor__photo img, .final__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 424 / 500; object-fit: cover; border-radius: 70px 70px 0 0; }
.doctor__id { margin-top: 1.6rem; }
.doctor__name { font-family: var(--f-display); font-size: var(--t-lg); color: var(--green-800); }
.doctor__reg { font-size: var(--t-sm); line-height: 1.5; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.creds li { background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; line-height: 1.45; box-shadow: 0 10px 30px -24px rgba(6,51,47,.5); }
.creds__big { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--green-800); letter-spacing: -.03em; }
.creds__mark { color: var(--green-800); height: 2rem; display: flex; align-items: center; }
.creds__mark svg { width: 1.8rem; height: 1.8rem; }
.doctor__text { margin-top: 1.8rem; max-width: 54ch; }
.doctor__quote { margin: 1.4rem 0 2rem; font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.3; color: var(--green-800); padding-left: 1.2rem; border-left: 2px solid var(--sage); max-width: 30ch; }

/* dobra 5 (padrão "Diferenciais": cartões brancos sobre cinza) */
.steps { background: var(--stone); padding-block: clamp(5rem, 10vw, 8.5rem); overflow: hidden; }
.steps .lilies { stroke: rgba(6,51,47,.06); }
.steps__title { position: relative; max-width: 20ch; margin-inline: auto; text-align: center; }
.steps__track { position: relative; margin-top: 3.5rem; }
.steps__line { position: absolute; left: 0; right: 0; top: 2.6rem; width: 100%; height: 40px; overflow: visible; }
.steps__line path { fill: none; stroke: var(--sage); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.step { background: #fff; border-radius: 24px; padding: 2rem 1.8rem 2.2rem; box-shadow: var(--shadow); text-align: center; }
.step__n { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto; border-radius: 50%; background: var(--green-800); color: #fff; font-family: var(--f-display); font-size: 1.4rem; }
.step h3 { margin-top: 1.2rem; font-family: var(--f-display); font-weight: 400; font-size: var(--t-lg); color: var(--ink); }
.step p { margin-top: .5rem; font-size: .92rem; }
.steps__note { position: relative; margin-top: 3rem; text-align: center; font-size: var(--t-md); color: var(--ink); }
.steps__note strong { color: var(--green-800); font-weight: 600; }

/* faixa verde */
.band { background: var(--green-800); color: #fff; padding-block: 2.6rem; }
.band__inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.band__title { font-family: var(--f-display); font-size: var(--t-lg); letter-spacing: -.02em; }
.band__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem; }
.band__tel { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1); text-decoration: none; font-size: .8rem; letter-spacing: .08em; transition: background .3s; }
.band__tel:hover { background: rgba(255,255,255,.2); }

/* dobra 6 (cartão branco como no FAQ do site) */
.faq { background: var(--stone); padding-block: clamp(5rem, 10vw, 8rem); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem 4rem; align-items: start; }
.faq__grid > .h2 { position: sticky; top: 7rem; }
.faq__list { background: #fff; border-radius: 28px; padding: 1rem 2rem 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.qa { width: 100%; border-bottom: 1px solid #ECEEEB; }
.qa:last-of-type { margin-bottom: 1.8rem; }
.qa h3 { font-size: inherit; font-weight: inherit; }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 500; font-size: var(--t-base); color: var(--sage-600); }
.qa__sign { position: relative; width: 2.2rem; height: 2.2rem; border-radius: 50%; flex: none; background: var(--lav); transition: background .4s var(--ease), transform .5s var(--ease); }
.qa__sign::before, .qa__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--green-800); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .4s; }
.qa__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__q[aria-expanded="true"] { color: var(--green-800); }
.qa__q[aria-expanded="true"] .qa__sign { background: var(--green-800); transform: rotate(180deg); }
.qa__q[aria-expanded="true"] .qa__sign::before, .qa__q[aria-expanded="true"] .qa__sign::after { background: #fff; }
.qa__q[aria-expanded="true"] .qa__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 3rem 1.4rem 0; max-width: 62ch; }

/* dobra 7 */
.final { background: var(--white); padding-block: clamp(5rem, 10vw, 8.5rem); overflow: hidden; }
.final__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem 5rem; align-items: center; }
.final__lead { margin: 1.2rem 0 2.2rem; font-size: var(--t-md); max-width: 44ch; }
.final__small { margin-top: 1rem; font-size: var(--t-sm); }

/* rodapé (padrão do site) */
.footer { background: var(--white); border-top: 1px solid #ECEEEB; padding-block: 3.5rem; font-size: .85rem; text-align: center; }
.footer__title { font-family: var(--f-display); font-size: var(--t-lg); color: var(--ink); }
.footer__cols { display: flex; justify-content: center; gap: 4rem; margin-top: 1.8rem; }
.footer__col { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.footer__col a { text-decoration: none; }
.footer__col strong { color: var(--ink); font-weight: 600; margin-bottom: .25rem; }
.footer__ico { color: var(--green-800); margin-bottom: .5rem; }
.footer__ico svg { width: 1.9rem; height: 1.9rem; }
.footer address { font-style: normal; }
.footer__legal { margin-top: 2rem; font-size: .75rem; opacity: .8; }

/* botão fixo no celular */
.sticky-cta {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.2rem; border-radius: 999px;
  background: var(--sage); color: #fff; font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.25;
  box-shadow: 0 14px 34px -10px rgba(6, 51, 47, .55);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.sticky-cta .ico { width: 1.4em; height: 1.4em; }
.sticky-cta.is-on { transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .comfort__grid, .doctor__grid, .faq__grid, .final__grid { grid-template-columns: 1fr; }
  .comfort__head, .faq__grid > .h2 { position: static; }
  .comfort__note { grid-column: 1; padding-left: 0; }
  .doctor__photo, .final__photo { max-width: 380px; }
}
@media (max-width: 860px) {
  .hero { align-items: stretch; padding-top: 5.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 2rem; }
  .hero__photo { order: -1; margin: 0 auto -.5rem; justify-self: center; }
  .hero__photo img { height: 46svh; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, #000 72%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, #000 72%, transparent 100%); mask-composite: intersect; }
  .hero__arch { height: calc(46svh * .97); }
  .hero__curve { display: none; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero__badge { left: auto; right: 0; bottom: 18%; padding: .6rem .9rem; }
  .hero__badge strong { font-size: 1rem; }
  .header .btn--sm span { display: none; }
  .header .btn--sm { padding: .7rem; }
  .brand__logo { height: 42px; }

  .bloom__pin { padding-block: 5.5rem 2rem; align-items: stretch; }
  .bloom__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; min-height: calc(100svh - 7.5rem); gap: 1rem; }
  .points { display: grid; grid-row: 3; position: relative; }
  .point, .point:nth-child(n) { grid-column: 1; grid-row: 1; justify-self: stretch; align-self: end; max-width: none; text-align: left; flex-direction: row; padding: 1rem 1.1rem; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
  .point::before, .point::after { display: none; }
  .sketch { display: none; }
  .bloom__foot { grid-row: 4; }
  .bloom__foot .btn { display: none; }
  .bloom__note { font-size: 1rem; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__line { display: none; }
  .faq__list { padding: .5rem 1.25rem 1.5rem; }
  .footer__cols { flex-direction: column; gap: 2rem; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 6.5rem; }
  .final__photo { order: 2; }
}
@media (max-width: 480px) {
  .creds { grid-template-columns: 1fr; }
  .hero .btn--lg, .final .btn--lg { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================
   v3.1 · seções com identidade própria da LP
   ========================================================== */
/* textura de grão + gradientes radiais */
.tex { isolation: isolate; }
.tex::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .25 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage::before { opacity: .14; }

/* dobra 3 */
.comfort {
  background:
    radial-gradient(700px 520px at 12% 18%, rgba(242,196,204,.42), transparent 70%),
    radial-gradient(800px 600px at 92% 85%, rgba(90,155,127,.16), transparent 70%),
    radial-gradient(500px 400px at 60% 40%, rgba(255,255,255,.9), transparent 70%),
    #F7F6F2;
}
.comfort__orchid, .faq__orchid { height: auto; }
.comfort__orchid { display: block; width: min(380px, 80%); margin: 2rem 0 0 -1rem; filter: drop-shadow(0 30px 40px rgba(199,106,132,.25)); }
.benefit { border-top-color: rgba(8,62,49,.1); padding: 2rem 1.4rem; margin-inline: -1.4rem; border-radius: 22px; transition: background .5s var(--ease); }
.benefit:last-child { border-bottom-color: rgba(8,62,49,.1); }
.benefit:hover { background: rgba(255,255,255,.65); }
.blob-ico::before { background: rgba(242,196,204,.55); }
.benefit:hover .blob-ico::before { background: var(--orchid); }

/* dobra 4: palco verde, foto em arco */
.doctor {
  color: rgba(255,255,255,.82);
  background:
    radial-gradient(800px 600px at 18% 30%, rgba(90,155,127,.38), transparent 65%),
    radial-gradient(600px 500px at 85% 80%, rgba(242,196,204,.12), transparent 70%),
    linear-gradient(180deg, var(--green-800), var(--green-900));
}
.doctor.tex::before { mix-blend-mode: screen; opacity: .35; }
.doctor .h2, .doctor .doctor__name { color: #fff; }
.doctor .doctor__reg { color: rgba(255,255,255,.65); }
.doctor__photo, .final__photo { max-width: 440px; }
.doctor__photo::before, .final__photo::before { inset: -18px -18px 18px 18px; border-radius: 999px 999px 28px 28px; }
.doctor__photo::before { border-color: rgba(207,227,216,.45); opacity: 1; }
.doctor__photo img:not(.doctor__bud), .final__photo img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 999px 999px 28px 28px; }
.doctor__photo .doctor__bud { position: absolute; aspect-ratio: auto; height: auto; border-radius: 0; object-fit: contain; z-index: 2; width: 42%; right: -16%; bottom: 8%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.creds { gap: 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); border-radius: 0; }
.creds li { background: transparent; box-shadow: none; border-radius: 0; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); padding: 1.3rem 1.3rem; }
.creds__big { color: var(--orchid); font-size: 2.4rem; }
.creds__mark { color: var(--orchid); }
.doctor__text { color: rgba(255,255,255,.82); }
.doctor__quote { color: #fff; border-left-color: var(--orchid); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.doctor .btn { background: #fff; color: var(--green-800); }
.doctor .btn:hover { background: var(--sage-200); }

/* dobra 5 */
.steps {
  background:
    radial-gradient(700px 500px at 50% 0%, rgba(255,255,255,.85), transparent 70%),
    radial-gradient(600px 500px at 0% 100%, rgba(242,196,204,.3), transparent 70%),
    radial-gradient(600px 500px at 100% 90%, rgba(90,155,127,.18), transparent 70%),
    #E6E7E2;
}
.step { background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); border-radius: 160px 160px 28px 28px; padding-top: 2.6rem; }
.step__n { background: linear-gradient(160deg, var(--orchid), var(--orchid-deep)); }

/* dobra 6 */
.faq {
  background:
    radial-gradient(700px 600px at 15% 70%, rgba(242,196,204,.35), transparent 70%),
    radial-gradient(800px 600px at 90% 10%, rgba(90,155,127,.18), transparent 70%),
    #F4F5F1;
}
.faq__head { position: sticky; top: 7rem; }
.faq__grid > .h2 { position: static; }
.faq__orchid { width: min(340px, 80%); margin-top: 2.5rem; filter: drop-shadow(0 30px 40px rgba(199,106,132,.25)); }
.faq__list { background: none; box-shadow: none; padding: 0; gap: .75rem; }
.qa { background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95); border-radius: 22px; padding: 0 1.5rem; box-shadow: 0 14px 34px -26px rgba(6,51,47,.45); transition: box-shadow .5s var(--ease); }
.qa:last-of-type { margin-bottom: 1.6rem; }
.qa:has([aria-expanded="true"]) { box-shadow: 0 22px 44px -24px rgba(6,51,47,.45); }
.qa__q { font-family: var(--f-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--ink); font-weight: 400; }
.qa__q[aria-expanded="true"] { color: var(--green-800); }

/* dobra 7 */
.final {
  background:
    radial-gradient(700px 600px at 20% 50%, rgba(242,196,204,.35), transparent 70%),
    radial-gradient(700px 500px at 90% 20%, rgba(90,155,127,.15), transparent 70%),
    #FAF9F6;
}
.final__photo::before { border-color: var(--green-800); opacity: .4; }

/* flutuação lenta das ilustrações */
@media (prefers-reduced-motion: no-preference) {
  .js-float { animation: float 7s ease-in-out infinite; }
  .doctor__bud.js-float { animation-duration: 8.5s; animation-delay: -2s; }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }

/* mobile: tudo centralizado */
@media (max-width: 860px) {
  .hero__copy, .comfort__head, .doctor__copy, .faq__head, .final__copy, .steps__note, .bloom__title { text-align: center; }
  .hero__title, .hero__lead, .lead, .doctor__text, .final__lead, .h2 { margin-inline: auto; }
  .hero__cta, .facts { justify-content: center; }
  .facts { display: flex; }
  .hero .btn--lg, .final .btn--lg { width: auto; max-width: 100%; }
  .comfort__orchid, .faq__orchid { margin: 1.5rem auto 0; width: min(240px, 62%); }
  .faq__head { position: static; }
  .benefit { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .9rem; margin-inline: 0; padding-inline: .5rem; }
  .benefit p { margin-inline: auto; }
  .comfort__note { text-align: center; margin-inline: auto; }
  .doctor__photo, .final__photo { width: min(78vw, 330px); margin-inline: auto; }
  .doctor__id { text-align: center; }
  .creds li { align-items: center; text-align: center; }
  .doctor__quote { border-left: 0; padding-left: 0; margin-inline: auto; }
  .doctor__quote::before { content: ""; display: block; width: 40px; height: 2px; background: var(--orchid); margin: 0 auto 1rem; }
  .doctor__copy .btn, .final__copy .btn, .faq__list .btn { margin-inline: auto; }
  .faq__list { align-items: stretch; }
  .faq__list .btn { align-self: center; }
  .qa { padding: 0 1.1rem; }
  .qa__q { text-align: left; }
  .footer__legal { margin-inline: auto; }
  .bloom__foot, .bloom__note { text-align: center; }
}
@media (max-width: 480px) {
  .creds { grid-template-columns: 1fr 1fr; }
  .creds li { padding: 1rem .7rem; font-size: .8rem; }
  .creds__big { font-size: 1.9rem; }
  .hero .btn--lg, .final .btn--lg { width: 100%; justify-content: center; }
}
@media (max-width: 860px) {
  .doctor__photo .doctor__bud { right: -8%; width: 38%; }
  .step { border-radius: 120px 120px 26px 26px; }
}

/* header: CTA sempre centralizado na barra */
.header__inner { min-height: 52px; }
.header__inner > * { align-self: center; margin-top: 0; margin-bottom: 0; }
.header .btn--sm { transform: none; }
.header .btn--sm:hover { transform: translateY(-1px); }
.nav a { line-height: 1.2; }

/* ==========================================================
   v5 · ajustes do cliente
   ========================================================== */
.nowrap { white-space: nowrap; }

/* hero: bloco de texto mais largo, nome inteiro numa linha */
.hero__grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.hero__title { max-width: none; font-size: clamp(2.3rem, .9rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -.035em; }
.hero__l1, .hero__l2 { display: block; }
.hero__lead { max-width: 48ch; }
/* flor delicada ao lado da médica */
.hero__photo .hero__bud {
  position: absolute; z-index: 2; right: -4%; top: 30%; width: 30%; height: auto;
  -webkit-mask-image: none; mask-image: none;
  filter: drop-shadow(0 24px 30px rgba(199,106,132,.28));
}

/* dobra 2: estática, cabe numa tela */
.bloom__pin { min-height: 100svh; padding-block: 6rem 2.5rem; }
.bloom__inner { min-height: 0; gap: 1rem 2rem; }
.bloom__flower { grid-column: 2; grid-row: 2; align-self: center; justify-self: center; width: 100%; max-width: 400px; max-height: calc(100svh - 21rem); object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.point { --draw: 1; }
.btn--pink { background: linear-gradient(135deg, #F7C9D3, #E58CA4); color: var(--green-900); font-weight: 600; box-shadow: 0 16px 40px -12px rgba(229,140,164,.7); }
.btn--pink:hover { background: linear-gradient(135deg, #FAD6DE, #EA9BB0); }
.bloom__foot { gap: .8rem; }

/* dobra 3: título + bullets, cabe numa tela */
.comfort { padding-block: clamp(4rem, 8vh, 6rem); }
.comfort__grid { align-items: center; }
.comfort__head { position: static; }
.benefit { padding-block: 1.35rem; }
.comfort__note { margin-top: .5rem; }

/* dobra 4: cabe numa tela */
.doctor { padding-block: clamp(5rem, 9vh, 6.5rem) clamp(3rem, 6vh, 4.5rem); }
.doctor__grid { align-items: center; gap: 2rem 4.5rem; }
.doctor__photo { width: min(100%, 420px, calc((100svh - 12rem) * .8)); }
.doctor__title { font-size: clamp(1.9rem, 1.2rem + 1.7vw, 2.75rem); max-width: none; }
.doctor__id { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; }

.creds { margin-top: 1.3rem; }
.creds li { padding: .95rem 1.1rem; font-size: .84rem; }
.creds__big { font-size: 2rem; }
.doctor__text { margin-top: 1.2rem; font-size: .93rem; }
.doctor__quote { margin: 1rem 0 1.4rem; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); }
.doctor__photo .doctor__bud { width: 40%; right: -14%; bottom: 6%; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__l1, .hero__l2 { display: inline; }
  .hero__photo .hero__bud { width: 34%; right: -6%; top: 26%; }
  .bloom__pin { padding-block: 5.5rem 2.5rem; }
  .bloom__inner { grid-template-rows: auto auto auto auto; }
  .bloom__flower { grid-column: 1; grid-row: 2; max-width: 240px; max-height: none; }
  .points { display: grid; grid-row: 3; gap: .7rem; }
  .point, .point:nth-child(n) { grid-row: auto; }
  .bloom__foot .btn { display: inline-flex; }
  .doctor__photo { width: min(78vw, 320px); }
  .doctor__id { justify-content: center; }
  .doctor__title .nowrap { white-space: normal; }
}
/* v5 refinos */
@media (min-width: 861px) {
  .hero__l1 { white-space: nowrap; }
  .hero__photo img:not(.hero__bud) { max-width: none; height: min(88svh, 900px); }
  .hero__photo { overflow: visible; }
  .bloom__pin { padding-block: 5.25rem 1.75rem; }
  .bloom__title { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
  .bloom__flower { max-height: calc(100svh - 24rem); }
  .bloom__note { font-size: 1rem; }
  .bloom__foot { gap: .6rem; }
}
.doctor__reg br { display: inline; }
/* título do hero proporcional à coluna (não invade a foto) */
.hero__copy { position: relative; z-index: 3; container-type: inline-size; }
@media (min-width: 861px) {
  .hero__title { font-size: min(4rem, 6.5cqi); }
}
/* dobra 3: título centralizado na altura e bullets em linhas simples */
.comfort__head { align-self: center; }
.benefit { border-radius: 0; margin-inline: 0; padding-inline: 0; }
.benefit:hover { background: none; }
@media (min-width: 861px) { .hero__title { font-size: min(4.2rem, 7cqi); } }
@media (max-width: 860px) {
  .bloom__inner { min-height: 0; align-content: start; }
  .bloom__pin { min-height: 0; }
}
/* v6: imagens nunca herdam a altura do atributo HTML */
.bloom__flower, .faq__orchid, .hero__bud, .doctor__bud { height: auto; }
@media (max-width: 860px) {
  .bloom__pin { padding-block: 5rem 2.5rem; }
  .bloom__inner { gap: .9rem; }
  .bloom__flower { width: min(62vw, 250px); margin: .25rem auto; }
}
