/* =========================================
   RESET & SEGURANÇA MOBILE
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
  font-family: 'Inter', sans-serif !important;
  text-transform: none !important;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* =========================================
   ROOT
========================================= */

:root {
  --background: #0a0a0a;
  --background-soft: #111111;
  --text: #ffffff; /* Branco Aceso como Padrão do Site */
  --text-soft: #a0a0a0; /* Usado apenas para elementos secundários/rodapé */
  --gold: #c6a36a;
  --border: rgba(255,255,255,0.06);
}

/* =========================================
   BODY
========================================= */

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(198,163,106,0.04),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(198,163,106,0.03),
      transparent 35%
    ),
    #0a0a0a;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================
   TOP LINE
========================================= */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(198,163,106,0.4),
      transparent
    );
  z-index: 999;
}

/* =========================================
   LINKS
========================================= */

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   NAVBAR & ALINHAMENTO À DIREITA
========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    border-bottom 0.4s ease;
}

/* Força os links de texto do menu a irem sempre para a direita */
.navbar div[style*="display: flex; align-items: center"] {
  margin-left: auto !important;
  justify-content: flex-end !important;
}

/* =========================================
   LOGO
========================================= */

.logo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.55rem;
  color: #ffffff;
}

/* =========================================
   BUTTONS
========================================= */

.nav-button,
.primary-button {
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border-radius: 14px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-button {
  padding: 14px 22px;
  font-size: 0.95rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 34px;
  font-size: 1rem;
  letter-spacing: 0.03rem;
  box-shadow: 0 10px 30px rgba(198,163,106,0.12);
}

.primary-button:hover,
.nav-button:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.primary-button:hover {
  box-shadow: 0 14px 40px rgba(198,163,106,0.18);
}

/* =========================================
   HERO
========================================= */

.hero {
  min-height: 100vh;
  padding: 220px 6% 140px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  background:
    radial-gradient(
      circle,
      rgba(198,163,106,0.06) 0%,
      rgba(198,163,106,0.02) 30%,
      rgba(198,163,106,0) 70%
    );
  top: -320px;
  right: -320px;
  pointer-events: none;
  filter: blur(10px);
}

.hero-content {
  width: 100%;
  padding-bottom: 60px;
}

.hero-tag {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.45rem;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.1rem;
  font-weight: 800;
  word-break: break-word;
  color: var(--text);
}

.gold-text {
  color: var(--gold);
}

.hero-description {
  margin-top: 42px;
  max-width: 760px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero-buttons {
  margin-top: 52px;
}

/* =========================================
   MANIFESTO
========================================= */

.manifesto {
  padding: 120px 6%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.manifesto-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 42px;
  border-radius: 28px;
  backdrop-filter: blur(6px);
  transition: transform 0.4s ease, border 0.4s ease;
}

.manifesto-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198,163,106,0.18);
}

.manifesto-card h3 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: var(--text);
}

.manifesto-card p {
  color: var(--text);
  line-height: 1.9;
}

/* =========================================
   SERVICES
========================================= */

.services {
  padding: 140px 6%;
}

.section-title {
  max-width: 760px;
}

.section-title p {
  color: var(--gold);
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 18px;
}

.section-title h2 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.1rem;
  color: var(--text);
}

.services-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 42px;
  border-radius: 28px;
  backdrop-filter: blur(6px);
  transition: transform 0.4s ease, border 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198,163,106,0.18);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: var(--text);
}

.service-card p {
  color: var(--text);
  line-height: 1.9;
}

/* =========================================
   CTA
========================================= */

.cta {
  padding: 140px 6%;
}

.cta-content {
  background:
    linear-gradient(
      135deg,
      rgba(198,163,106,0.12),
      rgba(255,255,255,0.02)
    );
  border: 1px solid rgba(198,163,106,0.12);
  border-radius: 34px;
  padding: 90px 8%;
  text-align: center;
}

.cta-tag {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.28rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.cta h2 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.1rem;
  margin-bottom: 42px;
  color: var(--text);
}

/* =========================================
   FOOTER
========================================= */

footer {
  padding: 40px 6% 60px;
  border-top: 1px solid var(--border);
}

footer p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* =========================================
   TEXT SELECTION
========================================= */

::selection {
  background: rgba(198,163,106,0.25);
  color: #fff;
}

/* =========================================
   RESPONSIVIDADE GENERALIZADA TABLET & MOBILE
========================================= */

