/* =============================================================
   ADMINIMAIS — Main Stylesheet
   Ultra Modern Design System (Stripe / Vercel / Linear / Apple)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

@layer reset, tokens, base, typography, grid, animations, components, sections, utilities;

/* =============================================================
   ADMINIMAIS — Design System Tokens (Caçapava Tech Identity)
   Estilo: Moderno, Criativo, Tecnológico, Minimalista e Premium
   ============================================================= */

@layer tokens {
  :root {
    /* ─── BASE BACKGROUND ───────────────────────────────────────── */
    --clr-bg-raw:          11, 15, 25;
    --clr-bg:              #0B0F19;
    --clr-bg-alt:          #080C14;
    
    /* ─── BRAND ACCENT COLORS ────────────────────────────────────── */
    /* Vibrant Royal Blue */
    --clr-primary-raw:     37, 99, 235;
    --clr-primary:         #2563EB;
    --clr-primary-light:   #3B82F6;
    --clr-primary-glow:    rgba(37, 99, 235, 0.4);

    /* Electric Cyan */
    --clr-secondary-raw:   6, 182, 212;
    --clr-secondary:       #06B6D4;
    --clr-secondary-light: #22D3EE;
    --clr-secondary-glow:  rgba(6, 182, 212, 0.4);

    /* Neon Violet Accent */
    --clr-accent-raw:      124, 58, 237;
    --clr-accent:          #7C3AED;
    --clr-accent-light:    #A78BFA;
    --clr-accent-glow:     rgba(124, 58, 237, 0.35);

    /* Text & Contrast */
    --clr-white:           #FFFFFF;
    --clr-text:            #FFFFFF;
    --clr-text-muted:      #94A3B8;
    --clr-text-faint:      #64748B;
    --clr-text-inverse:    #0B0F19;

    /* Translucent Borders */
    --clr-border:          rgba(255, 255, 255, 0.1);
    --clr-border-strong:   rgba(255, 255, 255, 0.22);
    --clr-border-focus:    #2563EB;

    /* Glassmorphism Dark Surfaces */
    --clr-surface:         rgba(20, 27, 44, 0.65);
    --clr-surface-hover:   rgba(26, 35, 57, 0.85);
    --clr-surface-solid:   #141B2C;
    --clr-surface-2:       rgba(35, 47, 74, 0.5);

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

    /* ─── VIVID GRADIENTS ──────────────────────────────────────── */
    --grad-brand:          linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #06B6D4 100%);
    --grad-brand-subtle:   linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.15) 50%, rgba(6, 182, 212, 0.2) 100%);
    --grad-text:           linear-gradient(135deg, #FFFFFF 20%, #CBD5E1 100%);
    --grad-text-accent:    linear-gradient(135deg, #3B82F6 0%, #A78BFA 50%, #22D3EE 100%);
    --grad-surface:       linear-gradient(135deg, rgba(20, 27, 44, 0.75) 0%, rgba(11, 15, 25, 0.85) 100%);
    --grad-hero-glow:      radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.28) 0%, rgba(124, 58, 237, 0.18) 40%, rgba(6, 182, 212, 0.08) 70%, transparent 100%);

    /* ─── TYPOGRAPHY STACK ──────────────────────────────────────── */
    --font-display:        'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
    --font-body:           'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    --font-mono:           'JetBrains Mono', 'SF Mono', monospace;

    /* Scale */
    --text-xs:             0.75rem;   /* 12px */
    --text-sm:             0.875rem;  /* 14px */
    --text-base:           1rem;      /* 16px */
    --text-md:             1.125rem;  /* 18px */
    --text-lg:             1.25rem;   /* 20px */
    --text-xl:             1.5rem;    /* 24px */
    --text-2xl:            2rem;      /* 32px */
    --text-3xl:            2.5rem;    /* 40px */
    --text-4xl:            3.25rem;   /* 52px */
    --text-5xl:            4.5rem;    /* 72px */

    --weight-regular:      400;
    --weight-medium:       500;
    --weight-semibold:     600;
    --weight-bold:         700;
    --weight-black:        900;

    --leading-tight:       1.08;
    --leading-snug:        1.25;
    --leading-normal:      1.55;
    --leading-loose:       1.75;

    --tracking-tight:      -0.035em;
    --tracking-normal:     -0.01em;
    --tracking-wide:       0.05em;
    --tracking-widest:     0.15em;

    /* ─── SPACING (4px grid base) ──────────────────────────────── */
    --sp-1:   0.25rem;   /* 4px  */
    --sp-2:   0.5rem;    /* 8px  */
    --sp-3:   0.75rem;   /* 12px */
    --sp-4:   1rem;      /* 16px */
    --sp-5:   1.25rem;   /* 20px */
    --sp-6:   1.5rem;    /* 24px */
    --sp-8:   2rem;      /* 32px */
    --sp-10:  2.5rem;    /* 40px */
    --sp-12:  3rem;      /* 48px */
    --sp-16:  4rem;      /* 64px */
    --sp-20:  5rem;      /* 80px */
    --sp-24:  6rem;      /* 96px */
    --sp-32:  8rem;      /* 128px */

    /* ─── BORDERS & RADII ──────────────────────────────────────── */
    --radius-sm:   0.375rem;  /* 6px  */
    --radius-md:   0.5rem;    /* 8px  */
    --radius-lg:   0.75rem;   /* 12px */
    --radius-xl:   1rem;      /* 16px */
    --radius-2xl:  1.25rem;   /* 20px */
    --radius-3xl:  1.75rem;   /* 28px */
    --radius-pill: 9999px;

    /* ─── SHADOWS & GLOWS ──────────────────────────────────────── */
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-lg:   0 12px 32px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-xl:   0 24px 64px rgba(0, 0, 0, 0.65), 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-glow-primary: 0 0 40px rgba(37, 99, 235, 0.45);
    --shadow-glow-cyan:    0 0 40px rgba(6, 182, 212, 0.45);
    --shadow-glow-violet:  0 0 40px rgba(124, 58, 237, 0.45);

    /* ─── ANIMATION CURVES ─────────────────────────────────────── */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
    
    --dur-fast:      150ms;
    --dur-normal:    250ms;
    --dur-slow:      400ms;
    --dur-xslow:     700ms;

    --transition-base: var(--dur-normal) var(--ease-smooth);
    --transition-fast: var(--dur-fast)   var(--ease-smooth);
    --transition-slow: var(--dur-slow)   var(--ease-out-expo);

    /* ─── LAYOUT CONTAINERS ────────────────────────────────────── */
    --container-max: 1240px;
    --container-pad: clamp(1.25rem, 5vw, 3rem);
    --navbar-h:      76px;
    --section-py:    clamp(4.5rem, 9vw, 8rem);

    /* Z-INDEX LAYERS */
    --z-base:     0;
    --z-raised:   10;
    --z-dropdown: 100;
    --z-sticky:   200;
    --z-overlay:  300;
    --z-modal:    400;
    --z-toast:    500;
  }

  /* ─── LIGHT THEME VARIANT ──────────────────────────────────── */
  [data-theme="light"] {
    --clr-bg:              #F8FAFC;
    --clr-bg-alt:          #F1F5F9;
    --clr-surface:         rgba(255, 255, 255, 0.92);
    --clr-surface-hover:   #FFFFFF;
    --clr-surface-solid:   #FFFFFF;
    --clr-surface-2:       #E2E8F0;

    --clr-text:            #0B0F19;
    --clr-text-muted:      #475569;
    --clr-text-faint:      #94A3B8;
    --clr-text-inverse:    #FFFFFF;

    --clr-border:          rgba(11, 15, 25, 0.1);
    --clr-border-strong:   rgba(11, 15, 25, 0.2);

    --grad-text:           linear-gradient(135deg, #0B0F19 20%, #334155 100%);
    --grad-hero-glow:      radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 100%);

    --shadow-sm:   0 1px 2px rgba(11, 15, 25, 0.06);
    --shadow-md:   0 4px 16px rgba(11, 15, 25, 0.08);
    --shadow-lg:   0 12px 32px rgba(11, 15, 25, 0.12);
    --shadow-xl:   0 24px 64px rgba(11, 15, 25, 0.15);
  }
}

