/* ---------- Fontes hospedadas no próprio site ----------
   (antes vinham do Google; aqui abrem mais rápido e sem depender de outro servidor.
    Só letras do português/latim. Um arquivo por família cobre todos os pesos.) */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/bodoni-moda-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: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/bodoni-moda-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: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-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: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-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: 'Roboto Slab';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/roboto-slab-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;
}

/* ==========================================================
   BIANCA FREITAS: estilos compartilhados por todas as páginas
   ----------------------------------------------------------
   Peças que se repetem: cores, fontes, espaçamentos, botões,
   faixas de seção e a "marca-texto" (wordmark).

   Direção: preto profundo + âmbar/dourado. Seções escuras
   alternam com faixas âmbar de cor inteira, que dão ritmo
   e chamam para a ação. Mobile primeiro.
   ========================================================== */

:root {
  /* Pretos */
  --black: #070605;
  --bg-0: #0b0a09;
  --bg-1: #131110;          /* cartões sobre o preto */
  --bg-2: #1b1816;
  --line: rgba(240, 220, 190, .12);

  /* Âmbar e dourado */
  --amber: #c98a34;          /* faixas de cor inteira */
  --amber-deep: #a86c22;
  --gold: #d9a95a;           /* títulos e destaques */
  --gold-light: #f1cf8f;
  --gold-grad: linear-gradient(100deg, #8a5a1c 0%, #d9a95a 35%, #f6dca3 55%, #c8913f 75%, #7d5019 100%);

  /* Texto */
  --text: #f1e9dd;
  --text-muted: #b3a796;
  --text-dark: #120d07;      /* texto sobre âmbar */

  /* Fontes */
  --font-mark: "Bodoni Moda", Didot, "Times New Roman", serif;      /* letras e números grandes */
  --font-wordmark: "Marcellus", "Trajan Pro", Georgia, serif;        /* nome "Homem Reconstruído" */
  --font-display: "Roboto Slab", Georgia, serif;                     /* títulos de seção */
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Medidas */
  --container: 1120px;
  --gutter: 20px;
  --radius: 4px;
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-size-adjust: from-font;   /* fonte reserva no mesmo tamanho visual */
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 700; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.18;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }
.section--black { background: var(--black); }

/* Faixa âmbar: inverte as cores (texto escuro sobre âmbar) */
.band {
  background:
    radial-gradient(120% 140% at 50% 0%, #d9993f 0%, var(--amber) 45%, var(--amber-deep) 100%);
  color: var(--text-dark);
  padding-block: clamp(56px, 8vw, 96px);
}
.band .section__title { color: var(--text-dark); }
.band .section__lead { color: rgba(18, 13, 7, .78); }

.section__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  display: grid;
  gap: 12px;
}
.section__title {
  font-size: clamp(1.65rem, 5.2vw, 2.5rem);
  color: var(--text);
}
.section__title b,
.section__title strong {
  font-weight: 600;
  color: var(--gold);
}
.band .section__title b { color: var(--text-dark); }
.section__lead {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Destaque dourado em texto corrido */
.gold { color: var(--gold); }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Marca-texto "Homem Reconstruído" ---------- */
/* "HOMEM" pequeno e espaçado em cima, "RECONSTRUÍDO" grande embaixo,
   em linhas separadas (um não encosta no outro) */
.wordmark {
  display: inline-grid;
  gap: .28em;
  line-height: 1;
  color: var(--gold);
}
.wordmark__top {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .3em;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--gold);
}
.wordmark__main {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: 1em;
  letter-spacing: .06em;
  line-height: 1.2;              /* espaço para o acento do Í */
  white-space: nowrap;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Letras caindo (marca com data-cair) ----------
   O script separa cada letra num <span class="letra">. Cada letra
   pinta o seu pedaço do degradê dourado (--i = posição, --n = total),
   então o conjunto continua parecendo um degradê só.               */
.wordmark .letra {
  display: inline-block;
  white-space: pre;
}
.wordmark__main.is-split { background: none; color: inherit; }
.wordmark__main.is-split .letra {
  background: var(--gold-grad);
  background-size: calc(var(--n) * 100%) 100%;
  background-position: calc(var(--i) / (var(--n) - 1) * 100%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  /* Esconde o nome antes do script separar as letras (evita "piscar").
     Se o script falhar, ele reaparece sozinho em 3 s. */
  .js [data-cair]:not(.is-esperando):not(.is-caindo) {
    opacity: 0;
    animation: reaparecer 0s 3s forwards;
  }
  /* esperando o primeiro movimento do scroll: letras escondidas lá em cima */
  .is-esperando .letra {
    opacity: 0;
    transform: translateY(-1.4em) rotate(-10deg);
  }
  .is-caindo .letra {
    animation: cair .75s cubic-bezier(.34, 1.45, .55, 1) both;
    animation-delay: calc(var(--d) * 55ms);
  }
}
@keyframes reaparecer { to { opacity: 1; } }
@keyframes cair {
  0%   { opacity: 0; transform: translateY(-1.4em) rotate(-10deg); }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

/* Etiqueta em pílula acima do título */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  border-radius: 3px;
  font-size: .8rem;
  color: var(--text-muted);
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(217, 169, 90, .7);
}

/* Lista com setinhas douradas em "chips" */
.chips { display: grid; gap: 10px; }
.chips li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .92rem;
  color: var(--text);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .3s, border-color .3s, box-shadow .3s, color .3s;
}
/* Destaque com zoom ao passar o mouse (ou ao focar pelo teclado) */
.chips li:hover {
  transform: scale(1.07);
  background: #2a221a;
  border-color: rgba(217, 169, 90, .6);
  box-shadow: 0 8px 28px -10px rgba(217, 169, 90, .55);
  color: var(--gold-light);
}
.chips li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: .3em;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M5.5 4l3 3-3 3' fill='none' stroke='%23120d07' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    var(--gold);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold-grad);
  background-size: 140% 100%;
  background-position: 0% 0;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(217, 169, 90, .55);
  transition: background-position .4s ease, transform .2s ease, box-shadow .3s ease;
}
.btn:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 36px -12px rgba(217, 169, 90, .8);
}
.btn:active { transform: translateY(1px); }

