@font-face {
  font-family: 'Miranda Sans';
  src: url('../fonts/Miranda_Sans/MirandaSans-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Miranda Sans';
  src: url('../fonts/Miranda_Sans/MirandaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

/* ============================================================
   TOKENS — Sistema de Design AuraLabs
   Parte 2 — Fundação visual completa
   ============================================================ */


/* ------------------------------------------------------------
   DARK MODE (padrão)
   ------------------------------------------------------------ */

:root,
[data-theme="dark"] {

  /* Backgrounds */
  --color-bg:      #08080f;
  --color-bg-soft: #0c0c16;
  --color-bg-alt:  #0a0a13;

  /* Surfaces */
  --color-surface:          #10101e;
  --color-surface-raised:   #151528;
  --color-surface-glass:    rgba(255, 255, 255, 0.03);
  --color-surface-glass-md: rgba(255, 255, 255, 0.055);
  --color-surface-glass-lg: rgba(255, 255, 255, 0.085);

  /* Borders */
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-border-soft: rgba(255, 255, 255, 0.04);
  --color-border-glow: rgba(124, 90, 240, 0.35);

  /* Text */
  --color-text:       #eeeef8;
  --color-text-soft:  rgba(238, 238, 248, 0.52);
  --color-text-muted: rgba(238, 238, 248, 0.26);

  /* Brand */
  --color-primary:       #7c5af0;
  --color-primary-light: #9b7ef8;
  --color-primary-dark:  #5b3ed6;
  --color-accent:        #ec4899;
  --color-accent-blue:   #3b82f6;
  --color-accent-cyan:   #06b6d4;
  --color-success:       #22c55e;

  /* Gradients */
  --gradient-brand:       linear-gradient(135deg, #7c5af0 0%, #ec4899 100%);
  --gradient-brand-alt:   linear-gradient(135deg, #3b82f6 0%, #7c5af0 100%);
  --gradient-text:        linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
  --gradient-bg-hero:
    radial-gradient(ellipse 90% 70% at 65% -5%,  rgba(124, 90, 240, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 92% 88%,  rgba(236, 72, 153, 0.11) 0%, transparent 58%),
    radial-gradient(ellipse 65% 55% at -8%  52%,  rgba(59, 130, 246, 0.09) 0%, transparent 58%);
  --gradient-bg-section:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(124, 90, 240, 0.07) 0%, transparent 70%);
  --gradient-bg-dark:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(124, 90, 240, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(236, 72, 153, 0.09) 0%, transparent 55%);

  /* Shadows */
  --shadow-sm:          0 1px 3px  rgba(0,0,0,.45), 0 1px 2px  rgba(0,0,0,.30);
  --shadow-md:          0 4px 16px rgba(0,0,0,.55), 0 2px 6px  rgba(0,0,0,.30);
  --shadow-lg:          0 16px 48px rgba(0,0,0,.65), 0 6px 20px rgba(0,0,0,.40);
  --shadow-xl:          0 32px 80px rgba(0,0,0,.75);
  --shadow-glow:        0 0 40px rgba(124,90,240,.35), 0 0 80px rgba(124,90,240,.14);
  --shadow-glow-accent: 0 0 30px rgba(236,72,153,.28);
  --shadow-glow-blue:   0 0 30px rgba(59,130,246,.28);
  --shadow-glass:       0 4px 24px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.06);
  --shadow-mock:        0 40px 100px rgba(0,0,0,.80), 0 0 80px rgba(124,90,240,.28), 0 0 120px rgba(124,90,240,.10);
  --shadow-card:        0 8px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);

  /* Header */
  --header-bg:           transparent;
  --header-bg-scrolled:  rgba(8, 8, 15, 0.85);
  --header-blur:         blur(20px);
  --header-border:       rgba(255, 255, 255, 0.06);
}


/* ------------------------------------------------------------
   LIGHT MODE
   ------------------------------------------------------------ */

[data-theme="light"] {

  /* Backgrounds */
  --color-bg:      #f1f1f8;
  --color-bg-soft: #e9e9f4;
  --color-bg-alt:  #ebebf6;

  /* Surfaces */
  --color-surface:          #ffffff;
  --color-surface-raised:   #f7f7fd;
  --color-surface-glass:    rgba(255, 255, 255, 0.62);
  --color-surface-glass-md: rgba(255, 255, 255, 0.78);
  --color-surface-glass-lg: rgba(255, 255, 255, 0.92);

  /* Borders */
  --color-border:      rgba(0, 0, 0, 0.09);
  --color-border-soft: rgba(0, 0, 0, 0.05);
  --color-border-glow: rgba(109, 65, 232, 0.22);

  /* Text */
  --color-text:       #0c0c18;
  --color-text-soft:  rgba(12, 12, 24, 0.52);
  --color-text-muted: rgba(12, 12, 24, 0.30);

  /* Brand */
  --color-primary:       #6d41e8;
  --color-primary-light: #8a63f0;
  --color-primary-dark:  #5230c9;
  --color-accent:        #db2777;
  --color-accent-blue:   #2563eb;
  --color-accent-cyan:   #0891b2;
  --color-success:       #16a34a;

  /* Gradients */
  --gradient-brand:       linear-gradient(135deg, #6d41e8 0%, #db2777 100%);
  --gradient-brand-alt:   linear-gradient(135deg, #2563eb 0%, #6d41e8 100%);
  --gradient-text:        linear-gradient(135deg, #6d41e8 0%, #db2777 100%);
  --gradient-bg-hero:
    radial-gradient(ellipse 90% 70% at 65% -5%,  rgba(109, 65, 232, 0.10) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 92% 88%,  rgba(219, 39, 119, 0.06) 0%, transparent 58%),
    radial-gradient(ellipse 65% 55% at -8%  52%,  rgba(37, 99, 235, 0.05) 0%, transparent 58%);
  --gradient-bg-section:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(109, 65, 232, 0.05) 0%, transparent 70%);
  --gradient-bg-dark:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(109, 65, 232, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(219, 39, 119, 0.05) 0%, transparent 55%);

  /* Shadows */
  --shadow-sm:          0 1px 3px  rgba(0,0,0,.08), 0 1px 2px  rgba(0,0,0,.05);
  --shadow-md:          0 4px 16px rgba(0,0,0,.10), 0 2px 6px  rgba(0,0,0,.06);
  --shadow-lg:          0 16px 48px rgba(0,0,0,.12), 0 6px 20px rgba(0,0,0,.08);
  --shadow-xl:          0 32px 80px rgba(0,0,0,.15);
  --shadow-glow:        0 0 40px rgba(109,65,232,.18), 0 0 80px rgba(109,65,232,.07);
  --shadow-glow-accent: 0 0 30px rgba(219,39,119,.15);
  --shadow-glow-blue:   0 0 30px rgba(37,99,235,.15);
  --shadow-glass:       0 4px 24px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.90);
  --shadow-mock:        0 40px 100px rgba(0,0,0,.18), 0 0 80px rgba(109,65,232,.15), 0 0 120px rgba(109,65,232,.06);
  --shadow-card:        0 8px 32px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.90);

  /* Header */
  --header-bg:           transparent;
  --header-bg-scrolled:  rgba(241, 241, 248, 0.88);
  --header-blur:         blur(20px);
  --header-border:       rgba(0, 0, 0, 0.07);
}


/* ------------------------------------------------------------
   TOKENS UNIVERSAIS
   ------------------------------------------------------------ */

:root {

  /* Typography */
  --font-display: 'Miranda Sans', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Typography */
  /* --font-display: 'Jost', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
  
  /* Radius */
  --radius-xs:   15px;
  --radius-sm:   15px;
  --radius-md:   15px;
  --radius-lg:   15px;
  --radius-xl:   15px;
  --radius-2xl:  15px;
  --radius-full: 9999px;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --space-section-sm: clamp(3.5rem, 7vw, 5rem);
  --space-section:    clamp(5rem,  10vw, 8rem);
  --space-section-lg: clamp(6rem,  12vw, 10rem);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;
  --transition-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-toast:   300;
}


/* ============================================================
   GLOBAL — Reset, tipografia e utilitários base
   AuraLabs — Estúdio Criativo
   ============================================================ */


/* ------------------------------------------------------------
   RESET
   ------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
[hidden] { display: none !important; }


/* ------------------------------------------------------------
   TIPOGRAFIA
   ------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

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

p {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.74;
}

small { font-size: 0.8125rem; }


/* ------------------------------------------------------------
   UTILITÁRIOS DE TEXTO
   ------------------------------------------------------------ */

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

.text-soft  { color: var(--color-text-soft); }
.text-muted { color: var(--color-text-muted); }

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.label--accent {
  color: var(--color-primary-light);
}


/* ------------------------------------------------------------
   LAYOUT
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.container--wide {
  max-width: 1440px;
}

.section {
  position: relative;
  width: 100%;
}

.section-scroll-indicator {
  position: relative;
  z-index: 12;
  height: 0;
  margin: 0;
  pointer-events: none;
  overflow: visible;
}

.section-scroll-indicator__text {
  position: absolute;
  left: 50%;
  top: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transform: translate(-50%, -2.2rem);
}

.section-scroll-indicator__line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: float 2s ease infinite;
  opacity: 0.9;
  transform: translate(-50%, -0.9rem);
}

@media (max-width: 768px) {
  .section-scroll-indicator {
    display: none;
  }
}


/* ------------------------------------------------------------
   ACESSIBILIDADE
   ------------------------------------------------------------ */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}


/* ------------------------------------------------------------
   ANIMAÇÕES GLOBAIS
   ------------------------------------------------------------ */

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

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

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

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slide-right {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slide-left {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 var(--btn-pulse-color, rgba(124,90,240,.32)); }
  70%  { box-shadow: 0 0 0 14px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

/* Classe utilitária para elementos animados ao entrar na tela */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }


/* ------------------------------------------------------------
   SCROLL BAR (WebKit)
   ------------------------------------------------------------ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}


/* ============================================================
   HEADER — Fixo, transparente no topo, blur no scroll
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-overlay);
  padding-block: 1.125rem;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow),
    backdrop-filter var(--transition-slow),
    padding var(--transition-base);
}

.header--scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom-color: var(--header-border);
  padding-block: 0.875rem;
}

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

/* Logo */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 45px;
  width: auto;
  transition: opacity var(--transition-base);
}

.header__logo:hover .header__logo-img {
  opacity: 0.8;
}

/* Troca de logo por tema */
[data-theme="dark"]  .header__logo-img--light { display: none; }
[data-theme="dark"]  .header__logo-img--dark  { display: block; }
[data-theme="light"] .header__logo-img--light { display: block; }
[data-theme="light"] .header__logo-img--dark  { display: none; }

/* Nav desktop */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
}

/* Overlay mobile — completamente oculto no desktop, sem exceções */
.header__nav-mobile {
  display: none;
}

/* Links do nav desktop */
.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: color var(--transition-base);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.header__nav-link:hover {
  color: var(--color-text);
}

.header__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Hamburger — oculto no desktop */
.header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-soft);
  border: 1px solid var(--color-border);
}


