/* Home institucional da LT Beauty. Tema único, escuro, sem alternância.
   Sem framework e sem CDN: a fonte é servida por nós, os ícones são SVG inline
   e a única biblioteca é o GSAP, também do nosso domínio. */

/* Fonte variável: um arquivo cobre 400 e 700. Vinha do Google Fonts, que
   custava duas conexões novas e uma folha bloqueando a renderização. */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/roboto-condensed-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 {
  --bg: #271713;          /* a cor escura da marca, a mesma do rodapé do LT Gloss */
  /* Mesma cor em canais separados: o degradê da capa precisa dela com alfa. */
  --bg-rgb: 39, 23, 19;
  --fg: #F6EAE3;          /* 13,4:1 sobre o fundo */
  --card-border: rgba(255, 255, 255, .12);
  /* Terracota clareado: o #B75F45 da marca dá só 3,1:1 aqui, pouco para um
     traço de 1px ser percebido. Este é o mesmo tom, alguns passos acima. */
  --accent: #E08B6E;
  --glow: rgba(224, 139, 110, .38);
  --track: rgba(255, 255, 255, .16);
  /* O rodapé desce um degrau para não fundir com a página. */
  --tinta: #1C0F0C;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: "Roboto Condensed", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ==== LOADER ==== */
/* Curto de propósito: sai em ~0,4s, ou no load da página, o que vier depois.
   O GSAP anima a saída; sem ele a classe .saindo faz o mesmo por CSS. */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.loader-box { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.loader-marca { width: 4rem; height: 4rem; object-fit: contain; }

.loader-fio {
  display: block;
  width: 5.5rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  transform: scaleX(.15);
  transform-origin: center;
}

/* Só entra em cena quando o GSAP não carregou. */
#loader:not(.saindo) .loader-fio { animation: fioPulsar 1.1s ease-in-out infinite; }
#loader.saindo { opacity: 0; transition: opacity .34s ease-out; pointer-events: none; }

@keyframes fioPulsar { 0%, 100% { transform: scaleX(.15) } 50% { transform: scaleX(1) } }

/* ==== CAPA ==== */
header {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  background: var(--bg);
}

.cover { position: absolute; inset: 0; z-index: 0; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Véu sobre a foto. Sem ele o logo claro sumiria: no celular ele cai sobre o
   ombro iluminado e no desktop sobre a seda clara da direita. Escurece
   exatamente onde o conteúdo se apoia e deixa o rosto respirar. Fica entre a
   imagem (z 0) e o conteúdo (z 10). */
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(var(--bg-rgb), .18) 0%,
    rgba(var(--bg-rgb), .48) 52%,
    rgba(var(--bg-rgb), .88) 100%
  );
}

.cover-inner {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 1rem 4rem;
}

.brand { display: inline-block; margin-bottom: 2rem; transition: transform .3s; }
.brand:hover { transform: scale(1.05); }
.brand img { width: 12rem; height: auto; object-fit: contain; }

.socials { display: flex; align-items: center; justify-content: center; gap: .9rem; }

/* Círculos de vidro sobre a foto, com o glifo desenhado a traço fino — a mesma
   espessura dos fios do "Clique e acesse". Os quadrados cinza anteriores eram
   de outra família visual: peso sólido e cor neutra, sobre uma capa quente. */
.social {
  position: relative;
  overflow: hidden;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  text-decoration: none;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .30);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .32s cubic-bezier(.34, 1.2, .64, 1),
              background-color .32s ease, border-color .32s ease,
              color .32s ease, box-shadow .32s ease;
}

.social svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* O ponto da câmera é cheio; o resto é contorno. */
.social svg .cheia { fill: currentColor; stroke: none; }

/* Varredura de luz atravessando o círculo. */
.social::after {
  content: "";
  position: absolute;
  top: 0;
  left: -110%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0s;
}
.social:hover::after { left: 110%; transition: left .55s ease-in-out; }

/* No hover a peça acende inteira e o glifo assume a cor do fundo. */
.social:hover,
.social:focus-visible {
  transform: translateY(-4px);
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .7);
}

.social:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Degradê que funde a capa com o fundo da página. Fica ABAIXO do conteúdo
   (z-index 5 contra 10): antes dividia a camada com ele e, por vir depois no
   HTML, pintava por cima — o que lavava os ícones das redes, que caem dentro
   dos 6rem finais. Com a foto no lugar do fundo liso isso ficaria à vista. */
.cover-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 6rem;
  z-index: 5;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

