/* ==========================================================================
   REFERÊNCIA IMPORTS — DESIGN SYSTEM & ESTILO CANÔNICO
   Paleta: Base Preta Dominante, Acentos Ouro/Dourado e Creme
   Zero caixas cinzas de sistema | Fundo contínuo | Tipografia Montserrat
   ========================================================================== */

:root {
  /* Paleta Oficial Derivada */
  --ink-900: #070707;
  --ink-800: #0e0d0b;
  --ink-700: #161410;
  
  --brand-500: #cda34f;
  --brand-400: #deb86d;
  --brand-300: #f2dc9f;
  --brand-700: #876523;
  
  --accent-500: #f5ede0;
  --paper: #fcfbf9;
  --paper-muted: #bfaea0;

  /* Derivados oklab */
  --veil-1: color-mix(in oklab, var(--brand-500) 18%, transparent);
  --veil-2: color-mix(in oklab, var(--accent-500) 12%, transparent);
  --edge: color-mix(in oklab, var(--paper) 10%, transparent);
  --edge-gold: color-mix(in oklab, var(--brand-500) 30%, transparent);
  --glow: color-mix(in oklab, var(--brand-500) 45%, transparent);

  /* Tipografia */
  --font-sans: 'Montserrat', "Segoe UI", sans-serif;
  --font-serif: 'Fraunces', serif;

  /* Escala de texto */
  --fs-display: clamp(2.4rem, 5.8vw, 4.4rem);
  --fs-h2: clamp(1.85rem, 3.6vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-body: 1.0625rem; /* 17px */
  --fs-small: 0.9375rem; /* 15px */

  --container: 1180px;
}

/* ==========================================================================
   TIPOGRAFIA & REGRAS BASE
   ========================================================================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), local('Montserrat');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Montserrat SemiBold'), local('Montserrat-SemiBold');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Montserrat Bold'), local('Montserrat-Bold');
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Fraunces Italic'), local('Fraunces-Italic'), local('Fraunces');
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--ink-900);
}

body {
  font-family: var(--font-sans);
  background-color: var(--ink-900);
  color: var(--paper);
  line-height: 1.65;
  font-size: var(--fs-body);
  overflow-x: hidden !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fundo Global Contínuo Animado */
.field-ambient {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(65% 50% at 15% 10%, var(--veil-1), transparent 72%),
    radial-gradient(55% 45% at 85% 35%, var(--veil-2), transparent 74%),
    radial-gradient(70% 55% at 50% 90%, var(--veil-1), transparent 75%),
    var(--ink-900);
  background-size: 160% 160%;
  animation: fieldDrift 28s ease-in-out infinite alternate;
}

@keyframes fieldDrift {
  from { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  to { background-position: 18% 10%, 82% 16%, 48% 92%, 0 0; }
}

#canvas-atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* Container Principal */
.site-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow-x: hidden;
}

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

/* ==========================================================================
   SEÇÕES & RITMO VERTICAL (ZERO VÁCUO)
   ========================================================================== */
.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 8.5vw, 120px);
}

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

.section--alt::before {
  background: linear-gradient(to bottom, var(--veil-2), transparent);
}

/* ==========================================================================
   NAVBAR (MOBILE LEAN <= 56px)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 800;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-signature {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-signature .gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 10px var(--brand-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand-500);
  color: #070707;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  box-shadow: 0 4px 16px -2px var(--glow);
}

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

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

/* ==========================================================================
   HERO SECTION (MONUMENTAL & SEM BADGES)
   ========================================================================== */
.hero-section {
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(64px, 8vw, 100px);
  text-align: center;
  display: flex;
  align-items: center;
  min-height: auto;
}

.hero-inner {
  max-width: 860px;
  margin-inline: auto;
}

.hero-context {
  display: block;
  font-size: 0.8125rem; /* 13px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-400);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin-bottom: 24px;
}

.hero-title .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-300);
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--paper-muted);
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* Botão de Ação Primária Monumental */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 16px 36px;
  background: var(--brand-500);
  color: #070707;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 32px -4px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px -2px var(--glow);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

/* Shiny Sweep Glow */
.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: rotate(25deg) translateX(360%);
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  font-size: 0.875rem;
  color: var(--brand-400);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-500);
}