/* ============================================================
   MOBILE — max-width: 768px
   ============================================================ */

@media (max-width: 768px) {

  /* Header inner */
  .header__inner {
    justify-content: space-between;
  }

  .header__actions {
    margin-left: auto;
  }

  /* Nav desktop: oculto no mobile (o overlay mobile substitui) */
  .header__nav {
    display: none;
  }

  /* Botão CTA do desktop: oculto no mobile */
  .header__actions .btn--primary {
    display: none;
  }

  /* Hamburger: visível no mobile */
  .header__menu-btn {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: var(--color-text);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  }

  /* ── Overlay mobile ── */
  .header__nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(3,3,8,.78) 0%, rgba(3,3,8,.84) 100%),
      radial-gradient(circle at 20% 20%, rgba(59,130,246,.12) 0%, transparent 30%),
      radial-gradient(circle at 82% 78%, rgba(236,72,153,.14) 0%, transparent 26%);
    backdrop-filter: blur(58px) saturate(150%);
    -webkit-backdrop-filter: blur(58px) saturate(150%);
    z-index: calc(var(--z-overlay) - 1);
    padding: max(1.2rem, env(safe-area-inset-top)) 1.1rem max(1.25rem, env(safe-area-inset-bottom));
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .header__nav-mobile.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav-mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 10, 0.38);
    pointer-events: none;
  }

  /* Shell */
  .header__nav-shell {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - max(2.4rem, env(safe-area-inset-top)) - max(1.25rem, env(safe-area-inset-bottom)));
    border-radius: 15px;
    padding: 1rem;
    background:
      linear-gradient(180deg, rgba(10,10,18,.9) 0%, rgba(7,7,14,.94) 100%),
      linear-gradient(135deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 42%, rgba(255,255,255,.02) 100%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow:
      0 24px 88px rgba(0,0,0,.62),
      inset 0 1px 0 rgba(255,255,255,.11),
      inset 0 0 0 1px rgba(255,255,255,.05);
    overflow: hidden;
    position: relative;
  }

  .header__nav-shell::before {
    content: '';
    position: absolute;
    inset: -20% auto auto -10%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,90,240,.28) 0%, transparent 72%);
    filter: blur(22px);
    pointer-events: none;
  }

  .header__nav-shell::after {
    content: '';
    position: absolute;
    right: -14%;
    bottom: -12%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,72,153,.2) 0%, transparent 72%);
    filter: blur(24px);
    pointer-events: none;
  }

  /* Topo do menu mobile (logo + fechar) */
  .header__nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(2.25rem, 10vw, 4rem);
    position: relative;
    z-index: 1;
  }

  .header__nav-brand {
    height: auto;
    width: 132px;
    opacity: .96;
  }

  /* Logo mobile: troca por tema */
  [data-theme="dark"]  .header__nav-brand--light { display: none; }
  [data-theme="dark"]  .header__nav-brand--dark  { display: block; }
  [data-theme="light"] .header__nav-brand--light { display: block; }
  [data-theme="light"] .header__nav-brand--dark  { display: none; }

  .header__nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: var(--color-text);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    position: relative;
    z-index: 1;
  }

  /* Body */
  .header__nav-body {
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .header__nav-kicker {
    display: block;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(167,139,250,.9);
    margin-bottom: .85rem;
  }

  .header__nav-links {
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }

  /* Links dentro do overlay mobile — estilo grande */
  .header__nav-mobile .header__nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 5.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: color var(--transition-base);
  }

  .header__nav-mobile .header__nav-link:hover,
  .header__nav-mobile .header__nav-link:focus-visible,
  .header__nav-mobile .header__nav-link:active {
    color: rgba(167,139,250,.96);
  }

  .header__nav-mobile .header__nav-link::after {
    content: '';
    position: static;
    width: .7rem;
    height: .7rem;
    border-top: 1px solid rgba(255,255,255,.4);
    border-right: 1px solid rgba(255,255,255,.4);
    background: none;
    transform: rotate(45deg);
    transition: transform var(--transition-base), border-color var(--transition-base);
    flex-shrink: 0;
  }

  .header__nav-mobile .header__nav-link:hover::after,
  .header__nav-mobile .header__nav-link:focus-visible::after {
    transform: translateX(4px) rotate(45deg);
    border-color: rgba(255,255,255,.8);
  }

  /* Seção administrativa */
  .header__nav-admin {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    position: relative;
    z-index: 1;
  }

  .header__nav-admin-label {
    display: block;
    font-family: var(--font-body);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(167,139,250,.55);
    margin-bottom: .75rem;
  }

  .header__nav-admin-links {
    display: flex;
    flex-direction: column;
    gap: .1rem;
  }

  .header__nav-admin-link {
    display: block;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 400;
    color: rgba(238,238,248,.42);
    text-decoration: none;
    padding: .4rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color .2s;
  }

  .header__nav-admin-link:hover {
    color: rgba(238,238,248,.75);
  }

  /* Footer do menu mobile */
  .header__nav-footer {
    padding-top: 1.1rem;
    position: relative;
    z-index: 1;
  }

  .header__nav-cta {
    width: 100%;
    justify-content: center;
  }

  .header__nav-note {
    display: block;
    margin-top: .9rem;
    font-size: .82rem;
    line-height: 1.6;
    color: rgba(238,238,248,.56);
    max-width: 20rem;
    font-family: var(--font-body);
  }

} /* fim @media max-width: 768px */


/* ============================================================
   MOBILE MENU — Light theme
   ============================================================ */

