/* ============================================
   Halcyon Font Face — 3 pesos (400, 500, 700)
   ============================================ */
@font-face {
  font-family: 'Halcyon';
  src: url('fonts/halcyon-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halcyon';
  src: url('fonts/halcyon-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halcyon';
  src: url('fonts/halcyon-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

        :root {
        /* Form Variables (Etapa 10) */
        --input-height: 52px;
        --input-bg: #f8fafc;
        --input-border: 1px solid #e2e8f0;
        --input-radius: 12px;
        --input-padding: 0 16px;
        --input-focus-ring: 0 0 0 3px rgba(0, 86, 179, 0.15);
        --input-text: #0f172a;
        --input-placeholder: #94a3b8;

        /* Button Variables (Etapa 9) */
        --btn-height: 56px;
        --btn-padding: 16px 32px;
        --btn-radius: 12px;
        --btn-font-size: 1rem;
        --btn-font-weight: 600;
        --btn-gap: 10px;
        --btn-icon-size: 20px;
        --btn-primary-bg: #0056B3;
        --btn-primary-hover: #004494;
        --btn-primary-shadow: 0 8px 20px rgba(0, 86, 179, 0.25);

        /* Card Variables (Etapa 8) */
        --card-bg: #FFFFFF;
        --card-bg-dark: rgba(30, 41, 59, 0.4);
        --card-border: 1px solid rgba(0,0,0,0.04);
        --card-border-dark: 1px solid rgba(255,255,255,0.05);
        --card-shadow: 0 4px 12px rgba(0,0,0,0.02), 0 12px 30px rgba(0,0,0,0.02);
        --card-shadow-hover: 0 12px 24px rgba(0,0,0,0.04), 0 20px 40px rgba(0,0,0,0.04);
        --card-padding: 32px;
        --card-padding-mobile: 24px;
        --card-radius: 24px;

            /* Color System - Isaac Style */
            --ds-bg-light: #ffffff;
            --ds-bg-soft: #f9f9fb;
            --ds-bg-gray: #f0f0f0;
            
            --ds-primary-blue: #0056b3; 
            --ds-primary-dark: #003d82;
            --ds-primary-gradient: linear-gradient(to right, #003d82, #0056b3);
            
            --ds-secondary-green: #2ecc71;
            
            --ds-text-dark: #111111;
            --ds-text-body: #555555;
            --ds-text-muted: #979797;
            --ds-text-light: #ffffff;
            
            /* Typography */
            --font-primary: 'Halcyon', Verdana, sans-serif;
            --font-secondary: 'Halcyon', Verdana, sans-serif;
            
            
            /* Typography Scale (Responsive with clamp) */
            --text-display-xl: clamp(30px, 4.5vw, 50px);
            --text-display-l: clamp(30px, 4.5vw, 48px);
            --text-heading-1: clamp(30px, 4.5vw, 50px);
            --text-heading-2: clamp(22px, 3.5vw, 40px);
            --text-heading-3: clamp(21px, 2.5vw, 30px);
            --text-heading-4: clamp(21px, 2vw, 24px); /* Fallback/Safety: Desktop scale requested 16-20px, but Mobile requested 21-24px. Adjusting to a balanced 20px-24px range */
            --text-heading-5: clamp(16px, 1.5vw, 22px);
            
            --text-body-large: clamp(17px, 2vw, 20px);
            --text-body: clamp(16px, 1.5vw, 18px);
            --text-body-small: clamp(14px, 1.2vw, 15px);
            --text-caption: 14px;
            
            --lh-tight: 1.08;
            --lh-body: 1.6;

            
            
            /* Spacing System (Multiples of 8) */
            --space-section: clamp(64px, 8vw, 120px);
            --space-card: clamp(24px, 4vw, 40px);
            --space-gap: clamp(20px, 3vw, 32px);
            --space-container: clamp(20px, 5vw, 64px);

            /* Shadows */
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
            --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
            --shadow-blue: 0 10px 20px rgba(0, 86, 179, 0.25);
            
            /* Border Radius */
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-pill: 50px;
        }

        
        /* Navigation Accessibility */
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 90px;
        }
        body.menu-active {
            overflow: hidden !important;
        }

body {
            background-color: var(--ds-bg-light);
            color: var(--ds-text-body);
            font-family: var(--font-secondary);
            margin: 0;
            padding: 0;
            scroll-behavior: smooth;
            word-break: normal;
            overflow-wrap: break-word;
            hyphens: none;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6, .ds-section-heading, .ds-hero-title {
            text-wrap: balance;
            line-height: var(--lh-tight, 1.1);
        }

        p, .ds-section-subheading, .ds-hero-subtitle, .ds-text-body {
            text-wrap: pretty;
            line-height: var(--lh-body, 1.6);
            max-width: 75ch;
        }

        /* Ambient Background Animations (Clean & Soft for Isaac style) */
        .ambient-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
            overflow: hidden;
            background: #ffffff;
        }

        .ambient-shape {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.15;
            animation: floatSoft 15s infinite alternate;
        }

        .shape-1 { width: 600px; height: 600px; background: var(--ds-primary-blue); top: -200px; right: -200px; }
        .shape-2 { width: 500px; height: 500px; background: #8bb0eb; bottom: -100px; left: -100px; animation-delay: -5s; }

        @keyframes floatSoft {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(-50px, 50px) scale(1.1); }
        }

        /* Navbar */
        .ds-navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            z-index: 100;
            background: rgba(255, 255, 255, 0.95);
            -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
            box-shadow: 0 1px 0 rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .ds-nav-logo {
            font-family: var(--font-primary);
            font-size: var(--text-heading-4);
            font-weight: 700;
            color: var(--ds-primary-blue);
            text-decoration: none;
            letter-spacing: -1px;
        }

        .ds-nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .ds-nav-links a {
            color: var(--ds-text-dark);
            text-decoration: none;
            font-family: var(--font-primary);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        .ds-nav-links a:hover {
            color: var(--ds-primary-blue);
        }

        /* Hero Section */
        .ds-hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            padding: 100px 20px 0;
            background: radial-gradient(100% 100% at 50% 0%, #fff5f6 0%, #ffffff 100%);
        }

        .ds-hero-content {
            max-width: 900px;
            z-index: 2;
        }

        .ds-hero-title {
            font-family: var(--font-primary);
            font-size: var(--text-display-xl);
            font-weight: 700;
            line-height: var(--lh-tight);
            margin-bottom: 32px; /* titleToDescription */
            color: var(--ds-text-dark);
            letter-spacing: -2px;
            animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            transform: translateY(30px);
        }
        
        .ds-hero-title span {
            background: var(--ds-primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .ds-hero-subtitle {
            font-size: var(--text-body-large);
            color: var(--ds-text-body);
            margin-bottom: 40px; /* descriptionToButtons */
            max-width: 620px; /* Hero textWidth max */
            margin-left: auto;
            margin-right: auto;
            line-height: var(--lh-body);
            animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 0.15s;
            opacity: 0;
            transform: translateY(30px);
        }

        @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

        /* General Container & Sections */
        .ds-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--space-container);
        }

        

        
        
        

        .ds-section {
            padding-block: var(--space-section);
            position: relative;
        }
        
        .ds-section-soft {
            background-color: var(--ds-bg-soft);
            border-radius: clamp(24px, 4vw, 40px);
            padding: clamp(40px, 6vw, 80px) 5%;
            margin-block: clamp(24px, 4vw, 40px);
        }

        .ds-section-heading {
            font-family: var(--font-primary);
            font-size: var(--text-heading-2);
            font-weight: 700;
            color: var(--ds-text-dark);
            margin-bottom: clamp(16px, 3vw, 32px); /* titleToDescription */
            letter-spacing: -1px;
        }
        
        .ds-section-subheading {
            font-size: var(--text-body-large);
            color: var(--ds-text-muted);
            margin-bottom: clamp(40px, 6vw, 72px); /* sectionTitleToContent */
            max-width: 650px; /* descriptions max */
            line-height: var(--lh-body);
        }

        /* Typography Cards */
        .ds-type-spec {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .ds-card {
            background: var(--card-bg);
            border-radius: var(--card-radius);
            padding: var(--space-card);
            box-shadow: var(--card-shadow);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            border: var(--card-border);
            
            display: flex;
            flex-direction: column;
        }

        .ds-card:hover { 
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
        }

        .ds-type-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--ds-primary-blue);
            margin-bottom: 16px;
            display: block;
            font-weight: 700;
            font-family: var(--font-primary);
        }

        .ds-type-details {
            font-family: var(--font-mono);
            color: var(--ds-text-muted);
            font-size: 0.85rem;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid var(--ds-bg-gray);
            line-height: 1.8;
        }
        
        .ds-type-preview { margin: 0; color: var(--ds-text-dark); }
        .ds-type-preview.h1 { font-family: var(--font-primary); font-size: var(--text-heading-1); font-weight: 700; line-height: var(--lh-tight); letter-spacing: -1.5px; }
        .ds-type-preview.h2 { font-family: var(--font-primary); font-size: var(--text-heading-2); font-weight: 700; line-height: var(--lh-tight); letter-spacing: -1px; }
        .ds-type-preview.body-lg { font-family: var(--font-secondary); font-size: var(--text-body-large); font-weight: 400; line-height: var(--lh-body); color: var(--ds-text-body); }
        .ds-type-preview.body { font-family: var(--font-secondary); font-size: var(--text-body); font-weight: 400; line-height: var(--lh-body); color: var(--ds-text-body); }

        /* Colors Section */
        .ds-color-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 24px;
        }

        .ds-color-swatch {
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            background: #fff;
        }

        .ds-color-swatch:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .ds-color-preview { height: 120px; width: 100%; }
        
        .ds-color-preview.gradient { background: var(--ds-primary-gradient); }

        .ds-color-info {
            padding: 20px;
        }

        .ds-color-name { font-weight: 700; font-family: var(--font-primary); margin-bottom: 5px; color: var(--ds-text-dark); }
        .ds-color-hex { font-family: var(--font-mono); color: var(--ds-text-muted); font-size: 0.9rem; }

        /* Buttons */
        .ds-btn {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: var(--btn-padding);
            box-sizing: border-box;
            font-family: var(--font-primary);
            font-weight: 700;
            font-size: var(--btn-font-size);
            color: #fff;
            text-decoration: none;
            background: var(--ds-primary-gradient);
            border-radius: var(--radius-pill);
            border: none;
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
            box-shadow: var(--shadow-blue);
            z-index: 1;
        }
        
        .ds-btn::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(to right, #0056b3, #003d82);
            opacity: 0;
            z-index: -1;
            transition: opacity 0.3s ease;
        }

        .ds-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 28px rgba(0, 86, 179, 0.35);
         display: inline-flex; align-items: center; justify-content: center;}
        
        .ds-btn:hover::after { opacity: 1; }

        .ds-btn-outline {
            background: transparent;
            border: 2px solid var(--ds-text-dark);
            color: var(--ds-text-dark);
            box-shadow: none;
         display: inline-flex; align-items: center; justify-content: center;}
        .ds-btn-outline::after { display: none; }
        .ds-btn-outline:hover { 
            background: var(--ds-text-dark);
            color: #fff;
            box-shadow: var(--shadow-md);
         display: inline-flex; align-items: center; justify-content: center;}
        
        .ds-btn-secondary {
            background: var(--ds-secondary-green);
            box-shadow: 0 10px 20px rgba(46, 204, 113, 0.25);
         display: inline-flex; align-items: center; justify-content: center;}
        .ds-btn-secondary::after { background: #27ae60; }
        
        .ds-btn:disabled {
            background: #d6d6d6;
            color: #999;
            box-shadow: none;
            cursor: not-allowed;
            transform: none !important;
         display: inline-flex; align-items: center; justify-content: center;}

        /* Inputs */
        .ds-input-group {
            width: 100%;
            margin-bottom: 24px;
        }
        
        .ds-input-label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            color: var(--ds-text-dark);
            font-family: var(--font-primary);
            font-weight: 600;
        }
        
        .ds-input {
            width: 100%;
            padding: 16px 20px;
            background: #ffffff;
            border: 1px solid #d6d6d6;
            border-radius: var(--radius-sm);
            color: var(--ds-text-dark);
            font-family: var(--font-secondary);
            font-size: 1rem;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .ds-input:focus {
            outline: none;
            border-color: var(--ds-primary-blue);
            box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
        }

        /* Badges */
        .ds-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: var(--radius-pill);
            font-size: 0.75rem;
            font-family: var(--font-primary);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .ds-badge-primary { background: rgba(0, 86, 179, 0.1); color: var(--ds-primary-blue); }
        .ds-badge-success { background: rgba(46, 204, 113, 0.1); color: var(--ds-secondary-green); }
        .ds-badge-dark { background: rgba(17, 17, 17, 0.05); color: var(--ds-text-dark); }

        /* Feature Cards */
        .ds-feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }

        .ds-feature-icon {
            width: 64px;
            height: 64px;
            background: rgba(0, 86, 179, 0.08);
            color: var(--ds-primary-blue);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-bottom: 24px;
            transition: all 0.3s ease;
        }
        
        .ds-card:hover .ds-feature-icon {
            background: var(--ds-primary-blue);
            color: #fff;
            transform: scale(1.1) rotate(-5deg);
        }

        /* Icons Grid */
        .ds-icon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 20px;
        }
        
        .ds-icon-box {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-md);
            font-size: 1.8rem;
            color: var(--ds-text-dark);
            background: #fff;
            border: 1px solid var(--ds-bg-gray);
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
        }
        
        .ds-icon-box:hover {
            color: var(--ds-primary-blue);
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: rgba(0, 86, 179, 0.2);
        }

        /* Scroll Animations */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Layout utilities */
        .d-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
        @media (max-width: 767px) { .d-grid-2 { grid-template-columns: 1fr; } }
    </style>


    /* Padronizacao de Cards Global */
    .scitus-premium-card {
        background: var(--card-bg);
        border: var(--card-border);
        border-radius: var(--card-radius);
        padding: var(--card-padding);
        box-shadow: var(--card-shadow);
        transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
    }
    .scitus-premium-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--card-shadow-hover);
        border-color: rgba(0,86,179,0.1);
    }
    @media (max-width: 767px) {
        .scitus-premium-card {
            padding: var(--card-padding-mobile);
        }
    }

    @media (max-width: 767px) {
        :root {
        /* Form Variables (Etapa 10) */
        --input-height: 52px;
        --input-bg: #f8fafc;
        --input-border: 1px solid #e2e8f0;
        --input-radius: 12px;
        --input-padding: 0 16px;
        --input-focus-ring: 0 0 0 3px rgba(0, 86, 179, 0.15);
        --input-text: #0f172a;
        --input-placeholder: #94a3b8;

        /* Button Variables (Etapa 9) */
        --btn-height: 56px;
        --btn-padding: 16px 32px;
        --btn-radius: 12px;
        --btn-font-size: 1rem;
        --btn-font-weight: 600;
        --btn-gap: 10px;
        --btn-icon-size: 20px;
        --btn-primary-bg: #0056B3;
        --btn-primary-hover: #004494;
        --btn-primary-shadow: 0 8px 20px rgba(0, 86, 179, 0.25);

            --card-padding: var(--card-padding-mobile);
        }
    }


    /* Button Global States (Etapa 9) */
    [class*="btn"]:focus-visible, button:focus-visible, a:focus-visible {
        outline: 2px solid var(--btn-primary-bg);
        outline-offset: 4px;
    }
    
    [class*="btn"]:disabled, button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
        transform: none !important;
        box-shadow: none !important;
    }
    
    [class*="btn"].loading, button.loading {
        opacity: 0.8;
        cursor: wait;
        pointer-events: none;
    }
    
    [class*="btn"] svg {
        width: var(--btn-icon-size);
        height: var(--btn-icon-size);
        flex-shrink: 0;
    }

    @media (max-width: 767px) {
        [class*="btn"], button {
            width: 100%;
        }
    }


    /* Global Form Elements (Etapa 10) */
    input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select {
        height: var(--input-height);
        width: 100%;
        background: var(--input-bg);
        border: var(--input-border);
        border-radius: var(--input-radius);
        padding: var(--input-padding);
        font-family: var(--font-secondary, 'Inter', sans-serif);
        font-size: 1rem;
        color: var(--input-text);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-sizing: border-box;
        outline: none;
    }
    
    textarea {
        width: 100%;
        min-height: 120px;
        background: var(--input-bg);
        border: var(--input-border);
        border-radius: var(--input-radius);
        padding: 16px;
        font-family: var(--font-secondary, 'Inter', sans-serif);
        font-size: 1rem;
        color: var(--input-text);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-sizing: border-box;
        outline: none;
        resize: vertical;
    }
    
    input::placeholder, textarea::placeholder {
        color: var(--input-placeholder);
        opacity: 1;
    }
    
    input:focus, textarea:focus, select:focus {
        background: #ffffff;
        border-color: var(--ds-primary-blue, #0056B3);
        box-shadow: var(--input-focus-ring);
    }
    
    select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 16px center;
        background-size: 16px;
        padding-right: 40px;
        cursor: pointer;
    }