/* ==== MIOLO ==== */
main {
  flex: 1 1 auto;
  z-index: 10;
  width: 100%;
  max-width: 32rem;
  margin: -1.5rem auto 0;
  padding: 0 1rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Divisor editorial: o rótulo entre dois fios que nascem do nada, e um traço de
   luz descendo por um trilho, apontando para os banners. Substitui a seta
   quicando, que disputava atenção com o brilho dos cartões logo abaixo. */
.hint {
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}

.hint-label { display: flex; align-items: center; gap: .9rem; }

.hint-rule {
  display: block;
  width: 2.75rem;
  height: 1px;
  opacity: .6;
  background: linear-gradient(to right, transparent, var(--accent));
}
.hint-rule:last-child { background: linear-gradient(to left, transparent, var(--accent)); }

.hint-texto {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  /* O tracking sobra depois da última letra e desloca o texto; o recuo devolve
     o bloco ao centro óptico entre os dois fios. */
  text-indent: .24em;
  white-space: nowrap;
  color: var(--fg);
}

.hint-trilho {
  position: relative;
  width: 1px;
  height: 2.5rem;
  margin-top: 1rem;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--track), transparent);
}

.hint-trilho::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -55%;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: hintDescer 2.4s cubic-bezier(.45, 0, .2, 1) infinite;
}

@keyframes hintDescer {
  0%   { transform: translateY(0);    opacity: 0 }
  15%  { opacity: 1 }
  75%  { opacity: 1 }
  100% { transform: translateY(280%); opacity: 0 }
}

.banners { width: 100%; display: flex; flex-direction: column; gap: 1.25rem; }

/* O overflow existe para recortar o brilho que atravessa o banner. Por isso o
   levantar do hover e a sombra ficam AQUI, no cartão, e não na imagem: um
   elemento recorta os filhos, nunca a própria sombra. Aplicado na imagem, o
   deslocamento de 3px levava a borda de cima para fora do recorte e o contorno
   sumia justamente no topo. O z-index tira o cartão de baixo do vizinho
   enquanto ele está levantado. */
.banner-item {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: block;
  width: 100%;
  border-radius: 1rem;
  transition: transform .3s ease, box-shadow .3s ease;
}

.banner-item:hover {
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px -6px var(--glow);
}

/* Brilho que atravessa o banner em laço, com atraso escalonado. */
.banner-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, .6) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: none;
}

@keyframes shine-loop { 0% { left: -150% } 15% { left: 150% } 100% { left: 150% } }

body.pronto .banner-item::after { animation: shine-loop 8s infinite linear; }
body.pronto .banner-item:nth-child(1)::after { animation-delay: 0s; }
body.pronto .banner-item:nth-child(2)::after { animation-delay: 2s; }
body.pronto .banner-item:nth-child(3)::after { animation-delay: 4s; }
body.pronto .banner-item:nth-child(4)::after { animation-delay: 6s; }

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  transition: border-color .3s ease, filter .3s ease;
}

/* Sem transform aqui: a imagem fica parada dentro do cartão, e é o cartão que
   se move. Assim a borda continua inteira nos quatro lados. */
.banner-item:hover .banner-img {
  border-color: var(--accent);
  filter: brightness(1.04);
}

.banner-item:hover::after { animation: none; left: 100%; transition: left .4s ease-in-out; }

.banner-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ==== CARTÃO DE ACOMPANHAMENTO ==== */
/* O terceiro cartão não é produto, é serviço: por isso é desenhado em CSS, na
   cor da marca, em vez de virar mais uma arte. O degradê nasce escuro do lado
   do texto (onde o terracota precisa de contraste) e esquenta para a direita,
   onde fica a rota. Mesma proporção das artes de cima (1017x443), para os três
   cartões ficarem da mesma altura. */