@media (max-width: 1024px) {
  .hero h1,
  .section-title h2,
  .cta h2 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 20px 5% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .logo {
    font-size: 0.65rem;
    letter-spacing: 0.2rem;
  }

  .hero {
    min-height: 100vh;
    padding: 140px 5% 60px;
    align-items: flex-start;
  }

  .hero::before {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-tag {
    font-size: 0.68rem;
    letter-spacing: 0.22rem;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.05rem;
  }

  .hero-description {
    margin-top: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .hero-buttons {
    margin-top: 32px;
    width: 100%;
  }

  .primary-button {
    width: 100%;
    padding: 16px 24px;
    font-size: 0.95rem;
  }

  .manifesto {
    padding: 80px 5%;
    gap: 16px;
  }

  .manifesto-card {
    padding: 28px;
    border-radius: 20px;
  }

  .manifesto-card h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .manifesto-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .services {
    padding: 80px 5%;
  }

  .section-title p {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    margin-bottom: 14px;
  }

  .section-title h2 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.05rem;
  }

  .services-grid {
    margin-top: 40px;
    gap: 16px;
  }

  .service-card {
    padding: 28px;
    border-radius: 20px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .cta {
    padding: 80px 5%;
  }

  .cta-content {
    padding: 48px 6%;
    border-radius: 24px;
  }

  .cta-tag {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    margin-bottom: 16px;
  }

  .cta h2 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 28px;
  }

  footer {
    padding: 28px 5% 36px;
  }

  footer p {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 16px 4% !important;
  }

  .logo {
    font-size: 0.6rem;
    letter-spacing: 0.12rem;
  }

  .hero {
    padding: 120px 4% 50px;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    filter: blur(8px);
  }

  .hero-tag {
    font-size: 0.6rem;
    letter-spacing: 0.15rem;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02rem;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .hero-buttons {
    margin-top: 26px;
  }

  .primary-button {
    padding: 14px 20px;
    font-size: 0.88rem;
  }

  .manifesto {
    padding: 60px 4%;
    gap: 12px;
  }

  .manifesto-card {
    padding: 22px;
    border-radius: 16px;
  }

  .manifesto-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .manifesto-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .services {
    padding: 60px 4%;
  }

  .section-title p {
    font-size: 0.65rem;
    letter-spacing: 0.15rem;
    margin-bottom: 10px;
  }

  .section-title h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.02rem;
  }

  .services-grid {
    margin-top: 32px;
    gap: 12px;
  }

  .service-card {
    padding: 22px;
    border-radius: 16px;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .cta {
    padding: 60px 4%;
  }

  .cta-content {
    padding: 40px 5%;
    border-radius: 20px;
  }

  .cta-tag {
    font-size: 0.65rem;
    letter-spacing: 0.15rem;
    margin-bottom: 12px;
  }
}

/* =========================================
   ESCOLA VOZ (BIBLIOTECA DE ARTIGOS)
========================================= */

/* Container Principal */
.services-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 4%;
  display: flex;
  flex-direction: column;
}

/* Configuração da seção Sobre a Escola Voz */
.alignment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.alignment-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.alignment-image img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.alignment-content {
  flex: 1.2;
}

/* Gavetas de Artigo */
.article-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.article-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.article-header h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-header p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.article-toggle {
  background: transparent;
  border: none;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: inline-block;
  transition: color 0.3s ease;
}

.article-toggle:hover {
  color: #fff;
}

/* Comportamento da Gaveta (Acordeão) */
.article-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.article-card.active .article-content {
  max-height: 5000px;
  transition: max-height 1s ease-in-out;
}

.article-inner {
  padding-top: 32px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-inner p {
  margin-bottom: 16px;
}

/* Responsividade Mobile para Escola Voz */
@media (max-width: 768px) {
  .services-container {
    padding: 30px 4%;
  }
  .alignment-row {
    flex-direction: column !important;
    gap: 32px;
  }
  .alignment-image img {
    max-width: 100%;
  }
  .article-card {
    padding: 24px;
  }
  .article-header h3 {
    font-size: 1.3rem;
  }
}

/* =========================================
   PAGINA SOBRE - HARMONIA, RESPIRO E CENTRALIZAÇÃO
========================================= */

/* Trata as descrições na página sobre */
.hero-description, 
.services .service-card p {
  text-transform: none !important;
  line-height: 1.8;
  color: var(--text);
}

/* Centraliza os títulos apenas se estiver na página sobre */
body:has(a[href="index.html"]) .section-title {
  text-align: center;
  margin: 0 auto 60px auto;
  max-width: 850px;
}

body:has(a[href="index.html"]) .section-title h2 {
  margin: 20px auto 0 auto;
}

/* Garante o alinhamento centralizado nos blocos de texto da página sobre */
body:has(a[href="index.html"]) .service-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 40px; 
}

/* Organiza os blocos de cases centralizando logos e cabeçalhos */
body:has(a[href="index.html"]) .services div[style*="flex-direction: column"] {
  align-items: center !important;
  text-align: center !important;
}

body:has(a[href="index.html"]) .services div[style*="display: flex"] {
  justify-content: center !important;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  body:has(a[href="index.html"]) .services .service-card {
    padding: 30px 20px;
  }
}

/* ================================================================= */
/* ENGINE ULTRA-PREMIUM DE INTEGRAÇÃO DE IMAGENS (VOZ MKT)           */
/* ================================================================= */

.image-frame-container {
  position: relative;
  width: 92%;
  max-width: 900px;
  margin: 48px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 1. O Brilho Atmosférico (Glow) Automático atrás da imagem */
.image-frame-container::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 65%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  top: 10%;
  filter: blur(45px);
  z-index: 1;
  pointer-events: none;
}

/* 2. A Vinheta Quádrupla Automática (Fusão com o fundo escuro #0b0b0b) */
.image-frame-container::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: 
    linear-gradient(to bottom, transparent 80%, #0b0b0b 100%), 
    linear-gradient(to top, transparent 85%, #0b0b0b 100%), 
    linear-gradient(to right, transparent 88%, #0b0b0b 100%), 
    linear-gradient(to left, transparent 88%, #0b0b0b 100%);
  pointer-events: none;
  z-index: 3;
}

/* 3. Tratamento da imagem real de forma limpa */
.image-frame-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2; /* Fica entre o glow (1) e a vinheta (3) */
  filter: drop-shadow(0px 25px 50px rgba(0, 0, 0, 0.9));
  border-radius: 6px;
}