@media (max-width: 768px) {

  [data-theme="light"] .header__nav-mobile {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(246,244,255,0.88) 100%),
      radial-gradient(circle at 20% 20%, rgba(124,90,240,0.1) 0%, transparent 30%),
      radial-gradient(circle at 82% 78%, rgba(236,72,153,0.08) 0%, transparent 26%);
    backdrop-filter: blur(58px) saturate(150%);
    -webkit-backdrop-filter: blur(58px) saturate(150%);
  }

  [data-theme="light"] .header__nav-shell {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,248,255,0.98) 100%),
      linear-gradient(135deg, rgba(124,90,240,0.04) 0%, transparent 42%);
    border: 1px solid rgba(12,12,24,0.1);
    box-shadow:
      0 24px 88px rgba(0,0,0,0.16),
      inset 0 1px 0 rgba(255,255,255,0.9),
      inset 0 0 0 1px rgba(124,90,240,0.06);
  }

  [data-theme="light"] .header__nav-shell::before {
    background: radial-gradient(circle, rgba(124,90,240,0.14) 0%, transparent 72%);
  }

  [data-theme="light"] .header__nav-shell::after {
    background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 72%);
  }

  [data-theme="light"] .header__nav-kicker {
    color: rgba(124,90,240,0.85);
  }

  [data-theme="light"] .header__nav-mobile .header__nav-link {
    color: rgba(12,12,24,0.88);
    border-bottom-color: rgba(12,12,24,0.1);
  }

  [data-theme="light"] .header__nav-mobile .header__nav-link::after {
    border-top-color: rgba(12,12,24,0.3);
    border-right-color: rgba(12,12,24,0.3);
  }

  [data-theme="light"] .header__nav-mobile .header__nav-link:hover {
    color: rgba(124,90,240,0.9);
  }

  [data-theme="light"] .header__nav-close {
    color: rgba(12,12,24,0.75);
    background: rgba(0,0,0,0.05);
    border-color: rgba(12,12,24,0.12);
    box-shadow: none;
  }

  [data-theme="light"] .header__nav-note {
    color: rgba(12,12,24,0.52);
  }

  [data-theme="light"] .header__nav-admin-label {
    color: rgba(124,90,240,0.5);
  }

  [data-theme="light"] .header__nav-admin-link {
    color: rgba(12,12,24,0.38);
  }

  [data-theme="light"] .header__nav-admin-link:hover {
    color: rgba(12,12,24,0.65);
  }

} /* fim light theme mobile */


/* ============================================================
   TABS — Componente reutilizável com auto-rotação
   Aplicado em: #estrutura e #solucoes
   ============================================================ */

.tabs-section {
  padding-block: var(--space-section);
}

/* Wrapper geral */
.tabs-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Menu de abas */
.tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: sticky;
  top: 100px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-soft);
  text-align: left;
  cursor: pointer;
  transition:
    background  var(--transition-base),
    border-color var(--transition-base),
    color       var(--transition-base),
    box-shadow  var(--transition-base);
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-brand);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  opacity: 0;
  transform: scaleY(0);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.tab-btn.is-active {
  background: var(--color-surface-glass-md);
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-glass);
}

.tab-btn.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.tab-btn:hover:not(.is-active) {
  background: var(--color-surface-glass);
  border-color: var(--color-border-soft);
  color: var(--color-text);
}

/* Ícone da aba */
.tab-btn__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-surface-glass-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary-light);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.tab-btn.is-active .tab-btn__icon {
  background: linear-gradient(135deg, rgba(124,90,240,.2), rgba(236,72,153,.12));
  border-color: rgba(124, 90, 240, 0.25);
}

.tab-btn__text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Barra de progresso da auto-rotação */
.tab-btn__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-brand);
  width: 0%;
  transition: width linear;
  opacity: 0;
}

.tab-btn.is-active .tab-btn__progress {
  opacity: 1;
}

/* Conteúdo das abas */
.tabs-content {
  position: relative;
  min-height: 420px;
}

.tab-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity   0.4s ease,
    transform 0.4s ease;
}

.tab-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

/* Body do painel (coluna de texto) */
.tab-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Texto do painel */
.tab-panel__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 0.875rem;
}

.tab-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tab-panel__desc {
  color: var(--color-text-soft);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.tab-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-light);
  transition: gap var(--transition-base), color var(--transition-base);
}

.tab-panel__cta:hover {
  gap: 0.75rem;
  color: var(--color-text);
}

/* Imagem do painel */
.tab-panel__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  /* background: var(--color-surface);
  border: 1px solid var(--color-border); */
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  animation: float 7s ease-in-out infinite;
}

/* Imagens dark/light — O que construímos */
[data-theme="dark"]  .sol-img--light { display: none; }
[data-theme="dark"]  .sol-img--dark  { display: block; }
[data-theme="light"] .sol-img--light { display: block; }
[data-theme="light"] .sol-img--dark  { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .tabs-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tabs-nav {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    gap: 0.5rem;
  }

  .tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .tab-btn__icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .tab-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tab-panel__visual {
    aspect-ratio: 16 / 9;
  }

  .tab-btn__text { font-size: 0.8125rem; }
}


/* ============================================================
   FORM — Formulário conversacional por etapas
   ============================================================ */

.conv-form {
  max-width: 620px;
  margin-inline: auto;
}

/* Barra de progresso */
.conv-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.conv-progress__bar {
  flex: 1;
  height: 3px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.conv-progress__fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.conv-progress__text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  min-width: 40px;
  text-align: right;
}

/* Etapa */
.conv-step {
  display: none;
  animation: fade-up 0.4s ease forwards;
}

.conv-step.is-active {
  display: block;
}

.conv-step__question {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.conv-step__hint {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.conv-step--intro {
  min-height: 0;
}

.conv-intro {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(124, 90, 240, 0.16), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(236, 72, 153, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 251, 0.92) 100%);
  border: 1px solid rgba(124, 90, 240, 0.14);
  box-shadow: 0 24px 64px rgba(12, 12, 24, 0.08);
}

.conv-intro__orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.conv-intro__orb--one {
  width: 180px;
  height: 180px;
  top: -52px;
  right: -34px;
  background: radial-gradient(circle, rgba(124, 90, 240, 0.2) 0%, rgba(124, 90, 240, 0) 72%);
}

.conv-intro__orb--two {
  width: 150px;
  height: 150px;
  bottom: -46px;
  left: -24px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.16) 0%, rgba(236, 72, 153, 0) 74%);
}

.conv-intro__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

.conv-intro__desc {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-soft);
}

/* Opções de escolha */
.conv-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.conv-options--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.conv-option {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition:
    background  var(--transition-base),
    border-color var(--transition-base),
    box-shadow  var(--transition-base),
    transform   var(--transition-fast);
}

.conv-option:hover {
  background: var(--color-surface-glass-md);
  border-color: var(--color-border-glow);
  transform: translateX(3px);
}

.conv-option.is-selected {
  background: linear-gradient(135deg, rgba(124,90,240,.12), rgba(236,72,153,.07));
  border-color: rgba(124, 90, 240, 0.4);
  box-shadow: 0 0 0 1px rgba(124,90,240,.2);
}

.conv-option__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-surface-glass-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  transition: background var(--transition-base);
}

.conv-option.is-selected .conv-option__icon {
  background: linear-gradient(135deg, rgba(124,90,240,.2), rgba(236,72,153,.12));
  border-color: rgba(124, 90, 240, 0.3);
}

.conv-option__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  flex: 1;
}

.conv-option__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.conv-option.is-selected .conv-option__check {
  background: var(--gradient-brand);
  border-color: transparent;
}

.conv-option.is-selected .conv-option__check::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* Campos de texto */
.conv-field {
  margin-bottom: 1rem;
}

.conv-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-soft);
  margin-bottom: 0.5rem;
}

.conv-field input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.conv-field textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  padding: 1rem 1.125rem;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-family: inherit;
  line-height: 1.7;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.conv-field input::placeholder {
  color: var(--color-text-muted);
}

.conv-field textarea::placeholder {
  color: var(--color-text-muted);
}

.conv-field input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 90, 240, 0.12);
}

.conv-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 90, 240, 0.12);
}

.conv-field--file input[type="file"] {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-surface-glass);
  border: 1px dashed var(--color-border-glow);
  border-radius: var(--radius-lg);
  color: var(--color-text-soft);
  font-size: 0.875rem;
}

.conv-field--file input[type="file"]::file-selector-button {
  margin-right: 0.875rem;
  padding: 0.65rem 0.95rem;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(124,90,240,.22), rgba(236,72,153,.16));
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}

.conv-field__note {
  margin-top: 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.conv-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.conv-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(124,90,240,.12);
  border: 1px solid rgba(124,90,240,.18);
  color: var(--color-text-soft);
  font-size: 0.8125rem;
}

.conv-file-chip__remove {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast);
}

.conv-file-chip__remove:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.conv-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 15px;
  font-size: 0.875rem;
  line-height: 1.6;
  border: 1px solid transparent;
}

.conv-status--error {
  color: #ffd7de;
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.18);
}

.conv-status--success {
  color: #d8ffe7;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.18);
}