.banner-item--rastreio {
  aspect-ratio: 1017 / 443;
  border: 1px solid var(--card-border);
  text-decoration: none;
  background:
    radial-gradient(80% 105% at 100% 50%, rgba(183, 95, 69, .5) 0%, rgba(183, 95, 69, 0) 64%),
    linear-gradient(105deg, #33201A 0%, #47251C 60%, #61301F 100%);
  color: var(--fg);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.banner-item--rastreio:hover { border-color: var(--accent); }

.banner-texto {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .5rem;
  width: 60%;
  padding: 0 0 0 7%;
}

.banner-kicker {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Duas linhas, a segunda em terracota: a mesma divisão das artes do LT Gloss e
   do Leve Fit, só que em texto. */
.banner-texto h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.15rem, 5.2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.banner-texto h2 em { font-style: normal; color: var(--accent); }

.botao {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .35rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--fg);
  color: #2B1712;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .7);
  transition: transform .25s ease;
}
.botao svg {
  width: .95rem;
  height: .95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.banner-item:hover .botao,
.banner-item:hover .botao svg { transform: translateX(3px); }

/* Rota: linha tracejada que corre devagar, a parada do caminho e um ponto de
   luz que vai da caixa até o endereço. */
.banner-rota {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 38%;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: visible;
}
.rota-linha { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .95; }
body.pronto .rota-linha { animation: rota-corre 1.6s linear infinite; }
@keyframes rota-corre { to { stroke-dashoffset: -22 } }
.rota-parada { fill: #40201A; stroke: var(--accent); stroke-width: 2; }
.rota-luz { fill: #F6EAE3; filter: drop-shadow(0 0 6px rgba(246, 234, 227, .9)); }
.rota-icone { fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rota-icone--destino { stroke: var(--accent); }

/* ==== RODAPÉ ==== */
/* Mesma estrutura do rodapé da landing do LT Gloss: bloco escuro com marca,
   texto, navegação em duas colunas, linha inferior com o crédito da Futura e a
   marca d'água gigante ao fundo. */
.footer {
  position: relative;
  z-index: 10;
  margin-top: auto;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) clamp(24px, 6vw, 88px) clamp(32px, 4vw, 48px);
  background:
    radial-gradient(circle at 14% 10%, rgba(212, 138, 113, .16), transparent 28%),
    var(--tinta);
  color: #fff;
  text-align: left;
}

.footer__main,
.footer__bottom { position: relative; z-index: 2; }

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}

.brand--footer { display: inline-block; }
.brand--footer img { width: auto; height: clamp(74px, 8vw, 96px); }

.footer__brand p {
  max-width: 430px;
  margin: 26px 0;
  color: rgba(255, 255, 255, .6);
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244, 187, 166, .65);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}
.footer__cta:hover { gap: 26px; color: #F4BBA6; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding-top: 6px;
}

.footer__nav div { display: grid; gap: 14px; align-content: start; }

.footer__nav div > span {
  margin-bottom: 8px;
  color: #F4BBA6;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.footer__nav a {
  color: rgba(255, 255, 255, .68);
  font-size: .85rem;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}
.footer__nav a:hover { color: #fff; transform: translateX(3px); }

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: clamp(54px, 7vw, 92px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer__bottom p { margin: 0; color: rgba(255, 255, 255, .42); font-size: .7rem; }

.footer__developer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
  font-size: .78rem;
}

.footer__developer-link { display: inline-flex; border-radius: 4px; }

/* O logo da Futura é escuro; sobre o rodapé preto ele só aparece invertido. */
.footer__developer-link img {
  width: 78px;
  height: auto;
  opacity: .72;
  filter: invert(1);
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}
.footer__developer-link:hover img {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, .9))
          drop-shadow(0 0 18px rgba(244, 187, 166, .65));
  transform: scale(1.04);
}

.footer__watermark {
  position: absolute;
  right: 0;
  bottom: 0;
  color: rgba(255, 255, 255, .025);
  font-size: clamp(6rem, 18vw, 15rem);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.09em;
  white-space: nowrap;
  pointer-events: none;
}

.footer a:focus-visible { outline: 2px solid #F4BBA6; outline-offset: 4px; }

/* Página e rodapé são ambos escuros; o fio devolve a divisão que a diferença
   de cor sozinha quase não dá. */
.footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__watermark { color: rgba(255, 255, 255, .04); }

/* ==== DESKTOP ==== */
@media (min-width: 768px) {
  header { height: 550px; }
  .cover img { object-position: center; }
  .cover-inner { flex-direction: row; align-items: center; justify-content: flex-end; padding: 0 5rem 0 1rem; }
  /* No desktop o conteúdo fica à direita, então o véu pesa para esse lado. */
  .cover::after {
    background:
      linear-gradient(to right, rgba(var(--bg-rgb), .08) 26%, rgba(var(--bg-rgb), .66) 76%),
      linear-gradient(to bottom, transparent 58%, rgba(var(--bg-rgb), .5) 100%);
  }
  .cover-spacer { display: block; width: 50%; height: 100%; }
  .cover-content { width: 50%; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .brand img { width: 16rem; }
}

@media (max-width: 767px) {
  .cover-spacer { display: none; }
  .cover-content { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }

  /* No celular o conteúdo cai sobre a pele da modelo, e o logo é vinho. O
     degradê sobe mais alto e mais cedo para devolver contraste sem apagar a
     foto — no desktop o logo fica sobre a seda clara e não precisa disto. */
  .cover-fade {
    height: 17rem;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(var(--bg-rgb), .38) 38%,
      rgba(var(--bg-rgb), .82) 72%,
      var(--bg) 100%
    );
  }

  .banner-texto { width: 64%; padding: 0 0 0 6%; gap: .38rem; }
  .botao { padding: .44rem .82rem; font-size: .7rem; }

  /* Rodapé empilhado e centralizado, como na landing do LT Gloss. */
  .footer { text-align: center; }
  .footer__main { grid-template-columns: 1fr; gap: 46px; justify-items: center; }
  .footer__brand p { margin: 22px auto; }
  .footer__nav { width: 100%; grid-template-columns: 1fr; gap: 32px; }
  .footer__nav div { justify-items: center; }
  .footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .footer__developer { justify-content: center; white-space: normal; }
  .footer__watermark { font-size: 5.5rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-fio { animation: none !important; transform: scaleX(1) }
  .hint-trilho::after, body.pronto .banner-item::after, body.pronto .rota-linha { animation: none }
  .banner-item, .banner-img, .botao, .brand, .social, .footer__cta, .footer__nav a { transition: none }
  .banner-item:hover, .brand:hover, .social:hover { transform: none }
  .banner-item:hover .botao, .banner-item:hover .botao svg { transform: none }
  .footer__nav a:hover { transform: none }
}
