/* styles-premium.css */
/* Design System: Super Premium (Cibersegurança) */
/* Este ficheiro é carregado após o styles.css original e serve para sobrescrever as cores genéricas com a nova identidade visual. */

:root {
  /* Paleta Core: Deep Navy & Charcoal */
  --bg: #0a0e14; /* Fundo principal super escuro */
  --surface: #121924; /* Cartões e secções secundárias */
  --surface2: #1a2332; /* Hover de cartões e inputs */
  
  /* Textos */
  --ink: #f8fafc; /* Texto principal (quase branco) */
  --muted: #94a3b8; /* Texto secundário (Slate) */
  --quiet: #64748b; /* Texto terciário / bordas subtis */
  
  /* Bordas */
  --rule: #1e293b; /* Linhas de separação */
  
  /* Cores de Destaque (Cobre/Dourado Mate e Accents) */
  --accent: #d97743; /* Laranja cobre / ferrugem (mantendo a herança, mas mais refinado) */
  --cream: #e2b992; /* Tom mais claro de cobre para hover e destaques secundários */
  --glow: rgba(217, 119, 67, 0.2); /* Sombra para botões e inputs */
  
  /* Tipografia */
  --serif: 'Outfit', system-ui, sans-serif; /* Usamos Outfit (sans-serif geométrica) em vez de Serif para um ar tech */
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'Fira Code', 'JetBrains Mono', ui-monospace, monospace;
  
  /* Variáveis de Animação e Espaçamento */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   FUNDAÇÃO E TIPOGRAFIA
========================================= */

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .brand, .faq summary, .topic h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Títulos mais imponentes no Hero */
.hero h1, .top h1 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* =========================================
   COMPONENTES: BOTÕES
========================================= */

.btn {
  font-family: var(--sans);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.22s var(--ease-premium);
  background-color: var(--accent);
  color: #ffffff !important;
  border: 1px solid transparent;
  text-decoration: none;
}

/* Botões Principais (Não Ghost): fundo branco com texto escuro e sombra glow */
.btn:not(.ghost):hover {
  background-color: #ffffff !important;
  color: #0a0e14 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow) !important;
}

/* Botões Secundários (Ghost / Contorno): fundo translúcido com texto branco */
.btn.ghost {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border: 1px solid var(--rule) !important;
}

.btn.ghost:hover {
  background-color: var(--surface2) !important;
  border-color: var(--cream) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
}

/* =========================================
   COMPONENTES: NAVEGAÇÃO
========================================= */

.nav {
  background: rgba(10, 14, 20, 0.85); /* Fundo semi-transparente para o header */
  backdrop-filter: blur(12px); /* Efeito de vidro */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.links a {
  transition: color 0.3s ease;
  font-weight: 400;
}

/* =========================================
   COMPONENTES: CARTÕES E TERMINAL (GLASSMORPHISM)
========================================= */

.terminal, .callout, .note, .cookie {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.terminalTop {
  background: var(--surface2);
  border-bottom: 1px solid var(--rule);
}

/* Secções alternativas */
.contextGrid, .contextItem, .process, .bandGrid div, .detail, .method, .faq {
  background: var(--bg); /* Vamos manter tudo no navy escuro em vez de superfícies intermédias pesadas */
}
.method {
  background: var(--surface);
  border-block-color: var(--rule);
}
.serviceList {
  border-top-color: var(--rule);
}
.service, .step {
  border-bottom-color: var(--rule);
}
.contextItem+.contextItem, .step+.step {
  border-left-color: var(--rule);
}

/* Hover effects nos serviços */
.service a, .service summary {
  transition: background 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

.service a:hover, .service summary:hover {
  background: var(--surface);
  transform: translateX(6px);
}

/* Formulário e Inputs */
input, textarea, select {
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--sans);
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow);
}

.field label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

/* Ocultar canvas webgl até estar ativo */
#webgl-hero, #webgl-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Fica atrás do conteúdo */
  pointer-events: none; /* Não interfere com cliques */
}
.hero, .top {
  position: relative; /* Para conter o canvas absolute */
  overflow: hidden;
}

/* =========================================
   OVERRIDE ANIMAÇÕES ANTIGAS
========================================= */
/* Como o GSAP está a controlar as animações agora, desativamos as CSS keyframes antigas */
.hero, .top, .intro, .introBand, .context, .services, .method, .process, .faq, .cta, .callout, .grid, .topics, .service, .row, .topic, .step, .value {
  animation: none !important;
}

/* =========================================
   TIMELINE DINÂMICA (Processo)
========================================= */
.methodClean__list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* --- Ferramentas Interativas (Lead Magnets) --- */
.tools-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toolsGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 800px) {
  .toolsGrid {
    grid-template-columns: 1fr 1fr;
  }
}

