/* ==========================================================================
   TCC Sem Sofrer - Design Limpo, Moderno & Padronizado
   ========================================================================== */

:root {
  /* Cores Principais */
  --bg-editorial: #fbf9f5;        /* Creme Quente Suave */
  --bg-card: #ffffff;
  --navy-deep: #07162c;           /* Azul Marinho Profundo */
  --navy-accent: #0f2b54;         /* Tom Azul Secundário */
  --navy-soft: #f0f4f8;
  
  --gold-aged: #c59b27;           /* Dourado Envelhecido */
  --gold-bright: #d4af37;         /* Dourado Destaque */
  
  --whatsapp-green: #059669;      /* Verde Esmeralda */
  --whatsapp-hover: #047857;
  
  /* Textos e Contrastes */
  --text-primary: #0a192f;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-editorial: #e2dacd;     /* Linha de Separação Fina */
  --border-subtle: rgba(7, 22, 44, 0.08);

  /* Layout & Espaçamento */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-editorial: 0 15px 35px -10px rgba(7, 22, 44, 0.07), 0 5px 15px -5px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 45px -12px rgba(7, 22, 44, 0.12);

  /* Fonte Única e Padronizada para Todo o Site */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-editorial);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Barra Superior */
.top-bar {
  background: var(--navy-deep);
  color: #f8fafc;
  font-size: 0.825rem;
  font-weight: 600;
  text-align: center;
  padding: 0.65rem 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(197, 155, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.top-bar i {
  color: var(--gold-bright);
}

/* Header Navbar */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-editorial);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo Sem Fundo Preto na Miniatura */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-monogram {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  background: transparent;      /* Sem fundo preto */
  border: none;                  /* Sem borda preta */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-monogram img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
}

.logo-text {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

.logo-text .brand-script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--gold-aged);
  font-size: 1.8rem;
  margin-left: 0.25rem;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold-aged);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--navy-deep);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
  transition: all 0.3s ease;
}

.btn-header-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

/* Botões Globais */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--whatsapp-green);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.05rem 2.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--navy-deep);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--navy-deep);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-editorial) 0%, #f4eee2 100%);
  border-bottom: 1px solid var(--border-editorial);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--border-editorial);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.hero-seal-badge i {
  color: var(--gold-aged);
}

.hero-title {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-deep);
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
}

.hero-title span.highlight-gold {
  font-family: var(--font-script);
  color: var(--gold-aged);
  font-size: 3.4rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 92%;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

/* Faixa de Prova Social no Hero */
.hero-proof-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-editorial);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.proof-item i {
  color: var(--gold-aged);
  font-size: 1.15rem;
}

/* Mascote 100% Transparente Sem Fundo Branco */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chancela-card {
  background: transparent;     /* Sem fundo branco */
  border: none;                 /* Sem caixa estática */
  box-shadow: none;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 420px;
}

.mascot-frame {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: floatMascot 4s ease-in-out infinite;
}

.mascot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(7, 22, 44, 0.15));
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chancela-footer-note {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-top: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  display: inline-block;
  border: 1px solid var(--border-editorial);
}

/* Barra de Métricas */
.impact-bar {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.3);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.impact-number {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.impact-label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cabeçalho de Seção Padronizado */
.section-header-editorial {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.75rem;
}

.section-tag-editorial {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-aged);
  margin-bottom: 0.6rem;
}

.section-title-editorial {
  font-family: var(--font-main);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
}

.section-subtitle-editorial {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Seção de Serviços */
.services-section {
  padding: 5.5rem 0;
  background-color: var(--bg-editorial);
}

.services-asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

/* Card Destacado */
.service-card-featured {
  grid-column: span 6;
  background: #ffffff;
  border: 1px solid var(--border-editorial);
  border-radius: var(--radius-md);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-editorial);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.service-card-featured:hover {
  transform: translateY(-5px);
  border-color: var(--gold-aged);
  box-shadow: var(--shadow-hover);
}

.service-badge-featured {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--navy-deep);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-icon-featured {
  width: 58px;
  height: 58px;
  background: var(--navy-soft);
  color: var(--navy-deep);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-editorial);
}

