/* =====================================================================
   Dra. Ana Beatriz Cruz — Estilos do site (versão 4 · mobile first)
   Tudo aqui foi desenhado primeiro para CELULAR (~390px).
   Tablet e computador ficam no fim do arquivo (@media min-width).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. PALETA DE CORES E VARIÁVEIS
   Para mudar uma cor no site inteiro, altere apenas o código aqui.
   --------------------------------------------------------------------- */
:root {
  /* Base clara */
  --branco:        #FAF6F0;  /* branco quente — fundo principal */
  --offwhite:      #F6EFE6;  /* off-white */
  --areia:         #F0E6DA;  /* areia suave — seções alternadas e formas orgânicas */
  --nude:          #EBDBCB;  /* nude — chamada final */
  --bege:          #E4D3C1;  /* bege — espaços de foto */

  /* Escuros */
  --grafite:       #2F2926;  /* marrom-grafite — títulos */
  --texto:         #575756;  /* texto (cinza da logo) */
  --texto-suave:   #6B6562;  /* textos secundários */

  /* Coral da logo */
  --coral:         #CF5758;  /* coral exato da logo — acentos */
  --coral-cta:     #B84A4C;  /* coral dos botões (legível com texto branco) */
  --coral-cta-2:   #A13E41;  /* coral ao tocar/passar o mouse */

  /* Dourado champagne (brushed gold) — só detalhes */
  --dourado:       #C2A97C;  /* fios e contornos */
  --dourado-texto: #7A6644;  /* pequenos textos dourados */
  --linha:         rgba(194, 169, 124, .5);
  --linha-suave:   rgba(47, 41, 38, .08);

  /* Tipografia */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans:  "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Medidas */
  --gutter: 24px;
  --header-h: 60px;
  --section-y: 96px;
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Enquadramento da foto principal (vem do config.js) */
  --hero-pos-mobile: 40% 12%;
  --hero-pos-desktop: 40% 16%;

  color-scheme: light;
}

/* ---------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--branco); color: var(--texto);
  font-family: var(--sans); font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
figure, address { margin: 0; font-style: normal; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--grafite); }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--nude); color: var(--grafite); }
:focus-visible { outline: 1.5px solid var(--dourado-texto); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--grafite); color: var(--branco); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.ico { width: 18px; height: 18px; flex: none; }

/* Ondas orgânicas entre seções (com fio dourado) */
.has-wave { position: relative; }
.wave { position: absolute; left: 0; top: -46px; width: 100%; height: 48px; pointer-events: none; }
.wave-fill { fill: var(--wave-bg, var(--branco)); }
.wave-line { fill: none; stroke: var(--dourado); stroke-width: 1; opacity: .8; display: none; }
.treatments .wave-line, .footer .wave-line { display: block; }  /* fio dourado só em duas ondas: mais limpo */

/* ---------------------------------------------------------------------
   3. TIPOGRAFIA
   --------------------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--dourado-texto);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--dourado); }

.h2 { font-size: clamp(2.6rem, 11.6vw, 4.4rem); line-height: 1.02; font-weight: 300; letter-spacing: -.02em; margin-top: 16px; }
.h3 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); line-height: 1.1; font-weight: 300; }
.h2-espaco { font-size: clamp(1.9rem, 9.4vw, 4rem); }
.h2 em, .h3 em, .display em { font-style: italic; font-weight: 400; color: var(--coral); }
.display { font-size: clamp(2.5rem, 11vw, 4.6rem); line-height: 1.03; font-weight: 300; letter-spacing: -.02em; }
.subtitle { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--grafite); }
.section-lead { margin-top: 16px; font-size: .98rem; line-height: 1.7; color: var(--texto-suave); max-width: 36ch; }

/* Quebras de linha equilibradas (sem palavras sozinhas no fim) */
h1, h2, h3, .subtitle, .display, .location-address span { text-wrap: balance; }
p, li, address { text-wrap: pretty; }
/* frases curtas (2–3 linhas): linhas com tamanhos parecidos */
.hero-tagline, .section-lead, .cta-lead, .insta-text, .treat p, .treat-note { text-wrap: balance; }
.line { display: block; }            /* cada parte do título numa linha, com quebra natural dentro dela */

