/* ==========================================================================
   MEN'S PREMIUM — DESIGN SYSTEM & ESTILO AUTORAL
   Direção: Amarelo Banana Elegante, Preto Profundo e Branco Equilibrados
   Padrão: O COPY / Segundo Cérebro (Zero Caixas Cinzas, Tipografia Autoral)
   ========================================================================== */

/* --- 1. FONTES SELF-HOSTED (WOFF2) --- */
@font-face {
  font-family: 'Syne';
  src: url('./assets/fonts/syne-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('./assets/fonts/syne-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('./assets/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('./assets/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- 2. DESIGN TOKENS --- */
:root {
  /* Identidade Visual */
  --brand-500: #E5C138; /* Amarelo Banana Nobre */
  --brand-400: #F3D24F;
  --brand-600: #C29F1E;
  --brand-dim: rgba(229, 193, 56, 0.16);

  --accent-500: #EAD57A;

  /* Superfícies & Textos */
  --ink-950: #060709;
  --ink-900: #08090C;
  --ink-850: #0D0F14;
  --ink-800: #12151B;

  --paper: #F6F7F9;
  --paper-muted: rgba(246, 247, 249, 0.72);
  --paper-subtle: rgba(246, 247, 249, 0.48);

  /* Derivados de Luz e Aresta (Regra 16) */
  --veil-1: rgba(229, 193, 56, 0.14);
  --veil-2: rgba(234, 213, 122, 0.08);
  --edge: rgba(246, 247, 249, 0.12);
  --edge-gold: rgba(229, 193, 56, 0.36);
  --glow: rgba(229, 193, 56, 0.42);

  /* Tipografia */
  --ff-display: 'Syne', sans-serif;
  --ff-body: 'Montserrat', sans-serif;
  --ff-ui: 'Outfit', 'Montserrat', sans-serif;

  /* Escala Tipográfica Fluida */
  --fs-hero: clamp(2.35rem, 6.2vw, 4.4rem);
  --fs-h2: clamp(1.85rem, 3.8vw, 2.75rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.55rem);
  --fs-body: 1.05rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Easing & Dimensões */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1180px;
  --container-narrow: 680px;
}

/* --- 3. RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--ink-950);
  color: var(--paper);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  overflow-x: hidden !important;
  position: relative;
  min-height: 100vh;
}

/* Espaço reservado para o botão WhatsApp flutuante no mobile */
@media (max-width: 640px) {
  body {
    padding-bottom: 84px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* --- 4. CAMPO GLOBAL CONTÍNUO & LUZ --- */
.ambient-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(55% 40% at 18% 12%, var(--veil-1), transparent 72%),
    radial-gradient(50% 45% at 82% 28%, var(--veil-2), transparent 75%),
    radial-gradient(65% 55% at 50% 90%, var(--veil-1), transparent 75%),
    var(--ink-950);
  background-size: 160% 160%;
  animation: fieldDrift 28s ease-in-out infinite alternate;
}

@keyframes fieldDrift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }
  100% {
    background-position: 18% 14%, 82% 16%, 48% 88%, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-field {
    animation: none;
  }
}

/* Wrapper de Conteúdo */
.site-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Véu de transição entre seções (Regra 16) */
.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(64px, 8vw, 112px);
}

.section::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: clamp(100px, 16vh, 220px);
  background: linear-gradient(to bottom, var(--veil-1), transparent);
  pointer-events: none;
  z-index: -1;
}

/* Rótulo de seção elegante (Regra 20 — sem badge, caixa alta, tracking largo) */
.section-tag {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-400);
  margin-bottom: 12px;
}

/* --- 5. NAVBAR MINIMALISTA (Regra 14.2) --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 800;
  height: 64px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 7, 9, 0.78);
  border-bottom: 1px solid var(--edge);
  transition: all 0.3s var(--ease);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--edge-gold);
}

.nav-brand-text {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.nav-brand-text span {
  color: var(--brand-500);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-500);
  color: var(--ink-950);
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  box-shadow: 0 4px 16px var(--glow);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow);
}

.nav-cta-btn svg {
  width: 16px;
  height: 16px;
}

/* --- 6. HERO SECTION MONUMENTAL (SEM BADGE) --- */
.hero {
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(56px, 7vw, 92px);
  text-align: center;
}

.hero-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, var(--brand-400), rgba(229, 193, 56, 0.2) 65%, transparent);
  box-shadow: 0 16px 40px -10px var(--glow);
}

.hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink-950);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--paper);
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero-title .highlight {
  color: var(--brand-400);
  background: linear-gradient(135deg, #FFF099 0%, var(--brand-500) 60%, var(--brand-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--paper-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Botão com Efeito Shiny Sweep Glow */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  color: #050608;
  font-family: var(--ff-ui);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 16px 36px;
  min-height: 54px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 28px -6px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.28s var(--ease), box-shadow 0.28s;
}

/* Sweep de luz */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 16px 38px -6px var(--glow);
}

