/* ============================================
   Aurí Tecnologia — Tema DARK PREMIUM
   Inspirado na identidade visual oficial (referência: 25/04/2026)
   ============================================ */

:root {
  /* Background system */
  --auri-bg: #06090F;              /* Background principal (preto azulado profundo) */
  --auri-bg-elevated: #0F1525;     /* Cards, painéis */
  --auri-bg-subtle: #0A101D;       /* Sections alternadas */
  --auri-bg-glass: rgba(15, 21, 37, 0.6); /* Glassmorphism */

  /* Brand colors (vibrant neon) */
  --auri-blue: #2EBDFF;            /* Ciano elétrico */
  --auri-blue-soft: #4DD2FF;       /* Azul mais suave */
  --auri-purple: #A855F7;          /* Roxo vibrante */
  --auri-magenta: #D946EF;         /* Magenta (acento) */

  /* Text system */
  --auri-text: #FFFFFF;            /* Texto principal */
  --auri-text-soft: #B4BCD0;       /* Texto secundário */
  --auri-text-muted: #6B7488;      /* Texto desabilitado */

  /* Borders */
  --auri-border: rgba(255, 255, 255, 0.08);
  --auri-border-glow: rgba(46, 189, 255, 0.25);
  --auri-border-strong: rgba(255, 255, 255, 0.15);

  /* Status */
  --auri-success: #10B981;
  --auri-warning: #F59E0B;
  --auri-danger: #EF4444;

  /* Gradients */
  --auri-gradient: linear-gradient(135deg, var(--auri-blue) 0%, var(--auri-purple) 100%);
  --auri-gradient-soft: linear-gradient(135deg, rgba(46, 189, 255, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
  --auri-gradient-glow: radial-gradient(circle, rgba(46, 189, 255, 0.15) 0%, transparent 70%);

  /* Tipografia */
  --auri-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras (com glow) */
  --auri-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --auri-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --auri-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --auri-shadow-glow: 0 0 40px rgba(46, 189, 255, 0.4);
  --auri-shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.4);

  /* Raios */
  --auri-radius-sm: 8px;
  --auri-radius-md: 12px;
  --auri-radius-lg: 20px;
  --auri-radius-xl: 32px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--auri-font);
  background: var(--auri-bg);
  color: var(--auri-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Subtle starfield/grid effect on body */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(46, 189, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* Tipografia */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--auri-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--auri-text-soft);
}

a {
  color: var(--auri-blue);
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}
a:hover { color: var(--auri-blue-soft); }

/* ============================================
   Componentes da marca
   ============================================ */

.auri-gradient-text {
  background: var(--auri-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auri-gradient-bg {
  background: var(--auri-gradient);
}

/* Logo */
.auri-logo {
  display: inline-flex;
  align-items: center;
  color: var(--auri-text);
  text-decoration: none;
}

.auri-logo-mark {
  width: 180px;
  height: 96px;
  background-image: url('../assets/logo-auri-completa.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.5)) drop-shadow(0 0 32px rgba(46, 189, 255, 0.25));
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

.auri-logo:hover .auri-logo-mark {
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.7)) drop-shadow(0 0 40px rgba(46, 189, 255, 0.4));
}

/* Esconde o texto "Aurí" do header (já vem dentro do SVG completo) */
.auri-logo > span:not(.auri-logo-mark) {
  display: none;
}

/* Símbolo grande pra usar no hero institucional (só o A, sem texto) */
.auri-logo-symbol {
  width: 140px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5)) drop-shadow(0 0 60px rgba(46, 189, 255, 0.3));
  animation: subtleFloat 6s ease-in-out infinite;
}

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

/* Logo grande completa (mantida pra uso futuro em apresentações/PDFs) */
.auri-logo-large {
  width: 240px;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4)) drop-shadow(0 0 60px rgba(46, 189, 255, 0.3));
}

/* Botões */
.auri-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--auri-radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: inherit;
}

.auri-btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.auri-btn-primary {
  background: var(--auri-gradient);
  color: white;
  box-shadow: var(--auri-shadow-md), 0 0 20px rgba(46, 189, 255, 0.3);
}

.auri-btn-primary:hover {
  box-shadow: var(--auri-shadow-glow), var(--auri-shadow-glow-purple);
}

.auri-btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 30px rgba(37, 211, 102, 0.25);
  font-size: 1.1rem;
  padding: 1.1rem 2.25rem;
}