/* ---------------------------------------------------------------------
   4. BOTÕES
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px; border-radius: var(--radius);
  font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), outline-color .45s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.985); }
.btn .ico { width: 17px; height: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .75rem; letter-spacing: .16em; }

/* Botão principal: coral da logo com um fio dourado bem fino ao redor */
.btn-coral { background: var(--coral-cta); color: #fff; outline: 1px solid var(--linha); outline-offset: 4px; }
.btn-coral:hover { background: var(--coral-cta-2); outline-color: var(--dourado); }

.btn-outline { border-color: var(--dourado); color: var(--grafite); background: transparent; }
.btn-outline:hover { background: var(--grafite); border-color: var(--grafite); color: var(--branco); }
.btn-outline .ico { color: var(--dourado-texto); transition: transform .45s var(--ease); }
.btn-outline:hover .ico { color: inherit; transform: translateX(3px); }

.link-soft {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grafite);
}
.link-soft .ico { width: 15px; height: 15px; color: var(--dourado-texto); transition: transform .45s var(--ease); }
.link-soft:hover .ico { transform: translateY(3px); }

/* ---------------------------------------------------------------------
   5. CABEÇALHO + MENU
   --------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 246, 240, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--linha-suave);
}
.header-inner {
  height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 12px 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { height: 36px; width: auto; }
.nav-desktop, .header-cta { display: none; }

.menu-toggle {
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0;
  display: grid; place-content: center; gap: 7px; position: relative; z-index: 110;
}
.menu-toggle span { display: block; width: 26px; height: 1px; background: var(--grafite); transition: transform .45s var(--ease), width .45s var(--ease); }
.menu-toggle span:last-child { width: 16px; justify-self: end; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { width: 26px; transform: translateY(-4px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 95; background: var(--branco); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 48px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-shape { position: absolute; right: -40px; bottom: 60px; width: 320px; height: 320px; color: var(--dourado); opacity: .7; pointer-events: none; }
.menu-open .menu-mobile { opacity: 1; visibility: visible; }
.menu-open .site-header { background: var(--branco); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-mobile nav { display: flex; flex-direction: column; position: relative; }
.menu-mobile nav a {
  align-self: flex-start; font-family: var(--serif); font-weight: 300; font-size: 2.3rem; line-height: 1.2; color: var(--grafite); padding: 8px 0;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.menu-mobile nav a:active { color: var(--coral); }
.menu-open .menu-mobile nav a { opacity: 1; transform: none; }
.menu-open .menu-mobile nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu-mobile nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu-mobile nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu-mobile nav a:nth-child(5) { transition-delay: .16s; }
.menu-mobile-footer { position: relative; display: grid; gap: 22px; }
.menu-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dourado-texto); }
.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------
   6. PRIMEIRA TELA — foto com forma orgânica + texto numa só composição
   --------------------------------------------------------------------- */
.hero { position: relative; padding-top: var(--header-h); overflow: hidden; }

/* forma areia atrás da foto */
.hero-blob { position: absolute; top: 0; right: 0; width: 82%; height: 470px; color: var(--areia); z-index: 0; }
/* fio dourado ondulado que atravessa a composição */

.hero-photo {
  position: relative; z-index: 2;
  width: 80%; margin: 10px 16px 0 auto;
  aspect-ratio: 74 / 100;                 /* vertical (≈ 3:4) */
}
.hero-mask { position: absolute; inset: 0; -webkit-clip-path: url(#forma-hero); clip-path: url(#forma-hero); background: var(--bege); z-index: 1; }
.hero-mask img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos-mobile); }
.hero-outline { /* contorno dourado que acompanha a forma */
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  transform: translate(-12px, 12px); color: var(--dourado); z-index: 0;
}

.hero-content { position: relative; z-index: 3; margin-top: -26px; padding: 0 var(--gutter) 72px; }
.hero-title { display: flex; flex-direction: column; font-weight: 300; }
/* "Dra." maior e "Ana Beatriz Cruz" levemente menor: proporção equilibrada.
   No celular, "Dra." fica na linha de cima; no computador, tudo numa linha só. */