.service-card-featured h3 {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.service-card-featured p {
  font-size: 1rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Cards Padrão */
.service-card-standard {
  grid-column: span 4;
  background: #ffffff;
  border: 1px solid var(--border-editorial);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card-standard:hover {
  transform: translateY(-4px);
  border-color: var(--navy-accent);
  box-shadow: var(--shadow-editorial);
}

.service-icon-standard {
  width: 48px;
  height: 48px;
  background: var(--bg-editorial);
  color: var(--gold-aged);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-editorial);
}

.service-card-standard h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.service-card-standard p {
  font-size: 0.925rem;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Seção de Diferenciais */
.differentials-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-editorial) 100%);
  border-top: 1px solid var(--border-editorial);
  border-bottom: 1px solid var(--border-editorial);
}

.diff-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.diff-left h2 {
  font-family: var(--font-main);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.diff-left p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.diff-seal-box {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-bright);
}

.diff-seal-box h4 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.diff-seal-box p {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0;
}

.diff-list-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.diff-item-card {
  background: #ffffff;
  border: 1px solid var(--border-editorial);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.25s ease;
}

.diff-item-card:hover {
  transform: translateX(6px);
  border-color: var(--gold-aged);
}

.diff-check-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  color: var(--whatsapp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.diff-item-text h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.diff-item-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 0;
}

/* Widget Interativo */
.calculator-widget-section {
  padding: 5.5rem 0;
  background-color: var(--bg-editorial);
}

.widget-card {
  background: #ffffff;
  border: 1px solid var(--border-editorial);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-editorial);
  max-width: 860px;
  margin: 0 auto;
}

.widget-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-deep);
  text-align: center;
  margin-bottom: 0.5rem;
}

.widget-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.25rem;
}

.widget-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.form-select, .form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-editorial);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: var(--bg-editorial);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-select:focus, .form-input:focus {
  border-color: var(--navy-deep);
  background-color: #ffffff;
}

.widget-action-bar {
  grid-column: span 2;
  margin-top: 1rem;
  text-align: center;
}

/* FAQ Accordion */
.faq-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-editorial);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-editorial);
  border: 1px solid var(--border-editorial);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 1.75rem 1.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--gold-aged);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--navy-deep);
}

/* CTA Final Banner */
.cta-banner {
  padding: 5rem 0;
  background: var(--navy-deep);
  color: #ffffff;
  text-align: center;
  position: relative;
  border-top: 2px solid var(--gold-aged);
}

.cta-banner h2 {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  color: #cbd5e1;
}

/* Rodapé */
.app-footer {
  background-color: #030a14;
  color: #94a3b8;
  padding: 3.5rem 0 2.25rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1e293b;
}

.footer-contacts {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  padding-top: 1.75rem;
  color: #64748b;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 0.8rem 1.35rem 0.8rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.45);
  font-weight: 700;
  font-size: 0.925rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.04) translateY(-3px);
  background: var(--whatsapp-hover);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.6);
}

.whatsapp-icon-circle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.online-dot {
  width: 9px;
  height: 9px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px var(--whatsapp-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* Responsividade */
@media (max-width: 1024px) {
  .hero-grid, .diff-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-actions, .hero-proof-bar {
    justify-content: center;
  }

  .services-asymmetric-grid {
    grid-template-columns: 1fr;
  }

  .service-card-featured, .service-card-standard {
    grid-column: span 12;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .widget-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width, .widget-action-bar {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 0.75rem;
  }

  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-title span.highlight-gold {
    font-size: 2.5rem;
  }

  .cta-banner h2 {
    font-size: 1.85rem;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-contacts {
    flex-direction: column;
    gap: 1rem;
  }
}