/* 
   Ponto Apex - Light Cyberpunk Style 
   Author: Antigravity
   Theme: Technical, Reliable, Modern, Light
*/

/* 1. Variables & Reset */
:root {
    /* Colors */
    --color-primary: #0056D2;
    /* Azul Apex */
    --color-primary-dark: #0044A5;
    --color-secondary: #0A192F;
    /* Azul Marinho Profundo */
    --color-cyan: #009eb3;
    /* Ciano mais legível no fundo claro */
    --color-cyan-glow: rgba(0, 240, 255, 0.4);

    --color-bg-light: #F8F9FB;
    /* Branco Off-white */
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #0f1c2e;
    /* Para seções de destaque */

    --color-text-main: #334155;
    --color-text-heading: #1e293b;
    --color-text-light: #94a3b8;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 86, 210, 0.1);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.9);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Garantir fonte consistente em todos os elementos de formulário (crítico para mobile) */
input,
button,
select,
textarea {
    font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white !important;
}

.text-cyan {
    color: var(--color-cyan) !important;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

/* 3. Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 86, 210, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 210, 0.4);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.6s;
}

.btn-glow:hover::after {
    transform: scale(1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: white;
}

.btn-block {
    width: 100%;
}

/* 4. Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo Circle System */
.logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 999px;
    border: 1px solid rgba(0, 86, 210, 0.15);
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.12);
    overflow: hidden;
}

.logo-circle img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.logo-circle--header {
    width: 74px;
    height: 74px;
    padding: 10px;
}

.logo-circle--footer {
    width: 64px;
    height: 64px;
    padding: 8px;
    margin-bottom: 1rem;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 5. Hero Section */
.hero-section {
    position: relative;
    padding-top: 140px;
    /* Header space */
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, #F8F9FB 0%, #EBF1F6 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 86, 210, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    background: -webkit-linear-gradient(right, var(--color-secondary), var(--color-primary));
    background: linear-gradient(to left, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.social-proof-bar {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.proof-item i {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.card-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* Glass Cards in Hero - Now Static Within Container */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 1.2rem 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 86, 210, 0.1);
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    /* Changed from absolute to static for proper alignment */
}

.icon-float {
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 3s;
}

/* 6. About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.auth-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.auth-icon {
    font-size: 2rem;
    color: var(--color-primary);
    background: rgba(0, 86, 210, 0.05);
    padding: 0.8rem;
    border-radius: 50%;
}

.auth-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.auth-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.image-wrapper img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

/* CEO Section */
.ceo-section {
    background: var(--color-bg-white);
}

.ceo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.ceo-photo-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
    box-shadow:
        0 0 25px rgba(0, 86, 210, 0.4),
        0 0 50px rgba(10, 25, 47, 0.2);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.ceo-photo-wrapper:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 35px rgba(0, 86, 210, 0.6),
        0 0 70px rgba(10, 25, 47, 0.3);
}

.ceo-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    background: #e2e8f0;
}

.ceo-info {
    max-width: 500px;
    text-align: left;
}

.ceo-info .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.ceo-role {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ceo-info p:last-child {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }

    .ceo-photo-wrapper {
        width: 180px;
        height: 180px;
    }

    .ceo-container {
        flex-direction: column;
        text-align: center;
    }

    .ceo-info {
        text-align: center;
    }
}

/* 7. Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 86, 210, 0.2);
}

.product-img {
    height: 200px;
    background: #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    max-height: 80%;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.badge-tech {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.product-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.benefits-list i {
    color: var(--color-cyan);
    /* Cyan tick for cyber feel */
}

/* 8. Differentials (Dark Theme) */
.bg-dark-tech {
    background-color: var(--color-bg-dark);
    color: white;
    position: relative;
}

.bg-dark-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1a2c4e 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-cyan);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-cyan);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* 9. Steps */
.steps-process {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 200px;
    margin-bottom: 2rem;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--color-bg-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-top: 30px;
    /* Align with center of bubble */
    display: block;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    max-width: 200px;
    margin: 0 auto;
}

/* ======================================
   CENTRALIZAÇÃO - PROCESSO SIMPLIFICADO
   ====================================== */

/* Centralizar TODOS os textos da seção "Processo Simplificado" (#como-funciona) */
#como-funciona .section-header,
#como-funciona .section-title,
#como-funciona .section-label {
    text-align: center !important;
}

#como-funciona .step h3,
#como-funciona .step p {
    text-align: center !important;
}

#como-funciona .step {
    text-align: center !important;
}

/* 10. Testimonials - Horizontal Carousel */
#depoimentos {
    position: relative;
}

.testimonials-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid,
.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    position: relative;
    /* Ensure offsetLeft is relative to track */
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.testimonials-grid::-webkit-scrollbar,
.testimonials-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    /* Fixed width for carousel effect */
    flex: 0 0 auto;
    width: 380px;
    scroll-snap-align: center;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 2rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.testimonial-author strong {
    display: block;
    color: var(--color-primary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Navigation Arrows */
.carousel-nav,
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 86, 210, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    z-index: 10;
    pointer-events: auto;
    /* Ensure buttons are clickable */
}

.carousel-nav:hover,
.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev,
.carousel-btn.prev {
    left: -24px;
}

.carousel-nav.next,
.carousel-btn.next {
    right: -24px;
}

.carousel-nav i,
.carousel-btn i {
    font-size: 1.5rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {

    .testimonials-grid,
    .testimonials-carousel {
        gap: 1rem;
        padding: 0.5rem;
    }

    .testimonial-card {
        width: 320px;
        padding: 2rem;
    }

    .carousel-nav,
    .carousel-btn {
        display: none;
        /* Hide arrows on mobile, use swipe instead */
    }
}

/* 11. FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* Remove default triangle */
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-light);
    border-top: 1px solid #f1f5f9;
    margin-top: 0;
    /* Fix margin collapse */
    padding-top: 1rem;
}