.toolCard {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.toolCard:hover {
  border-color: rgba(217, 119, 67, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.toolCard h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--cream);
  line-height: 1.3;
}

.toolCard p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.toolInputGroup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .toolInputGroup {
    flex-direction: row;
  }
}

.toolInputGroup input {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--cream);
  padding: 1rem;
  border-radius: 6px;
  font-size: 1rem;
}

.toolInputGroup input:focus {
  outline: none;
  border-color: var(--accent);
}

.toolResult {
  padding: 1.2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.toolResult.success {
  border-left: 4px solid #4CAF50;
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.05);
}

.toolResult.error {
  border-left: 4px solid #F44336;
  color: #F44336;
  background: rgba(244, 67, 54, 0.05);
}

.toolResult.warning {
  border-left: 4px solid #FF9800;
  color: #FF9800;
  background: rgba(255, 152, 0, 0.05);
}

.pwMeter {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.pwFill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  background: #F44336;
}

.toolLead {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255,255,255,0.1);
}

.toolLead p {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
}

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

@media (min-width: 600px) {
  .toolLead form {
    flex-direction: row;
  }
}

.toolLead form input {
  flex: 1;
  padding: 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  color: #fff;
}

.methodClean__item {
  position: relative;
  z-index: 2; /* Fica por cima da linha */
}
.methodClean__num {
  z-index: 2;
  position: relative;
  /* Efeito Esfera 3D */
  background: radial-gradient(circle at 30% 30%, #2a3441, #0a0e14 85%);
  border: none;
  border-radius: 50%;
  color: var(--muted);
  width: 56px !important; height: 56px !important;
  font-size: 16px !important;
  display: block !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 56px !important;
  box-shadow: inset -4px -4px 10px rgba(0,0,0,0.7), inset 4px 4px 10px rgba(255,255,255,0.05), 0 5px 15px rgba(0,0,0,0.5);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Quando ativo, a esfera ganha luz interna de cobre */
.methodClean__item.is-active .methodClean__num {
  color: var(--accent);
  box-shadow: inset -4px -4px 10px rgba(0,0,0,0.7), inset 4px 4px 10px rgba(255,255,255,0.05), inset 0 0 20px rgba(217, 119, 67, 0.4), 0 0 25px var(--glow);
  text-shadow: 0 0 10px var(--accent);
  transform: scale(1.1);
}

.timeline-track {
  position: absolute;
  top: 28px; /* Começa no primeiro círculo */
  bottom: 28px; /* Termina no último círculo */
  left: 27px; /* Centrado com as esferas (56px/2 - 1px) */
  width: 2px;
  background: var(--rule);
  z-index: 1;
}
.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--glow);
}

/* =========================================
   FORMULÁRIO MULTI-STEP
========================================= */
.form-step {
  display: none;
  animation: menuFadeIn 0.4s var(--ease-premium);
}
.form-step.active {
  display: block;
}
.step-progress {
  margin-bottom: 32px;
}
.step-progress-bar {
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.step-progress-fill {
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
  transition: width 0.4s var(--ease-premium);
}
.step-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

/* =========================================
   PREÇOS E PLANOS (Pricing Section)
========================================= */
.pricing {
  padding: 5rem 0;
  background: var(--bg);
}

.pricingGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .pricingGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricingCard {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s;
}

.pricingCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.pricingCard.featured {
  border-color: var(--accent);
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  background: rgba(217,119,67,0.03);
}

.pricingCard.featured::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px var(--glow);
}