/* =============================================================
   ADMINIMAIS — CSS Reset Moderno
   Baseado em modern-normalize + ajustes customizados
   ============================================================= */

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

  html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-h) + var(--sp-4));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    tab-size: 4;
  }

  body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    line-height: var(--leading-normal);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  /* ─── TYPOGRAPHY ─── */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--clr-text);
    text-wrap: balance;
  }

  p {
    max-width: 70ch;
    text-wrap: pretty;
    color: var(--clr-text-muted);
  }

  a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  a:hover { color: var(--clr-primary-light); }

  strong, b { font-weight: var(--weight-semibold); }
  em, i     { font-style: italic; }

  code, kbd, pre, samp {
    font-family: var(--font-mono);
    font-size: 0.9em;
  }

  /* ─── MEDIA ─── */
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
  }

  img, video {
    height: auto;
    object-fit: cover;
  }

  /* ─── FORMS ─── */
  button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
  }

  button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
  }

  input, textarea, select {
    background: transparent;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
  }

  textarea { resize: vertical; }

  /* ─── LISTS ─── */
  ul, ol { list-style: none; }

  /* ─── TABLES ─── */
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }

  /* ─── MISC ─── */
  hr {
    border: none;
    border-top: 1px solid var(--clr-border);
    color: inherit;
  }

  summary { cursor: pointer; list-style: none; }
  summary::-webkit-details-marker { display: none; }

  [hidden] { display: none !important; }

  ::selection {
    background: var(--clr-primary);
    color: white;
  }

  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: var(--clr-bg-alt); }
  ::-webkit-scrollbar-thumb {
    background: var(--clr-surface-3);
    border-radius: var(--radius-pill);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--clr-primary-dark); }
}

/* =============================================================
   ADMINIMAIS — Typography System
   ============================================================= */

@layer typography {

  /* ─── DISPLAY HEADINGS ────────────────────────────────────── */
  .display-1 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 7vw, var(--text-5xl));
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
  }

  .display-2 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 5.5vw, var(--text-4xl));
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
  }

  /* ─── SECTION HEADINGS ────────────────────────────────────── */
  .heading-1 {
    font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-tight);
  }

  .heading-2 {
    font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
    font-weight: var(--weight-bold);
  }

  .heading-3 {
    font-size: clamp(var(--text-md), 2.5vw, var(--text-xl));
    font-weight: var(--weight-semibold);
  }

  /* ─── BODY TEXT ───────────────────────────────────────────── */
  .body-lg {
    font-size: var(--text-md);
    line-height: var(--leading-loose);
  }

  .body-md {
    font-size: var(--text-base);
    line-height: var(--leading-normal);
  }

  .body-sm {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--clr-text-muted);
  }

  /* ─── LABELS & OVERLINES ──────────────────────────────────── */
  .overline {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--clr-primary);
  }

  .label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wide);
  }

  .caption {
    font-size: var(--text-xs);
    color: var(--clr-text-faint);
    line-height: var(--leading-snug);
  }

  /* ─── GRADIENT TEXT UTILITY ───────────────────────────────── */
  .text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

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

  /* ─── COLOR UTILITIES ─────────────────────────────────────── */
  .text-primary  { color: var(--clr-primary); }
  .text-secondary{ color: var(--clr-secondary); }
  .text-accent   { color: var(--clr-accent); }
  .text-muted    { color: var(--clr-text-muted); }
  .text-faint    { color: var(--clr-text-faint); }

  /* ─── WEIGHT UTILITIES ────────────────────────────────────── */
  .font-regular  { font-weight: var(--weight-regular); }
  .font-medium   { font-weight: var(--weight-medium); }
  .font-semibold { font-weight: var(--weight-semibold); }
  .font-bold     { font-weight: var(--weight-bold); }
  .font-black    { font-weight: var(--weight-black); }

  /* ─── ALIGNMENT ───────────────────────────────────────────── */
  .text-center  { text-align: center; }
  .text-left    { text-align: left; }
  .text-right   { text-align: right; }

  /* ─── SECTION TITLE BLOCK ─────────────────────────────────── */
  .section-title-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--sp-16);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    align-items: center;
  }

  .section-title-block .overline {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
  }

  .section-title-block .overline::before,
  .section-title-block .overline::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-primary);
    border-radius: var(--radius-pill);
  }

  .section-title-block p {
    margin: 0 auto;
    max-width: 60ch;
    font-size: var(--text-md);
  }
}

/* =============================================================
   ADMINIMAIS — Animations & Keyframes
   ============================================================= */

@layer animations {

  /* ─── KEYFRAMES ───────────────────────────────────────────── */
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

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

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

  @keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
  }

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

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

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

  @keyframes shimmer {
    from { background-position: -200% center; }
    to   { background-position:  200% center; }
  }

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

  @keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--clr-primary-glow); }
    50%       { box-shadow: 0 0 48px var(--clr-primary-glow), 0 0 80px var(--clr-primary-glow); }
  }

  @keyframes typewriter-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
  }

  @keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @keyframes count-up {
    from { opacity: 0; transform: scale(0.8) translateY(10px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
  }

  /* ─── SCROLL REVEAL BASE STATE ────────────────────────────── */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity var(--dur-slow) var(--ease-out-expo),
                transform var(--dur-slow) var(--ease-out-expo);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--dur-slow) var(--ease-out-expo),
                transform var(--dur-slow) var(--ease-out-expo);
  }

  .reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--dur-slow) var(--ease-out-expo),
                transform var(--dur-slow) var(--ease-out-expo);
  }

  .reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger delay utilities */
  .delay-1 { transition-delay: 100ms; }
  .delay-2 { transition-delay: 200ms; }
  .delay-3 { transition-delay: 300ms; }
  .delay-4 { transition-delay: 400ms; }
  .delay-5 { transition-delay: 500ms; }
  .delay-6 { transition-delay: 600ms; }

  /* ─── SHIMMER / SKELETON ──────────────────────────────────── */
  .skeleton {
    background: linear-gradient(
      90deg,
      var(--clr-surface) 0%,
      var(--clr-surface-2) 50%,
      var(--clr-surface) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-md);
  }

  /* ─── FLOATING ANIMATION ──────────────────────────────────── */
  .float { animation: float 4s ease-in-out infinite; }

  /* ─── REDUCE MOTION ───────────────────────────────────────── */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right {
      opacity: 1;
      transform: none;
    }
  }
}

