/* =========================================================
   EVOLUÇÃO CONSCIENTE — STYLE.CSS
   Design system: carvão editorial + âmbar contido
   ========================================================= */

/* ---------------------------------------------------------
   1. VARIÁVEIS GLOBAIS
--------------------------------------------------------- */
:root {

  /* Cores base — carvão editorial (nunca preto puro) */
  --color-bg: #0B0D0C;
  --color-bg-elevated: #141614;
  --color-bg-card: rgba(255, 255, 255, 0.03);

  /* Off-white — nunca branco puro */
  --color-text-primary: #F4F1EA;
  --color-text-secondary: rgba(244, 241, 234, 0.72);
  --color-text-muted: rgba(244, 241, 234, 0.48);

  /* Âmbar — cor de marca / acento (brasa fosca, não neon) */
  --color-amber: #C9974B;
  --color-amber-bright: #E3B573;
  --color-amber-dim: rgba(201, 151, 75, 0.16);

  /* Cores de volume (uso pontual em seções específicas) */
  --color-vol1: #B4753A;   /* Centelha — bronze/âmbar */
  --color-vol2: #4FA8A0;   /* Eco — azul-petróleo/ciano */
  --color-vol3: #7A9B5E;   /* Floresta — verde-musgo */

  /* Bordas e divisores */
  --color-border: rgba(244, 241, 234, 0.09);
  --color-border-strong: rgba(244, 241, 234, 0.16);

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaçamento (base 8px) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-width: 1200px;
  --container-padding: 2rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transições */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease-premium);
  --transition-base: 350ms var(--ease-premium);
}

/* ---------------------------------------------------------
   2. RESET
--------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------
   3. UTILITÁRIOS / LAYOUT
--------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-md);
}

/* ---------------------------------------------------------
   4. BOTÕES
--------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast),
              border-color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-amber);
  color: #171310;
  border: 1px solid var(--color-amber);
}

.btn-primary:hover {
  background-color: var(--color-amber-bright);
  transform: scale(1.02);
  box-shadow: 0 0 0 1px var(--color-amber-bright),
              0 8px 30px -8px rgba(201, 151, 75, 0.55);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-strong);
}

.btn-secondary:hover {
  background-color: rgba(244, 241, 234, 0.04);
  border-color: rgba(244, 241, 234, 0.32);
  transform: scale(1.02);
}

.btn-small {
  padding: 0.65rem 1.4rem;
  font-size: 0.8125rem;
}

/* ---------------------------------------------------------
   5. HEADER / NAVEGAÇÃO
--------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(11, 13, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-amber);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

/* Nav some no mobile — pode ser trocada por menu hambúrguer depois */
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
}

/* ---------------------------------------------------------
   6. HERO SECTION
--------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 var(--space-2xl);
  overflow: hidden;
}

/* Glow ambiente — respiração de brasa, sutil e lenta */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 65%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 151, 75, 0.14) 0%, rgba(201, 151, 75, 0) 70%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-2xl);
}

.hero-content {
  max-width: 620px;
}

.hero-headline {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  max-width: 100%;
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}

/* Indicador de scroll — discreto, no rodapé do hero */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  z-index: 2;
}

.scroll-indicator span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background-color: var(--color-amber);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-move 2s ease-in-out infinite;
}

@keyframes scroll-move {
  0%   { top: 6px; opacity: 1; }
  70%  { top: 16px; opacity: 0; }
  100% { top: 16px; opacity: 0; }
}

/* ---------------------------------------------------------
   7. RESPONSIVIDADE — MOBILE
--------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  :root {
    --container-padding: 1.25rem;
  }

  .hero {
    padding: 120px 0 var(--space-xl);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .logo-text {
    display: none;
  }
}