/* 12. Contact Form */
.bg-gradient-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #002D62 100%);
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.contact-details li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    color: var(--color-text-main);
}

.contact-form-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-form-card p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

.form-legal {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1rem;
    color: var(--color-text-light);
}

/* 13. Footer */
.main-footer {
    background-color: var(--color-secondary);
    color: white;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    height: 30px;
    margin-bottom: 1rem;
    /* Removed filter to prevent white block on non-transparent logos */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-address {
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.footer-address i {
    color: var(--color-primary);
    margin-top: 3px;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-cyan);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: white;
    opacity: 0.8;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--color-cyan);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .social-proof-bar {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .steps-process {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    /* Testimonials Carousel (Mobile) */
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0 1rem;
        grid-template-columns: unset;
    }

    .testimonial-card {
        flex: 0 0 85%;
        max-width: 420px;
        scroll-snap-align: start;
    }

    /* Hide scrollbar for cleaner look */
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonials-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .sm-hidden {
        display: none;
    }

    /* Mobile Text Centering - Sobre Nós */
    #quem-somos .about-text .section-label,
    #quem-somos .about-text .section-title {
        text-align: center;
    }

    /* Mobile Text Centering - Cards "Expertise Técnica" e "Visão de Futuro" */
    #quem-somos .authority-grid {
        grid-template-columns: 1fr;
    }

    #quem-somos .auth-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #quem-somos .auth-item h4,
    #quem-somos .auth-item p {
        text-align: center;
    }

    /* Mobile Text Centering - Liderança (CEO) */
    #lideranca .ceo-info {
        text-align: center;
    }

    #lideranca .ceo-info .section-label,
    #lideranca .ceo-info .section-title,
    #lideranca .ceo-info .ceo-role {
        text-align: center;
    }

    /* Mobile Text Centering - Contato/CTA */
    #contato .contact-info {
        text-align: center;
    }

    #contato .contact-info h2,
    #contato .contact-info p {
        text-align: center;
    }

    #contato .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #contato .contact-details li {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
}

/* Extra Small Devices (375px and below) */
@media (max-width: 400px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .social-proof-bar {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .glass-card {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }

    .ceo-photo-wrapper {
        width: 160px;
        height: 160px;
    }

    /* Testimonials already handled in @media (max-width: 968px) */
}

/* ======================================
   TECH OVERLAY SYSTEM (Cyberpunk Light)
   ====================================== */

/* Base overlay setup for sections */
.hero-section,
#produtos,
#faq,
#contato {
    position: relative;
    overflow: hidden;
}

/* Ensure content stays above overlays */
.hero-section>*,
#produtos>*,
#faq>*,
#contato>* {
    position: relative;
    z-index: 2;
}

/* ---- HERO OVERLAYS (Watermark Style) ---- */

/* Background Image Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/banner_hadline.png') center center / cover no-repeat;
    opacity: 0.26;
    filter: blur(1px);
    pointer-events: none;
    z-index: 1;
}

/* Gradient Overlay (Maintains Contrast) */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(248, 249, 251, 0.6) 0%,
            rgba(235, 241, 246, 0.6) 100%);
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 1;
}

/* ---- PRODUTOS OVERLAY (Subtle Grid) ---- */
#produtos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 86, 210, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 86, 210, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
}

/* Glow accent */
#produtos::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 86, 210, 0.04), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ---- FAQ OVERLAY (Diagonal Lines) ---- */
#faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(135deg,
            transparent,
            transparent 40px,
            rgba(0, 86, 210, 0.015) 40px,
            rgba(0, 86, 210, 0.015) 41px);
    pointer-events: none;
    z-index: 1;
}

/* ---- CONTATO OVERLAY (HUD Corner Accents) ---- */
#contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/imagem_3.jpg') center/cover no-repeat;
    opacity: 0.28;
    z-index: 0;
}

/* Subtle grid for contato */
#contato::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 18, 45, 0.88) 0%,
            rgba(0, 18, 45, 0.70) 45%,
            rgba(0, 18, 45, 0.55) 100%);
    z-index: 1;
}

/* Ensure existing .hero-bg-overlay stays compatible */
.hero-bg-overlay {
    z-index: 0;
}

/* ======================================
   USER REQUESTED ADJUSTMENTS
   ====================================== */

/* AJUSTE 1: Justificar parágrafos */
.about-text p,
.ceo-info p,
.product-info p,
.feature-card p,
.step p,
.testimonial-text,
.faq-item p,
.contact-info p {
    text-align: justify;
}

/* AJUSTE 2: Hover para ícones de contato */
.contact-details a {
    display: inline-flex;
    transition: transform 0.2s ease, color 0.2s;
}

.contact-details a:hover {
    transform: translateY(-3px);
    color: var(--color-cyan);
}

/* AJUSTE 3: Espaçamento no Sobre Nós */
.about-text .section-title {
    margin-bottom: 2rem;
}

/* ======================================
   SCROLL REVEAL ANIMATIONS
   ====================================== */

/* Base config */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms ease, transform 600ms ease;
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform;
}

/* Visibility State */
/* Visibility State (User requested .is-visible) */
.is-visible {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    /* Extra safety */
}

/* Directions / Types */
.reveal-up {
    transform: translateY(14px);
}

.reveal-left {
    transform: translateX(-14px);
}

.reveal-right {
    transform: translateX(14px);
}

.reveal-scale {
    transform: scale(0.95);
}

/* Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ======================================
   MOBILE ADJUSTMENTS
   ====================================== */
@media (max-width: 768px) {
    .footer-address {
        justify-content: center;
        text-align: center;
    }
}