/* =============================================================
   ADMINIMAIS — Grid & Layout System
   ============================================================= */

@layer grid {

  /* ─── CONTAINER ───────────────────────────────────────────── */
  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
  }

  .container-sm {
    max-width: 800px;
    margin-inline: auto;
    padding-inline: var(--container-pad);
  }

  .container-lg {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--container-pad);
  }

  /* ─── SECTION WRAPPER ─────────────────────────────────────── */
  .section {
    padding-block: var(--section-py);
    position: relative;
  }

  .section--alt {
    background-color: var(--clr-bg-alt);
  }

  /* ─── CSS GRID UTILITIES ──────────────────────────────────── */
  .grid {
    display: grid;
    gap: var(--sp-6);
  }

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

  /* Auto-fit grids (responsive without media queries) */
  .grid-auto-sm {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .grid-auto-md {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .grid-auto-lg {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }

  /* ─── FLEXBOX UTILITIES ───────────────────────────────────── */
  .flex          { display: flex; }
  .flex-col      { flex-direction: column; }
  .flex-wrap     { flex-wrap: wrap; }
  .items-center  { align-items: center; }
  .items-start   { align-items: flex-start; }
  .items-end     { align-items: flex-end; }
  .justify-center{ justify-content: center; }
  .justify-between{ justify-content: space-between; }
  .justify-end   { justify-content: flex-end; }
  .gap-2         { gap: var(--sp-2); }
  .gap-3         { gap: var(--sp-3); }
  .gap-4         { gap: var(--sp-4); }
  .gap-6         { gap: var(--sp-6); }
  .gap-8         { gap: var(--sp-8); }

  /* ─── DIVIDER WITH GLOW ───────────────────────────────────── */
  .divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--clr-border) 30%,
      var(--clr-primary) 50%,
      var(--clr-border) 70%,
      transparent 100%
    );
    margin-block: var(--sp-4);
  }
}

/* =============================================================
   ADMINIMAIS — Navbar Component (Apple / Vercel Glass Style)
   ============================================================= */

@layer components {

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-h);
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--clr-border);
    transition: all var(--dur-normal) var(--ease-out-expo);
  }

  .navbar.is-scrolled {
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(229, 231, 235, 0.15);
  }

  .navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
  }

  /* ─── LOGO ─────────────────────────────────────────────────── */
  .navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    flex-shrink: 0;
  }

  .navbar__logo-mark {
    width: 38px;
    height: 38px;
    background: var(--grad-brand);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--weight-black);
    font-size: var(--text-md);
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  }

  .navbar__logo-text {
    font-family: var(--font-display);
    font-weight: var(--weight-black);
    font-size: var(--text-md);
    letter-spacing: -0.02em;
    color: var(--clr-white);
  }

  .navbar__logo-text span {
    color: var(--clr-secondary);
  }

  /* ─── NAV LINKS ────────────────────────────────────────────── */
  .navbar__nav {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    list-style: none;
  }

  .navbar__link {
    padding: 0.45rem 0.85rem;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    border-radius: var(--radius-md);
    transition: all var(--dur-fast) var(--ease-smooth);
    white-space: nowrap;
  }

  .navbar__link:hover {
    color: var(--clr-white);
    background: rgba(255, 255, 255, 0.06);
  }

  .navbar__link.is-active {
    color: var(--clr-white);
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(37, 99, 235, 0.3);
  }

  .navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .theme-toggle:hover {
    background: rgba(30, 41, 59, 0.9);
    color: var(--clr-white);
    border-color: var(--clr-primary);
  }
}

/* =============================================================
   ADMINIMAIS — Button Component (Linear / Vercel / Apple Style)
   ============================================================= */

@layer components {

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.65rem 1.35rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    line-height: 1;
    letter-spacing: -0.01em;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all var(--dur-normal) var(--ease-out-expo);
  }

  /* ─── PRIMARY (BRAND GRADIENT #2563EB -> #06B6D4) ────────────── */
  .btn-primary {
    background: var(--grad-brand);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(37, 99, 235, 0.3);
  }

  .btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45),
                0 0 35px rgba(6, 182, 212, 0.35);
    color: #FFFFFF;
  }

  .btn-primary:active {
    transform: translateY(0) scale(0.98);
  }

  /* Shine effect on hover */
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.75s var(--ease-out-expo);
  }

  .btn-primary:hover::before {
    left: 140%;
  }

  /* ─── GHOST / LINEAR STYLE ─────────────────────────────────── */
  .btn-ghost {
    background: var(--clr-surface);
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .btn-ghost:hover {
    background: var(--clr-surface-hover);
    border-color: var(--clr-primary);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  /* ─── OUTLINE VERCEL STYLE ──────────────────────────────────── */
  .btn-outline {
    background: transparent;
    color: var(--clr-primary-light);
    border: 1px solid var(--clr-primary);
  }

  .btn-outline:hover {
    background: var(--clr-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-2px);
  }

  /* ─── WHATSAPP ──────────────────────────────────────────────── */
  .btn-whatsapp {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  }

  .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
    color: #FFFFFF;
  }

  /* ─── SIZES ─────────────────────────────────────────────────── */
  .btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: var(--text-xs);
    border-radius: var(--radius-md);
  }

  .btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
  }

  .btn-xl {
    padding: 1.1rem 2.25rem;
    font-size: var(--text-md);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-2xl);
    gap: var(--sp-3);
  }

  .btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-lg);
  }

  .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
  }
}

/* =============================================================
   ADMINIMAIS — Card Component (Linear / Framer / Apple Style)
   ============================================================= */

