/* ============================================================
   Dra. Tássia Tuan · Fisiatria — experiência cinematográfica
   Paleta original do site: cream · ink · vinho · rosé
   Hero clara: vídeo da coluna sob véu cream, textos ink/vinho.
   ============================================================ */

/* ---------- fontes servidas do próprio domínio ----------
   Antes vinham do Google Fonts: dois hosts externos e um CSS bloqueante
   antes dos woff2. Subconjunto latin, eixos variáveis mantidos porque o
   site usa pesos intermediários (330, 340, 350, 380, 420). */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../assets/fonts/fraunces-latin-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap;
  src: url(../assets/fonts/fraunces-latin-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../assets/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* paleta original dratassiatuan.com.br */
  --vinho: #7a1538;
  --vinho-deep: #5c0f2a;
  --vinho-soft: #a23a5e;
  --rose: #e8d5da;
  --rose-soft: #f5e7ec;
  --cream: #faf6f1;
  --cream-deep: #f0e9df;
  --ink: #1f1419;
  --ink-muted: #6b5b5f;
  --ink-soft: #756269;
  --linha: #e7dad0;
  --whats-green: #25d366;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --wrap-tight: 860px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
address { font-style: normal; }

::selection { background: rgba(122, 21, 56, 0.18); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: var(--wrap-tight); margin: 0 auto; padding: 0 32px; }

/* ---------- tipografia editorial ---------- */
h1, h2, h3, .brand-name, .hero-phrase p {
  font-family: var(--serif);
  font-weight: 350;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--vinho);
  font-weight: 340;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; font-weight: 420; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--vinho);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--vinho);
  opacity: 0.65;
}

.sec-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 84px); }
.sec-lead { margin-top: 22px; font-size: 1.06rem; color: var(--ink-muted); max-width: 620px; font-weight: 400; }

.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }

/* ---------- botões (padrão original: vinho + branco) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 15px 28px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-whats {
  background: var(--vinho);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(122, 21, 56, 0.55);
}
.btn-whats:hover {
  background: var(--vinho-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(122, 21, 56, 0.6);
}
.btn-header { padding: 11px 20px; font-size: 0.86rem; }
.btn-xl { padding: 19px 40px; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 3.4vw, 44px);
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
  background: rgba(250, 246, 241, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.28rem; letter-spacing: 0.02em; color: var(--ink); }
.brand-sub {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--vinho); margin-top: 4px; font-weight: 700;
}
.main-nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.main-nav a {
  font-size: 0.86rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--vinho);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.main-nav a:hover { color: var(--vinho); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 16px; }

.site-header.is-solid {
  background: rgba(250, 246, 241, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--linha);
}

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.menu-toggle span {
  width: 24px; height: 1.6px; background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(4.3px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(-4.3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(250, 246, 241, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  gap: clamp(20px, 4vw, 34px);
  padding: calc(var(--header-h) + 18px) 22px 48px;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu nav {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(10px, 2.6vw, 18px); width: 100%;
}
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 5vw, 1.7rem); line-height: 1.25;
  color: var(--ink); text-align: center; padding: 3px 0; max-width: 100%;
  transition: color 0.3s;
}
.mobile-menu nav a:hover { color: var(--vinho); }
.mobile-menu > .btn { flex-shrink: 0; }
/* com o menu aberto, o aviso de cookies nao pode cobrir os itens */
body:has(.mobile-menu.is-open) .cookie-aviso {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* ---------- hero clara (vídeo sob véu cream) ---------- */
.hero { position: relative; height: 340vh; background: var(--cream); }
.hero-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.hero-video {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 1; }
/* leve esfumado só na junta central (borda esquerda do vídeo) */
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 8, 10, 0.5) 0%, rgba(14, 8, 10, 0) 16%);
}

.hero-fade {
  position: absolute; inset: 0; z-index: 4;
  background: var(--cream);
  opacity: 0;
  pointer-events: none;
}