.conv-status--info {
  color: var(--color-text-soft);
  background: rgba(124, 90, 240, 0.1);
  border-color: rgba(124, 90, 240, 0.18);
}

/* Ações da etapa */
.conv-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.conv-actions--solo {
  justify-content: flex-start;
  margin-top: 1.35rem;
}

.conv-actions--intro {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.conv-back {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  transition: color var(--transition-base);
}

.conv-back:hover {
  color: var(--color-text-soft);
}

.conv-back:disabled {
  opacity: 0;
  pointer-events: none;
}

/* Tela de confirmação */
.conv-confirmation {
  text-align: center;
  padding: 2rem 0;
  animation: scale-in 0.4s ease forwards;
}

.conv-confirmation__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,90,240,.15), rgba(236,72,153,.1));
  border: 1px solid rgba(124, 90, 240, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.conv-confirmation__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.conv-confirmation__desc {
  color: var(--color-text-soft);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-inline: auto;
}

.conv-confirmation__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.conv-confirmation__ctas .btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border-color: var(--color-border);
}

[data-theme="light"] .conv-confirmation__ctas .btn--secondary {
  background: #ffffff;
  color: var(--color-text);
  border-color: rgba(12, 12, 24, 0.12);
  box-shadow: 0 10px 28px rgba(12, 12, 24, 0.08);
}

[data-theme="light"] .conv-confirmation__ctas .btn--secondary:hover {
  background: #f7f7fd;
  border-color: rgba(109, 65, 232, 0.18);
}

[data-theme="dark"] .conv-intro {
  background:
    radial-gradient(circle at 18% 18%, rgba(124, 90, 240, 0.2), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(236, 72, 153, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(18, 19, 26, 0.96) 0%, rgba(12, 13, 20, 0.94) 100%);
  border-color: rgba(124, 90, 240, 0.22);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

/* Responsive */
@media (max-width: 600px) {
  .conv-options--grid {
    grid-template-columns: 1fr;
  }

  .conv-intro {
    padding: 1.5rem;
  }

  .conv-intro__title {
    font-size: 2.15rem;
  }
}


/* ============================================================
   MODAIS — Overlay, conteúdo, abertura e fechamento
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop: glass escuro intenso */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 14, 0.78);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  cursor: pointer;
}

/* Conteúdo: glass com gradiente sutil */
.modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(135deg, rgba(124, 90, 240, 0.06) 0%, transparent 48%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 32px 96px rgba(0, 0, 0, 0.44),
    0 8px 32px rgba(124, 90, 240, 0.1);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden; /* clip para o header não vazar */
  display: flex;
  flex-direction: column;
}

.modal:not([hidden]) .modal__content {
  transform: translateY(0) scale(1);
}

/* ------------------------------------------------------------ */
/* Header: logo + botão fechar                                  */
/* ------------------------------------------------------------ */

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--color-border-soft);
  background: var(--color-surface-raised);
  flex-shrink: 0;
}

.modal__logo-link {
  display: inline-flex;
  align-items: center;
}

.modal__logo {
  height: 36px;
  width: auto;
}

[data-theme="light"] .modal__logo--light { display: block; }
[data-theme="light"] .modal__logo--dark  { display: none; }
[data-theme="dark"]  .modal__logo--light { display: none; }
[data-theme="dark"]  .modal__logo--dark  { display: block; }

.modal__close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  transition: color var(--transition-base), background var(--transition-base);
  flex-shrink: 0;
}

.modal__close:hover {
  color: var(--color-text);
  background: var(--color-surface-glass-md);
}

/* ------------------------------------------------------------ */
/* Hero: tag + título + subtítulo                               */
/* ------------------------------------------------------------ */

.modal__hero {
  padding: 2rem 2rem 1.75rem;
  border-bottom: 1px solid var(--color-border-soft);
  background:
    radial-gradient(circle at 90% 50%, rgba(124, 90, 240, 0.07), transparent 55%),
    var(--color-surface-glass);
  flex-shrink: 0;
}

.modal__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: rgba(124, 90, 240, 0.1);
  border: 1px solid rgba(124, 90, 240, 0.2);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.875rem;
}

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.modal__subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-soft);
  line-height: 1.65;
}

/* ------------------------------------------------------------ */
/* Body: conteúdo jurídico bem tipografado                      */
/* ------------------------------------------------------------ */

.modal__body {
  padding: 1.75rem 2rem;
  color: var(--color-text-soft);
  font-size: 0.9rem;
  line-height: 1.8;
  flex: 1;
  overflow-y: auto;
}

.modal__body::-webkit-scrollbar { width: 4px; }
.modal__body::-webkit-scrollbar-track { background: transparent; }
.modal__body::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.modal__body h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.modal__body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.modal__body h3:first-child {
  margin-top: 0;
}

.modal__body p + p {
  margin-top: 0.75rem;
}

.modal__content--project {
  max-width: min(1180px, 100%);
  max-height: min(90vh, 920px);
  padding: 0;
  overflow: hidden;
}

.project-modal {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.project-modal__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  padding: clamp(1rem, 2vw, 1.5rem);
  background:
    radial-gradient(circle at 18% 16%, rgba(124, 90, 240, 0.16), transparent 28%),
    radial-gradient(circle at 78% 80%, rgba(59, 130, 246, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(6, 6, 12, 0.98) 0%, rgba(9, 9, 16, 1) 100%);
}

.project-modal__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: rgba(6, 6, 12, 0.72);
  cursor: zoom-in;
}

.project-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.9rem;
  height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 8, 16, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-modal__nav--prev { left: 1rem; }
.project-modal__nav--next { right: 1rem; }

.project-modal__image-counter {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(8, 8, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-modal__panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(124, 90, 240, 0.04) 0%, transparent 28%),
    var(--color-surface);
  border-left: 1px solid var(--color-border-soft);
}

.project-modal__scroll {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  height: 100%;
}

.project-modal__hero {
  padding: 1.75rem 1.75rem 1.4rem;
  border-bottom: 1px solid var(--color-border-soft);
}

.project-modal__site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-top: 0.9rem;
  padding: 0;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  background: transparent;
  box-shadow: none;
  position: relative;
  transition: color 220ms ease, transform 220ms ease;
}

.project-modal__site-link:hover {
  color: var(--color-text);
  transform: translateY(-1px);
}

.project-modal__site-link svg {
  flex: 0 0 auto;
  width: 0.82rem;
  height: 0.82rem;
  opacity: 0.72;
}

.project-modal__site-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.32;
  transform-origin: left center;
  transform: scaleX(0.72);
  transition: opacity 220ms ease, transform 220ms ease;
}

.project-modal__site-link:hover::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.project-modal__body {
  padding: 1.4rem 1.75rem 1.75rem;
  overflow-y: auto;
  display: grid;
  gap: 1.4rem;
  min-height: 0;
}

.project-modal__group {
  display: grid;
  gap: 0.65rem;
}

.project-modal__group--highlight {
  padding: 1rem 1rem 1.05rem;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-modal__highlight-title {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.project-modal__highlight-points {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.project-modal__highlight-points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.88rem;
  color: var(--color-text);
}

.project-modal__highlight-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--gradient-brand);
}

.project-modal__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.project-modal__text {
  color: var(--color-text-soft);
  line-height: 1.75;
}

.project-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-modal__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-modal__list {
  display: grid;
  gap: 0.65rem;
}

.project-modal__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--color-text-soft);
}

.project-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--gradient-brand);
}

.project-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.6rem;
}

.project-modal__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0.62;
  transition: opacity var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.project-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal__thumb.is-active {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(124, 90, 240, 0.42);
}

.modal--lightbox {
  z-index: calc(var(--z-modal) + 10);
}

.modal--lightbox .modal__backdrop {
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 90, 240, 0.18), transparent 28%),
    radial-gradient(circle at 80% 78%, rgba(59, 130, 246, 0.14), transparent 24%),
    rgba(4, 4, 14, 0.8);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
}

.modal__content--lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.modal__close--lightbox {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 3.2rem;
  height: 3.2rem;
  color: #fff;
  background: var(--gradient-brand);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 14px 30px rgba(124, 90, 240, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  --btn-pulse-color: rgba(124,90,240,.34);
  animation: pulse-ring 3s ease infinite;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-base),
    box-shadow var(--transition-base),
    filter var(--transition-base),
    background var(--transition-base);
}