@layer components {

  .card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
    padding: var(--sp-8);
    position: relative;
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out-expo);
  }

  .card:hover {
    background: var(--clr-surface-hover);
    border-color: var(--clr-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 99, 235, 0.12);
  }

  /* ─── SERVICE CARD (14 PRODUCTS) ────────────────────────────── */
  .service-card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
    padding: var(--sp-8) var(--sp-6);
    position: relative;
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out-expo);
  }

  .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-brand);
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .service-card:hover {
    background: var(--clr-surface-hover);
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 35px rgba(37, 99, 235, 0.15);
  }

  .service-card:hover::after {
    opacity: 1;
  }

  .service-card__icon {
    width: 52px;
    height: 52px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--dur-normal) var(--ease-out-expo);
    flex-shrink: 0;
  }

  .service-card:hover .service-card__icon {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: #06B6D4;
    transform: scale(1.08);
    box-shadow: var(--shadow-glow-cyan);
  }

  .service-card__title {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: var(--clr-white);
    letter-spacing: -0.01em;
  }

  .service-card__desc {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: var(--leading-normal);
    flex: 1;
  }

  .service-card__tag {
    align-self: flex-start;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    color: var(--clr-secondary-light);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
  }

  /* ─── PORTFOLIO CARD ────────────────────────────────────────── */
  .portfolio-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all var(--dur-slow) var(--ease-out-expo);
    position: relative;
  }

  .portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.4);
  }

  .portfolio-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0B1120;
    position: relative;
  }

  .portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out-expo);
  }

  .portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.05);
  }

  .portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--sp-6);
  }

  .portfolio-card:hover .portfolio-card__overlay {
    opacity: 1;
  }

  .portfolio-card__body {
    padding: var(--sp-6);
  }

  .portfolio-card__cat {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--clr-secondary-light);
    margin-bottom: var(--sp-2);
  }

  .portfolio-card__title {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: var(--clr-white);
    margin-bottom: var(--sp-3);
  }

  .portfolio-card__stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
  }

  /* ─── TESTIMONIAL CARD ──────────────────────────────────────── */
  .testimonial-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    position: relative;
    transition: all var(--transition-slow);
  }

  .testimonial-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .testimonial-card__text {
    font-size: var(--text-base);
    line-height: var(--leading-loose);
    color: var(--clr-text-muted);
  }

  .testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--weight-bold);
    color: #FFFFFF;
  }

  /* ─── STAT CARD ─────────────────────────────────────────────── */
  .stat-card {
    text-align: center;
    padding: var(--sp-8) var(--sp-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
  }

  .stat-card__value {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
  }

  .stat-card__label {
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
  }
}

/* =============================================================
   ADMINIMAIS — Badge Component
   ============================================================= */

@layer components {
  .badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    white-space: nowrap;
    border: 1px solid transparent;
  }

  .badge-primary {
    color: var(--clr-primary-light);
    background: hsl(220, 90%, 56%, 0.12);
    border-color: hsl(220, 90%, 56%, 0.25);
  }

  .badge-secondary {
    color: var(--clr-secondary-light);
    background: hsl(260, 80%, 60%, 0.12);
    border-color: hsl(260, 80%, 60%, 0.25);
  }

  .badge-accent {
    color: var(--clr-accent-light);
    background: hsl(170, 75%, 45%, 0.12);
    border-color: hsl(170, 75%, 45%, 0.25);
  }

  .badge-success {
    color: var(--clr-success);
    background: hsl(145, 65%, 45%, 0.12);
    border-color: hsl(145, 65%, 45%, 0.25);
  }

  .badge-warning {
    color: var(--clr-warning);
    background: hsl(38, 90%, 55%, 0.12);
    border-color: hsl(38, 90%, 55%, 0.25);
  }

  .badge-tech {
    font-family: var(--font-mono);
    color: var(--clr-accent-light);
    background: hsl(170, 75%, 45%, 0.08);
    border-color: hsl(170, 75%, 45%, 0.2);
    font-size: var(--text-xs);
    padding: 2px var(--sp-2);
  }
}

/* =============================================================
   ADMINIMAIS — Form Component (Linear / Vercel Dark Inputs)
   ============================================================= */

@layer components {

  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
  }

  .form-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--clr-white);
    letter-spacing: -0.01em;
  }

  .form-label span {
    color: #EF4444;
    margin-left: 2px;
  }

  .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    color: var(--clr-white);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    backdrop-filter: blur(12px);
    transition: all var(--dur-normal) var(--ease-out-expo);
  }

  .form-control::placeholder {
    color: var(--clr-text-faint);
  }

  .form-control:hover {
    border-color: var(--clr-border-strong);
    background: rgba(30, 41, 59, 0.8);
  }

  .form-control:focus {
    border-color: var(--clr-primary);
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25),
                0 0 20px rgba(37, 99, 235, 0.15);
    outline: none;
  }

  .form-control.is-error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
  }

  .form-control.is-success {
    border-color: #10B981;
  }

  textarea.form-control {
    min-height: 140px;
    resize: vertical;
  }

  .form-error {
    font-size: var(--text-xs);
    color: #EF4444;
  }

  .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%239CA3AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
  }

  .form-check {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    cursor: pointer;
  }

  .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    appearance: none;
    border: 1px solid var(--clr-border-strong);
    border-radius: var(--radius-sm);
    background: rgba(30, 41, 59, 0.8);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
  }

  .form-check input[type="checkbox"]:checked {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
  }

  .form-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M10 3L5 8.5 2 5.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
  }
}

/* =============================================================
   ADMINIMAIS — Modal Component
   ============================================================= */

@layer components {
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: hsl(0 0% 0% / 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .modal {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90dvh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--dur-slow) var(--ease-spring);
  }

  .modal-backdrop.is-open .modal {
    transform: scale(1) translateY(0);
  }

  .modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-6) var(--sp-8);
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 0;
    background: var(--clr-surface);
    z-index: 1;
  }

  .modal__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
  }

  .modal__close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: var(--text-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal__close:hover {
    background: var(--clr-danger);
    color: white;
    border-color: var(--clr-danger);
  }

  .modal__body {
    padding: var(--sp-8);
  }

  .modal__footer {
    padding: var(--sp-6) var(--sp-8);
    border-top: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--sp-3);
  }
}

/* =============================================================
   ADMINIMAIS — Toast / Accordion / Tabs / Footer
   ============================================================= */