/* junta central suavizada: faixa de desfoque esfumada */
.hero-seam {
  position: absolute; z-index: 5;
  top: 0; bottom: 0; left: 50%;
  width: 120px; transform: translateX(-50%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 58%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 58%, transparent 100%);
  pointer-events: none;
}

/* metade esquerda: foto de fundo + texto claro por cima */
.hero-portrait {
  position: absolute; z-index: 3;
  left: 0; top: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
}
/* camada desfocada preenche as laterais; a foto inteira fica por cima */
.hero-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url(../assets/img/dra-tassia-portrait-opt.webp);
  background-size: cover;
  background-position: 50% 30%;
  filter: blur(24px) brightness(0.88) saturate(1.05);
  transform: scale(1.12);
}
.hero-portrait img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain; object-position: right center;
  -webkit-mask-image: none; mask-image: none;
}
.hero-portrait::after {
  z-index: 2;
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 11, 15, 0.68) 0%, rgba(22, 11, 15, 0.42) 42%, rgba(22, 11, 15, 0.1) 72%, rgba(22, 11, 15, 0.3) 100%),
    linear-gradient(180deg, rgba(22, 11, 15, 0.22) 0%, rgba(22, 11, 15, 0) 30%, rgba(22, 11, 15, 0) 72%, rgba(22, 11, 15, 0.28) 100%);
  pointer-events: none;
}
.hero-portrait picture { display: contents; }
.hero-portrait figcaption { display: none; }

.hero-copy {
  position: absolute; z-index: 5;
  left: clamp(24px, 5vw, 80px);
  top: 50%; transform: translateY(-50%);
  max-width: min(420px, 42vw);
}
.hero-copy h1 { font-size: clamp(2.3rem, 3.4vw, 3.4rem); color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.hero-copy h1 em { color: #f2c78d; }
.hero-copy .eyebrow { margin-bottom: 26px; color: #f0d3a8; }
.hero-copy .eyebrow::before { background: #f0d3a8; }
.hero-sub {
  margin-top: 26px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}
.hero-ctas { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.04em; }
.hero-crm { margin-top: 26px; font-size: 0.72rem; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.72); text-transform: uppercase; }

/* cada frase traz sua foto de paciente no fundo (metade esquerda) */
.hero-phrase {
  position: absolute; z-index: 5;
  inset: 0;
  right: 50vw;
  display: grid; place-items: center;
  text-align: center;
  padding: 0 clamp(24px, 4vw, 56px);
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center 28%;
  overflow: hidden;
}
.hero-phrase::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.3) 0%, rgba(10, 6, 8, 0.48) 58%, rgba(10, 6, 8, 0.66) 100%);
}
.hero-phrase p {
  position: relative; z-index: 1;
  color: #fff;
  font-size: 34px;
  line-height: 1.3;
  max-width: 880px;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
}
.hero-phrase .ph-tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #f0d3a8;
  margin-bottom: 20px;
}
.hero-phrase em { font-style: italic; color: #fff; font-weight: 330; }

#phraseA { background-image: url(../assets/img/paciente-consulta.webp); }
#phraseB { background-image: url(../assets/img/paciente-reabilitacao.webp); }
#phraseC { background-image: url(../assets/img/paciente-movimento.webp); }
#phraseD { background-image: url(../assets/img/paciente-bemestar.webp); }

.scroll-cue {
  position: absolute; z-index: 6;
  left: 25%; bottom: 34px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.64rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.scroll-cue-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, #f0d3a8);
  animation: cue-drop 2s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

/* ---------- iris (usada na foto do Sobre) ---------- */
.iris {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  background: var(--cream-deep);
  position: relative;
  box-shadow: 0 24px 50px -30px rgba(31, 20, 25, 0.35);
}
.iris img {
  width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.iris img.img-missing { visibility: hidden; }
.iris::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 50% 40%, rgba(122, 21, 56, 0.05), transparent 75%);
  pointer-events: none;
}

/* ---------- seção sobre ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-photo { position: relative; }
.iris-photo { aspect-ratio: 3 / 4; border-radius: 22px; }
.about-photo figcaption { padding: 18px 6px 0; }
.about-photo figcaption strong { font-family: var(--serif); color: var(--ink); font-size: 1.05rem; font-weight: 420; display: block; }
.about-photo figcaption span { font-size: 0.78rem; color: var(--vinho); letter-spacing: 0.1em; display: block; margin-top: 4px; }
.about-body h2 { margin-bottom: 28px; }
.about-body p + p { margin-top: 18px; }
.about-body > div > p { color: var(--ink-muted); }
.about-quote {
  margin: 30px 0;
  padding-left: 24px;
  border-left: 2px solid var(--vinho);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 340;
}
.cred-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 30px; }
.cred-chips li {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--vinho);
  background: var(--rose-soft);
  border: 1px solid var(--rose);
  border-radius: 999px;
  padding: 9px 18px;
}

/* ---------- seção histórias ---------- */
.stories { background: linear-gradient(180deg, var(--cream), var(--cream-deep) 30%, var(--cream-deep) 78%, var(--cream)); }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
}
.story-card {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 20px;
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 24px 50px -34px rgba(31, 20, 25, 0.28);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.story-card:hover { transform: translateY(-6px); border-color: rgba(122, 21, 56, 0.3); box-shadow: 0 30px 60px -34px rgba(122, 21, 56, 0.3); }
.story-card-feature { transform: translateY(28px); }
.story-card-feature:hover { transform: translateY(22px); }
.story-stars { color: #d9a05b; letter-spacing: 4px; font-size: 0.82rem; margin-bottom: 18px; }
.story-card blockquote {
  font-family: var(--serif);
  font-size: 1.06rem; line-height: 1.55;
  color: var(--ink);
  font-weight: 340;
  margin-bottom: 24px;
}
.story-card figcaption { display: flex; align-items: center; gap: 14px; }
.story-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rose-soft);
  border: 1px solid var(--rose);
  color: var(--vinho);
  font-family: var(--serif); font-size: 1.15rem;
  flex: 0 0 auto;
}
.story-card figcaption strong { display: block; color: var(--ink); font-size: 0.92rem; font-weight: 700; }
.story-card figcaption small { color: var(--ink-soft); font-size: 0.76rem; }