.modal__close--lightbox:hover {
  color: #fff;
  background: var(--gradient-brand);
  transform: translateY(-1px);
  filter: saturate(1.05) brightness(1.02);
  box-shadow:
    0 18px 34px rgba(124, 90, 240, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.lightbox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

.lightbox__frame {
  position: relative;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient-brand);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 14px 30px rgba(124, 90, 240, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  --btn-pulse-color: rgba(124,90,240,.34);
  animation: pulse-ring 3s ease infinite;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-base),
    box-shadow var(--transition-base),
    filter var(--transition-base),
    background var(--transition-base);
}

.lightbox__nav:hover {
  transform: translateY(-50%) translateY(-1px);
  filter: saturate(1.05) brightness(1.02);
  box-shadow:
    0 18px 34px rgba(124, 90, 240, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.lightbox__nav--prev {
  left: max(1rem, env(safe-area-inset-left));
}

.lightbox__nav--next {
  right: max(1rem, env(safe-area-inset-right));
}

.lightbox__footer {
  position: absolute;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: inline-flex;
  justify-content: center;
  z-index: 2;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.lightbox__counter {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--gradient-brand);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 14px 30px rgba(124, 90, 240, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  --btn-pulse-color: rgba(124,90,240,.34);
  animation: pulse-ring 3s ease infinite;
}

.modal--lightbox.is-idle .modal__close--lightbox {
  opacity: 0;
  transform: translateY(-10px) scale(0.94);
  pointer-events: none;
}

.modal--lightbox.is-idle .lightbox__nav {
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  pointer-events: none;
}

.modal--lightbox.is-idle .lightbox__footer {
  opacity: 0;
  transform: translateX(-50%) translateY(10px) scale(0.96);
  pointer-events: none;
}

[data-theme="light"] .project-modal__visual {
  background:
    radial-gradient(circle at 18% 16%, rgba(109, 65, 232, 0.12), transparent 28%),
    radial-gradient(circle at 78% 80%, rgba(37, 99, 235, 0.1), transparent 26%),
    linear-gradient(180deg, #eef1f9 0%, #dfe6f4 100%);
}

[data-theme="light"] .project-modal__frame {
  border-color: rgba(12, 12, 24, 0.08);
}

[data-theme="light"] .project-modal__tag {
  background: rgba(12, 12, 24, 0.04);
  border-color: rgba(12, 12, 24, 0.08);
}

[data-theme="light"] .project-modal__thumb {
  border-color: rgba(12, 12, 24, 0.08);
}

[data-theme="light"] .project-modal__group--highlight {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(248,249,253,0.72) 100%);
  border-color: rgba(12, 12, 24, 0.08);
}

[data-theme="light"] .project-modal__site-link {
  color: var(--color-text-muted);
}

[data-theme="light"] .modal__content--lightbox {
  background: transparent;
}

[data-theme="light"] .modal__close--lightbox,
[data-theme="light"] .lightbox__nav,
[data-theme="light"] .lightbox__counter {
  color: #fff;
}

@media (max-width: 980px) {
  .project-modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .project-modal__panel {
    border-left: none;
    border-top: 1px solid var(--color-border-soft);
  }

  .project-modal__frame {
    min-height: 0;
  }

  .lightbox__nav--prev { left: 0.75rem; }
  .lightbox__nav--next { right: 0.75rem; }
}

/* ------------------------------------------------------------ */
/* Footer: e-mail de contato                                    */
/* ------------------------------------------------------------ */

.modal__footer-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  border-top: 1px solid var(--color-border-soft);
  background: var(--color-surface-raised);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.modal__footer-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-light);
  transition: color var(--transition-base);
}

.modal__footer-link:hover {
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 640px) {
  .modal { padding: 1rem; }

  .modal__hero { padding: 1.5rem 1.25rem; }
  .modal__body { padding: 1.25rem; }
  .modal__footer-note { padding: 0.875rem 1.25rem; }

  .modal__title { font-size: 1.25rem; }

  .modal__content--project {
    width: 100%;
    max-height: 92vh;
    height: 92vh;
  }

  .project-modal__visual,
  .project-modal__hero,
  .project-modal__body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .project-modal__frame {
    min-height: 0;
    border-radius: 15px;
  }

  .project-modal {
    height: 100%;
    min-height: 0;
  }

  .project-modal__visual {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    max-height: 34vh;
    overflow: auto;
    min-height: 0;
  }

  .project-modal__panel {
    min-height: 0;
  }

  .project-modal__scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .project-modal__hero {
    border-bottom: none;
    padding-bottom: 1rem;
  }

  .project-modal__body {
    overflow: visible;
    padding-top: 0;
  }

  .project-modal__nav {
    width: 2.45rem;
    height: 2.45rem;
  }

  .project-modal__nav--prev { left: 0.65rem; }
  .project-modal__nav--next { right: 0.65rem; }

  .project-modal__image-counter {
    bottom: 0.65rem;
  }

  .project-modal__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modal__content--lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
  }

  .lightbox {
    width: 100vw;
    height: 100vh;
  }

  .lightbox__image {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 15px;
  }

  .lightbox__nav {
    width: 2.65rem;
    height: 2.65rem;
  }

  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }

  .lightbox__footer {
    bottom: 0.65rem;
  }
}


/* ============================================================
   UI — Botões, badges, cards, tags
   ============================================================ */


/* ------------------------------------------------------------
   BOTÕES
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    opacity       var(--transition-base),
    transform     var(--transition-fast),
    box-shadow    var(--transition-base),
    background    var(--transition-base);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  --btn-pulse-color: rgba(124,90,240,.26);
  animation: pulse-ring 2.8s ease infinite;
}

.btn:active {
  transform: scale(0.97);
}

/* Sizes */
.btn--sm  { padding: 0.5rem   1.125rem; font-size: 0.875rem; }
.btn--md  { padding: 0.75rem  1.5rem;   font-size: 0.9375rem; }
.btn--lg  { padding: 0.9375rem 2rem;    font-size: 1rem; }
.btn--xl  { padding: 1.125rem  2.5rem;  font-size: 1.0625rem; }

/* Variants */
.btn--primary {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(124, 90, 240, 0.34);
  --btn-pulse-color: rgba(124,90,240,.52);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(124, 90, 240, 0.45);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--color-surface-glass-md);
  color: var(--color-text);
  border-color: var(--color-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  --btn-pulse-color: rgba(124,90,240,.34);
}

.btn--secondary:hover {
  background: var(--color-surface-glass-lg);
  border-color: var(--color-border-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-soft);
  border-color: transparent;
  --btn-pulse-color: rgba(255,255,255,.12);
}

.btn--ghost:hover {
  color: var(--color-text);
  background: var(--color-surface-glass);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary-light);
  border-color: var(--color-primary);
  --btn-pulse-color: rgba(124,90,240,.24);
}

.btn--outline:hover {
  background: rgba(124, 90, 240, 0.08);
}

/* WhatsApp button */
.btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  --btn-pulse-color: rgba(37,211,102,.42);
}

.btn--whatsapp:hover {
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.btn--whatsapp .btn-icon {
  width: 20px;
  height: 20px;
}

.btn--whatsapp-lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
  animation-duration: 2.5s;
}

[data-theme="light"] .btn--primary {
  --btn-pulse-color: rgba(124,90,240,.34);
}

[data-theme="light"] .btn--secondary {
  --btn-pulse-color: rgba(124,90,240,.18);
}

/* Icon inside button */
.btn svg {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}


/* ------------------------------------------------------------
   BADGE / TAG
   ------------------------------------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge--gradient {
  background: linear-gradient(135deg, rgba(124,90,240,.15), rgba(236,72,153,.10));
  color: var(--color-primary-light);
  border: 1px solid rgba(124, 90, 240, 0.2);
}

.badge--dot::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-light);
  animation: pulse-glow 2s ease infinite;
}

.badge--success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}


/* ------------------------------------------------------------
   CARDS
   ------------------------------------------------------------ */

.card {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
  transition:
    transform     var(--transition-base),
    box-shadow    var(--transition-base),
    border-color  var(--transition-base);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-glow);
}

/* Card de métricas (mini cards orbitais da hero) */
.metric-card {
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface-glass-md);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  min-width: 140px;
}

.metric-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.metric-card__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.metric-card__delta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
  color: var(--color-success);
}

.metric-card__chart {
  height: 32px;
  margin-top: 0.5rem;
  opacity: 0.7;
}


/* ============================================================
   HERO — Duas colunas: texto + dashboard mock
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(5.75rem, 10vw, 8.5rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-bg-hero);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}


/* Layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.hero__label {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 1.375rem;
  color: var(--color-text);
  max-width: 16ch;
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: var(--color-text-soft);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 2.25rem;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}


/* Theme toggle icons */
[data-theme="light"] .theme-icon--sun  { display: none; }
[data-theme="light"] .theme-icon--moon { display: block; }
[data-theme="dark"]  .theme-icon--sun  { display: block; }
[data-theme="dark"]  .theme-icon--moon { display: none; }