.t-dra { font-style: italic; font-weight: 400; font-size: 2rem; line-height: 1; color: var(--coral); margin-bottom: 4px; }
.t-name { font-size: clamp(2.2rem, 10.6vw, 3rem); line-height: 1.05; letter-spacing: -.02em; }
.nowrap { white-space: nowrap; }
.hero-role {
  margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--dourado-texto);
}
.hero-role .sep { width: 18px; height: 1px; background: var(--dourado); }
.hero-tagline { margin-top: 12px; max-width: 24ch; font-size: 1.02rem; line-height: 1.55; color: var(--texto); }
.hero-actions { margin-top: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* ---------------------------------------------------------------------
   7. SOBRE — sem fotografia: texto, pilares e detalhes dourados
   --------------------------------------------------------------------- */
.about { padding-top: 24px; text-align: center; }
.about-inner { display: flex; flex-direction: column; align-items: center; }
.ornament { width: 96px; height: 20px; color: var(--dourado); margin-bottom: 36px; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ""; width: 26px; height: 1px; background: var(--dourado); }
.about-lead { margin-top: 24px; max-width: 32ch; font-size: 1.02rem; line-height: 1.85; color: var(--texto); }

/* Pilares: composição vertical leve (sem caixas) */
.pillars { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.pillars li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pillars li + li::before { /* fio dourado curtinho entre os itens */
  content: ""; width: 1px; height: 28px; background: var(--linha); margin: 14px 0 12px;
}
.pillar-ico { width: 26px; height: 26px; color: var(--dourado); }
.pillars span { font-family: var(--serif); font-weight: 300; font-size: 1.4rem; line-height: 1.25; color: var(--grafite); letter-spacing: -.005em; }

/* ---------------------------------------------------------------------
   8. TRATAMENTOS
   --------------------------------------------------------------------- */
.treatments { background: var(--areia); --wave-bg: var(--areia); }
.treat-head { margin-bottom: 40px; }
.treat-list { border-bottom: 1px solid var(--linha); }
/* Procedimentos realizados por especialistas no consultório */
.treat-group { margin-top: 40px; }
.treat-note {
  margin-top: 16px; display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.4; color: var(--dourado-texto);
}
.treat-note::before { content: ""; width: 24px; height: 1px; background: var(--dourado); flex: none; }
.treat { padding: 22px 0 24px; border-top: 1px solid var(--linha); }
.treat h3 { font-size: 1.7rem; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; transition: color .4s var(--ease); }
.treat p { margin-top: 4px; font-size: .95rem; line-height: 1.5; color: var(--texto-suave); }

/* ---------------------------------------------------------------------
   9. MEU ESPAÇO — carrossel com fotos em arco orgânico
   --------------------------------------------------------------------- */
.space { --wave-bg: var(--branco); }
.space-head { margin-bottom: 36px; }
/* Fotos do consultório: grade simples, fotos inteiras (proporção original) */
.space-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.space-photos img { width: 100%; height: auto; border-radius: var(--radius); }

.location { margin-top: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.location-pin { width: 22px; height: 22px; color: var(--dourado); }
/* Endereço compacto: cinco linhas juntas, sem card */
.location-address { margin-top: 18px; display: flex; flex-direction: column; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.38; color: var(--grafite); }
.link-line {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--grafite);
  border-bottom: 1px solid var(--linha); transition: border-color .4s var(--ease), color .4s var(--ease);
}
.link-line .ico { width: 16px; height: 16px; color: var(--dourado-texto); transition: transform .45s var(--ease); }
.link-line:hover { border-color: var(--coral-cta); color: var(--coral-cta); }
.link-line:hover .ico { transform: translateX(4px); }

/* Horário de atendimento (abaixo do endereço) */
.location-hours { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linha); min-width: 220px; }
.hours-label { font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--dourado-texto); }
.hours-days { margin-top: 10px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--grafite); }
.hours-time { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--grafite); }
.hours-note { margin-top: 10px; font-size: .88rem; font-style: italic; color: var(--texto-suave); }

/* ---------------------------------------------------------------------
   DEPOIMENTOS — avaliações reais do Google
   --------------------------------------------------------------------- */