.stories-cta {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  justify-content: center;
}

.stories-numbers {
  margin-top: clamp(64px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--linha);
  padding-top: 44px;
}
.stories-numbers dt {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--vinho);
  margin-bottom: 6px;
}
.stories-numbers dd { font-size: 0.82rem; color: var(--ink-muted); letter-spacing: 0.04em; }

/* ---------- seção método (painel escuro de contraste) ---------- */
.method { background: linear-gradient(180deg, var(--cream), #241a20 12%, #241a20 88%, var(--cream)); }
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: start;
}
.method-intro { position: sticky; top: 120px; }
.method-intro .eyebrow { color: var(--rose); }
.method-intro .eyebrow::before { background: var(--rose); }
.method-intro h2 { margin-bottom: 24px; color: #fdf9f4; }
.method-intro h2 em { color: var(--rose); }
.method-intro p { font-weight: 300; max-width: 420px; color: rgba(253, 249, 244, 0.72); }
.method-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
/* cards vinho (estilo do exemplo) sobre o painel escuro */
.method-step {
  display: flex; gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(22px, 2.6vw, 30px) clamp(24px, 3vw, 36px);
  border-radius: 18px;
  background: linear-gradient(155deg, #5c1231 0%, #460e26 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 44px -30px rgba(0, 0, 0, 0.7);
  transition: transform 0.45s var(--ease-out), box-shadow 0.4s;
}
.method-step:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 28px 54px -30px rgba(0, 0, 0, 0.8);
}
.ms-num {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #e2a9bd;
  line-height: 1;
  flex: 0 0 54px;
}
.method-step strong {
  display: block;
  font-family: var(--serif); font-weight: 420;
  font-size: 1.3rem; color: #fff;
  margin-bottom: 8px;
}
.method-step p { font-size: 0.95rem; color: rgba(245, 219, 227, 0.82); font-weight: 300; max-width: 460px; }
.method .btn-whats {
  background: #fff;
  color: var(--vinho);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.35);
  margin-top: 28px;
}
.method .btn-whats:hover { background: var(--rose-soft); }
.method .consult-pay {
  margin-top: 16px;
  font-size: 0.74rem;
  color: rgba(253, 249, 244, 0.5);
  letter-spacing: 0.04em;
}

/* ---------- seção condições ---------- */
.conditions { background: var(--cream); }
.cond-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 80px);
}
.cond-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--linha);
  transition: border-color 0.35s, background 0.35s;
}
.cond-list li:hover { border-bottom-color: rgba(122, 21, 56, 0.45); }
.cond-list strong {
  font-family: var(--serif); font-weight: 420;
  color: var(--ink); font-size: 1.18rem;
  white-space: nowrap;
}
   .cond-list li > a {
     display: flex; align-items: baseline; justify-content: space-between;
     gap: 20px; width: 100%;
   }
   .cond-list li > a strong { transition: color 0.3s; }
   .cond-list li > a:hover strong { color: var(--vinho); }