@layer components {

  /* ════════════════════════════════════════════════════════════
     TOAST
  ═══════════════════════════════════════════════════════════ */
  .toast-container {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    pointer-events: none;
  }

  .toast {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    max-width: 380px;
    pointer-events: all;
    animation: fadeInRight var(--dur-slow) var(--ease-out-expo);
  }

  .toast.is-leaving {
    animation: fadeInRight var(--dur-slow) var(--ease-in-expo) reverse;
  }

  .toast--success { border-left: 3px solid var(--clr-success); }
  .toast--error   { border-left: 3px solid var(--clr-danger); }
  .toast--warning { border-left: 3px solid var(--clr-warning); }
  .toast--info    { border-left: 3px solid var(--clr-primary); }

  .toast__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
  .toast__body { flex: 1; }
  .toast__title {
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    color: var(--clr-text);
  }
  .toast__desc {
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
    max-width: none;
  }

  /* ════════════════════════════════════════════════════════════
     ACCORDION (FAQ)
  ═══════════════════════════════════════════════════════════ */
  .accordion {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .accordion-item {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    background: var(--clr-surface);
    overflow: hidden;
    transition: border-color var(--transition-normal);
  }

  .accordion-item.is-open {
    border-color: hsl(220, 90%, 56%, 0.4);
  }

  .accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-5) var(--sp-6);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--clr-text);
    background: transparent;
    cursor: pointer;
    text-align: left;
    gap: var(--sp-4);
    transition: color var(--transition-fast);
  }

  .accordion-trigger:hover { color: var(--clr-primary); }

  .accordion-item.is-open .accordion-trigger {
    color: var(--clr-primary);
  }

  .accordion-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid var(--clr-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-size: var(--text-sm);
    transition: all var(--transition-normal);
  }

  .accordion-item.is-open .accordion-icon {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: white;
    transform: rotate(45deg);
  }

  .accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-slow);
  }

  .accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr;
  }

  .accordion-content__inner {
    overflow: hidden;
    padding: 0 var(--sp-6) 0;
  }

  .accordion-item.is-open .accordion-content__inner {
    padding-bottom: var(--sp-6);
  }

  .accordion-content p {
    font-size: var(--text-base);
    color: var(--clr-text-muted);
    line-height: var(--leading-loose);
    max-width: none;
  }

  /* ════════════════════════════════════════════════════════════
     TABS
  ═══════════════════════════════════════════════════════════ */
  .tabs {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
  }

  .tabs__list {
    display: flex;
    gap: var(--sp-2);
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs__list::-webkit-scrollbar { display: none; }

  .tabs__trigger {
    padding: var(--sp-3) var(--sp-5);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: -1px;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .tabs__trigger:hover { color: var(--clr-text); }

  .tabs__trigger.is-active {
    color: var(--clr-primary);
    border-bottom-color: var(--clr-primary);
    background: hsl(220, 90%, 56%, 0.05);
  }

  .tabs__panel { display: none; }
  .tabs__panel.is-active { display: block; }

  /* ════════════════════════════════════════════════════════════
     FOOTER
  ═══════════════════════════════════════════════════════════ */
  .footer {
    background: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-border);
    padding-top: var(--sp-20);
  }

  .footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--sp-12);
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid var(--clr-border);
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
  }

  .footer__brand p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    max-width: 36ch;
  }

  .footer__col-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--clr-text);
    margin-bottom: var(--sp-4);
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .footer__links a {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
  }

  .footer__links a:hover {
    color: var(--clr-primary);
  }

  .footer__social {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
  }

  .footer__social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-size: var(--text-md);
    transition: all var(--transition-fast);
    text-decoration: none;
  }

  .footer__social a:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-primary);
  }

  .footer__bottom {
    padding: var(--sp-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    flex-wrap: wrap;
  }

  .footer__copyright {
    font-size: var(--text-sm);
    color: var(--clr-text-faint);
  }

  .footer__legal {
    display: flex;
    gap: var(--sp-6);
  }

  .footer__legal a {
    font-size: var(--text-sm);
    color: var(--clr-text-faint);
    transition: color var(--transition-fast);
  }

  .footer__legal a:hover { color: var(--clr-primary); }

  @media (max-width: 1023px) {
    .footer__grid {
      grid-template-columns: 1fr 1fr;
      gap: var(--sp-8);
    }
    .footer__brand { grid-column: 1 / -1; }
  }

  @media (max-width: 599px) {
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom {
      flex-direction: column;
      text-align: center;
    }
  }
}

/* =============================================================
   ADMINIMAIS — Hero Section (Split 2-Column Tech Identity)
   ============================================================= */