.reviews { background: var(--areia); --wave-bg: var(--areia); }
.reviews-head { margin-bottom: 40px; }
/* Carrossel horizontal: deslizar com o dedo (sem barra de rolagem visível) */
.reviews-grid {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.reviews-grid::-webkit-scrollbar { display: none; }
.reviews-grid .review { flex: 0 0 86%; scroll-snap-align: start; }
.reviews-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.rev-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linha); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--grafite); transition: background-color .4s var(--ease), color .4s var(--ease), opacity .4s var(--ease);
}
.rev-arrow .ico { width: 16px; height: 16px; }
.rev-prev .ico { transform: rotate(180deg); }
.rev-arrow:hover { background: var(--grafite); color: var(--branco); }
.rev-arrow:disabled { opacity: .35; cursor: default; background: transparent; color: var(--grafite); }
.rev-dots { display: flex; gap: 8px; align-items: center; }
.rev-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.rev-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--linha); transition: background-color .4s var(--ease), transform .4s var(--ease); }
.rev-dots button[aria-current="true"]::before { background: var(--dourado); transform: scale(1.35); }
.review {
  display: flex; flex-direction: column; background: var(--branco); border-radius: var(--radius);
  padding: 30px 26px 26px;
}
.stars { display: flex; gap: 4px; color: var(--dourado); }
.stars svg { width: 14px; height: 14px; }
.review blockquote { margin: 18px 0 0; flex: 1; }
.review blockquote p { font-size: .96rem; line-height: 1.75; color: var(--texto); }
.review-src {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--linha);
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dourado-texto);
}

/* ---------------------------------------------------------------------
   10. CHAMADA PARA AGENDAR
   --------------------------------------------------------------------- */
.cta { background: var(--nude); --wave-bg: var(--nude); text-align: center; overflow-x: clip; padding: 104px 0 112px; }
.cta-blob { position: absolute; left: 50%; top: 40px; width: 460px; height: 460px; transform: translateX(-50%); color: rgba(250, 246, 240, .5); pointer-events: none; }
.cta .wave { overflow: visible; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.symbol { width: 44px; height: auto; margin-bottom: 30px; }
.cta-lead { margin-top: 20px; max-width: 30ch; font-size: 1.02rem; line-height: 1.65; color: var(--texto); }
.cta .btn { margin-top: 36px; }

/* ---------------------------------------------------------------------
   11. CONTATO
   --------------------------------------------------------------------- */
.contact { --wave-bg: var(--branco); }
.contact-head { margin-bottom: 36px; }
.contact-list { border-top: 1px solid var(--linha); }
.contact-list li { border-bottom: 1px solid var(--linha); }
.contact-list a, .contact-list .contact-static { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; }
.contact-list .ico {
  width: 42px; height: 42px; padding: 11px; flex: none; border-radius: 50%;
  border: 1px solid var(--linha); color: var(--coral-cta); transition: background-color .4s var(--ease), color .4s var(--ease);
}
.contact-list a:hover .ico { background: var(--coral-cta); color: #fff; }
.contact-list .k { display: block; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dourado-texto); line-height: 1.4; margin-top: 2px; }
.contact-list .v { display: block; margin-top: 4px; font-size: 1.02rem; line-height: 1.5; color: var(--grafite); overflow-wrap: anywhere; }
.contact-list .v-small { font-size: .9rem; }
.contact-list .v-address { display: flex; flex-direction: column; font-size: .95rem; }
.contact-list .v-note { margin-top: 6px; font-size: .88rem; font-style: italic; color: var(--texto-suave); }

/* ---------------------------------------------------------------------
   12. INSTAGRAM
   --------------------------------------------------------------------- */
.insta { padding: 24px 0 120px; text-align: center; }
.insta-inner::before { content: ""; width: 1px; height: 48px; background: var(--linha); margin-bottom: 40px; }
.insta-inner { display: flex; flex-direction: column; align-items: center; }
.insta-ico { width: 26px; height: 26px; color: var(--coral-cta); margin-bottom: 18px; }
.insta-text { margin-top: 14px; max-width: 32ch; font-size: .98rem; line-height: 1.65; color: var(--texto-suave); }
.insta .btn { margin-top: 28px; }

/* ---------------------------------------------------------------------
   13. RODAPÉ
   --------------------------------------------------------------------- */
.footer { position: relative; background: var(--areia); --wave-bg: var(--areia); padding: 64px 0 calc(36px + env(safe-area-inset-bottom)); text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-logo { height: 64px; width: auto; margin-bottom: 26px; }
.footer-name { font-family: var(--serif); font-size: 1.45rem; color: var(--grafite); line-height: 1.2; margin-bottom: 4px; }
.footer-meta { font-size: .9rem; line-height: 1.8; color: var(--texto-suave); }
.footer-icons { display: flex; gap: 14px; margin-top: 26px; }
.footer-icons a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linha); display: grid; place-items: center; color: var(--coral-cta); transition: background-color .4s var(--ease), color .4s var(--ease); }
.footer-icons a:hover { background: var(--coral-cta); color: #fff; }
.footer-quote { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--grafite); }
.footer-copy { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--linha); font-size: .8rem; line-height: 1.6; color: var(--texto-suave); min-width: 240px; }