.pricingHeader {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricingHeader h4 {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.pricingTarget {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cream);
  font-family: var(--serif);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.price .dynamic-price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cream);
  font-family: var(--serif);
}

.price span:not(.dynamic-price) {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--sans);
}

.pricingMin {
  font-size: 0.85rem;
  color: var(--quiet);
  margin: 0;
}

.pricingFeatures {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.pricingFeatures li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

.pricingFeatures li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.pricingLegal {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--quiet);
  line-height: 1.6;
}

.pricingDivider {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 4rem 0;
}

.pricingSecondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 800px) {
  .pricingSecondary {
    grid-template-columns: 1fr 1fr;
  }
}

.pricingTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pricingTable th, .pricingTable td {
  padding: 1rem 0;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.pricingTable th {
  color: var(--muted);
  font-weight: 500;
}

.pricingTable td:last-child, .pricingTable th:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--cream);
}

.outsourcingList {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.outsourcingList li {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.outsourcingList li strong {
  font-size: 1.2rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.3rem;
}

.outsourcingList li span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--mono);
}

.outsourcingList li p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.auditsIncluded ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
  color: var(--ink);
}

.auditsIncluded li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pricingCtaBox {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  padding: 3.5rem 2rem;
  text-align: center;
  margin-top: 5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pricingCtaBox h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.pricingCtaBox p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* =========================================
   MENU MOBILE & RESPONSIVIDADE
========================================= */
@media (max-width: 1100px) {
  .menu, .burger, .menuBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid var(--rule) !important;
    border-radius: 8px !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    z-index: 10000 !important;
  }

  .nav:not([data-open]) .links {
    display: none !important;
  }

  .nav[data-open] .links {
    display: flex !important;
    position: fixed !important;
    top: 76px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 76px) !important;
    background: var(--bg) !important;
    padding: 32px 24px !important;
    flex-direction: column !important;
    gap: 16px !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    border-top: 1px solid var(--rule) !important;
  }

  .nav[data-open] .links a {
    font-size: 18px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--rule) !important;
    color: var(--ink) !important;
    display: block !important;
  }
  
  .nav[data-open] .links a:last-child {
    border-bottom: none !important;
  }
}

/* Sem canvas 3D em ecrãs pequenos: evita transbordo horizontal e consumo desnecessário. */
@media (max-width: 800px) {
  #webgl-secondary {
    display: none !important;
  }
}

/* ==========================================================================
   EFEITOS VISUAIS DISCRETOS & MODERNOS (PREMIUM SAAS & MICRO-INTERAÇÕES)
   ========================================================================== */

/* 1. MENU SUPERIOR: HOVER & ACTIVE REFINADOS (PÍLULA TRANSLÚCIDA) */
@media (min-width: 921px) {
  .links > a {
    position: relative;
    padding: 7px 13px !important;
    border-radius: 8px !important;
    color: var(--muted) !important;
    border-bottom: none !important;
    transition: color 0.2s var(--ease-premium), background-color 0.2s var(--ease-premium), transform 0.2s var(--ease-premium) !important;
  }

  .links > a:hover {
    color: var(--ink) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-1px);
  }

  .links > a[aria-current] {
    color: #fff !important;
    background-color: rgba(217, 119, 67, 0.16) !important;
    font-weight: 500 !important;
    box-shadow: inset 0 0 0 1px rgba(217, 119, 67, 0.35) !important;
  }

  .links > a[aria-current]::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(217, 119, 67, 0.6);
  }
}

.phone {
  transition: color 0.2s ease, transform 0.2s ease;
}
.phone:hover {
  color: var(--cream) !important;
  transform: translateY(-1px);
}