/* ==========================================================================
   LINKS RÁPIDOS DE CONVERSÃO (LINK-IN-BIO PREMIUM)
   ========================================================================== */
.quick-links-section {
  padding-top: 10px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 680px;
  margin-inline: auto;
}

.action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-radius: 18px;
  background: rgba(22, 20, 16, 0.6);
  border: 1px solid var(--edge);
  text-decoration: none;
  color: var(--paper);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease,
              background-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--brand-500);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.action-card:hover {
  transform: translateY(-3px);
  border-color: var(--edge-gold);
  background: rgba(30, 26, 20, 0.85);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 24px -6px var(--glow);
}

.action-card:hover::before {
  opacity: 1;
}

.action-card:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.action-card-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(205, 163, 79, 0.12);
  border: 1px solid var(--edge-gold);
  display: grid;
  place-items: center;
  color: var(--brand-400);
  flex-shrink: 0;
}

.action-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.action-card-text h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}

.action-card-text p {
  font-size: 0.875rem;
  color: var(--paper-muted);
  line-height: 1.4;
}

.action-card-arrow {
  color: var(--brand-500);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.action-card:hover .action-card-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   PILARES DE ATENDIMENTO E DIFERENCIAIS
   ========================================================================== */
.features-section {
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-400);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  padding: 32px 28px;
  border-radius: 20px;
  background: rgba(18, 16, 12, 0.65);
  border: 1px solid var(--edge);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.feature-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(205, 163, 79, 0.12);
  color: var(--brand-400);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-item-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item h4 {
  font-family: var(--font-sans);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.9375rem;
  color: var(--paper-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ SECTION (ACORDEÃO ACESSÍVEL)
   ========================================================================== */
.faq-section {
  position: relative;
}

.faq-list {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  border-radius: 16px;
  background: rgba(18, 16, 12, 0.6);
  border: 1px solid var(--edge);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-card:hover {
  border-color: var(--edge-gold);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: -2px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--brand-400);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 22px;
  color: var(--paper-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--edge);
  padding-block: 60px 40px;
  background: rgba(7, 7, 7, 0.9);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-transform: uppercase;
}

.footer-address {
  font-style: normal;
  color: var(--paper-muted);
  font-size: 0.9375rem;
  max-width: 480px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-link {
  color: var(--brand-400);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-300);
}

.footer-copy {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: color-mix(in oklab, var(--paper-muted) 60%, transparent);
}

/* ==========================================================================
   WHATSAPP FLUTUANTE (CANÔNICO OBRIGATÓRIO)
   ========================================================================== */
.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: 900;
  text-decoration: none;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

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

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

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

/* ==========================================================================
   RESPONSIVIDADE E MOBILE-FIRST
   ========================================================================== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 56px;
  }

  .nav-btn-wpp {
    height: 36px;
    padding: 0 12px;
    font-size: 0.75rem;
  }

  .brand-signature {
    font-size: 0.9375rem;
    letter-spacing: 0.12em;
  }

  .action-card {
    padding: 18px 20px;
  }

  .action-card-main {
    gap: 14px;
  }

  .action-icon-wrap {
    width: 42px;
    height: 42px;
  }

  .action-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .action-card-text h3 {
    font-size: 1rem;
  }

  .action-card-text p {
    font-size: 0.8125rem;
  }

  body {
    padding-bottom: 84px !important;
  }

  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }

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

/* ==========================================================================
   ACESSIBILIDADE: REDUCED MOTION & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .field-ambient {
    animation: none !important;
  }
  .wa-float {
    transition: none !important;
  }
  #canvas-atmosphere {
    display: none !important;
  }
}

@media print {
  .wa-float,
  .site-header,
  #canvas-atmosphere,
  .field-ambient {
    display: none !important;
  }
}