/* ---------------------------------------------------------------------
   14. BOTÃO FLUTUANTE + AVISO
   --------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(250, 246, 240, .95); color: var(--coral-cta);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -8px rgba(47, 41, 38, .35), inset 0 0 0 1px var(--linha);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.wa-float .ico { width: 21px; height: 21px; }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }

.toast {
  position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 150;
  transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  background: var(--grafite); color: var(--branco); font-size: .85rem; line-height: 1.45;
  padding: 12px 18px; border-radius: var(--radius); width: max-content; max-width: calc(100vw - 40px); text-align: center;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.is-empty { opacity: .7; font-style: italic; }

/* ---------------------------------------------------------------------
   15. MICROANIMAÇÕES (leves; desligadas se o celular pedir menos movimento)
   --------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-photo .hero-mask { opacity: 0; transform: scale(.97); transform-origin: 60% 30%; transition: opacity 1.2s var(--ease), transform 1.6s var(--ease-out); }
.js .loaded .reveal-photo .hero-mask { opacity: 1; transform: none; }
.js .hero-outline { opacity: 0; transition: opacity 1.4s var(--ease) .6s; }
.js .loaded .hero-outline { opacity: 1; }
.js .hero .reveal { transition-delay: .35s; }
.js .hero .reveal:nth-child(2) { transition-delay: .45s; }
.js .hero .reveal:nth-child(3) { transition-delay: .55s; }
.js .hero .reveal:nth-child(4) { transition-delay: .65s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-photo .hero-mask, .js .hero-outline { opacity: 1; transform: none; }
}

/* Celulares com tela mais baixa (ou navegador do Instagram com barras):
   a foto fica um pouco menor para o botão aparecer já na primeira tela. */