.cond-note { margin-top: 44px; font-size: 0.92rem; color: var(--ink-muted); }
.cond-note a { color: var(--vinho); border-bottom: 1px solid rgba(122, 21, 56, 0.35); transition: border-color 0.3s; font-weight: 600; }
.cond-note a:hover { border-bottom-color: var(--vinho); }

/* ---------- seção atendimento ---------- */
.care { background: linear-gradient(180deg, var(--cream), var(--cream-deep) 30%, var(--cream-deep) 75%, var(--cream)); }
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.care-card {
  border: 1px solid var(--linha);
  border-radius: 20px;
  padding: clamp(28px, 3.2vw, 42px);
  background: #fff;
  box-shadow: 0 24px 50px -34px rgba(31, 20, 25, 0.25);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.care-card:hover { transform: translateY(-6px); border-color: rgba(122, 21, 56, 0.3); box-shadow: 0 30px 60px -34px rgba(122, 21, 56, 0.28); }
.care-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--vinho);
  background: var(--rose-soft);
  border: 1px solid var(--rose);
  margin-bottom: 24px;
}
.care-icon svg { width: 24px; height: 24px; }
.care-card h3 { margin-bottom: 14px; }
.care-card p { font-size: 0.92rem; color: var(--ink-muted); margin-bottom: 22px; }
.care-card address {
  font-size: 0.78rem; color: var(--ink-soft);
  border-top: 1px solid var(--linha);
  padding-top: 18px;
  letter-spacing: 0.03em;
}