.auri-btn-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5), 0 0 40px rgba(37, 211, 102, 0.4);
}

.auri-btn-outline {
  background: transparent;
  color: var(--auri-text);
  border: 1px solid var(--auri-border-strong);
  backdrop-filter: blur(8px);
}

.auri-btn-outline:hover {
  border-color: var(--auri-blue);
  color: var(--auri-blue);
  box-shadow: 0 0 20px rgba(46, 189, 255, 0.2);
}

/* Cards */
.auri-card {
  background: var(--auri-bg-elevated);
  border-radius: var(--auri-radius-lg);
  padding: 2rem;
  box-shadow: var(--auri-shadow-sm);
  border: 1px solid var(--auri-border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  backdrop-filter: blur(12px);
}

.auri-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--auri-shadow-md), 0 0 30px rgba(46, 189, 255, 0.1);
  border-color: var(--auri-border-glow);
}

.auri-card h3, .auri-card h4 {
  color: var(--auri-text);
}

.auri-card p {
  color: var(--auri-text-soft);
}

.auri-card-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--auri-bg-elevated), var(--auri-bg-elevated)) padding-box,
    var(--auri-gradient) border-box;
  position: relative;
  box-shadow: var(--auri-shadow-md), var(--auri-shadow-glow);
}

.auri-card-featured::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--auri-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

/* Avatar */
.auri-agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--auri-gradient);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--auri-shadow-glow);
  flex-shrink: 0;
}

.auri-agent-avatar-lg {
  width: 96px;
  height: 96px;
  font-size: 2.25rem;
}

/* Containers */
.auri-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.auri-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sections */
.auri-section {
  padding: 5rem 0;
}

.auri-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.auri-section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--auri-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* Section alt (background diferente, ainda escuro) */
.auri-section-alt {
  background: var(--auri-bg-subtle);
  position: relative;
}

.auri-section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 189, 255, 0.3), transparent);
}

/* Animações */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auri-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.auri-pulse { animation: pulse 2s ease-in-out infinite; }

@keyframes glow {
  0%, 100% { box-shadow: var(--auri-shadow-glow); }
  50% { box-shadow: var(--auri-shadow-glow), var(--auri-shadow-glow-purple); }
}

.auri-glow { animation: glow 3s ease-in-out infinite; }

/* Responsivo */
@media (max-width: 768px) {
  .auri-section { padding: 3rem 0; }
  .auri-card { padding: 1.5rem; }
}

/* WhatsApp floating */
.auri-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 40px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: transform 0.3s;
  text-decoration: none;
}

.auri-whatsapp-float:hover { transform: scale(1.1); opacity: 1; }
.auri-whatsapp-float svg { width: 32px; height: 32px; }

/* Header dark com glassmorphism */
.auri-header {
  background: rgba(6, 9, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--auri-border);
}

/* Mockup conversa (chat preview) */
.auri-chat-preview {
  background: var(--auri-bg-elevated);
  border: 1px solid var(--auri-border-glow);
  box-shadow: var(--auri-shadow-lg), 0 0 60px rgba(46, 189, 255, 0.15);
}

.auri-chat-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--auri-border);
}

.auri-chat-bubble-incoming {
  background: rgba(255, 255, 255, 0.06);
  color: var(--auri-text);
}

.auri-chat-bubble-outgoing {
  background: var(--auri-gradient);
  color: white;
}

/* Hero video player vertical (Dudu apresentando) — formato Reels 9:16 */
.auri-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--auri-radius-xl);
  overflow: hidden;
  border: 2px solid var(--auri-border-glow);
  box-shadow:
    var(--auri-shadow-lg),
    0 0 80px rgba(46, 189, 255, 0.3),
    0 0 120px rgba(168, 85, 247, 0.2);
  background: #000;
  aspect-ratio: 9 / 16;
}

.auri-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Variante horizontal (16:9) — pra futuros vídeos do institucional */
.auri-video-wrapper.horizontal {
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

/* Footer dark */
.auri-footer {
  background: #03060B;
  border-top: 1px solid var(--auri-border);
  color: var(--auri-text-soft);
}

/* FAQ accordion (details) */
details.auri-card summary {
  color: var(--auri-text);
}

details.auri-card[open] {
  border-color: var(--auri-border-glow);
}

/* Hero glow blobs (override) */
.auri-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.auri-hero-blob-blue {
  background: var(--auri-blue);
}

.auri-hero-blob-purple {
  background: var(--auri-purple);
}