@media (max-width: 639px) and (max-height: 780px) {
  .hero-photo { width: 68%; }
  .hero-content { margin-top: -22px; padding-bottom: 56px; }
  .t-name { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .hero-role { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
}
@media (max-width: 639px) and (max-height: 690px) {
  .hero-photo { width: 54%; }
  .t-dra { font-size: 1.6rem; }
  .t-name { font-size: 2.05rem; }
  .hero-role { gap: 2px 10px; letter-spacing: .16em; }
  .hero-tagline { margin-top: 8px; font-size: .95rem; }
  .hero-actions { margin-top: 16px; }
}

/* ---------------------------------------------------------------------
   16. TABLET (a partir de 640px)
   --------------------------------------------------------------------- */
@media (min-width: 640px) {
  :root { --gutter: 48px; --header-h: 72px; --section-y: 116px; }
  .brand-logo { height: 44px; }
  .hero-blob { width: 70%; height: 720px; }
  .hero-photo { width: min(56%, 440px); margin-right: var(--gutter); }
  .hero-content { max-width: 560px; margin-top: -64px; }
  .t-dra { font-size: 2.6rem; }
  .t-name { font-size: 3.6rem; }
  .space-photos { gap: 20px; }
  .reviews-grid { gap: 20px; }
  .reviews-grid .review { flex-basis: 70%; }
  .reviews .container { max-width: 760px; }
  .about-lead { max-width: 44ch; }
  .insta-text, .cta-lead { max-width: 40ch; }
  .wave { height: 64px; top: -62px; }
}

/* ---------------------------------------------------------------------
   17. COMPUTADOR (a partir de 1024px)
   --------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root { --gutter: 56px; --header-h: 92px; --section-y: 140px; }
  .menu-toggle, .menu-mobile { display: none; }
  .header-inner { padding: 0 var(--gutter); }
  .brand-logo { height: 56px; }
  .nav-desktop { display: flex; gap: 38px; margin-left: auto; }
  .nav-desktop a { white-space: nowrap; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grafite); padding: 8px 0; position: relative; }
  .nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--dourado); transform: scaleX(0); transition: transform .5s var(--ease); }
  .nav-desktop a:hover::after, .nav-desktop a.active::after { transform: scaleX(1); }
  .header-cta { display: inline-flex; margin-left: 32px; }

  /* Hero: texto à esquerda, foto orgânica grande à direita */
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: max(100vh, 760px); }
  .hero-blob { width: 58%; height: 100%; }
  .hero-photo { grid-column: 2; grid-row: 1; width: min(34vw, 500px); margin: 24px auto 40px; }
  .hero-outline { transform: translate(-20px, 18px); }
  .hero-mask img { object-position: var(--hero-pos-desktop); }
  .hero-content { grid-column: 1; grid-row: 1; margin: 0; max-width: none; padding: 0 40px 40px max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); }
  .hero-title { flex-direction: row; align-items: baseline; flex-wrap: nowrap; gap: .28em; white-space: nowrap; }
  .t-dra { font-size: clamp(2.3rem, 3.2vw, 3.4rem); margin: 0; }
  .t-name { font-size: clamp(2.8rem, 4.1vw, 4.4rem); line-height: 1; }
  .hero-tagline { font-size: 1.1rem; }
  .hero-actions { flex-direction: row; align-items: center; gap: 30px; margin-top: 36px; }

  /* Sobre */

  /* Sobre: pilares em duas colunas */
  .about-inner { max-width: 760px; }
  .about-lead { max-width: 52ch; }
  /* Computador: blocos de texto mais largos, para não quebrar cedo demais */
  .section-lead { max-width: 44ch; }
  .treat-head .section-lead { max-width: 36ch; }
  .hero-tagline { max-width: 32ch; }
  .cta-lead { max-width: 40ch; }
  .insta-text { max-width: 46ch; }
  .cta-title { max-width: none; }
  .cta-title .line:first-child { display: inline; }     /* "Seu sorriso começa com" + quebra natural */
  .cta-title em.line { display: block; }
  .pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; margin-top: 72px; }
  .pillars li + li::before { display: none; }
  .pillars li { padding-top: 28px; border-top: 1px solid var(--linha); min-width: 260px; }

  /* Tratamentos */
  .treat-grid { max-width: 1180px; display: grid; grid-template-columns: 4fr 1fr 7fr; }
  .treat-head { grid-column: 1; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .treat-list, .treat-group { grid-column: 3; }
  .treat { padding: 24px 0; }                          /* 1024–1279px: nome em cima, frase embaixo */
  .h2 { font-size: clamp(3rem, 4.6vw, 4.4rem); }         /* títulos proporcionais à largura da coluna */
  .treat p { margin: 0; }
  .treat h3 { font-size: 2.1rem; }
  .treat:hover h3 { color: var(--coral-cta); }

  /* Espaço */
  .space .container, .cta-inner, .insta-inner { max-width: 1180px; }
  .space-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .reviews .container { max-width: 1180px; }
  .reviews-grid { gap: 24px; margin: 0; padding: 0; scroll-padding: 0; }
  .reviews-grid .review { flex-basis: calc((100% - 24px) / 2); }   /* 2 depoimentos por vez */
  .reviews-nav { justify-content: center; gap: 28px; margin-top: 36px; }
  .reviews-head { margin-bottom: 56px; }
  .review { padding: 36px 32px 30px; }

  /* Contato */
  .contact-grid { max-width: 1180px; display: grid; grid-template-columns: 4fr 1fr 7fr; }
  .contact-head { grid-column: 1; }
  .contact-list { grid-column: 3; }
  .contact-list .v-small { font-size: 1rem; }

  .wave { height: 90px; top: -88px; }
  .wa-float { display: none; }
}

/* Telas largas (a partir de 1280px): nome e frase lado a lado nos tratamentos */
@media (min-width: 1280px) {
  .treat-grid { grid-template-columns: 4fr .6fr 7.4fr; }
  .treat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 26px 0; }
  .treat h3 { font-size: 1.95rem; }
}

/* Notebooks menores (1024–1279px): menu um pouco mais compacto para não quebrar linha */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-desktop { gap: 24px; }
  .nav-desktop a { letter-spacing: .16em; }
  .header-cta { margin-left: 20px; }
}
