/* ------------------------------------------------------------------
   Fontes
   Títulos: Didot Title · Especiais: Aviano · Textos: Helvetica Neue Leve
   Arquivos em /fonts (woff2 gerados a partir dos .otf enviados).
------------------------------------------------------------------- */
@font-face {
  font-family: "Didot Title";
  src: url("fonts/DidotTitle.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
/* Didot Title não tem itálico: usa o itálico da Didot do sistema e depois a Playfair */
@font-face {
  font-family: "Aviano";
  src: url("fonts/Aviano.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
/* Helvetica Neue Leve: no Mac/iPhone usa a Light do sistema; nos demais, o arquivo Thin enviado */
@font-face {
  font-family: "Helvetica Neue Leve";
  src: local("HelveticaNeue-Light"), local("Helvetica Neue Light"),
       url("fonts/HelveticaNeue-Thin.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue Leve";
  src: local("HelveticaNeue-LightItalic"), local("Helvetica Neue Light Italic");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue Leve";
  src: local("HelveticaNeue-Medium"), local("Helvetica Neue Medium");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --f-titulo: "Didot Title", "Didot", "Playfair Display", "Bodoni 72", serif;
  --f-especial: "Aviano", "Cinzel", "Didot", serif;
  --f-texto: "Helvetica Neue Leve", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --creme: #f8f4ec;
  --creme-card: #faf7f2;
  --branco: #fdfcfa;
  --tinta: #121110;
  --texto: #3a3734;
  --cinza: #6f6a64;
  --bronze: #8d6b4d;
  --linha: #e4dccf;
  --linha-forte: #d4c6b2;

  --wa: 7.3vw; /* margem lateral do layout */
}

*, *::before, *::after { box-sizing: border-box; }

/* Didot Title só tem peso regular: um contorno leve na cor do texto engrossa os traços finos */
.hero-title, .cuidado h2, .resultados h2, .tecnologias h2, .card h3, .condicao h2,
.equipe h2, .equipe-frase {
  -webkit-text-stroke: .018em currentColor;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--creme);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
i { font-style: normal; }

/* ---------- Botões ---------- */
.arw { width: .8em; height: .8em; fill: none; stroke: currentColor; stroke-width: 1.3; flex: none; }
.btn-dark, .btn-light, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.1em;
  text-decoration: none; border-radius: 999px; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn-dark, .btn-light {
  font-family: var(--f-texto); font-weight: 500; font-size: 14px; letter-spacing: .02em; padding: .9em 1.7em;
}
.btn-dark { background: var(--tinta); color: #f4efe7; }
.btn-dark:hover { background: #2b2825; }
.btn-light { border: 1px solid rgba(18,17,16,.35); color: var(--tinta); background: rgba(248,244,236,.35); }
.btn-light:hover { background: rgba(248,244,236,.9); }
.btn-outline {
  font-family: var(--f-texto); font-weight: 500; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 1.05em 2em; border: 1px solid rgba(18,17,16,.45); color: var(--tinta);
}
.btn-outline:hover { background: var(--tinta); color: var(--creme); }

/* ---------- Revelação ao rolar ---------- */
/* Escondidos só com JS ativo; o GSAP revela (main.js). Sem JS/GSAP tudo aparece. */
.js .rv, .js .cuidado-itens li, .js .foto, .js .resultados-aviso, .js .resultados > .btn-dark,
.js .hero-top, .js .hero-content > *, .js .lb, .js .plus { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .cuidado-itens li, .js .foto, .js .resultados-aviso, .js .resultados > .btn-dark,
  .js .hero-top, .js .hero-content > *, .js .lb, .js .plus { opacity: 1; }
}

/* ---------- Hover leve ---------- */
.arw { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) {
  .btn-dark:hover, .btn-light:hover, .btn-outline:hover { transform: translateY(-2px); }
  .btn-dark:hover { box-shadow: 0 10px 22px -12px rgba(18,17,16,.55); }
  a:hover > .arw { transform: translate(2px, -2px); }

  .card { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .5s; }
  .card:hover { transform: translateY(-5px); border-color: var(--linha-forte); box-shadow: 0 18px 34px -22px rgba(77,42,11,.35); }
  .card img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
  .card:hover img { transform: rotate(-6deg) scale(1.05); }
  .card-btn { transition: background-color .3s, letter-spacing .4s; }
  .card:hover .card-btn { letter-spacing: .18em; }

  .foto img { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
  .foto:hover img { transform: scale(1.045); }

  .cuidado-itens img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
  .cuidado-itens li:hover img { transform: scale(1.07); }

  .barra-nome { transition: opacity .3s; }
  .barra-nome:hover { opacity: .6; }
}

/* ---------- Barra fixa com efeito vidro ---------- */
.barra {
  position: fixed; z-index: 50; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--wa);
  background: rgba(248,244,236,.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(18,17,16,.08);
  box-shadow: 0 8px 30px -20px rgba(18,17,16,.25);
  transform: translateY(-110%); opacity: 0; visibility: hidden;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s, visibility 0s .6s;
}
.barra.on { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .barra { background: rgba(248,244,236,.96); }
}
.barra-nome { display: block; width: 170px; line-height: 0; }
.barra-tags { font-family: var(--f-texto); font-weight: 400; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--texto); }
.barra-tags i { margin: 0 1.1em; }
.barra-cta {
  display: inline-flex; align-items: center; gap: 1em; text-decoration: none; white-space: nowrap;
  background: var(--tinta); color: #f4efe7; border-radius: 999px; padding: .95em 1.7em;
  font-family: var(--f-texto); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .3s, background-color .3s;
}
.barra-cta:hover { background: #2b2825; }

@media (max-width: 1023px) {
  .barra {
    top: auto; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-bottom: 0; border-top: 1px solid rgba(18,17,16,.08);
    box-shadow: 0 -8px 30px -20px rgba(18,17,16,.25);
    transform: translateY(110%);
  }
  .barra.on.fim { transform: translateY(110%); opacity: 0; visibility: hidden; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s, visibility 0s .6s; }
  .barra-tags { display: none; }
  .barra-nome { width: 132px; }
}

/* =================================================================
   HERO
   Desktop: diagramação medida no frame de referência (3201×1800).
   Posições em % do hero; tamanhos das linhas principais ajustados
   pelo main.js para ocupar a mesma largura do frame com qualquer fonte.
================================================================= */
.hero { position: relative; background: #efebe4; overflow: hidden; }
.hero-bg { width: 100%; }

.hero-tags, .lb, .hero-pillars li, .eyebrow {
  font-family: var(--f-texto); font-weight: 400; text-transform: uppercase; letter-spacing: .2em;
}
.hero-tags { color: var(--texto); white-space: nowrap; }
.hero-tags i { margin: 0 1.3em; font-size: .9em; }
.hero-reg { font-family: var(--f-texto); font-weight: 400; color: var(--texto); letter-spacing: .02em; white-space: nowrap; }
.hero-name { line-height: 0; }
.hero-name img, .barra-nome img, .logo-nome img { display: block; width: 100%; height: auto; }
.hero-spec { font-family: var(--f-texto); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; color: var(--texto); white-space: nowrap; }
.hero-title { font-family: var(--f-titulo); font-weight: 400; line-height: 1.12; }
.hero-sub { font-family: var(--f-texto); font-weight: 300; color: #77716a; letter-spacing: .04em; line-height: 1.45; }
.hero-btns { display: flex; flex-wrap: wrap; }
.hero-pillars { display: flex; }
.hero-pillars li { color: var(--texto); line-height: 1.5; }
.hero-pillars li::after, .lb-estetica::after, .lb-saude::after {
  content: ""; display: block; width: 2.3em; height: 1px; background: currentColor; opacity: .6; margin-top: 1em;
}
.lb { color: var(--texto); line-height: 1.6; }
.lb b { font-weight: 500; color: var(--tinta); }
.plus { position: absolute; font-family: var(--f-texto); font-weight: 300; line-height: 1; display: none; }
.hero-foto-m { display: none; }
.hero-fx { display: none; }

@media (min-width: 1024px) {
  .hero { aspect-ratio: 3201 / 1800; }
  .hero-visual { position: absolute; inset: 0; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; height: 100%; object-fit: cover; }

  /* efeito no fundo: só as áreas desfocadas se movem; Àlvaro, recorte do olho e linhas ficam parados (máscara) */
  .hero-fx {
    display: block; position: absolute; inset: 0; pointer-events: none;
    -webkit-mask: url("img/hero-fx-mascara.png?v=20260925170712") center / cover no-repeat;
            mask: url("img/hero-fx-mascara.png?v=20260925170712") center / cover no-repeat;
  }
  .hero-fx-fundo { position: absolute; inset: 0; background: url("img/hero-fundo-fx.webp?v=20260925170712") center / cover no-repeat; will-change: transform; }
  .hero-fx-luz {
    position: absolute; left: 0; top: 0; width: 46vw; height: 46vw; margin: -23vw 0 0 -23vw; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,236,208,.75) 0%, rgba(255,236,208,.28) 38%, rgba(255,236,208,0) 68%);
    mix-blend-mode: soft-light; opacity: 0; transition: opacity 1.2s ease; will-change: transform;
  }
  .hero.fx-ativo .hero-fx-luz { opacity: 1; }
  @media (prefers-reduced-motion: reduce), (hover: none) { .hero-fx { display: none; } }

  /* todos os textos posicionados no hero, como no frame */
  .hero-top, .hero-content { position: absolute; inset: 0; pointer-events: none; }
  .hero-top > *, .hero-content > *, .lb { position: absolute; pointer-events: auto; margin: 0; }
  .hero-title, .hero-sub { white-space: nowrap; }

  /* valores iniciais; o main.js refina tamanho e altura exata */
  .hero-tags  { left: 7.41%; top: 7.9%;  font-size: .69vw; }
  .hero-reg   { left: 7.31%; top: 20.1%; font-size: .87vw; }
  .hero-name  { left: 6.35%; top: 30.6%; width: 39.1%; }
  .hero-spec  { left: 7.2%; top: 39.4%; font-size: max(10px, .69vw); }
  .hero-title { left: 7.19%; top: 47.6%; font-size: 2.6vw; line-height: 3.18vw; }
  .hero-sub   { left: 7.37%; top: 62%;   font-size: 1.2vw;  line-height: 1.87vw; }

  .hero-cta {
    left: 78.8%; top: 3.05%; width: 14.6%; height: 5.1%;
    font-size: .72vw; padding: 0; background: rgba(248,244,236,.06);
    border-color: rgba(248,244,236,.75); color: #f6f1ea;
  }
  .hero-cta:hover { background: rgba(248,244,236,.9); color: var(--tinta); }

  .hero-btns { left: 7%; top: 72.7%; width: 28.2%; height: 5.66%; gap: 0; flex-wrap: nowrap; justify-content: space-between; }
  .hero-btns a { height: 100%; padding: 0; font-size: .96vw; }
  .hero-btns .btn-dark  { width: 51.4%; }
  .hero-btns .btn-light { width: 45.4%; }

  .hero-pillars { left: 7.34%; top: 86.9%; width: 36%; }
  .hero-pillars li { position: absolute; top: 0; font-size: .62vw; letter-spacing: .18em; }
  .hero-pillars li:nth-child(1) { left: 0; }
  .hero-pillars li:nth-child(2) { left: 27.4%; }
  .hero-pillars li:nth-child(3) { left: 58.7%; white-space: nowrap; }

  .lb { font-size: .63vw; letter-spacing: .18em; }
  .hero-tags { color: #5b5651; }
  .lb-estetica { left: 74.3%;  top: 33.9%; }
  .lb-ciencia  { left: 88.75%; top: 33.9%; }
  .lb-olhar    { left: 40.45%; top: 75.3%; font-size: .56vw; letter-spacing: .1em; } /* fica à esquerda da camisa */
  .lb-saude    { left: 88.75%; top: 74.6%; color: #ece6dc; }
  .lb-saude::before { content: "+"; display: block; font-size: 1.5em; font-weight: 300; margin-bottom: .4em; }

  .plus { display: block; font-size: 1.2vw; color: #f3eee6; transform: translate(-50%, -50%); }
  .plus-1 { left: 51.95%; top: 72.2%; }
  .plus-2 { left: 94%;    top: 28.5%; }
}

/* Mobile e tablet: a foto vira o fundo à direita, com a textura do frame no hero inteiro */
@media (max-width: 1023px) {
  .hero { position: relative; isolation: isolate; display: flex; flex-direction: column; background: var(--creme); }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
      linear-gradient(90deg, rgba(248,244,236,.93) 0%, rgba(248,244,236,.78) 55%, rgba(248,244,236,.55) 100%),
      url("img/hero-textura-m.webp") center / cover no-repeat;
  }
  .hero-visual { display: none; }
  .hero-top { display: none; } /* tags e botão do topo só no desktop; no mobile a barra fixa faz esse papel */

  .hero-content { order: 2; position: relative; display: block; padding: 40px 20px 8px; }
  .hero-content > * { position: relative; }
  .hero-reg    { font-size: 10px; white-space: normal; margin-top: 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(18,17,16,.16); }
  .hero-name   { width: min(44%, 210px); margin-top: 8px; }
  .hero-spec   { font-size: 9px; letter-spacing: .14em; margin-top: 14px; white-space: normal; }
  .hero-title  { max-width: 55%; font-size: clamp(24px, 6.6vw, 40px); line-height: 1.1; margin-top: 26px; }
  .hero-sub    { max-width: 55%; font-size: clamp(14px, 3.7vw, 18px); margin-top: 14px; color: #5e5953; }
  .hero-title br, .hero-sub br { display: none; }

  /* foto ocupa a coluna da direita, do topo até o fim dos botões (altura pelo main.js) */
  .hero-foto-m {
    display: block; position: absolute; z-index: -1; top: 20px; right: 0;
    width: 54%; height: 520px; object-fit: cover; object-position: 40% 20%; pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 80%, transparent 100%);
            mask-composite: intersect;
  }
  .hero-btns { gap: 10px; margin-top: 30px; }
  .hero-btns a { font-size: 14px; padding: .85em 1.35em; }
  .hero-btns .btn-light { background: rgba(248,244,236,.75); }

  .hero-pillars { justify-content: space-between; gap: 10px; margin-top: 20px; }
  .hero-pillars li { font-size: 9px; letter-spacing: .08em; }

  /* os 4 destaques da direita só aparecem no desktop */
  .hero-labels { display: none; }
  .hero-content { padding-bottom: 44px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-content { padding-left: 6vw; padding-right: 6vw; }
  .hero-foto-m { width: 48%; }
  .hero-pillars { justify-content: flex-start; gap: 48px; }
  .hero-pillars li { font-size: 10px; letter-spacing: .18em; }
}

/* =================================================================
   FAIXA PRETA
================================================================= */
.faixa { background: #000; color: #f1ece4; text-align: center; padding: 2.3vw 20px; }
.faixa span { display: inline-block; }
.faixa p {
  font-family: var(--f-especial); font-weight: 400;
  font-size: clamp(15px, 1.95vw, 30px); letter-spacing: .06em; line-height: 1.3;
}
@media (max-width: 767px) { .faixa p { font-size: clamp(12.5px, 3.5vw, 15px); } }

/* =================================================================
   CUIDADO
================================================================= */
.cuidado {
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 4vw;
  padding: 13.5vw var(--wa) 5vw 8.6vw;
  background: var(--creme) url("img/fundo-seda.webp") top center / 100% auto no-repeat;
}
.cuidado h2 { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(26px, 2.75vw, 46px); line-height: 1.1; }
.cuidado-texto p { font-size: clamp(14px, .98vw, 16px); line-height: 1.75; color: var(--texto); margin-top: 1.6em; }
.cuidado-itens { display: grid; grid-template-columns: repeat(4, 1fr); }
.cuidado-itens li { text-align: center; padding: 0 .9vw; }
.cuidado-itens li + li { border-left: 1px solid rgba(18,17,16,.35); }
.cuidado-itens img { width: clamp(52px, 4.6vw, 70px); margin: 0 auto 1.3vw; }
.cuidado-itens h3 {
  font-family: var(--f-texto); font-weight: 500; text-transform: uppercase;
  font-size: clamp(11px, .9vw, 14px); letter-spacing: .03em; line-height: 1.5; color: #2a2826;
}
.cuidado-itens p { font-size: clamp(12px, .88vw, 14px); line-height: 1.55; color: var(--texto); margin-top: 1em; }

@media (max-width: 1023px) {
  .cuidado { grid-template-columns: 1fr; gap: 48px; padding: 30vw 20px 40px; background-size: 180% auto; background-position: 70% 0; }
  .cuidado-texto p br { display: none; }
  .cuidado-itens { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .cuidado-itens li:nth-child(3) { border-left: 0; }
  .cuidado-itens li { padding: 0 12px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .cuidado { padding: 22vw 6vw 48px; background-size: 130% auto; }
  .cuidado-itens { grid-template-columns: repeat(4, 1fr); }
  .cuidado-itens li:nth-child(3) { border-left: 1px solid rgba(18,17,16,.35); }
}

/* =================================================================
   RESULTADOS
================================================================= */
.resultados { text-align: center; padding: 3.2vw 0 5.5vw; }
.resultados-eyebrow { font-size: clamp(12px, 1.12vw, 17px); letter-spacing: .01em; color: #2a2826; }
.resultados h2 {
  font-family: var(--f-titulo); font-weight: 400; font-size: clamp(20px, 2.05vw, 32px);
  letter-spacing: .01em; margin-top: .45em; padding: 0 20px;
}
/* carrossel contínuo (movimento pelo main.js) */
.carrossel { position: relative; margin-top: 3vw; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.faixa-fotos { display: flex; gap: 2.75vw; width: max-content; will-change: transform; }
.foto img { -webkit-user-drag: none; }
.carrossel-seta {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--tinta); background: rgba(248,244,236,.5); border: 1px solid rgba(255,255,255,.65);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 10px 30px -14px rgba(18,17,16,.45);
  transition: background-color .3s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.carrossel-seta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.carrossel-seta:hover { background: rgba(248,244,236,.85); transform: translateY(-50%) scale(1.06); }
.carrossel-seta:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.carrossel-ant { left: 3vw; }
.carrossel-prox { right: 3vw; }
.carrossel-bullets { display: flex; justify-content: center; gap: 4px; margin-top: 2vw; }
.carrossel-bullets button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carrossel-bullets button::after {
  content: ""; width: 7px; height: 7px; border-radius: 999px; background: rgba(18,17,16,.22);
  transition: width .45s cubic-bezier(.2,.8,.2,1), background-color .3s;
}
.carrossel-bullets button[aria-current="true"] { width: 34px; }
.carrossel-bullets button[aria-current="true"]::after { width: 26px; background: var(--tinta); }
.carrossel-bullets button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; border-radius: 999px; }
.foto { flex: 0 0 18.9vw; aspect-ratio: 264 / 451; border-radius: 1.7vw; overflow: hidden; background: #ddd5c9; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.resultados-aviso {
  font-style: italic; font-size: clamp(11px, .8vw, 13px); line-height: 1.45; color: #2a2826;
  max-width: 830px; margin: 3.2vw auto 2.4vw; padding: 0 20px;
}

.foto { position: relative; cursor: pointer; }
.foto-video {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .7em; white-space: nowrap; cursor: pointer;
  padding: .85em 1.35em; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  background: rgba(248,244,236,.78); color: var(--tinta);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--f-texto); font-weight: 500; font-size: clamp(9px, .72vw, 11px); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .3s, color .3s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.foto-video svg { width: .9em; height: .9em; fill: currentColor; }
.foto-video:hover, .foto-video:focus-visible { background: var(--tinta); color: #f4efe7; }
.foto-video:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.lightbox::backdrop { background: rgba(12,11,10,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-abre .45s cubic-bezier(.2,.8,.2,1); }
.lightbox[open]::backdrop { animation: lb-fundo .45s ease; }
@keyframes lb-abre { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes lb-fundo { from { opacity: 0; } }
.lightbox-caixa { width: min(440px, 92vw); height: min(800px, 84vh); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.lightbox-caixa iframe { display: block; width: 100%; height: 100%; border: 0; }
.lightbox-fechar {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35);
  background: rgba(248,244,236,.14); color: #f4efe7;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s;
}
.lightbox-fechar:hover { background: rgba(248,244,236,.3); }
.lightbox-fechar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .lightbox[open], .lightbox[open]::backdrop { animation: none; } }

@media (max-width: 899px) {
  .resultados { padding: 40px 0 56px; }
  .carrossel { margin-top: 28px; }
  .faixa-fotos { gap: 14px; }
  .foto { flex-basis: min(62vw, 300px); border-radius: 18px; }
  .carrossel-seta { width: 42px; height: 42px; }
  .carrossel-ant { left: 10px; }
  .carrossel-prox { right: 10px; }
  .carrossel-bullets { margin-top: 16px; }
  .resultados-aviso { margin: 28px auto 24px; }
}

/* =================================================================
   TECNOLOGIAS & PROCEDIMENTOS
================================================================= */
.tecnologias { padding: 4vw 8.6vw 7.5vw 10.8vw; }
.tec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 3vw; }
.tecnologias h2 {
  font-family: var(--f-titulo); font-weight: 400; font-size: clamp(34px, 4.3vw, 72px);
  letter-spacing: -.025em; line-height: 1;
}
.tec-sub { font-size: clamp(12px, 1.12vw, 17px); letter-spacing: .32em; color: var(--texto); margin-top: .7em; }
.tec-nota {
  position: relative; padding-left: 9.2vw; margin-top: .4vw;
  font-family: var(--f-texto); font-weight: 400; font-size: max(9px, .6vw); letter-spacing: .12em;
  text-transform: uppercase; line-height: 1.75; color: var(--texto); white-space: nowrap;
}
.tec-nota::before { content: ""; position: absolute; left: 0; top: .6vw; width: 6.8vw; height: 1px; background: var(--bronze); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1vw; margin-top: 2.4vw; }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--creme-card); border: 1px solid var(--linha); border-radius: 4px;
  box-shadow: 0 1px 2px rgba(60,40,20,.05);
  padding: 1.1vw 1.35vw 1.1vw;
}
.card img { width: clamp(44px, 4.4vw, 68px); }
.card h3 {
  font-family: var(--f-titulo); font-weight: 400; font-size: clamp(18px, 1.42vw, 25px);
  letter-spacing: -.012em; line-height: 1.02; margin-top: .75em;
}
.card h3::after { content: ""; display: block; width: 1.3em; height: 1px; background: var(--bronze); margin-top: .5em; }
.card-rot {
  font-family: var(--f-texto); font-weight: 500; text-transform: uppercase;
  font-size: clamp(9px, .66vw, 11px); letter-spacing: .14em; color: var(--bronze); margin-top: 1.1vw;
}
.card-txt { font-size: clamp(13px, 1.05vw, 16px); line-height: 1.3; color: #26241f; margin-top: .25em; font-weight: 400; }
.card-btn {
  align-self: stretch; margin-top: auto; transform: translateY(0);
  display: block; text-align: center; text-decoration: none;
  background: var(--tinta); color: #f6f1ea; border-radius: 999px;
  font-family: var(--f-texto); font-weight: 500; font-size: clamp(10px, .8vw, 12px); letter-spacing: .14em; text-transform: uppercase;
  padding: .95em 1em;
}
.card-btn:hover { background: #2b2825; }
.card .card-txt:last-of-type { margin-bottom: max(1.1vw, 14px); }

@media (max-width: 1023px) {
  .tecnologias { padding: 56px 6vw 64px; }
  .tec-head { flex-direction: column; gap: 22px; }
  .tec-nota { padding-left: 64px; font-size: 10px; white-space: normal; }
  .tec-nota::before { top: 7px; width: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
  .card { padding: 20px 20px 18px; }
  .card-rot { margin-top: 14px; }
}
@media (max-width: 560px) {
  .tecnologias { padding: 48px 16px 56px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 14px 12px 12px; }
  .card img { width: 38px; }
  .card h3 { font-size: clamp(12.5px, 3.5vw, 17px); letter-spacing: -.008em; margin-top: .7em; }
  .card-rot { font-size: 8px; letter-spacing: .12em; margin-top: 10px; }
  .card-txt { font-size: 11.5px; line-height: 1.3; }
  .card-txt br { display: none; }
  .card .card-txt:last-of-type { margin-bottom: 12px; }
  .card-btn { font-size: 9px; letter-spacing: .12em; padding: .9em .6em; }
}

/* =================================================================
   CLÍNICA
================================================================= */
.clinica { overflow: hidden; }
.clinica img { width: 100%; }
@media (max-width: 639px) {
  .clinica img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% center; }
}

/* =================================================================
   CONDIÇÃO ESPECIAL
================================================================= */
.condicao {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--branco);
  padding: 8vw 8.6vw 8.4vw 10.3vw;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.06), inset 0 -1px 0 rgba(0,0,0,.06);
}
.condicao-col:first-child { padding-right: 4vw; border-right: 1px solid var(--linha-forte); }
.condicao-col:last-child { padding-left: 6.6vw; }
.eyebrow { font-size: clamp(10px, .82vw, 13px); letter-spacing: .3em; color: var(--bronze); }
.condicao h2 {
  font-family: var(--f-titulo); font-weight: 400; font-size: clamp(32px, 3.75vw, 60px);
  letter-spacing: -.02em; line-height: 1.02; margin-top: .45em;
}
.condicao .condicao-h2b { font-size: clamp(28px, 2.9vw, 48px); letter-spacing: -.02em; }
@media (min-width: 900px) { .condicao h2 { white-space: nowrap; } }
.condicao-txt { font-size: clamp(15px, 1.52vw, 23px); line-height: 1.5; color: var(--texto); margin-top: 1.4em; letter-spacing: .01em; }
.btn-lg { font-size: clamp(15px, 1.35vw, 20px); padding: .75em 1.6em; gap: 1.2em; margin-top: 1.2em; }
.condicao-nota { font-size: clamp(11px, .95vw, 14px); line-height: 1.6; color: var(--texto); margin-top: 1.4em; font-weight: 400; }

/* mobile: texto e imagem se alternam — gesto especial, foto da clínica, condição, foto da equipe, texto da equipe */
@media (max-width: 899px) {
  main { display: flex; flex-direction: column; }
  .tecnologias { order: 1; }
  .condicao { display: contents; }
  .condicao-col { background: var(--branco); }
  .condicao-col:first-child { order: 2; padding: 56px 20px 52px; border-right: 0; }
  .clinica { order: 3; }
  .condicao-col:last-child { order: 4; padding: 52px 20px 60px; }
  .equipe { order: 5; }
  .condicao-txt br, .condicao-nota br { display: none; }
  .btn-lg { white-space: normal; }
}

/* =================================================================
   EQUIPE / TECNOLOGIA
================================================================= */
.equipe { position: relative; background: #e9e7e4; overflow: hidden; }
.equipe-bg { width: 100%; }
.equipe h2 {
  font-family: var(--f-titulo); font-weight: 400; font-size: clamp(30px, 3.1vw, 52px);
  line-height: 1.07; letter-spacing: -.015em; margin-top: .55em;
}
.equipe h2 em { font-style: italic; }
.eyebrow-dark { color: var(--texto); font-size: clamp(9px, .66vw, 11px); letter-spacing: .3em; }
.eyebrow-dark i { margin: 0 1em; }
.traco { display: block; width: 3.1em; height: 1px; background: var(--tinta); margin-top: 1.6em; font-size: clamp(14px, 1.1vw, 18px); }
.equipe-txt { font-size: clamp(15px, 1.12vw, 18px); line-height: 1.45; color: #2a2826; margin-top: 1.1em; }
.equipe-frase { font-family: var(--f-titulo); font-style: italic; font-size: clamp(16px, 1.3vw, 21px); margin-top: 1.3em; color: #2a2826; }

@media (min-width: 1024px) {
  .equipe { aspect-ratio: 2400 / 1340; }
  .equipe-bg { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  .equipe-texto { position: absolute; left: 9vw; top: 13.6vw; width: 36vw; }
}
@media (max-width: 1023px) {
  .equipe { display: flex; flex-direction: column; background: var(--creme); }
  .equipe-texto { order: 2; padding: 44px 6vw 60px; }
  .equipe-bg { order: 1; aspect-ratio: 4 / 3; object-fit: cover; object-position: 66% center; }
}
@media (max-width: 560px) {
  .equipe-texto { padding: 40px 20px 56px; }
  .equipe-txt br { display: none; }
  .equipe-bg { aspect-ratio: 1 / 1; }
}

/* =================================================================
   RODAPÉ
================================================================= */
.rodape { background: #000; color: #f1ece4; padding: 5.2vw 2.5vw 3.4vw; }
.rodape-grid {
  display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; align-items: center;
}
.rodape-grid > div { padding: .3vw 2.3vw; }
.rodape-grid > div + div { border-left: 1px solid rgba(241,236,228,.75); }
.rodape-col, .rodape-cta { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.logo-nome { width: clamp(190px, 19vw, 300px); line-height: 0; }
.logo-sub { font-family: var(--f-texto); font-weight: 400; text-transform: uppercase; font-size: clamp(7px, .55vw, 9px); letter-spacing: .3em; text-align: center; margin-top: 1.1em; }
.rodape-tit { font-family: var(--f-texto); font-weight: 300; font-size: clamp(17px, 1.6vw, 25px); letter-spacing: .14em; margin-bottom: .45em; }
.rodape-col p:not(.rodape-tit) { font-size: clamp(13px, 1.05vw, 16px); line-height: 1.6; color: #d9d3ca; }
.btn-outline-light { border: 1.5px solid #f1ece4; color: #f1ece4; font-size: clamp(11px, .98vw, 15px); padding: 1.3em 2.1em; }
.btn-outline-light:hover { background: #f1ece4; color: #000; }
.rodape-end { text-align: center; font-size: clamp(10px, .76vw, 12px); letter-spacing: .14em; color: #d9d3ca; margin-top: 5vw; line-height: 1.7; }

@media (max-width: 899px) {
  .rodape { padding: 56px 20px 36px; }
  .rodape-grid { grid-template-columns: 1fr; justify-content: stretch; gap: 0; text-align: center; }
  .rodape-grid > div { padding: 26px 0; }
  .rodape-grid > div + div { border-left: 0; border-top: 1px solid rgba(241,236,228,.3); }
  .rodape-cta { align-items: center; }
  .logo-sub { text-align: center; }
  .logo-nome { margin: 0 auto; }
  .rodape-end { margin-top: 20px; letter-spacing: .06em; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .rodape-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .rodape-grid > div { padding: 24px; }
  .rodape-grid > div + div { border-top: 0; }
  .rodape-grid > div:nth-child(odd) { border-left: 0; }
  .rodape-grid > div:nth-child(n+3) { border-top: 1px solid rgba(241,236,228,.3); }
}