.btn-primary:hover::after {
  left: 140%;
  transition: left 0.75s ease;
}

.hero-microcopy {
  font-size: var(--fs-micro);
  color: var(--paper-subtle);
  letter-spacing: 0.04em;
}

/* --- 7. LINKS & CONVERSÃO (REGRA 20 — BIO LINK PRIME) --- */
.links-section {
  padding-top: 12px;
  padding-bottom: clamp(48px, 6vw, 84px);
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  min-height: 74px;
  border-radius: 20px;
  border: 1px solid var(--edge);
  background: rgba(18, 21, 27, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--edge-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 36px -16px var(--glow);
}

.link-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.link-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-dim);
  color: var(--brand-400);
  border: 1px solid rgba(229, 193, 56, 0.22);
}

.link-card-icon svg {
  width: 22px;
  height: 22px;
}

.link-card-info {
  text-align: left;
}

.link-card-title {
  font-family: var(--ff-ui);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.link-card-desc {
  font-size: 0.82rem;
  color: var(--paper-muted);
}

.link-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  color: var(--paper-muted);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.link-card-arrow svg {
  width: 16px;
  height: 16px;
}

.link-card:hover .link-card-arrow {
  transform: translateX(3px) rotate(-45deg);
  background: var(--brand-500);
  color: var(--ink-950);
  border-color: transparent;
}

/* Card Featured Invertido (O item principal de conversão) */
.link-card--featured {
  background: linear-gradient(135deg, var(--paper) 0%, #E3E5EB 100%);
  color: var(--ink-950);
  border-color: transparent;
  box-shadow: 0 14px 34px -10px rgba(255, 255, 255, 0.25);
}

.link-card--featured .link-card-title {
  color: var(--ink-950);
}

.link-card--featured .link-card-desc {
  color: rgba(6, 7, 9, 0.75);
}

.link-card--featured .link-card-icon {
  background: var(--ink-950);
  color: var(--brand-400);
  border-color: transparent;
}

.link-card--featured .link-card-arrow {
  background: var(--ink-950);
  color: var(--paper);
  border-color: transparent;
}

.link-card--featured:hover .link-card-arrow {
  background: var(--brand-600);
  color: #fff;
}

/* --- 8. EDITORIAL & CURADORIA (FOTOS REAIS EM WEBP) --- */
.curation-section {
  text-align: center;
}

.curation-header {
  margin-bottom: 36px;
}

.curation-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.curation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.curation-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--ink-850);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.curation-card:hover {
  transform: translateY(-4px);
  border-color: var(--edge-gold);
}

.curation-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-900);
}

.curation-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.curation-card:hover .curation-img-wrap img {
  transform: scale(1.05);
}

.curation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 9, 0.85) 0%, rgba(6, 7, 9, 0.2) 45%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.curation-info {
  text-align: left;
  width: 100%;
}

.curation-tag {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 4px;
}

.curation-caption {
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
}

/* --- 9. BLOCO DE DADOS FACTUAIS (LOCALIZAÇÃO & ATENDIMENTO) --- */
.factual-section {
  padding-top: 16px;
}

.factual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.factual-card {
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--edge);
  background: rgba(18, 21, 27, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
}

.factual-label {
  font-family: var(--ff-ui);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-400);
  margin-bottom: 8px;
}

.factual-value {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 8px;
}

.factual-desc {
  font-size: 0.88rem;
  color: var(--paper-muted);
  line-height: 1.5;
}

/* --- 10. FAQ ACESSÍVEL (OBJETIVO) --- */
.faq-section {
  text-align: center;
}

.faq-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq-item {
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: rgba(18, 21, 27, 0.35);
  overflow: hidden;
  transition: border-color 0.28s;
}

.faq-item[open] {
  border-color: var(--edge-gold);
}

.faq-summary {
  padding: 18px 22px;
  font-family: var(--ff-ui);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-400);
  transition: transform 0.28s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

/* --- 11. FOOTER MINIMALISTA --- */
.site-footer {
  padding-block: 40px 32px;
  text-align: center;
  border-top: 1px solid var(--edge);
  font-size: 0.82rem;
  color: var(--paper-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--paper-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-400);
}

/* --- 12. WHATSAPP FLUTUANTE (OFICIAL & ACESSÍVEL) --- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #FFFFFF;
  z-index: 990;
  text-decoration: none;
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.28s var(--ease), box-shadow 0.28s;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 36px -4px rgba(37, 211, 102, 0.65);
}

.wa-float:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
  }
  .wa-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    transition: none;
  }
}