/* Etapa 11 - Padronizacao Visual de Midias */
img, svg, picture, video {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* Etapa 14 - Acessibilidade Global */

/* 1. Silenciamento de Outlines nativos para mouse, ativando apenas para teclado */
:focus:not(:focus-visible) {
    outline: none !important;
}

/* 2. Focus Visivel Universal para acessibilidade (TAB) */
:focus-visible {
    outline: 2px solid var(--ds-primary-blue, #0056B3) !important;
    outline-offset: 4px !important;
    border-radius: 2px;
}

/* 3. Desativacao de Motion para saude visual */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================
   FASE 10/11: BUTTON STANDARDIZATION MATRIX (GLOBAL FIX)
   ========================================= */

/* Motor Físico Flexível Global */
.ds-btn, 
.ds-btn-primary-large, 
.ds-btn-secondary, 
.footer-btn-outline, 
 
.platform-cta, 
.results-cta, 
.sec-final-cta, 
.cf-btn, 
.btn-play-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  white-space: nowrap;
  text-align: center;
  font-weight: 600;
  line-height: 1.2 !important;
  cursor: pointer;
  vertical-align: middle;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  min-height: 56px !important; /* Base 56px exigido */
  padding: 16px 32px !important; /* Vertical padding 16px para desesmagar */
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  overflow: hidden; 
  position: relative;
}

/* Permitindo que as sombras fiquem visíveis (override do hidden se necessário) mas a borda arredondada deve funcionar */
.ds-btn::after, .ds-btn::before,
.ds-btn-primary-large::after, .ds-btn-primary-large::before,
.ds-btn-secondary::after, .ds-btn-secondary::before,
.cf-btn::after, .cf-btn::before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit; /* O Overflow visible pode vazar as bordas. Usando border-radius inherit conserta o vazamento do ::after gradient sem precisar de overflow: hidden */
}

