/* ==========================================================================
   CSS Variables & Theme
   Brand Colors: Dark Blue, Light Blue, Yellow/Gold, White
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-dark-base: #030712;
    /* Fundo extremamente escuro */
    --color-dark-surface: #0c1a31;
    /* Azul Escuro da logo para cards */
    --color-primary: #d6deed;
    /* Azul Claro da logo */
    --color-secondary: #faa536;
    /* Laranja da logo */
    --color-text-main: #F8FAFC;
    /* White */
    --color-text-muted: #b6bccb;
    /* Slate grayish blue */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), #113f7f);
    --gradient-gold: linear-gradient(135deg, var(--color-secondary), #d97706);
    --gradient-glass: linear-gradient(135deg, rgba(17, 63, 127, 0.15), rgba(12, 26, 49, 0.05));

    /* Effects */
    --glow-primary: 0 0 20px rgba(214, 222, 237, 0.5);
    --glow-secondary: 0 0 20px rgba(250, 165, 54, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark-base);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

#about {
    padding-top: 100px;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    color: var(--color-primary);
    text-shadow: var(--glow-primary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-title span {
    color: var(--color-primary);
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-dark-base);
    box-shadow: var(--glow-secondary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d97706, var(--color-secondary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(250, 165, 54, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background: rgba(214, 222, 237, 0.1);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

/* Glass Panels */
.glass-panel {
    background: var(--gradient-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(12, 26, 49, 0.85); /* Azul Escuro da logo */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(214, 222, 237, 0.05); /* Azul claro da logo */
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(214, 222, 237, 0.6));
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--color-primary);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
    box-shadow: var(--glow-primary);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    border: 1px solid var(--color-secondary);
    padding: 8px 20px;
    border-radius: 6px;
    color: var(--color-secondary) !important;
}

.btn-nav:hover {
    background: rgba(250, 165, 54, 0.1);
    box-shadow: var(--glow-secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(214, 222, 237, 0.15);
    border: 1px solid rgba(214, 222, 237, 0.4);
    border-radius: 30px;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.2;
    margin-bottom: 32px;
}

.hero-br {
    display: block;
}

@media (max-width: 768px) {
    .hero-br {
        display: none;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 26px;
    margin-top: 24px;
}

.hero-buttons .btn {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.hero-buttons .btn-primary {
    padding: 16px 28px;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.about-features i {
    color: var(--color-secondary);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(250, 165, 54, 0.4);
}

.main-glass-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(214, 222, 237, 0.2);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.main-glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.glass-icon {
    width: 80px;
    height: 80px;
    background: rgba(214, 222, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--color-primary);
    border: 1px solid rgba(214, 222, 237, 0.3);
    box-shadow: var(--glow-primary);
}

.main-glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.main-glass-card p {
    color: var(--color-text-muted);
}

.card-glow-effect {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--color-primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
}

/* Founder Card Styles */
.founder-card {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.founder-image-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin-bottom: 12px;
    border-radius: 50%;
    z-index: 1;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(250, 165, 54, 0.6); /* Gold border */
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
}

.founder-card:hover .founder-img {
    transform: scale(1.08) rotate(3deg);
    border-color: var(--color-secondary);
}

.founder-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-gold);
    filter: blur(25px);
    opacity: 0.5;
    z-index: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.founder-card:hover .founder-glow {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.2);
}

.founder-name {
    font-size: 1.8rem;
    color: var(--color-text-main);
    margin-bottom: 0;
    z-index: 2;
    text-align: center;
}

.founder-title {
    color: var(--color-secondary) !important;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    z-index: 2;
    text-align: center;
}

.founder-btn {
    border-radius: 30px;
    padding: 12px 28px;
    font-size: 0.95rem;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    align-self: center !important;
    gap: 10px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-btn i {
    font-size: 1.2rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .service-card {
        grid-column: span 2;
    }
    /* "Consultoria e Planejamento" & "Automação de Processos" expand to fill row */
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 3;
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--color-primary);
    text-shadow: var(--glow-primary);
}

.service-card h3 {
    font-size: 1.4rem;
}

.service-card p {
    color: var(--color-text-muted);
    flex-grow: 1;
}

.card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.4s ease;
    box-shadow: var(--glow-primary);
}

.service-card:hover .card-border {
    width: 100%;
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.news-slider-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.news-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.news-card {
    min-width: 300px;
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.news-card:active {
    cursor: grabbing;
}

.news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.news-content h3 {
    font-size: 1.3rem;
    color: var(--color-text-main);
}

.news-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    align-self: flex-start;
    margin-top: 10px;
}

.btn-sm i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-sm:hover i {
    transform: translateX(4px);
}

.slider-controls {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 15px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(17, 63, 127, 0.3);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-primary);
}

.slider-btn:hover {
    background: var(--color-primary);
    color: var(--color-dark-base);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .news-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .news-card {
        flex: 0 0 calc(100% - 10px);
        min-width: 260px;
    }
}

/* ==========================================================================
   Connected / Social Section
   ========================================================================== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) translateZ(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.social-card:hover {
    transform: perspective(1000px) translateZ(20px) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.social-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.social-card:hover .social-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

.social-card h3 {
    color: var(--color-text-main);
    font-size: 1.4rem;
    margin-bottom: 8px;
    z-index: 2;
}

.social-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    z-index: 2;
}

/* Platform Colors & Glows */
.social-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.social-card:hover .social-glow {
    opacity: 0.4;
}

/* LinkedIn */
.linkedin { color: #0077B5; }
.social-card:hover .linkedin { background: rgba(0, 119, 181, 0.1); border-color: rgba(0, 119, 181, 0.5); text-shadow: 0 0 15px rgba(0, 119, 181, 0.8); }
.linkedin-glow { background: #0077B5; }
.social-card:hover:nth-child(1) { border-color: rgba(0, 119, 181, 0.3); }

/* Instagram */
.instagram { color: #E1306C; }
.social-card:hover .instagram { background: rgba(225, 48, 108, 0.1); border-color: rgba(225, 48, 108, 0.5); text-shadow: 0 0 15px rgba(225, 48, 108, 0.8); }
.instagram-glow { background: #E1306C; }
.social-card:hover:nth-child(2) { border-color: rgba(225, 48, 108, 0.3); }

/* Google */
.google { color: #DB4437; }
.social-card:hover .google { background: rgba(219, 68, 55, 0.1); border-color: rgba(219, 68, 55, 0.5); text-shadow: 0 0 15px rgba(219, 68, 55, 0.8); }
.google-glow { background: #DB4437; }
.social-card:hover:nth-child(3) { border-color: rgba(219, 68, 55, 0.3); }

/* Reclame Aqui */
.reclameaqui { color: #5CB85C; }
.social-card:hover .reclameaqui { background: rgba(92, 184, 92, 0.1); border-color: rgba(92, 184, 92, 0.5); text-shadow: 0 0 15px rgba(92, 184, 92, 0.8); }
.ra-glow { background: #5CB85C; }
.social-card:hover:nth-child(4) { border-color: rgba(92, 184, 92, 0.3); }

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px;
    border: 1px solid rgba(250, 165, 54, 0.2);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: var(--color-secondary);
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.detail-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-item a i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-item a:hover {
    color: var(--color-secondary);
    text-shadow: var(--glow-secondary);
    transform: translateX(6px);
}

.detail-item a:hover i {
    background: rgba(250, 165, 54, 0.15);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--glow-secondary);
}

.detail-item i {
    width: 40px;
    height: 40px;
    background: rgba(214, 222, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    border: 1px solid rgba(214, 222, 237, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 8px;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: rgba(250, 165, 54, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
    box-shadow: var(--glow-secondary);
}

.input-group input:focus~.input-border,
.input-group textarea:focus~.input-border {
    width: 100%;
}

.btn-block {
    width: 100%;
    font-size: 1.1rem;
    gap: 10px;
}

/* Success Message Contact Form Styles */
.contact-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    background: rgba(250, 165, 54, 0.03);
    border: 1px solid rgba(250, 165, 54, 0.15);
    border-radius: 12px;
    animation: successFadeIn 0.5s ease-out forwards;
}

.contact-success-message.active {
    display: flex;
}

.contact-success-message .btn {
    align-self: center;
    margin: 15px auto 0;
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(250, 165, 54, 0.1);
    border: 1px solid rgba(250, 165, 54, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    box-shadow: var(--glow-secondary);
    animation: successPulseGlow 2s infinite;
}

.contact-success-message h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--color-text-main);
}

.contact-success-message p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 320px;
    margin-bottom: 10px;
}

@keyframes successPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 165, 54, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(250, 165, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(250, 165, 54, 0);
    }
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(17, 63, 127, 0.2); /* Fundo com Azul oficial da logo */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.footer-social a:hover {
    background: rgba(214, 222, 237, 0.1);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
    order: 2;
}

.footer-logo {
    order: 1;
}

.footer-social {
    order: 3;
}

/* ==========================================================================
   Animations & Scroll Reveal
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.active.fade-in,
.active.reveal-up,
.active.reveal-left,
.active.reveal-right {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 40px 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s ease;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .nav-actions {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        max-width: 280px;
    }

    .section {
        padding: 60px 0;
    }
    
    .main-glass-card {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-btn-text {
        display: none;
    }
    .mobile-only {
        padding: 8px;
        border-radius: 50%;
    }
    .mobile-only i {
        font-size: 1.2rem;
        margin: 0;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .founder-image-wrapper {
        width: 180px;
        height: 180px;
    }
    .founder-card {
        padding: 30px 15px;
    }
    .contact-box {
        padding: 30px 15px;
    }
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float i {
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Pulsing background effect */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.75;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Interactive Hover effects */
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

.whatsapp-float:hover i {
    transform: rotate(15deg);
}

/* Elegant Text Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: rgba(3, 7, 18, 0.9);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide tooltip on touch devices to avoid layout clutter */
    }
}

/* ==========================================================================
   News Full-Screen Modal
   ========================================================================== */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.news-modal.active {
    opacity: 1;
    visibility: visible;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.news-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: rgba(12, 26, 49, 0.7);
    border: 1px solid rgba(250, 165, 54, 0.3);
    border-radius: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.news-modal.active .news-modal-content {
    transform: scale(1) translateY(0);
}

/* Custom Scrollbar for Modal */
.news-modal-content::-webkit-scrollbar {
    width: 8px;
}
.news-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 24px 24px 0;
}
.news-modal-content::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.news-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid rgba(214, 222, 237, 0.2);
    color: var(--color-text-main);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.news-modal-close:hover {
    background: var(--color-secondary);
    color: var(--color-dark-base);
    transform: rotate(90deg);
    border-color: var(--color-secondary);
}

.news-modal-image {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(250, 165, 54, 0.3);
}

.news-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(12, 26, 49, 0.9), transparent);
}

.news-modal-body {
    padding: 40px;
}

#news-modal-title {
    font-size: 2.2rem;
    color: var(--color-text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-modal-meta {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-modal-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-modal-text p {
    margin-bottom: 20px;
}

.news-modal-text h4 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .news-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .news-modal-image {
        height: 250px;
    }
    
    .news-modal-body {
        padding: 25px;
    }
    
    #news-modal-title {
        font-size: 1.8rem;
    }
}


.news-modal.hidden {
    display: none;
}