/* Botão preto (usado sobre as faixas âmbar) */
.btn--dark {
  background: var(--black);
  color: var(--gold-light);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7);
}
.btn--dark:hover { background: #000; color: #fff; }

/* Brilho pulsante: um "halo" dourado que cresce e some, sem parar.
   Fica num pseudo-elemento para não brigar com a sombra do botão. */
.btn { position: relative; isolation: isolate; }
@media (prefers-reduced-motion: no-preference) {
  .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(246, 210, 140, .65), 0 0 18px 2px rgba(217, 169, 90, .55);
    animation: pulso 2.2s ease-out infinite;
    pointer-events: none;
  }
  .btn--dark::after {
    box-shadow: 0 0 0 0 rgba(18, 13, 7, .55), 0 0 16px 2px rgba(255, 236, 200, .35);
    animation-name: pulso-escuro;
  }
}
@keyframes pulso {
  0%   { box-shadow: 0 0 0 0 rgba(246, 210, 140, .6), 0 0 14px 0 rgba(217, 169, 90, .35); }
  60%  { box-shadow: 0 0 0 14px rgba(246, 210, 140, 0), 0 0 34px 6px rgba(217, 169, 90, .55); }
  100% { box-shadow: 0 0 0 14px rgba(246, 210, 140, 0), 0 0 14px 0 rgba(217, 169, 90, .35); }
}
@keyframes pulso-escuro {
  0%   { box-shadow: 0 0 0 0 rgba(18, 13, 7, .5), 0 0 12px 0 rgba(255, 236, 200, .2); }
  60%  { box-shadow: 0 0 0 14px rgba(18, 13, 7, 0), 0 0 30px 6px rgba(255, 236, 200, .45); }
  100% { box-shadow: 0 0 0 14px rgba(18, 13, 7, 0), 0 0 12px 0 rgba(255, 236, 200, .2); }
}

.btn--block { width: 100%; }
@media (min-width: 768px) { .btn--block { width: auto; min-width: 320px; } }

/* ---------- Botão redondo do WhatsApp (fixo no canto) ---------- */
.wpp-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold-grad);
  background-size: 160% 100%;
  color: var(--text-dark);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 236, 200, .35) inset;
  transition: transform .25s ease, bottom .3s ease;
}
.wpp-float svg { width: 28px; height: 28px; fill: currentColor; }
.wpp-float:hover { transform: scale(1.08); }
@media (prefers-reduced-motion: no-preference) {
  .wpp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulso 2.2s ease-out infinite;
    pointer-events: none;
  }
}
/* No celular, sobe quando a barra fixa do botão aparece */
body:has(.sticky-cta.is-shown) .wpp-float { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .wpp-float { right: 28px; bottom: 28px; width: 62px; height: 62px; }
}

/* ---------- Revelar ao rolar (só com JS e sem "menos movimento") ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Acessibilidade ---------- */
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--text-dark); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Marcador de conteúdo que depende da cliente */
.pendente {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed currentColor;
  border-radius: 3px;
  font-size: .85em;
  opacity: .85;
}

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

/* E-mail de parceria no rodapé: quebra a linha em telas estreitas
   em vez de empurrar a página para o lado */
.contato-parceria a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Crédito do estúdio: última linha da página, pequeno e discreto.
   No computador fica no canto direito; no celular, centralizado. */
.credito {
  margin-top: 18px;
  text-align: center;
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .03em;
  opacity: .7;
}
.credito a { color: inherit; text-decoration: none; }
.credito a:hover,
.credito a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .credito { justify-self: end; align-self: end; text-align: right; }
}
