/* Fontes locais */
@font-face { font-family: 'Lato Local'; src: url('../fonts/Lato-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato Local'; src: url('../fonts/Lato-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato Local'; src: url('../fonts/Lato-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }

/* Reset e variáveis */
:root {
  --primary: #b97576;
  --primary-dark: #945a5d;
  --rose-soft: #d8aaa6;
  --ink: #474244;
  --text: #625b5c;
  --muted: #8b8180;
  --paper: #fffefd;
  --cream: #faf6f3;
  --blush: #f4eae7;
  --border: #eadbd8;
  --shadow: 0 12px 30px rgba(101, 70, 68, .09);
  --radius: 8px;
  --display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --body: 'Lato Local', Arial, sans-serif;
  --container: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; font-size: 18px; scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(84vw, var(--container)); margin-inline: auto; }
.section { padding: 58px 0; }
.section-sm { padding: 42px 0; }
.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: fixed; z-index: 1000; top: -60px; left: 16px; padding: 10px 15px; color: #fff; background: var(--primary-dark); border-radius: 0 0 6px 6px; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid rgba(185,117,118,.45); outline-offset: 3px; }

/* Tipografia */
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 400; line-height: 1.13; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.45rem); letter-spacing: -.018em; }
.eyebrow { margin-bottom: 8px; color: var(--primary); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-heading { max-width: 1040px; margin: 0 auto 29px; text-align: center; }
.section-heading h2 { margin-bottom: 0; }
.section-heading.compact { margin-bottom: 23px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 5px; font-size: .78rem; font-weight: 700; line-height: 1.25; transition: transform .2s, background-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(121,74,76,.17); }
.btn-primary { color: #fff; background: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.72); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Cabeçalho */
.site-header { position: sticky; z-index: 100; top: 0; height: 78px; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(185,117,118,.11); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 26px; }
.brand { flex: 0 0 196px; }
.brand img { width: 196px; height: auto; }
.main-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(15px, 2vw, 29px); }
.main-nav a { position: relative; padding: 29px 0 25px; color: #5c5556; font-size: .73rem; white-space: nowrap; transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; right: 100%; bottom: 20px; left: 0; height: 1px; background: var(--primary); transition: right .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-dark); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-phone { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 13px; color: #fff; background: var(--primary); border-radius: 5px; font-size: .73rem; font-weight: 700; }
.header-phone i { font-size: 1rem; }
.menu-toggle { display: none; position: relative; z-index: 103; width: 42px; height: 42px; padding: 0; color: var(--primary-dark); border: 1px solid var(--border); background: #fff; border-radius: 6px; cursor: pointer; }
.menu-backdrop { display: none; }

/* Hero */
.hero { position: relative; min-height: 610px; overflow: hidden; background: linear-gradient(105deg, #f8f4f1 0%, #f6f1ee 62%, #eee5e1 100%); }
.hero-content { display: grid; grid-template-columns: 52% 48%; width: min(84vw, 1600px); min-height: 610px; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 44px 0 34px; }
.hero h1 { max-width: 820px; margin-bottom: 19px; font-size: clamp(3rem, 3.7vw, 4.25rem); letter-spacing: -.026em; }
.hero h1 em { color: var(--primary); font-weight: 400; }
.hero-lead { max-width: 470px; margin-bottom: 19px; color: #5d5657; font-size: .9rem; }
.hero-visual { position: static; align-self: stretch; min-width: 0; }
.hero-visual picture { position: absolute; inset: 0; z-index: 0; }
.hero-visual img { position: absolute; top: 0; right: 0; width: auto; max-width: none; height: clamp(660px, 41.3vw, 793px); object-fit: contain; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 100%); }
.hero-benefits { display: flex; align-items: center; gap: 27px; margin-top: 25px; }
.hero-benefits li { display: flex; align-items: center; gap: 8px; color: #686061; font-size: .66rem; line-height: 1.35; }
.hero-benefits i { color: var(--primary); font-size: 1.15rem; }

/* Dores e benefícios */
.needs { background: #fff; }
.needs-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.need-item { position: relative; padding: 2px 20px; text-align: center; }
.need-item:not(:last-child)::after { content: ''; position: absolute; top: 18%; right: 0; width: 1px; height: 66%; background: var(--border); }
.icon-ring { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: var(--primary); border: 1px solid var(--rose-soft); border-radius: 50%; font-size: 1.2rem; }
.need-item h3 { margin: 10px 0 0; font-family: var(--body); font-size: .73rem; font-weight: 700; line-height: 1.35; }

/* Tratamentos */
.treatments { background: linear-gradient(180deg, #f8f2ef, #fbf8f6); }
.treatment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.treatment-card { overflow: hidden; background: #fff; border-radius: 6px; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; }
.treatment-card:hover { transform: translateY(-4px); box-shadow: 0 17px 35px rgba(101,70,68,.13); }
.treatment-card img { width: 100%; height: 190px; object-fit: cover; }
.treatment-card > div { padding: 20px 21px 23px; text-align: center; }
.treatment-card h3 { min-height: 42px; margin-bottom: 9px; color: var(--primary-dark); font-size: 1.22rem; }
.treatment-card p { margin: 0; font-size: .78rem; line-height: 1.5; }
.treatment-whatsapp { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--primary-dark); font-size: .69rem; font-weight: 700; }
.treatment-whatsapp:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* Etapas */
.process { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-grid li { position: relative; padding: 0 34px; text-align: center; }
.process-grid li:not(:last-child)::after { content: ''; position: absolute; top: 28px; right: -9%; width: 30%; border-top: 1px dashed #c9b7b4; }
.step-number { position: absolute; top: 18px; left: 11px; display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: var(--primary); border-radius: 50%; font-size: .65rem; font-weight: 700; }
.process-grid .icon-ring { width: 58px; height: 58px; background: #fff; }
.process-grid h3 { margin: 12px 0 7px; color: var(--primary-dark); font-size: 1.16rem; }
.process-grid p { margin: 0; font-size: .76rem; }

/* Resultados clínicos reais */
.results { background: #f8f3f1; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.results-grid article { position: relative; overflow: hidden; padding-bottom: 13px; background: #fff; border-radius: 6px; box-shadow: 0 7px 18px rgba(102,72,70,.07); }
.result-images { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); aspect-ratio: 8 / 3; overflow: hidden; }
.result-shot { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.result-shot + .result-shot { border-left: 2px solid #fff; }
.result-shot img { width: 100%; height: 100%; object-fit: cover; }
.result-shot figcaption { position: absolute; bottom: 7px; left: 50%; padding: 3px 8px; color: #fff; background: rgba(55,43,43,.72); border-radius: 999px; font-size: .52rem; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; transform: translateX(-50%); }
.results-grid h3 { margin: 11px 10px 0; text-align: center; font-family: var(--body); font-size: .83rem; font-weight: 700; }
.results-grid small { display: block; margin-top: 3px; color: var(--muted); font-size: .56rem; text-align: center; }
.featured-patient-case { max-width: 1180px; margin: 28px auto 0; padding: 18px; background: rgba(255,255,255,.88); border: 1px solid rgba(185,117,118,.18); border-radius: 14px; box-shadow: 0 10px 28px rgba(102,72,70,.06); }
.patient-case-profile { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 0 3px 17px; }
.patient-photo-button { position: relative; display: block; flex: 0 0 124px; width: 124px; height: 124px; padding: 0; overflow: hidden; border: 2px solid #fff; background: var(--blush); border-radius: 16px; box-shadow: 0 6px 18px rgba(101,70,68,.14); cursor: zoom-in; }
.patient-photo-button img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .25s; }
.patient-photo-button > span { position: absolute; right: 7px; bottom: 7px; display: grid; width: 27px; height: 27px; place-items: center; color: #fff; background: rgba(148,90,93,.9); border-radius: 50%; font-size: .7rem; }
.patient-photo-button:hover img { transform: scale(1.045); }
.patient-case-profile .eyebrow { margin-bottom: 4px; }
.patient-case-profile h3 { margin: 0 0 7px; font-size: 1.35rem; }
.patient-case-profile p:not(.eyebrow) { margin-bottom: 5px; font-size: .75rem; }
.patient-case-profile small { display: block; color: var(--muted); font-size: .58rem; line-height: 1.45; }
.patient-case-journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.case-stage { display: flex; width: 100%; height: 100%; flex-direction: column; padding: 0; overflow: hidden; color: var(--text); border: 1px solid var(--border); background: #fff; border-radius: 9px; cursor: zoom-in; text-align: left; transition: transform .22s,box-shadow .22s; }
.case-stage:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(102,72,70,.11); }
.case-stage-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.case-stage-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.case-stage:hover .case-stage-media img { transform: scale(1.025); }
.case-stage-media b { position: absolute; top: 9px; left: 9px; display: grid; width: 25px; height: 25px; place-items: center; color: #fff; background: var(--primary-dark); border-radius: 50%; font-size: .65rem; }
.case-stage-media i { position: absolute; right: 10px; bottom: 9px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); font-size: .85rem; }
.case-stage > span:last-child { display: flex; flex-direction: column; padding: 10px 12px 12px; }
.case-stage strong { color: var(--ink); font-family: var(--display); font-size: .9rem; font-weight: 400; }
.case-stage small { color: var(--muted); font-size: .6rem; }
.image-lightbox { position: fixed; inset: 0; width: fit-content; height: fit-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; }
.image-lightbox::backdrop { background: rgba(35,28,29,.78); backdrop-filter: blur(5px); }
.image-lightbox-panel { position: relative; width: min(88vw,560px); padding: 12px 12px 10px; background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgba(20,12,13,.35); }
.image-lightbox-panel img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 9px; }
.image-lightbox-panel p { margin: 9px 6px 2px; color: var(--ink); font-family: var(--display); font-size: 1rem; text-align: center; }
.image-lightbox-close { position: absolute; z-index: 2; top: -14px; right: -14px; display: grid; width: 38px; height: 38px; place-items: center; color: #fff; border: 2px solid #fff; background: var(--primary-dark); border-radius: 50%; box-shadow: 0 6px 16px rgba(30,18,19,.25); cursor: pointer; }

/* Complementares */
.complementary-grid { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1040px; margin: auto; }
.complementary-grid article { text-align: center; }
.complementary-grid i { min-height: 33px; color: var(--rose-soft); font-size: 1.85rem; }
.complementary-grid h3 { margin: 8px 0 0; font-family: var(--body); font-size: .72rem; font-weight: 700; line-height: 1.3; }

/* Sobre */
.about { display: grid; grid-template-columns: 46% 54%; height: 510px; overflow: hidden; background: #f7f2ef; }
.about-image { min-width: 0; height: 510px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.about-copy { display: flex; flex-direction: column; justify-content: center; max-width: 660px; padding: 38px 60px; }
.about-copy h2 { margin-bottom: 15px; }
.professional-id { margin: -5px 0 13px; color: var(--primary-dark); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.about-copy p:not(.eyebrow) { margin-bottom: 10px; font-size: .78rem; line-height: 1.5; }
.about-copy .btn { align-self: flex-start; margin-top: 5px; }
.about-story-trigger { cursor: pointer; }
.story-lightbox { position: fixed; inset: 0; width: fit-content; height: fit-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; }
.story-lightbox::backdrop { background: rgba(31,24,25,.82); backdrop-filter: blur(6px); }
.story-lightbox-panel { position: relative; display: grid; grid-template-columns: minmax(280px,.78fr) minmax(460px,1.22fr); width: min(92vw,980px); max-height: calc(100dvh - 38px); overflow: hidden; background: #fff; border-radius: 16px; box-shadow: 0 30px 90px rgba(20,12,13,.42); }
.story-lightbox-image { min-height: 100%; overflow: hidden; background: var(--blush); }
.story-lightbox-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.story-lightbox-copy { overflow-y: auto; padding: 34px 38px 32px; }
.story-lightbox-copy h2 { margin-bottom: 15px; font-size: clamp(1.75rem,2.6vw,2.35rem); }
.story-lightbox-copy > p { margin-bottom: 12px; font-size: .78rem; line-height: 1.62; }
.story-lightbox-copy .story-lead { color: var(--ink); font-family: var(--display); font-size: .97rem; line-height: 1.48; }
.story-timeline { display: grid; gap: 9px; margin: 18px 0; }
.story-timeline div { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 12px; padding: 10px 13px; background: var(--cream); border-left: 3px solid var(--primary); border-radius: 0 7px 7px 0; }
.story-timeline strong { color: var(--primary-dark); font-family: var(--display); font-size: .92rem; font-weight: 400; }
.story-timeline span { font-size: .68rem; line-height: 1.4; }
.story-signature { color: var(--primary-dark); font-family: var(--display); font-size: 1rem !important; }
.story-signature span { display: block; color: var(--muted); font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.story-lightbox-close { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; width: 40px; height: 40px; place-items: center; color: #fff; border: 2px solid #fff; background: var(--primary-dark); border-radius: 50%; box-shadow: 0 6px 16px rgba(30,18,19,.3); cursor: pointer; }

/* Diferenciais */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 25px; }
.why-grid article { text-align: center; }
.why-grid .icon-ring { width: 44px; height: 44px; background: var(--cream); border-color: transparent; font-size: .95rem; }
.why-grid h3 { margin: 9px 0 5px; font-family: var(--body); font-size: .76rem; font-weight: 700; line-height: 1.3; }
.why-grid p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.42; }

/* Galeria humana */
.moments { background: linear-gradient(180deg,#faf5f2,#f7efec); }
.moments .section-heading { max-width: 830px; }
.moments .section-heading > p:last-child { max-width: 670px; margin: 9px auto 0; color: var(--muted); font-size: .76rem; }
.moments-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 980px; gap: 20px; margin: auto; }
.moment-card { position: relative; aspect-ratio: 1.42 / 1; min-width: 0; padding: 0; overflow: hidden; color: #fff; border: 0; background: #493f40; border-radius: 11px; box-shadow: var(--shadow); cursor: zoom-in; text-align: left; }
.moment-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(36,25,27,.78)); }
.moment-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; transition: transform .38s,filter .38s; }
.moment-card:first-child img { object-position: 50% 28%; }
.moment-card > span { position: absolute; z-index: 2; right: 22px; bottom: 18px; left: 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.moment-card strong, .moment-card small { grid-column: 1; }
.moment-card strong { font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.moment-card small { color: rgba(255,255,255,.8); font-size: .65rem; }
.moment-card i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.05rem; }
.moment-card:hover img { filter: brightness(.92); transform: scale(1.035); }

/* Depoimentos */
.testimonials { background: linear-gradient(180deg, #f8f4f2, #fbf8f7); }
.testimonials .section-heading { margin-bottom: 24px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-grid blockquote { position: relative; margin: 0; padding: 24px 24px 20px; background: #fff; border: 1px solid rgba(185,117,118,.12); border-radius: 8px; box-shadow: 0 7px 20px rgba(102,72,70,.05); }
.testimonial-grid blockquote > i { position: absolute; top: 15px; left: 16px; color: var(--rose-soft); font-size: 1.16rem; }
.testimonial-grid blockquote p { margin: 10px 0 15px; padding-left: 7px; font-family: var(--display); font-size: .92rem; line-height: 1.4; }
.testimonial-grid footer { display: flex; flex-direction: column; font-size: .7rem; }
.testimonial-grid footer span { color: var(--muted); font-size: .59rem; font-style: italic; }

/* Depoimentos em vídeo */
.video-testimonials { background: #fff; }
.video-testimonials .section-heading { margin-bottom: 24px; }
.video-testimonials .section-heading > p:last-child { max-width: 600px; margin: 8px auto 0; color: var(--muted); font-size: .76rem; }
.video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,290px)); justify-content: center; gap: 26px; }
.video-card { overflow: hidden; margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); }
.video-trigger { display: block; width: 100%; padding: 0; border: 0; background: #372f30; cursor: pointer; }
.video-frame { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #372f30; }
.video-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 58%,rgba(31,22,23,.3)); pointer-events: none; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s,filter .35s; }
.video-play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 62px; height: 62px; place-items: center; color: #fff; background: rgba(185,117,118,.94); border: 3px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 9px 28px rgba(49,30,31,.3); font-size: 1.12rem; transform: translate(-50%,-50%); transition: transform .25s,background-color .25s; }
.video-play i { margin-left: 3px; }
.video-trigger:hover .video-frame img { filter: brightness(.92); transform: scale(1.025); }
.video-trigger:hover .video-play { background: var(--primary-dark); transform: translate(-50%,-50%) scale(1.08); }
.video-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; text-align: center; }
.video-card figcaption strong { color: var(--ink); font-family: var(--display); font-size: 1.05rem; font-weight: 400; }
.video-card figcaption span { color: var(--muted); font-size: .65rem; }
.video-responsible { margin: 16px 0 0; color: var(--muted); font-size: .6rem; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.video-lightbox { position: fixed; inset: 0; width: fit-content; height: fit-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; }
.video-lightbox::backdrop { background: rgba(27,20,21,.84); backdrop-filter: blur(6px); }
.video-lightbox-panel { position: relative; width: min(88vw,420px); padding: 10px 10px 12px; background: #fff; border-radius: 15px; box-shadow: 0 28px 80px rgba(12,7,8,.45); }
.video-lightbox-panel video { display: block; width: 100%; max-height: 78vh; aspect-ratio: 9 / 16; object-fit: contain; background: #110e0f; border-radius: 10px; }
.video-lightbox-panel p { margin: 10px 6px 1px; color: var(--ink); font-family: var(--display); font-size: 1.05rem; text-align: center; }
.video-lightbox-close { position: absolute; z-index: 2; top: -14px; right: -14px; display: grid; width: 40px; height: 40px; place-items: center; color: #fff; border: 2px solid #fff; background: var(--primary-dark); border-radius: 50%; box-shadow: 0 6px 16px rgba(30,18,19,.3); cursor: pointer; }

/* Estrutura */
.clinic { background: #fff; }
.clinic .section-heading { margin-bottom: 22px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); height: 280px; gap: 15px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 5px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-photo { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #eee6e3; cursor: zoom-in; }
.gallery-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(36,25,27,.28)); opacity: 0; transition: opacity .25s; }
.gallery-photo > span { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: grid; width: 35px; height: 35px; place-items: center; color: #fff; background: rgba(148,90,93,.92); border: 1px solid rgba(255,255,255,.65); border-radius: 50%; box-shadow: 0 5px 14px rgba(33,20,22,.2); opacity: 0; transform: translateY(6px); transition: opacity .25s,transform .25s,background-color .25s; }
.gallery-photo:hover img, .gallery-photo:focus-visible img { transform: scale(1.035); }
.gallery-photo:hover::after, .gallery-photo:focus-visible::after, .gallery-photo:hover > span, .gallery-photo:focus-visible > span { opacity: 1; }
.gallery-photo:hover > span, .gallery-photo:focus-visible > span { transform: translateY(0); }
.gallery-photo:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }

/* Localização */
.location { background: #f8f3f1; }
.location-grid { display: grid; grid-template-columns: .76fr 1.24fr; align-items: stretch; gap: 55px; }
.location-copy h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 2.5vw, 2.35rem); }
.contact-list { margin-bottom: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 11px; font-size: .77rem; }
.contact-list li > i { display: grid; flex: 0 0 30px; place-items: center; height: 30px; color: #fff; background: var(--primary); border-radius: 50%; }
.contact-list span { display: flex; flex-direction: column; }
.contact-list small { color: var(--primary); font-weight: 700; }
.contact-list a { font-weight: 700; }
.map-card { display: flex; min-height: 360px; overflow: hidden; flex-direction: column; background: #edf1ef; border: 1px solid #dce3df; border-radius: 6px; box-shadow: var(--shadow); }
.map-card iframe { display: block; flex: 1 1 auto; width: 100%; min-height: 305px; border: 0; }
.map-open { display: flex; flex: 0 0 50px; align-items: center; justify-content: center; gap: 8px; min-height: 50px; color: #fff; background: var(--primary); font-size: .73rem; font-weight: 700; transition: background-color .2s; }
.map-open:hover { color: #fff; background: var(--primary-dark); }

/* FAQ compacta */
.faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 58px; }
.faq-intro h2 { margin-bottom: 13px; font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.faq-intro > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .78rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { margin: 0; }
.faq-item button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 2px; color: var(--ink); border: 0; background: transparent; font-family: var(--body); font-size: .8rem; font-weight: 700; text-align: left; cursor: pointer; }
.faq-item button i { margin-left: 16px; color: var(--primary); transition: transform .2s; }
.faq-item.is-open button i { transform: rotate(180deg); }
.faq-answer p { margin: 0; padding: 0 34px 15px 2px; color: var(--muted); font-size: .74rem; }

/* CTA e rodapé */
.final-cta { color: #fff; background: linear-gradient(120deg,#b47677,#a16366); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; min-height: 118px; gap: 35px; padding-block: 24px; }
.final-cta h2 { margin-bottom: 3px; color: #fff; font-size: clamp(1.6rem,2.6vw,2.25rem); }
.final-cta p { margin: 0; font-size: .78rem; }
.site-footer { padding-top: 39px; color: #696162; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .75fr 1fr 1.35fr; gap: 37px; padding-bottom: 30px; }
.footer-brand img { width: 210px; height: auto; margin-bottom: 11px; }
.footer-brand p { max-width: 270px; margin-bottom: 12px; color: var(--muted); font-size: .67rem; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: var(--primary); border-radius: 50%; }
.social-links a:hover { color: #fff; background: var(--primary-dark); text-decoration: none; }
.site-footer h2 { margin-bottom: 11px; color: var(--primary); font-family: var(--body); font-size: .61rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-footer li { margin-bottom: 5px; font-size: .67rem; }
.site-footer a:hover { color: var(--primary-dark); text-decoration: underline; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact i { min-width: 14px; margin-top: 3px; color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--border); font-size: .59rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--primary-dark); font-weight: 700; }
.floating-whatsapp { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: grid; width: 49px; height: 49px; place-items: center; color: #fff; background: #25d366; border-radius: 50%; box-shadow: 0 8px 24px rgba(24,119,61,.25); font-size: 1.55rem; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: transform .2s, opacity .2s, visibility .2s; }
.floating-whatsapp.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.floating-whatsapp.is-visible:hover { transform: translateY(-3px); }

/* Tablet e menu responsivo */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .header-phone { width: 40px; height: 40px; justify-content: center; padding: 0; border-radius: 50%; }
  .brand { flex-basis: 172px; }
  .brand img { width: 172px; }
  .hero h1 { font-size: 3.15rem; }
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 27px; }
  .gallery { grid-template-columns: repeat(3, 1fr); height: auto; grid-auto-rows: 230px; }
}

@media (min-width: 721px) and (max-width: 1600px) {
  .hero-content { min-height: clamp(540px, 42.25vw, 610px); }
  .hero { min-height: clamp(540px, 42.25vw, 610px); }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 72px; }
  .site-header.menu-active { backdrop-filter: none; }
  .header-inner { justify-content: space-between; }
  .brand { flex-basis: 180px; }
  .brand img { width: 180px; }
  .menu-toggle { display: grid; order: 3; place-items: center; }
  .header-phone { margin-left: auto; }
  .main-nav { position: fixed; z-index: 102; top: 72px; right: 0; bottom: 0; display: flex; width: min(86vw,360px); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 22px 24px max(28px,env(safe-area-inset-bottom)); overflow-y: auto; visibility: hidden; opacity: 0; background: #fff; box-shadow: -12px 16px 30px rgba(60,43,42,.14); transform: translateX(100%); pointer-events: none; transition: transform .25s ease,opacity .2s,visibility .25s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateX(0); pointer-events: auto; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: .84rem; }
  .main-nav a::after { display: none; }
  .menu-backdrop { position: fixed; z-index: 101; inset: 72px 0 0; display: block; padding: 0; visibility: hidden; opacity: 0; border: 0; background: rgba(47,36,36,.42); pointer-events: none; transition: opacity .2s,visibility .2s; }
  .menu-backdrop.is-visible { visibility: visible; opacity: 1; pointer-events: auto; }
  .hero { min-height: 560px; }
  .hero-content { grid-template-columns: 55% 45%; min-height: 560px; }
  .hero-visual img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%, #000 100%); mask-image: linear-gradient(to right, transparent 0, #000 26%, #000 100%); }
  .hero h1 { font-size: 2.8rem; }
  .hero-benefits { flex-wrap: wrap; gap: 14px 20px; }
  .needs-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .need-item:nth-child(3)::after { display: none; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 35px; }
  .process-grid li:nth-child(2)::after { display: none; }
  .about { grid-template-columns: 45% 55%; height: 470px; }
  .about-image { height: 470px; }
  .about-copy { padding: 30px 34px; }
  .results-grid { grid-template-columns: repeat(2,1fr); }
  .patient-case-journey { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-lightbox-panel { grid-template-columns: minmax(240px,.68fr) minmax(410px,1.32fr); width: min(94vw,900px); }
  .story-lightbox-copy { padding: 28px 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); height: auto; grid-auto-rows: 210px; }
  .location-grid, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .map-card { min-height: 300px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* Mobile reconstruído */
@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 48px 0; }
  .section-sm { padding: 38px 0; }
  h2 { font-size: clamp(1.65rem,8vw,2.05rem); }
  .section-heading { margin-bottom: 22px; }
  .header-phone { display: none; }
  .brand, .brand img { width: 172px; flex-basis: 172px; }

  .hero { min-height: 0; background: #f7f2ef; }
  .hero-content { display: flex; width: 100%; min-height: 0; flex-direction: column; }
  .hero-visual { position: relative; order: 1; width: 100%; height: min(98vw,445px); }
  .hero-visual picture { position: static; display: block; width: 100%; height: 100%; }
  .hero-visual img { position: static; width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
  .hero-visual img { -webkit-mask-image: none; mask-image: none; }
  .hero-copy { order: 2; width: min(calc(100% - 32px),560px); align-self: center; padding: 32px 0 38px; text-align: center; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(2.12rem,9.8vw,3rem); line-height: 1.08; }
  .hero h1 br { display: none; }
  .hero-lead { margin-inline: auto; font-size: .83rem; }
  .hero .btn { width: 100%; max-width: 390px; }
  .hero-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 25px; }
  .hero-benefits li { flex-direction: column; gap: 4px; font-size: .6rem; text-align: center; }

  .main-nav a { min-height: 52px; padding: 16px 4px; font-size: .92rem; }

  .needs-grid { margin-inline: -16px; padding-inline: 16px; }

  .needs-grid { display: flex; gap: 0; overflow-x: auto; padding: 2px 4px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .needs-grid::-webkit-scrollbar { display: none; }
  .need-item { flex: 0 0 66%; padding: 5px 20px; scroll-snap-align: center; }
  .need-item::after { display: none; }
  .needs::after { content: 'Deslize para ver mais'; display: block; margin-top: 8px; color: var(--muted); font-size: .61rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

  .treatment-grid { grid-template-columns: 1fr; gap: 16px; }
  .treatment-card { display: grid; grid-template-columns: 42% 58%; min-height: 155px; }
  .treatment-card img { height: 100%; min-height: 155px; }
  .treatment-card > div { display: flex; flex-direction: column; justify-content: center; padding: 16px; text-align: left; }
  .treatment-card h3 { min-height: 0; font-size: 1.05rem; }
  .treatment-card p { font-size: .75rem; }

  .process-grid { grid-template-columns: 1fr; max-width: 440px; margin: auto; row-gap: 0; }
  .process-grid li { display: grid; grid-template-columns: 60px 1fr; padding: 0 0 22px; text-align: left; }
  .process-grid li:not(:last-child)::after { top: 54px; right: auto; bottom: 0; left: 29px; width: 1px; height: auto; border: 0; border-left: 1px dashed #c9b7b4; }
  .process-grid .icon-ring { grid-row: 1 / 3; width: 52px; height: 52px; }
  .step-number { z-index: 2; top: -5px; left: -5px; width: 20px; height: 20px; }
  .process-grid h3 { margin: 3px 0 5px; }
  .process-grid p { font-size: .73rem; }

  .results-grid { grid-template-columns: 1fr; max-width: 520px; margin: auto; gap: 16px; }
  .result-images { height: auto; aspect-ratio: 2 / 1; }
  .featured-patient-case { max-width: 520px; padding: 13px; border-radius: 12px; }
  .patient-case-profile { align-items: flex-start; gap: 14px; padding-bottom: 14px; }
  .patient-photo-button { flex-basis: 104px; width: 104px; height: 104px; border-radius: 13px; }
  .patient-case-profile h3 { font-size: 1.12rem; }
  .patient-case-profile p:not(.eyebrow) { font-size: .69rem; }
  .patient-case-journey { gap: 10px; }
  .case-stage > span:last-child { padding: 9px 10px 10px; }
  .case-stage strong { font-size: .82rem; }
  .complementary-grid { grid-template-columns: repeat(3,1fr); gap: 25px 8px; }

  .about { display: flex; height: auto; flex-direction: column; }
  .about-image { width: 100%; height: min(94vw,455px); }
  .about-image img { object-position: 50% 32%; }
  .about-copy { max-width: 600px; padding: 36px 24px 42px; text-align: center; }
  .about-copy p:not(.eyebrow) { font-size: .78rem; }
  .about-copy .btn { align-self: center; }
  .story-lightbox-panel { display: block; width: min(92vw,560px); max-height: calc(100dvh - 28px); overflow-y: auto; }
  .story-lightbox-image { height: 215px; min-height: 0; }
  .story-lightbox-image img { object-position: 50% 30%; }
  .story-lightbox-copy { overflow: visible; padding: 25px 21px 27px; }
  .story-lightbox-copy h2 { font-size: 1.7rem; }
  .story-timeline div { grid-template-columns: 67px 1fr; gap: 8px; padding: 9px 10px; }
  .story-lightbox-close { top: 8px; right: 8px; }

  .why-grid { grid-template-columns: repeat(2,1fr); gap: 27px 14px; }
  .why-grid p { font-size: .72rem; }
  .moments-grid { grid-template-columns: 1fr; gap: 14px; }
  .moment-card { aspect-ratio: 1.18 / 1; }
  .moment-card > span { right: 16px; bottom: 14px; left: 16px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-grid blockquote { padding: 22px; }

  .video-grid { display: flex; justify-content: flex-start; gap: 14px; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-card { flex: 0 0 min(82%,320px); scroll-snap-align: center; }
  .video-testimonials::after { content: 'Deslize para assistir mais depoimentos'; display: block; margin-top: 8px; color: var(--muted); font-size: .61rem; letter-spacing: .07em; text-align: center; text-transform: uppercase; }
  .video-lightbox-panel { width: min(90vw,390px); padding: 7px 7px 9px; }
  .video-lightbox-panel video { max-height: 80vh; }
  .video-lightbox-close { top: -11px; right: -8px; }

  .gallery { display: flex; gap: 12px; overflow-x: auto; margin-inline: -16px; padding: 0 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 82%; height: 235px; scroll-snap-align: center; }
  .clinic::after { content: 'Deslize para conhecer os ambientes'; display: block; margin-top: 9px; color: var(--muted); font-size: .61rem; letter-spacing: .07em; text-align: center; text-transform: uppercase; }

  .location-copy { text-align: center; }
  .contact-list { max-width: 390px; margin-inline: auto; text-align: left; }
  .location .btn { width: 100%; max-width: 410px; }
  .map-card { min-height: 270px; }

  .faq-layout { gap: 24px; }
  .faq-intro { text-align: center; }
  .faq-item button { min-height: 50px; padding: 14px 2px; font-size: .86rem; }
  .final-cta-inner { flex-direction: column; align-items: stretch; gap: 18px; padding-block: 29px; text-align: center; }
  .final-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 28px 22px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-brand p, .site-footer li { font-size: .73rem; }
  .footer-bottom { flex-direction: column; gap: 5px; text-align: center; }
  .floating-whatsapp { right: 13px; bottom: 13px; width: 46px; height: 46px; font-size: 1.4rem; }
  .floating-whatsapp.is-footer-near { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
}

@media (max-width: 430px) {
  .site-header { height: 68px; }
  html { scroll-padding-top: 68px; }
  .main-nav { top: 68px; }
  .menu-backdrop { inset: 68px 0 0; }
  .brand, .brand img { width: 156px; flex-basis: 156px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero-visual { height: 98vw; max-height: 430px; }
  .hero-copy { padding-top: 28px; }
  .hero h1 { font-size: clamp(2.05rem,9.8vw,2.55rem); }
  .treatment-card { grid-template-columns: 40% 60%; }
  .treatment-card > div { padding: 14px; }
  .complementary-grid { grid-template-columns: repeat(2,1fr); }
  .patient-case-profile { grid-template-columns: 96px 1fr; gap: 11px; }
  .patient-photo-button { width: 96px; height: 96px; }
  .patient-case-profile .eyebrow { font-size: .56rem; }
  .patient-case-profile h3 { font-size: 1rem; }
  .patient-case-profile small { font-size: .52rem; }
  .image-lightbox-panel { width: min(90vw,520px); padding: 8px 8px 9px; }
  .image-lightbox-close { top: -11px; right: -8px; }
  .about-image { height: 94vw; max-height: 430px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-brand img, .footer-brand p { margin-inline: auto; }
  .social-links { justify-content: center; }
  .footer-contact { max-width: 310px; margin-inline: auto; text-align: left; }
}

@media (max-width: 360px) {
  .container { width: min(calc(100% - 24px),var(--container)); }
  .brand, .brand img { width: 145px; flex-basis: 145px; }
  .hero-benefits { grid-template-columns: 1fr; }
  .hero-benefits li { flex-direction: row; justify-content: center; }
  .treatment-card { grid-template-columns: 1fr; }
  .treatment-card img { min-height: 180px; }
  .treatment-card > div { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