/* ---------- seção FAQ ---------- */
.faq { background: linear-gradient(180deg, var(--cream), var(--cream-deep) 35%, var(--cream-deep) 80%, var(--cream)); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--linha); }
.faq-item:first-child { border-top: 1px solid var(--linha); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px;
  text-align: left;
  transition: color 0.3s;
}
.faq-q span {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink);
  font-weight: 380;
}
.faq-q i {
  position: relative;
  width: 18px; height: 18px; flex: 0 0 auto;
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--vinho);
  transition: transform 0.4s var(--ease-out);
}
.faq-q i::before { width: 18px; height: 1.5px; }
.faq-q i::after { width: 1.5px; height: 18px; }
.faq-item.is-open .faq-q i::after { transform: rotate(90deg); }
.faq-a { overflow: hidden; height: 0; }
.faq-a-inner {
  padding: 2px 4px 30px;
  max-width: 700px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ---------- CTA final (vinho) ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--vinho-deep), var(--vinho) 65%, #8d2043);
  text-align: center;
  overflow: hidden;
}
.final-glow {
  position: absolute; left: 50%; top: 58%;
  width: 1100px; height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(45% 45% at 50% 50%, rgba(255, 226, 238, 0.14), transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; }
.final-cta .eyebrow { justify-content: center; color: var(--rose); }
.final-cta .eyebrow::before { background: var(--rose); }
.final-cta .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--rose); opacity: 0.65; }
.final-cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin-bottom: 26px; color: #fff; }
.final-cta h2 em { color: var(--rose); }
.final-lead { max-width: 560px; margin: 0 auto 34px; color: rgba(255, 255, 255, 0.82); }
.final-lead strong { color: #fff; font-weight: 700; }
.final-pills { list-style: none; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.final-pills li {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
}
.final-cta .btn-whats {
  background: #fff;
  color: var(--vinho);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.4);
}
.final-cta .btn-whats:hover { background: var(--rose-soft); }
.final-note { margin-top: 22px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.06em; }

/* ---------- footer (ink, como o original) ---------- */
.site-footer { background: var(--ink); border-top: 0; padding: clamp(60px, 7vw, 90px) 0 40px; color: rgba(255, 255, 255, 0.7); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-bottom: 60px;
}
/* Paginas internas tem uma quinta coluna (Artigos) que a home nao tem.
   Sem esta regra o quinto bloco quebra para uma segunda linha sozinho. */
.footer-grid:has(> :nth-child(5)) {
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr 1.5fr;
}
.footer-brand .brand-name { font-size: 1.5rem; color: #fdf9f4; }
.footer-brand p { margin-top: 16px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); max-width: 300px; }
.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
  font-size: 0.72rem; color: rgba(255, 255, 255, 0.75);
}

/* ---------- FAB (verde WhatsApp original) ---------- */
.fab-whats {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whats-green);
  color: #fff;
  box-shadow: 0 14px 38px -12px rgba(37, 211, 102, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s var(--ease-out), box-shadow 0.3s;
}
.fab-whats svg { width: 28px; height: 28px; }
.fab-whats.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-whats:hover { box-shadow: 0 18px 46px -12px rgba(37, 211, 102, 0.8); }

/* ---------- reveals (estado inicial via JS) ---------- */
.js [data-reveal] { opacity: 0; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1240px) {
  .hero-portrait { width: clamp(240px, 21vw, 340px); }
}