@layer sections {

  .hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-h);
    padding-bottom: var(--sp-12);
    background: var(--clr-bg);
  }

  #hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
  }

  .hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
  }

  .hero__orb--1 {
    width: 650px;
    height: 650px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(124, 58, 237, 0.15) 50%, transparent 75%);
  }

  .hero__orb--2 {
    width: 550px;
    height: 550px;
    bottom: -100px;
    left: -120px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.28) 0%, transparent 70%);
  }

  /* ─── GRID LAYOUT ─────────────────────────────────────────── */
  .hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--sp-12);
    align-items: center;
    position: relative;
    z-index: 2;
    padding-block: var(--sp-12);
  }

  /* ─── LEFT COLUMN: COPY & CONTENT ─────────────────────────── */
  .hero__content-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--sp-6);
  }

  /* Regional Highlight Eyebrow Badge */
  .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 0.45rem 1.1rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-wide);
    color: var(--clr-secondary-light);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
  }

  .hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-secondary);
    box-shadow: 0 0 10px var(--clr-secondary);
    animation: pulse 1.8s ease-in-out infinite;
  }

  /* Main Title & Brand */
  .hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.85rem);
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    line-height: 1.1;
    color: var(--clr-white);
  }

  .hero__brand-tag {
    display: block;
    font-size: 0.45em;
    letter-spacing: 0.25em;
    color: var(--clr-primary-light);
    margin-bottom: 0.2em;
    font-weight: var(--weight-extrabold);
    text-transform: uppercase;
  }

  .hero__title .line-gradient {
    display: block;
    background: linear-gradient(135deg, #FFFFFF 20%, #3B82F6 60%, #06B6D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .hero__subtitle {
    font-size: clamp(var(--text-base), 1.4vw, var(--text-md));
    color: var(--clr-text-muted);
    line-height: var(--leading-loose);
    max-width: 54ch;
  }

  /* Service Tags Grid */
  .hero__tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-block: var(--sp-1);
  }

  .hero__tag-pill {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--clr-border);
    color: var(--clr-white);
    backdrop-filter: blur(12px);
    transition: all var(--transition-fast);
  }

  .hero__tag-pill:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-2px);
  }

  /* Action Buttons */
  .hero__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-top: var(--sp-2);
  }

  /* Stats Row */
  .hero__stats {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
    padding-top: var(--sp-6);
    border-top: 1px solid var(--clr-border);
    width: 100%;
    margin-top: var(--sp-2);
  }

  .hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .hero__stat-value {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--weight-black);
    color: var(--clr-white);
    line-height: 1;
  }

  .hero__stat-label {
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
    letter-spacing: var(--tracking-wide);
  }

  /* ─── RIGHT COLUMN: TECH VISUAL COMPOSITION ──────────────── */
  .hero__visual-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Central Mockup Window */
  .hero__tech-window {
    width: 100%;
    max-width: 480px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(37, 99, 235, 0.25);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: all var(--dur-normal) var(--ease-out-expo);
  }

  .hero__tech-window:hover {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(6, 182, 212, 0.3);
  }

  .hero__window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.7);
    border-bottom: 1px solid var(--clr-border);
  }

  .hero__window-dots {
    display: flex;
    gap: 6px;
  }

  .hero__window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }

  .dot-red    { background: #EF4444; }
  .dot-yellow { background: #F59E0B; }
  .dot-green  { background: #10B981; }

  .hero__window-title {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
  }

  .hero__window-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Metrics inside dashboard */
  .hero__dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .hero__metric {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .metric-label {
    font-size: 0.65rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .metric-val {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--clr-secondary-light);
  }

  /* SVG Chart Box */
  .hero__chart-box {
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 0.75rem;
    overflow: hidden;
  }

  .hero__svg-chart {
    width: 100%;
    height: 90px;
    display: block;
  }

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

  /* Code Snippet */
  .hero__code-snippet {
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 0.6rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #CBD5E1;
    overflow-x: auto;
  }

  .code-kw  { color: #3B82F6; font-weight: 600; }
  .code-cls { color: #22D3EE; font-weight: 600; }
  .code-str { color: #10B981; }
  .code-num { color: #F59E0B; }

  /* Floating Overlay Glass Cards */
  .hero__glass-card {
    position: absolute;
    background: rgba(20, 27, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 3;
    max-width: 240px;
  }

  .hero__glass-card--top {
    top: -20px;
    right: -20px;
  }

  .hero__glass-card--bottom {
    bottom: -20px;
    left: -20px;
  }

  .hero__status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: var(--weight-bold);
    color: #10B981;
  }

  .hero__dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulse 1.5s ease-in-out infinite;
  }

  .hero__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 4px;
  }

  .hero__card-sub {
    font-size: 0.65rem;
    color: var(--clr-text-muted);
  }

  .hero__card-title {
    font-size: 0.75rem;
    font-weight: var(--weight-bold);
    color: var(--clr-white);
  }

  .hero__card-text {
    font-size: 0.7rem;
    color: var(--clr-text-muted);
    line-height: 1.3;
  }

  /* ─── RESPONSIVE BREAKPOINTS ─────────────────────────────── */
  @media (max-width: 1023px) {
    .hero__grid {
      grid-template-columns: 1fr;
      text-align: center;
      gap: var(--sp-10);
    }

    .hero__content-left {
      align-items: center;
      text-align: center;
    }

    .hero__tags-grid {
      justify-content: center;
    }

    .hero__actions {
      justify-content: center;
    }

    .hero__stats {
      justify-content: center;
    }

    .hero__glass-card--top {
      right: 0;
    }

    .hero__glass-card--bottom {
      left: 0;
    }
  }

  @media (max-width: 480px) {
    .hero__glass-card {
      display: none; /* Hide floating cards on very small screens for clean space */
    }
  }
}

/* =============================================================
   ADMINIMAIS — All Sections CSS (Ultra Modern Linear/Apple Style)
   Hero, Clients, What We Create, Services, Differentials, Tech, Portfolio, Testimonials, CTA, FAQ, Contact
   ============================================================= */

@layer sections {

  /* ════════════════════════════════════════════════════════════
     1. CLIENTS / EMPRESAS ATENDIDAS BAR
  ═══════════════════════════════════════════════════════════ */
  .clients-section {
    padding-block: var(--sp-12);
    background: rgba(11, 15, 25, 0.7);
    border-block: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
  }

  .clients-label {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-6);
  }

  .clients-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
  }

  .client-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 0.6rem 1.25rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    transition: all var(--dur-normal) var(--ease-out-expo);
  }

  .client-item:hover {
    background: var(--clr-surface-hover);
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .client-item__icon {
    font-size: 1.2rem;
  }

  .client-item__name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--clr-text);
  }

  .client-item__category {
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
  }

  /* ════════════════════════════════════════════════════════════
     2. CAÇAPAVA ORIGIN STORY — Cinematic Full-Width Section
  ═══════════════════════════════════════════════════════════ */
  .cacapava-section {
    position: relative;
    background: var(--clr-bg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 0;
  }

  /* Ambient radial glow in sky */
  .cacapava-section::before {
    content: '';
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse at 50% 40%,
      rgba(37, 99, 235, 0.22) 0%,
      rgba(124, 58, 237, 0.12) 40%,
      rgba(6, 182, 212, 0.06) 65%,
      transparent 100%);
    pointer-events: none;
    z-index: 1;
  }

  /* Floating particle dots layer */
  .cacapava-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }

  /* Particle keyframe */
  @keyframes floatUp {
    0%   { opacity: 0; transform: translateY(0) scale(1); }
    20%  { opacity: 1; }
    80%  { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-80px) scale(0.4); }
  }

  /* SVG City Skyline — sits at bottom of section */
  .cacapava-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 260px;
    z-index: 0;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  }

  .cacapava-skyline svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* Content layer (above SVG) */
  .cacapava-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-6);
    padding-block: var(--sp-20);
    /* Extra bottom padding to clear the skyline */
    padding-bottom: calc(var(--sp-20) + 200px);
  }

  /* Regional badge */
  .cacapava-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 0.45rem 1.1rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-wide);
    color: var(--clr-secondary-light);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
  }

  .cacapava-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: pulse 1.8s ease-in-out infinite;
  }

  /* Main title */
  .cacapava-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: var(--weight-black);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    color: var(--clr-white);
    max-width: 900px;
  }

  /* Body text */
  .cacapava-text {
    font-size: clamp(var(--text-base), 1.4vw, var(--text-md));
    color: var(--clr-text-muted);
    line-height: var(--leading-loose);
    max-width: 62ch;
  }

  /* Highlight phrase block */
  .cacapava-highlight {
    display: inline-block;
    padding: var(--sp-4) var(--sp-8);
    background: linear-gradient(135deg,
      rgba(37, 99, 235, 0.15) 0%,
      rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.12);
    transition: all var(--transition-normal);
  }

  .cacapava-highlight:hover {
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.22);
  }

  .cacapava-highlight__text {
    font-family: var(--font-display);
    font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
    font-weight: var(--weight-semibold);
    color: var(--clr-secondary-light);
    margin: 0;
    letter-spacing: -0.01em;
  }

  .cacapava-highlight__brand {
    font-weight: var(--weight-black);
    color: var(--clr-white);
    background: var(--grad-text-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* CTA Buttons row */
  .cacapava-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--sp-2);
  }

  /* Responsive */
  @media (max-width: 640px) {
    .cacapava-content {
      padding-bottom: calc(var(--sp-12) + 180px);
    }

    .cacapava-actions {
      flex-direction: column;
      align-items: center;
    }
  }

  /* ════════════════════════════════════════════════════════════
     2. ECOSSISTEMA — "Não importa o tamanho do seu negócio"
  ═══════════════════════════════════════════════════════════ */
  .ecosystem-section {
    background: var(--clr-bg);
    position: relative;
    overflow: hidden;
  }

  .ecosystem-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 65%);
    pointer-events: none;
  }

  .ecosystem-section__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .ecosystem-section__copy {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    align-items: flex-start;
  }

  /* Impactful quote block */
  .ecosystem-section__quote {
    position: relative;
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
    margin: 0;
    padding: var(--sp-5) var(--sp-6);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
  }

  .ecosystem-section__quote-bar {
    flex-shrink: 0;
    width: 4px;
    align-self: stretch;
    border-radius: var(--radius-pill);
    background: var(--grad-brand);
  }

  .ecosystem-section__quote-text {
    font-family: var(--font-display);
    font-size: clamp(var(--text-md), 1.6vw, var(--text-xl));
    font-weight: var(--weight-bold);
    line-height: var(--leading-snug);
    letter-spacing: -0.01em;
    color: var(--clr-white);
    margin: 0;
    font-style: normal;
  }

  /* SVG Canvas */
  .ecosystem-section__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
    position: relative;
  }

  .ecosystem-canvas {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-3xl);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55),
                0 0 60px rgba(37, 99, 235, 0.12);
    padding: var(--sp-6);
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out-expo);
  }

  .ecosystem-canvas:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65),
                0 0 60px rgba(6, 182, 212, 0.2);
  }

  /* SVG Node Hover Pulse Animation */
  .eco-node {
    transition: opacity 0.2s ease;
  }

  .eco-node:hover circle {
    stroke: #06B6D4;
    filter: drop-shadow(0 0 3px rgba(6, 182, 212, 0.8));
  }

  .ecosystem-section__canvas-label {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--clr-text-faint);
    text-align: center;
  }

  /* Responsive */
  @media (max-width: 900px) {
    .ecosystem-section__layout {
      grid-template-columns: 1fr;
    }

    .ecosystem-section__copy {
      align-items: center;
      text-align: center;
    }

    .ecosystem-section__quote {
      text-align: left;
    }

    .ecosystem-canvas {
      max-width: 380px;
    }
  }

  /* ════════════════════════════════════════════════════════════
     3-A. POR QUE ADMINIMAIS? (4 Diferenciais)
  ═══════════════════════════════════════════════════════════ */
  .por-que-section {
    background: var(--clr-bg-alt);
    position: relative;
    overflow: hidden;
  }

  /* Subtle radial glow top-right */
  .por-que-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 100% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
    pointer-events: none;
  }

  /* ── Phrase block ── */
  .por-que-phrase {
    display: flex;
    align-items: stretch;
    gap: var(--sp-5);
    max-width: 820px;
    margin: 0 auto var(--sp-16);
    padding: var(--sp-6) var(--sp-8);
    background: linear-gradient(135deg,
      rgba(37, 99, 235, 0.1) 0%,
      rgba(124, 58, 237, 0.08) 50%,
      rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(12px);
  }

  .por-que-phrase__bar {
    flex-shrink: 0;
    width: 4px;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #7C3AED 0%, #2563EB 50%, #06B6D4 100%);
  }

  .por-que-phrase__text {
    font-family: var(--font-display);
    font-size: clamp(var(--text-base), 1.6vw, var(--text-lg));
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    line-height: var(--leading-normal);
    margin: 0;
  }

  .por-que-phrase__text strong {
    color: var(--clr-white);
    font-weight: var(--weight-bold);
  }

  /* ── 4-card Grid ── */
  .por-que-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }

  .por-que-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--sp-6);
    padding: var(--sp-8);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out-expo);
  }

  .por-que-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
      rgba(37, 99, 235, 0.06) 0%,
      rgba(6, 182, 212, 0.04) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .por-que-card:hover {
    border-color: rgba(37, 99, 235, 0.45);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.18);
  }

  .por-que-card:hover::before {
    opacity: 1;
  }

  /* Large background number */
  .por-que-card__num {
    position: absolute;
    top: 0;
    right: var(--sp-6);
    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 6.5rem);
    font-weight: var(--weight-black);
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: -0.05em;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    transition: color var(--transition-slow);
  }

  .por-que-card:hover .por-que-card__num {
    color: rgba(37, 99, 235, 0.1);
  }

  /* Content body */
  .por-que-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .por-que-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle,
      rgba(37, 99, 235, 0.22) 0%,
      rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(37, 99, 235, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--dur-normal) var(--ease-spring);
  }

  .por-que-card:hover .por-que-card__icon {
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--clr-secondary);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
  }

  .por-que-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--clr-text);
    letter-spacing: -0.015em;
    line-height: var(--leading-snug);
  }

  .por-que-card__desc {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: var(--leading-loose);
    max-width: 42ch;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .por-que-grid {
      grid-template-columns: 1fr;
    }

    .por-que-phrase {
      flex-direction: column;
      gap: var(--sp-3);
    }

    .por-que-phrase__bar {
      width: 100%;
      height: 4px;
      align-self: auto;
    }
  }

  /* ════════════════════════════════════════════════════════════
     3. O QUE A ADMINIMAIS CRIA (8 SOLUÇÕES)
  ═══════════════════════════════════════════════════════════ */
  .what-we-create {
    background: var(--clr-bg-alt);
    position: relative;
    overflow: hidden;
  }

  .creation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-6);
  }

  .creation-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
    padding: var(--sp-8) var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    position: relative;
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out-expo);
  }

  .creation-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-brand);
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .creation-card:hover {
    background: var(--clr-surface-hover);
    border-color: rgba(37, 99, 235, 0.45);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 35px rgba(37, 99, 235, 0.18);
  }

  .creation-card:hover::after {
    opacity: 1;
  }

  .creation-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
  }

  .creation-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--dur-normal) var(--ease-out-expo);
    flex-shrink: 0;
  }

  .creation-card:hover .creation-card__icon {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(6, 182, 212, 0.25) 100%);
    border-color: var(--clr-secondary);
    transform: scale(1.08);
    box-shadow: var(--shadow-glow-cyan);
  }

  .creation-card__tag {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--clr-secondary-light);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: var(--tracking-wide);
  }

  .creation-card__title {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: var(--clr-text);
    letter-spacing: -0.01em;
  }

  .creation-card__desc {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: var(--leading-normal);
    flex: 1;
  }

  .creation-card__visual {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding-top: var(--sp-3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
  }

  .creation-card__indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-primary-light);
    box-shadow: 0 0 8px var(--clr-primary-light);
  }

  .creation-card__visual-label {
    font-size: 0.68rem;
    font-weight: var(--weight-medium);
    color: var(--clr-text-faint);
    letter-spacing: 0.03em;
  }

  .creation-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--sp-12);
  }

  /* ════════════════════════════════════════════════════════════
     3. SERVIÇOS (14 PRODUCT CARDS)
  ═══════════════════════════════════════════════════════════ */
  .services {
    background: var(--clr-bg);
  }

  .services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-6);
  }

  /* ════════════════════════════════════════════════════════════
     4. DIFERENCIAIS
  ═══════════════════════════════════════════════════════════ */
  .differentials {
    background: var(--clr-bg-alt);
    position: relative;
  }

  .differentials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--sp-6);
  }

  .diff-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    position: relative;
    overflow: hidden;
    transition: all var(--dur-slow) var(--ease-out-expo);
  }

  .diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--grad-brand);
    opacity: 0;
    transition: opacity var(--transition-normal);
  }

  .diff-card:hover {
    background: var(--clr-surface-hover);
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), 0 0 35px rgba(6, 182, 212, 0.15);
  }

  .diff-card:hover::before {
    opacity: 1;
  }

  .diff-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .diff-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
  }

  .diff-card__title {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: var(--clr-text);
  }

  .diff-card__desc {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: var(--leading-normal);
  }

  /* ════════════════════════════════════════════════════════════
     5. TECNOLOGIAS (MARQUEE)
  ═══════════════════════════════════════════════════════════ */
  .technologies {
    background: var(--clr-bg);
    overflow: hidden;
  }

  .tech-marquee-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  }

  .tech-marquee {
    display: flex;
    gap: var(--sp-6);
    width: max-content;
    animation: marquee 35s linear infinite;
  }

  .tech-marquee:hover { animation-play-state: paused; }

  .tech-marquee--reverse {
    animation-direction: reverse;
  }

  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .tech-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 0.6rem 1.25rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    white-space: nowrap;
    transition: all var(--transition-normal);
    flex-shrink: 0;
  }

  .tech-item:hover {
    background: var(--clr-surface-hover);
    border-color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
  }

  .tech-item__name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--clr-text);
  }

  /* ════════════════════════════════════════════════════════════
     6. PORTFÓLIO
  ═══════════════════════════════════════════════════════════ */
  .portfolio {
    background: var(--clr-bg-alt);
  }

  .portfolio__filters {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--sp-12);
  }

  .portfolio__filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .portfolio__filter-btn:hover {
    color: var(--clr-text);
    border-color: var(--clr-primary);
  }

  .portfolio__filter-btn.is-active {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-primary);
  }

  .portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--sp-6);
  }

  .portfolio-card.is-hidden { display: none; }

  /* ════════════════════════════════════════════════════════════
     7. DEPOIMENTOS
  ═══════════════════════════════════════════════════════════ */
  .testimonials {
    background: var(--clr-bg);
    overflow: hidden;
  }

  .testimonials__carousel {
    position: relative;
    overflow: hidden;
  }

  .testimonials__track {
    display: flex;
    gap: var(--sp-6);
    transition: transform var(--dur-slow) var(--ease-out-expo);
  }

  .testimonials__track .testimonial-card {
    min-width: 360px;
    flex-shrink: 0;
  }

  .testimonials__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    margin-top: var(--sp-10);
  }

  .testimonials__dots {
    display: flex;
    gap: var(--sp-2);
  }

  .testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--clr-border);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
  }

  .testimonials__dot.is-active {
    width: 24px;
    background: var(--clr-primary);
  }

  /* ════════════════════════════════════════════════════════════
     8. CTA SECTION
  ═══════════════════════════════════════════════════════════ */
  .cta-section {
    position: relative;
    overflow: hidden;
    background: var(--clr-bg-alt);
  }

  .cta-section__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-6);
    position: relative;
    z-index: 1;
    padding: var(--sp-16) var(--sp-8);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-3xl);
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.2) 0%, rgba(11, 15, 25, 0.95) 70%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }

  .cta-section__actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    justify-content: center;
  }

  /* ════════════════════════════════════════════════════════════
     9. CONTATO
  ═══════════════════════════════════════════════════════════ */
  .contact {
    background: var(--clr-bg);
  }

  .contact__layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-12);
    align-items: start;
  }

  .contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
  }

  .contact__info-item {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
    padding: var(--sp-5);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    transition: all var(--transition-fast);
  }

  .contact__info-item:hover {
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateX(4px);
  }

  .contact__info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--grad-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FFFFFF;
    flex-shrink: 0;
  }

  .contact__form-wrapper {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-3xl);
    padding: var(--sp-10);
    backdrop-filter: blur(16px);
  }

  .contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
  }

  .contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  /* ─── RESPONSIVE BREAKPOINTS ─── */
  @media (max-width: 1023px) {
    .contact__layout { grid-template-columns: 1fr; }
  }

  @media (max-width: 640px) {
    .contact__form-row { grid-template-columns: 1fr; }
    .testimonials__track .testimonial-card { min-width: 290px; }
  }
}