/* Footer logo theme */
[data-theme="light"] .footer__logo-img--light { display: block; }
[data-theme="light"] .footer__logo-img--dark  { display: none; }
[data-theme="dark"]  .footer__logo-img--light { display: none; }
[data-theme="dark"]  .footer__logo-img--dark  { display: block; }


/* ------------------------------------------------------------
   Dashboard mock
   ------------------------------------------------------------ */

.hero__visual {
  position: relative;
}

.hero-dashboard {
  display: flex;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-mock);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

/* Sidebar */
.dash-sidebar {
  width: 48px;
  flex-shrink: 0;
  background: var(--color-surface-raised);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.875rem 0;
}

.dash-sidebar__brand { margin-bottom: 1.25rem; }

.dash-sidebar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.dash-sidebar__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.dash-nav-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  pointer-events: none;
}

.dash-nav-icon--active {
  background: rgba(124, 90, 240, 0.12);
  color: var(--color-primary);
}

.dash-sidebar__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-border);
  margin-top: auto;
}

/* Main area */
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--color-border);
  gap: 0.5rem;
}

.dash-topbar__title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.dash-topbar__chips {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--color-surface-glass-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-soft);
}

.dash-chip--up {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: var(--color-success);
}

.dash-content {
  display: grid;
  grid-template-columns: 1fr 108px;
  padding: 0.75rem;
  flex: 1;
}

.dash-chart-area {
  padding-right: 0.75rem;
  border-right: 1px solid var(--color-border);
}

.dash-chart-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.dash-chart-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.dash-chart-sub {
  font-size: 0.625rem;
  color: var(--color-text-muted);
}

.dash-chart-wrap {
  height: 110px;
  position: relative;
}

.dash-chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.dash-kpis {
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.dash-kpi__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.dash-kpi__value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.dash-kpi__delta {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-success);
}

.dash-table {
  border-top: 1px solid var(--color-border);
  padding: 0.5rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.dash-table__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dash-table__name {
  font-size: 0.6875rem;
  color: var(--color-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: 600;
  flex-shrink: 0;
}

.dash-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.dash-badge--green  { background: rgba(34,197,94,.12);  color: var(--color-success); }
.dash-badge--blue   { background: rgba(59,130,246,.12);  color: var(--color-accent-blue); }
.dash-badge--purple { background: rgba(124,90,240,.12); color: var(--color-primary); }


/* Floating elements */
.hero__float {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--color-surface-glass-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.hero__float--kpi {
  bottom: -1.5rem;
  left: -2rem;
  padding: 0.75rem 1rem;
  animation: float-slow 8s ease-in-out infinite;
  animation-delay: -2s;
}

.hero__float-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.hero__float-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero__float--status {
  top: -1rem;
  right: -1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-success);
  animation: float-slow 9s ease-in-out infinite;
  animation-delay: -4s;
}

.hero__float-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-glow 2s ease infinite;
  flex-shrink: 0;
}


/* Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__title,
  .hero__desc  { max-width: 100%; margin-inline: auto; }
  .hero__ctas  { justify-content: center; }
  .hero__label { display: block; text-align: center; }
  .hero__visual { max-width: 540px; margin-inline: auto; }
  .hero__float--kpi    { left: -0.5rem; }
  .hero__float--status { right: -0.5rem; }
}

@media (max-width: 640px) {
  .dash-topbar__chips .dash-chip:last-child { display: none; }
  .dash-content { grid-template-columns: 1fr 90px; }
  .hero__float  { display: none; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
}


/* ============================================================
   HERO FEATURES — Grade interativa de capacidades
   ============================================================ */

.hero-features {
  position: relative;
  width: 100%;
  animation: float 7s ease-in-out infinite;
}


/* ------------------------------------------------------------ */
/* Grid — transparente, linhas via background-image (sem fundo) */
/* ------------------------------------------------------------ */

.hf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: transparent;
  position: relative;

  /* Separadores: 3 verticais + 2 horizontais — efeito "grade #" */
  background-image:
    linear-gradient(rgba(124, 90, 240, 0.15) 0 100%),
    linear-gradient(rgba(124, 90, 240, 0.15) 0 100%),
    linear-gradient(rgba(124, 90, 240, 0.15) 0 100%),
    linear-gradient(90deg, rgba(124, 90, 240, 0.15) 0 100%),
    linear-gradient(90deg, rgba(124, 90, 240, 0.15) 0 100%);
  background-size:
    1px 100%, 1px 100%, 1px 100%,
    100% 1px,  100% 1px;
  background-position:
    25% 0, 50% 0, 75% 0,
    0 33.33%, 0 66.67%;
  background-repeat: no-repeat;
}


/* ------------------------------------------------------------ */
/* Cards — estado inativo (ghost)                              */
/* ------------------------------------------------------------ */

.hf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 1rem;
  background: transparent;
  text-align: center;
  user-select: none;
  cursor: default;
  pointer-events: none;
  opacity: 1;
  transition:
    opacity        0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform      0.9s cubic-bezier(0.4, 0, 0.2, 1),
    background     0.4s ease,
    box-shadow     0.4s ease;
}

.hf-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  opacity: 0.28;
}

.hf-card__icon svg {
  width: 36px;
  height: 36px;
  pointer-events: none;
}

/* Texto oculto no estado inativo */
.hf-card__brand,
.hf-card__label {
  display: none;
}


/* Linhas somem suavemente ao expandir */
.hf-grid.is-expanded {
  background-image: none;
}


/* ------------------------------------------------------------ */
/* Cards — estado ativo (rotação automática, cor secundária)   */
/* ------------------------------------------------------------ */

.hf-card.is-active {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  padding: 1.375rem 0.875rem;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
  margin: 6px;
}

/* Ícone: fundo sutil, cor secundária por padrão */
.hf-card.is-active .hf-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 15px;
  background: rgba(124, 90, 240, 0.07);
  color: var(--color-text-soft);
  opacity: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.hf-card.is-active .hf-card__icon svg {
  width: 16px;
  height: 16px;
}

/* Brand label (cor muted) */
.hf-card.is-active .hf-card__brand {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1;
  transition: color 0.2s ease;
}

/* Nome da funcionalidade (cor soft) */
.hf-card.is-active .hf-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-soft);
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

/* Hover — acende a cor primária */
.hf-card.is-active:hover .hf-card__icon {
  background: rgba(124, 90, 240, 0.14);
  color: var(--color-primary);
}

.hf-card.is-active:hover .hf-card__brand {
  color: var(--color-primary-light);
}

.hf-card.is-active:hover .hf-card__label {
  color: var(--color-text);
}

.hf-card.is-active:hover {
  box-shadow: 0 6px 28px rgba(124, 90, 240, 0.14);
  transform: translateY(-2px);
}

.hf-card.is-active:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}


/* ------------------------------------------------------------ */
/* Painel expandido — layout 2 colunas, conteúdo no topo-esq  */
/* ------------------------------------------------------------ */

.hf-expanded {
  position: absolute;
  inset: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 1fr;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97) translateY(8px);
  transition:
    opacity   0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hf-expanded.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0);
}

/* Coluna esquerda: cabeçalho + texto — sempre alinhado ao topo-esq */
.hf-expanded__left {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 2rem 1.5rem;
  align-self: stretch;
  border-right: 1px solid rgba(124, 90, 240, 0.12);
}

/* Linha de cabeçalho: ícone + botão fechar */
.hf-expanded__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.hf-expanded__icon {
  width: 36px;
  height: 36px;
  border-radius: 15px;
  background: rgba(124, 90, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hf-expanded__close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-surface-glass-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color 0.18s, background 0.18s;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hf-expanded__close:hover {
  color: var(--color-text);
  background: var(--color-surface-glass-lg);
}

/* Área de texto */
.hf-expanded__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.hf-expanded__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 0.4rem;
}

.hf-expanded__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}

.hf-expanded__desc {
  font-size: 0.75rem;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 0.875rem;
}

.hf-expanded__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-light);
  text-decoration: none;
  transition: gap 0.2s;
}

.hf-expanded__cta:hover { gap: 0.5rem; }

/* Coluna direita: ilustração SVG */
.hf-expanded__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
}

.hf-expanded__visual svg {
  width: 100%;
  max-height: 180px;
  height: auto;
}

/* Barra de progresso de auto-fechamento */
.hf-expanded__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(124, 90, 240, 0.1);
}

.hf-expanded__progress-bar {
  height: 100%;
  background: var(--gradient-brand);
  transform-origin: left center;
  transform: scaleX(1);
}