@media (max-width: 1080px) {
  .hero-video { width: auto; left: 0; right: 0; transform: none; }
  /* no mobile o vídeo é fundo inteiro: scrim escuro para o texto claro ler */
  .hero-vignette {
    display: block;
    background: linear-gradient(180deg, rgba(10, 5, 7, 0.62) 0%, rgba(10, 5, 7, 0.38) 45%, rgba(10, 5, 7, 0.66) 100%);
  }
  .hero-phrase { right: 0; }
  .hero-phrase p, .hero-phrase em { color: #fff; }
  /* no mobile o vídeo é fundo inteiro: frases voltam a ser texto (sem foto de fundo) */
  #phraseA, #phraseB, #phraseC, #phraseD { background-image: none; }
  .hero-phrase::before { display: none; }
  .hero-seam { display: none; }
  .scroll-cue { left: 50%; color: rgba(255, 255, 255, 0.75); }
  .scroll-cue-line { background: linear-gradient(180deg, transparent, #f0d3a8); }
  .stories-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .story-card-feature { transform: none; }
  .story-card-feature:hover { transform: translateY(-6px); }
  .care-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .about-grid, .method-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
  .method-intro { position: static; }
  .stories-numbers { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hero-portrait { display: none; }
  .hero-copy { max-width: 76vw; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .btn-header { display: none; }
  .cond-list { grid-template-columns: 1fr; }
  .cond-list span { text-align: right; }
  .hero-copy { max-width: 88vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -48px -28px;
    background: radial-gradient(85% 85% at 35% 50%, rgba(10, 5, 7, 0.55), transparent 80%);
    z-index: -1;
  }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap, .wrap-tight { padding: 0 20px; }
  .hero { height: 300vh; }
  .hero-copy { left: 20px; right: 20px; }
  .hero-sub { font-size: 0.95rem; }
  .hero-ctas { gap: 12px; }
  .hero-phrase p { font-size: 26px; }
  .btn { padding: 14px 22px; font-size: 0.9rem; }
  .btn-xl { padding: 16px 28px; font-size: 0.95rem; }
  .cond-list strong { white-space: normal; font-size: 1.05rem; }
  .cond-list li { flex-direction: column; gap: 4px; align-items: flex-start; }
  .cond-list span { text-align: left; }
  .stories-numbers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-whats { right: 18px; bottom: 18px; width: 52px; height: 52px; }
  .method-step { flex-direction: column; gap: 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero { height: 100vh !important; }
  .js [data-reveal] { opacity: 1 !important; }
  .scroll-cue { display: none; }
}


/* ============= NAV DROPDOWN (Artigos) ============= */
.main-nav details.nav-dropdown { position: relative; }
.main-nav details.nav-dropdown summary {
  font-size: 0.86rem; font-weight: 500; color: var(--ink);
  cursor: pointer; list-style: none; padding: 6px 0;
  transition: color 0.3s;
}
.main-nav details.nav-dropdown summary::-webkit-details-marker { display: none; }
.main-nav details.nav-dropdown summary::marker { content: ""; }
.main-nav details.nav-dropdown summary:hover,
.main-nav details.nav-dropdown[open] summary { color: var(--ink); }
.main-nav .nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 14px;
  background: var(--cream); border: 1px solid var(--linha);
  min-width: 260px; padding: 10px 0; display: flex; flex-direction: column;
  box-shadow: 0 16px 34px rgba(31, 20, 25, 0.14); z-index: 60;
}
.main-nav .nav-dropdown-menu a {
  padding: 9px 18px; font-size: 0.82rem; font-weight: 500;
  color: var(--ink-muted); white-space: normal; line-height: 1.35;
}
.main-nav .nav-dropdown-menu a:hover { color: var(--vinho); background: var(--cream-deep); }

.mobile-menu nav details.mobile-dropdown { display: flex; flex-direction: column; align-items: center; width: 100%; }
.mobile-menu nav details.mobile-dropdown summary {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 5vw, 1.7rem); line-height: 1.25;
  color: var(--ink); text-align: center; padding: 3px 0;
  cursor: pointer; list-style: none; transition: color 0.3s;
}
.mobile-menu nav details.mobile-dropdown summary::-webkit-details-marker { display: none; }
.mobile-menu nav details.mobile-dropdown summary::marker { content: ""; }
.mobile-menu nav details.mobile-dropdown[open] summary { color: var(--vinho); }
.mobile-menu nav .mobile-dropdown-menu {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(8px, 2.2vw, 14px);
  margin-top: clamp(10px, 2.6vw, 16px);
  width: 100%; max-width: 100%;
}
.mobile-menu nav .mobile-dropdown-menu a {
  font-family: var(--sans);
  font-size: clamp(0.88rem, 3.6vw, 1rem); line-height: 1.35;
  color: var(--ink-muted); text-align: center;
  max-width: 100%; text-wrap: balance;
}
.mobile-menu nav .mobile-dropdown-menu a:hover { color: var(--vinho); }

/* rodape: linha legal */
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
/* sem opacity: a 50% de branco vezes 0.75 o contraste caia para 3,5:1 */
.footer-legal a, .link-like {
  font-family: var(--sans); font-size: inherit; color: inherit;
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.25s;
}
.footer-legal a:hover, .link-like:hover { color: #fff; }

/* ============= FOCO VISIVEL (acessibilidade) ============= */
:focus-visible {
  outline: 2px solid var(--vinho);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero :focus-visible, .method :focus-visible, .final-cta :focus-visible, .site-footer :focus-visible {
  outline-color: var(--cream);
}

   .skip-link {
     position: absolute; left: -9999px; top: 0; z-index: 300;
     background: var(--vinho); color: #fff; padding: 10px 18px;
     border-radius: 0 0 10px 0; font-size: 0.9rem;
   }
   .skip-link:focus { left: 0; }