/* =========================================
   VARIANTES DE ALTURA E PADDING
   ========================================= */

/* Hero Buttons */
 .platform-cta, .ds-btn-primary-large {
  min-height: 60px !important;
  padding: 18px 36px !important;
}

/* Outline Buttons (compensando borda) */
.footer-btn-outline, .btn-play-outline, .ds-btn-outline {
  padding: 16px 30px !important;
  min-height: 56px !important;
}

/* Formulários */
.cf-btn {
  min-height: 56px !important;
  width: 100% !important;
}

/* Mobile Override */
@media (max-width: 768px) {
  .ds-btn, 
  .ds-btn-primary-large, 
  .ds-btn-secondary, 
  .footer-btn-outline, 
   
  .platform-cta, 
  .results-cta, 
  .sec-final-cta, 
  .cf-btn, 
  .btn-play-outline {
    min-height: 52px !important;
    padding: 16px 28px !important;
    width: 100% !important;
  }
}

/* Blindagem de Ícones (SVG) */
.ds-btn svg, 
.ds-btn-primary-large svg, 
.ds-btn-secondary svg, 
.footer-btn-outline svg, 
 svg, 
.platform-cta svg, 
.results-cta svg, 
.sec-final-cta svg, 
.cf-btn svg, 
.btn-play-outline svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  display: block;
}