.hf-expanded__progress-bar.is-running {
  animation: hf-progress-shrink linear forwards;
}

@keyframes hf-progress-shrink {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}


/* ------------------------------------------------------------ */
/* Responsive                                                   */
/* ------------------------------------------------------------ */

@media (max-width: 640px) {
  .hf-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 2 verticais + 3 horizontais para grade 3×4 */
    background-image:
      linear-gradient(rgba(124, 90, 240, 0.15) 0 100%),
      linear-gradient(rgba(124, 90, 240, 0.15) 0 100%),
      linear-gradient(90deg, rgba(124, 90, 240, 0.15) 0 100%),
      linear-gradient(90deg, rgba(124, 90, 240, 0.15) 0 100%),
      linear-gradient(90deg, rgba(124, 90, 240, 0.15) 0 100%);
    background-size:
      1px 100%, 1px 100%,
      100% 1px, 100% 1px, 100% 1px;
    background-position:
      33.33% 0, 66.67% 0,
      0 25%, 0 50%, 0 75%;
  }

  .hf-expanded {
    grid-template-columns: 1fr;
  }

  .hf-expanded__left {
    border-right: none;
    padding-bottom: 1.5rem;
  }

  .hf-expanded__visual { display: none; }

  .hf-card { padding: 1.75rem 0.625rem; }
  .hf-card.is-active { margin: 4px; }
}

@media (max-width: 480px) {
  .hf-card { padding: 1.375rem 0.5rem; }
  .hf-card__icon { width: 40px; height: 40px; }
  .hf-card__icon svg { width: 26px; height: 26px; }
}


/* ============================================================
   CONTATO — Formulário conversacional
   ============================================================ */

#contato {
  position: relative;
  padding-block: var(--space-section);
  overflow: hidden;
}

#contato::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-bg-section);
  pointer-events: none;
  z-index: 0;
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Copy column */
.contato__copy {
  position: sticky;
  top: 120px;
}

.contato__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

.contato__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.contato__desc {
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Differentials list */
.contato__diffs {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contato__diff {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-soft);
  line-height: 1.5;
}

.contato__diff-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* Form wrapper */
.contato__form-wrap {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

/* Optional field label text */
.conv-field__opt {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Alternate contact */
.contact-alt {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.contact-alt__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}


/* Responsive */
@media (max-width: 900px) {
  .contato__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contato__copy {
    position: static;
    text-align: center;
  }

  .contato__label {
    text-align: center;
  }

  .contato__diffs {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .contact-alt {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}


/* ============================================================
   TABS SECTIONS — Estilos de fundo para #como-pensamos e #solucoes
   ============================================================ */

/* Como pensamos — fundo bg-alt com gradiente sutil */
#como-pensamos {
  background: var(--color-bg-alt);
  position: relative;
}

#como-pensamos::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-bg-section);
  pointer-events: none;
  z-index: 0;
}

/* Soluções — fundo diferenciado */
#solucoes {
  background: var(--color-bg-soft);
  position: relative;
}

#solucoes::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 50%, rgba(124,90,240,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container interno com z-index acima do pseudo */
#como-pensamos .container,
#solucoes .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   EXPERIÊNCIAS — Vitrine interativa antes do fechamento
   ============================================================ */

#experiencias {
  position: relative;
  padding-block: var(--space-section);
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 90, 240, 0.1), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(59, 130, 246, 0.08), transparent 24%),
    linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg-soft) 100%);
}

#experiencias::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.02), transparent 38%);
  pointer-events: none;
}

#experiencias .container {
  position: relative;
  z-index: 1;
}

.experiencias__shell {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.experiencias__header {
  max-width: 700px;
}

.experiencias__intro {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--color-text-soft);
}

.experiencias__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.experiencias__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(124, 90, 240, 0.1), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(236, 72, 153, 0.06), transparent 20%);
  pointer-events: none;
}

.experiencias__copy,
.experiencias__viewer,
.experiencias__controls {
  position: relative;
  z-index: 1;
}

.experiencias__copy {
  display: grid;
  gap: 1rem;
  align-self: start;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.experiencias__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.experiencias__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.experiencias__desc {
  max-width: 48ch;
  color: var(--color-text-soft);
}

.experiencias__meta {
  display: grid;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.experiencias__meta-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.experiencias__meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.experiencias__meta-value {
  color: var(--color-text);
}

.experiencias__project-highlight {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.experiencias__project-highlight-title {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.experiencias__project-points {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.1rem;
  list-style: none;
}

.experiencias__project-points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.88rem;
  color: var(--color-text);
}

.experiencias__project-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--gradient-brand);
}

.experiencias__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.experiencias__hint {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.experiencias__viewer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  min-height: 620px;
  min-width: 0;
}

.experiencias__stack-wrap {
  position: relative;
  width: 100%;
  height: 620px;
  min-height: 620px;
  perspective: 1400px;
  min-width: 0;
}

.experiencias__stack {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  height: 620px;
  min-width: 0;
}

.experiencias__card {
  --card-scale: 1;
  --card-offset: 0px;
  --card-opacity: 1;
  --card-rotate: 0deg;
  --card-z: 1;
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(100%, 460px);
  transform:
    translate3d(-50%, calc(-50% + var(--card-offset)), 0)
    scale(var(--card-scale))
    rotateX(var(--card-rotate));
  transform-style: preserve-3d;
  opacity: var(--card-opacity);
  z-index: var(--card-z);
  filter: saturate(1.08) contrast(1.03);
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    box-shadow 420ms ease,
    filter 420ms ease;
  cursor: pointer;
}

.experiencias__card:hover {
  filter: saturate(1.12) contrast(1.04);
}

.experiencias__card-frame {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.28),
    0 18px 42px rgba(8, 8, 18, 0.18);
}

.experiencias__card-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: none;
  box-shadow: none;
  pointer-events: none;
  z-index: 1;
}

.experiencias__card-frame::after {
  content: none;
}

.experiencias__image {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  object-fit: cover;
  display: block;
  filter: saturate(1.14) contrast(1.06) brightness(1.01);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(8, 8, 18, 0.04);
}

.experiencias__card-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  z-index: 1;
}

.experiencias__card-text {
  display: grid;
  gap: 0.2rem;
}

.experiencias__card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.experiencias__card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.experiencias__card-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(8, 8, 16, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.experiencias__glow {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  width: min(72%, 320px);
  height: 120px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.38) 0%, rgba(160, 160, 180, 0.14) 38%, transparent 72%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
}

.experiencias__rail {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  padding-right: 0.4rem;
}

.experiencias__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 260ms ease, background 260ms ease, height 260ms ease, width 260ms ease;
}

.experiencias__dot.is-active {
  height: 34px;
  background: var(--gradient-brand);
}

.experiencias__controls {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  margin-top: -1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(12, 12, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.experiencias__control {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-base), background var(--transition-base);
}

.experiencias__control:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.experiencias__counter {
  min-width: 3.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
}

[data-theme="light"] #experiencias {
  background:
    radial-gradient(circle at 12% 18%, rgba(109, 65, 232, 0.08), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(37, 99, 235, 0.07), transparent 24%),
    linear-gradient(180deg, #f4f3fb 0%, #ececf7 100%);
}

[data-theme="light"] .experiencias__stage {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.6);
  border-color: rgba(12, 12, 24, 0.08);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

[data-theme="light"] .experiencias__meta-item,
[data-theme="light"] .experiencias__controls {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(12, 12, 24, 0.07);
}

[data-theme="light"] .experiencias__project-highlight {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(248,249,253,0.72) 100%);
  border-color: rgba(12, 12, 24, 0.08);
}

[data-theme="light"] .conv-status--error {
  color: #9f1239;
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(244, 114, 182, 0.16);
}

[data-theme="light"] .conv-status--success {
  color: #166534;
  background: rgba(34, 197, 94, 0.09);
  border-color: rgba(34, 197, 94, 0.16);
}

[data-theme="light"] .conv-status--info {
  color: rgba(12, 12, 24, 0.72);
  background: rgba(109, 65, 232, 0.08);
  border-color: rgba(109, 65, 232, 0.14);
}