/* =============================================================
   ADMINIMAIS — Responsive & Utilities
   ============================================================= */

@layer utilities {

  /* ─── DISPLAY ─── */
  .d-none   { display: none; }
  .d-block  { display: block; }
  .d-flex   { display: flex; }
  .d-grid   { display: grid; }
  .d-inline { display: inline; }
  .d-inline-flex { display: inline-flex; }

  /* ─── VISIBILITY ─── */
  .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;
  }

  /* ─── OVERFLOW ─── */
  .overflow-hidden { overflow: hidden; }
  .overflow-auto   { overflow: auto; }

  /* ─── POSITION ─── */
  .relative { position: relative; }
  .absolute { position: absolute; }
  .sticky   { position: sticky; }

  /* ─── SPACING ─── */
  .mt-auto { margin-top: auto; }
  .mb-auto { margin-bottom: auto; }
  .mx-auto { margin-inline: auto; }

  /* ─── RESPONSIVE BREAKPOINTS ─── */

  /* Tablet and below (< 1024px) */
  @media (max-width: 1023px) {
    .hide-md  { display: none; }
    .show-md  { display: block; }
  }

  /* Mobile (< 768px) */
  @media (max-width: 767px) {
    .hide-sm  { display: none; }
    .show-sm  { display: block; }

    .grid-2, .grid-3, .grid-4 {
      grid-template-columns: 1fr;
    }

    .services__grid {
      grid-template-columns: 1fr;
    }

    .portfolio__grid {
      grid-template-columns: 1fr;
    }
  }

  /* Small mobile (< 480px) */
  @media (max-width: 479px) {
    .hide-xs  { display: none; }
    .show-xs  { display: block; }
  }

  /* ─── FOCUS VISIBLE ─── */
  :focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
  }

  /* ─── PRINT ─── */
  @media print {
    .navbar,
    .hero__orb,
    #hero-canvas,
    .toast-container,
    .modal-backdrop,
    .hero__scroll { display: none !important; }

    body {
      background: white;
      color: black;
    }
  }

  /* ─── COOKIE BANNER ─── */
  .cookie-banner {
    position: fixed;
    bottom: var(--sp-6);
    left: var(--sp-6);
    right: var(--sp-6);
    max-width: 480px;
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-2xl);
    padding: var(--sp-6);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    animation: fadeInUp var(--dur-slow) var(--ease-out-expo);
  }

  .cookie-banner.is-hidden { display: none; }

  .cookie-banner__actions {
    display: flex;
    gap: var(--sp-3);
  }
}