/* Focus Acessibilidade */
.ds-btn:focus-visible, 
.ds-btn-primary-large:focus-visible, 
.ds-btn-secondary:focus-visible, 
.footer-btn-outline:focus-visible, 
:focus-visible, 
.platform-cta:focus-visible, 
.results-cta:focus-visible, 
.sec-final-cta:focus-visible, 
.cf-btn:focus-visible, 
.btn-play-outline:focus-visible {
  outline: 3px solid #0056B3 !important;
  outline-offset: 2px !important;
}

/* Hover Animado */
.ds-btn:hover,
.ds-btn-primary-large:hover,
.ds-btn-secondary:hover,
.footer-btn-outline:hover,
.platform-cta:hover,
.results-cta:hover,
.sec-final-cta:hover,
.cf-btn:hover,
.btn-play-outline:hover {
  transform: translateY(-2px);
}


/* FASE 14: ACESSIBILIDADE GLOBAL */
a:focus-visible, 
input:focus-visible, 
textarea:focus-visible, 
select:focus-visible, 
button:focus-visible {
  outline: 3px solid var(--ds-primary-blue, #0056B3) !important;
  outline-offset: 2px !important;
}

/* Blindagem de Contraste para textos acinzentados */
.ds-text-muted, p, span, div {
  /* Se for a variável cinza clara, forçamos um cinza que passa no contraste WCAG 4.5:1 no fundo branco */
}
:root {
  --ds-text-muted: #595959 !important; /* Corrigido de #979797 para garantir contraste AAA/AA */
}
/* Ocultar semanticamente */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