[data-theme="light"] .experiencias__card-frame {
  box-shadow:
    0 24px 54px rgba(15, 23, 42, 0.1),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .experiencias__card-frame::before {
  border: none;
  box-shadow: none;
}

[data-theme="light"] .experiencias__image {
  border-color: rgba(12, 12, 24, 0.14);
  filter: saturate(1.12) contrast(1.04) brightness(1.01);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 0 0 1px rgba(12, 12, 24, 0.03);
}

[data-theme="light"] .experiencias__dot {
  background: rgba(12, 12, 24, 0.14);
}

@media (max-width: 1080px) {
  .experiencias__stage {
    grid-template-columns: 1fr;
  }

  .experiencias__viewer,
  .experiencias__stack-wrap {
    height: 560px;
    min-height: 560px;
  }

  .experiencias__stack {
    height: 560px;
  }

  .experiencias__controls {
    justify-self: center;
    margin-top: -1.25rem;
  }
}

@media (max-width: 768px) {
  .experiencias__stage {
    gap: 1.25rem;
    padding: 1.1rem;
  }

  .experiencias__viewer {
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .experiencias__stack-wrap {
    width: 100%;
    height: 390px;
    min-height: 390px;
  }

  .experiencias__stack {
    height: 390px;
    max-width: 100%;
  }

  .experiencias__card {
    top: 54%;
    width: min(100%, 292px);
  }

  .experiencias__card-frame {
    border-radius: 15px;
  }

  .experiencias__viewer {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    row-gap: 0.35rem;
  }

  .experiencias__rail {
    display: none;
  }

  .experiencias__controls {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 248px);
    max-width: 100%;
    margin-top: 0.85rem;
    justify-content: center;
    margin-inline: auto;
    align-self: start;
  }

  .experiencias__dot.is-active {
    width: 28px;
    height: 6px;
  }
}

@media (max-width: 520px) {
  .experiencias__copy {
    padding-top: 0;
  }

  .experiencias__title {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }

  .experiencias__desc {
    max-width: 100%;
  }

  .experiencias__meta-item,
  .experiencias__actions .btn {
    width: 100%;
  }

  .experiencias__stack-wrap {
    height: 370px;
    min-height: 370px;
  }

  .experiencias__stack {
    height: 370px;
  }

  .experiencias__card {
    width: min(100%, 254px);
  }

  .experiencias__controls {
    width: min(100%, 232px);
    margin-top: 0.85rem;
  }
}

/* Section header */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header--compact {
  max-width: 520px;
}

.section-header__label {
  margin-bottom: 0.875rem;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}


/* ============================================================
   FECHAMENTO — dobra final antes do footer
   ============================================================ */

.final-cta {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4.5rem);
  margin-block: 0;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(124, 90, 240, 0.16), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(236, 72, 153, 0.1), transparent 26%),
    radial-gradient(circle at 62% 18%, rgba(59, 130, 246, 0.09), transparent 24%);
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta__inner {
  display: grid;
  gap: 1.4rem;
  padding: 0;
  max-width: min(860px, 100%);
}

.final-cta__title {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.final-cta__brandmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.final-cta__brandmark-aura {
  color: #08103f;
}

[data-theme="dark"] .final-cta__brandmark-aura {
  color: #f5f7ff;
}

.final-cta__brandmark-labs {
  background: linear-gradient(180deg, #2f7bff 0%, #7a5cff 52%, #ff4fd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-cta__desc {
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(238, 238, 248, 0.68);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  padding-top: 0.4rem;
}

.final-cta__icon {
  position: absolute;
  right: clamp(-260px, -14vw, -140px);
  bottom: clamp(-1rem, 1vw, 0.75rem);
  width: clamp(220px, 32vw, 420px);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
  animation-delay: -1.2s;
}

[data-theme="light"] .final-cta::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(109, 65, 232, 0.11), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(219, 39, 119, 0.08), transparent 26%),
    radial-gradient(circle at 62% 18%, rgba(37, 99, 235, 0.07), transparent 24%);
}

[data-theme="light"] .final-cta__desc {
  color: rgba(12, 12, 24, 0.64);
}

[data-theme="light"] .final-cta__icon {
  opacity: 0.1;
}

@media (max-width: 768px) {
  .final-cta__title {
    max-width: 100%;
  }

  .final-cta__actions {
    flex-direction: column;
  }

  .final-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .final-cta__icon {
    display: none;
  }
}


/* ============================================================
   FOOTER — Dobra 9: encerramento institucional
   ============================================================ */

.footer {
  position: relative;
  background:
    radial-gradient(circle at 15% 15%, rgba(124, 90, 240, 0.14), transparent 30%),
    radial-gradient(circle at 85% 85%, rgba(236, 72, 153, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(5, 5, 10, 0.98) 0%, rgba(9, 9, 16, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 4.5rem 2.25rem;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 90, 240, 0.45), transparent);
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border-soft);
  margin-bottom: 2rem;
}

/* Coluna da marca */
.footer__brand {}

.footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.footer__logo-img {
  height: 65px;
  width: auto;
  opacity: 0.85;
}

.footer__tagline {
  font-size: 0.95rem;
  color: rgba(238, 238, 248, 0.62);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(238, 238, 248, 0.5);
  transition:
    background   var(--transition-base),
    border-color var(--transition-base),
    color        var(--transition-base),
    transform    var(--transition-fast);
  --btn-pulse-color: rgba(255,255,255,.12);
  animation: pulse-ring 3.1s ease infinite;
}

.footer__social-link:hover {
  background: var(--color-surface-glass-md);
  border-color: var(--color-border-glow);
  color: var(--color-text);
  transform: translateY(-2px);
}

/* WhatsApp — ícone social (mesmo formato dos demais) */
.footer__social-link--wa {
  color: #25d366;
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.2);
  --btn-pulse-color: rgba(37,211,102,.28);
}

.footer__social-link--wa:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.footer__social-link--tg {
  color: #229ed9;
  background: rgba(34, 158, 217, 0.08);
  border-color: rgba(34, 158, 217, 0.2);
  --btn-pulse-color: rgba(34,158,217,.26);
}

.footer__social-link--tg:hover {
  background: rgba(34, 158, 217, 0.18);
  border-color: rgba(34, 158, 217, 0.4);
  color: #229ed9;
}

[data-theme="light"] .footer__social-link--wa {
  color: #128c7e;
  background: rgba(18, 140, 126, 0.08);
  border-color: rgba(18, 140, 126, 0.2);
  --btn-pulse-color: rgba(18,140,126,.22);
}

[data-theme="light"] .footer__social-link--wa:hover {
  color: #128c7e;
  background: rgba(18, 140, 126, 0.16);
  border-color: rgba(18, 140, 126, 0.38);
}

[data-theme="light"] .footer__social-link--tg {
  color: #0088cc;
  background: rgba(0, 136, 204, 0.08);
  border-color: rgba(0, 136, 204, 0.2);
  --btn-pulse-color: rgba(0,136,204,.22);
}

[data-theme="light"] .footer__social-link--tg:hover {
  color: #0088cc;
  background: rgba(0, 136, 204, 0.16);
  border-color: rgba(0, 136, 204, 0.38);
}

/* Colunas de navegação */
.footer__col {}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238, 238, 248, 0.42);
  margin-bottom: 1.125rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link,
.footer__link--btn {
  font-size: 0.9rem;
  color: rgba(238, 238, 248, 0.7);
  transition: color var(--transition-base);
  position: relative;
  display: inline-block;
}

.footer__link::after,
.footer__link--btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.footer__link:hover,
.footer__link--btn:hover {
  color: var(--color-text);
}

.footer__link:hover::after,
.footer__link--btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__link--btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  padding: 0;
}

/* Rodapé inferior */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(238, 238, 248, 0.4);
}

.footer__copy strong {
  color: var(--color-text-soft);
  font-weight: 600;
}

.footer__made {
  font-size: 0.8125rem;
  color: rgba(238, 238, 248, 0.4);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.footer__made span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

[data-theme="light"] .footer {
  background:
    radial-gradient(circle at 15% 15%, rgba(109, 65, 232, 0.1), transparent 30%),
    radial-gradient(circle at 85% 85%, rgba(219, 39, 119, 0.08), transparent 24%),
    linear-gradient(180deg, #dfe2f0 0%, #d7dbea 100%);
  border-top: 1px solid rgba(12, 12, 24, 0.08);
}

[data-theme="light"] .footer__tagline,
[data-theme="light"] .footer__link,
[data-theme="light"] .footer__link--btn,
[data-theme="light"] .footer__copy strong {
  color: rgba(12, 12, 24, 0.72);
}

[data-theme="light"] .footer__link:hover,
[data-theme="light"] .footer__link--btn:hover {
  color: rgba(12, 12, 24, 0.95);
}

[data-theme="light"] .footer__col-title,
[data-theme="light"] .footer__copy,
[data-theme="light"] .footer__made,
[data-theme="light"] .footer__social-link:not(.footer__social-link--wa):not(.footer__social-link--tg) {
  color: rgba(12, 12, 24, 0.42);
}

/* Responsive */
@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