/* 2. TRANSIÇÃO SUAVE ENTRE PÁGINAS (PAGE FADE IN / OUT + VIEW TRANSITIONS) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: pageFadeOut 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

::view-transition-new(root) {
  animation: pageFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-3px);
  }
}

body.fade-in {
  animation: pageFadeIn 0.25s var(--ease-premium) both;
}

body.page-exit {
  opacity: 0 !important;
  transform: translateY(-3px);
  transition: opacity 0.18s ease, transform 0.18s ease !important;
}

/* 3. MENU COM EFEITO VIDRO FOSCO (GLASSMORPHISM) */
.nav {
  background: rgba(10, 14, 20, 0.78) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.nav.scrolled {
  background: rgba(8, 12, 18, 0.94) !important;
  border-bottom-color: rgba(217, 119, 67, 0.2) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

/* 4. MICRO-INTERAÇÕES NOS BOTÕES (LIFT, GLOW & SHIMMER) */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 8px !important;
  transition: transform 0.22s var(--ease-premium), background-color 0.22s ease, box-shadow 0.25s ease !important;
}

.btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(217, 119, 67, 0.35) !important;
}

.btn:active {
  transform: translateY(0) !important;
}

/* Shimmer de reflexo de luz sutil */
.btn:not(.ghost)::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: btnShimmer 7s infinite ease-in-out;
}

@keyframes btnShimmer {
  0%, 75% {
    transform: rotate(25deg) translateX(-200%);
  }
  100% {
    transform: rotate(25deg) translateX(450%);
  }
}

/* 5. ILUMINAÇÃO DE BORDA & PROFUNDIDADE EM CARDS */
.service, .contextItem, .pricingCard, .secondaryCol, .faq-category-block, .topic {
  transition: transform 0.28s var(--ease-premium), border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease !important;
}

.service:hover, .contextItem:hover, .secondaryCol:hover, .faq-category-block:hover {
  border-color: rgba(217, 119, 67, 0.35) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(217, 119, 67, 0.06);
}

.pricingCard:hover {
  border-color: rgba(217, 119, 67, 0.5) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 25px rgba(217, 119, 67, 0.1);
  transform: translateY(-3px);
}

/* 6. EXPANSÃO FLUIDA DOS ACORDEÕES DA FAQ */
details summary {
  transition: color 0.2s ease;
  user-select: none;
}

details summary:hover {
  color: var(--cream) !important;
}

details summary::after {
  content: '+';
  color: var(--accent);
  font: 300 24px/1 var(--sans);
  transition: transform 0.25s var(--ease-premium), color 0.2s ease !important;
}

details[open] summary::after {
  transform: rotate(45deg) !important;
  color: var(--cream) !important;
}

details[open] > *:not(summary) {
  animation: faqItemReveal 0.26s var(--ease-premium) both;
}

@keyframes faqItemReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   SECÇÃO CTA (CALL TO ACTION) MODERNA & ALTO CONTRASTE
   ========================================================================== */
.cta {
  margin-top: 72px;
  padding: 48px 40px !important;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(217, 119, 67, 0.12) 100%) !important;
  border: 1px solid rgba(217, 119, 67, 0.35) !important;
  border-radius: 16px !important;
  color: var(--ink) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
  text-align: center;
}

.cta .eyebrow {
  color: var(--cream) !important;
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px) !important;
  color: #ffffff !important;
  margin: 14px auto 16px auto !important;
  max-width: 24ch;
}

.cta p {
  color: var(--muted) !important;
  font-size: 17px !important;
  margin: 0 auto !important;
  max-width: 58ch;
}

.cta .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Botão Principal em .cta ("Pedir diagnóstico gratuito") */
.cta .btn:not(.ghost) {
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cta .btn:not(.ghost):hover {
  background-color: #ffffff !important;
  color: #0a0e14 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(217, 119, 67, 0.35) !important;
}

/* Botão Secundário em .cta ("Perguntas Frequentes") */
.cta .btn.ghost {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 500 !important;
}

.cta .btn.ghost:hover {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}




