/* ==========================================================================
   RESET E BLINDAGEM ANTI-OVERFLOW
   ========================================================================== */

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

html {
    overflow-x: hidden !important;
    width: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0d1117;
    color: #e6edf3;
    line-height: 1.6;
    padding-top: 80px;
}

img, svg, video, canvas {
    max-width: 100% !important;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6, p, a, span, label, li {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* ==========================================================================
   CONTAINERS
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

section {
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

/* ==========================================================================
   COMPONENTES E BOTÕES
   ========================================================================== */

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(56, 139, 253, 0.2);
    color: #58a6ff;
    border: 1px solid rgba(56, 139, 253, 0.5);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 100%;
    text-align: center;
    backdrop-filter: blur(4px);
}

.btn-primary {
    display: inline-block;
    background-color: #1f6feb;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    max-width: 100%;
}

.btn-primary:hover {
    background-color: #388bfd;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 111, 235, 0.4);
}

/* Botão verde específico do WhatsApp */
.btn-whatsapp-custom {
    background-color: #238636 !important;
}

.btn-whatsapp-custom:hover {
    background-color: #2ea043 !important;
    box-shadow: 0 4px 15px rgba(46, 160, 67, 0.4) !important;
}

.btn-secondary {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.05);
    color: #c9d1d9;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    text-align: center;
    max-width: 100%;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   NAVBAR / HEADER & MENU MOBILE
   ========================================================================== */

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(22, 27, 34, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.site-logo:hover {
    opacity: 0.85;
}

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

.nav-links a:not(.btn-primary) {
    color: #e6edf3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.nav-links a:not(.btn-primary):hover {
    color: #58a6ff;
}

/* Ícone do Hambúrguer (Oculto no Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    padding: 140px 0 120px;
    text-align: center;
    background-color: #0d1117;
}

.hero-growth-bg {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.82) 0%, rgba(13, 17, 23, 0.92) 80%, #0d1117 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #ffffff;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.15rem;
    color: #c9d1d9;
    max-width: 780px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ==========================================================================
   FAIXA DE MÉTRICAS & GROWTH STATS
   ========================================================================== */

.growth-stats {
    padding: 40px 0;
    background: rgba(22, 27, 34, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 15px;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #58a6ff;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.stat-card p {
    color: #8b949e;
    font-size: 0.95rem;
}

/* ==========================================================================
   SEÇÃO SOBRE & EXPERIÊNCIA EXECUTIVA
   ========================================================================== */

.about {
    background-color: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-text p {
    color: #8b949e;
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.experience-highlights {
    margin: 24px 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exp-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #c9d1d9;
    font-size: 0.95rem;
    background: rgba(13, 17, 23, 0.4);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.exp-bullet {
    color: #3fb950;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.btn-linkedin {
    margin-top: 5px;
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    position: relative;
    background-color: #161b22;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-bg-traffic {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=800&auto=format&fit=crop');
}

.card-bg-consulting {
    background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?q=80&w=800&auto=format&fit=crop');
}

.card-bg-crm {
    background-image: url('https://images.unsplash.com/photo-1531403009284-440f080d1e12?q=80&w=800&auto=format&fit=crop');
}

.card-bg-audit {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=800&auto=format&fit=crop');
}

.card-bg-branding {
    background-image: url('https://images.unsplash.com/photo-1600132806370-bf17e65e942f?q=80&w=800&auto=format&fit=crop');
}

.card-bg-web {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=800&auto=format&fit=crop');
}

.card-bg-mentorship {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=800&auto=format&fit=crop');
}

.card-bg-seo {
    background-image: url('https://images.unsplash.com/photo-1572177812156-58036aae439c?q=80&w=800&auto=format&fit=crop');
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.4) 0%, rgba(13, 17, 23, 0.88) 65%, #0d1117 100%);
    transition: background 0.3s ease;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px 22px;
    width: 100%;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.card p {
    color: #c9d1d9;
    font-size: 0.93rem;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 139, 253, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.card:hover .card-overlay {
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.2) 0%, rgba(13, 17, 23, 0.82) 60%, #0d1117 100%);
}

/* ==========================================================================
   CONTATO
   ========================================================================== */

.contact {
    background: radial-gradient(circle at 80% 50%, rgba(31, 111, 235, 0.12), transparent 60%), #161b22;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info.glass-card-info {
    background: rgba(13, 17, 23, 0.60);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.contact-info p {
    color: #8b949e;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.info-list {
    list-style: none;
    margin-bottom: 20px;
}

.info-list li {
    margin-bottom: 18px;
    color: #c9d1d9;
    font-size: 0.95rem;
    line-height: 1.4;
}

.info-list strong {
    color: #58a6ff;
    display: inline-block;
    margin-bottom: 2px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.contact-badges-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-badge {
    font-size: 0.8rem;
    color: #3fb950;
    background: rgba(46, 160, 67, 0.12);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(46, 160, 67, 0.3);
    font-weight: 500;
}

.contact-form.glass-card {
    background: rgba(13, 17, 23, 0.60);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-group {
    margin-bottom: 14px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #c9d1d9;
    font-weight: 500;
    font-size: 0.88rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    background-color: rgba(22, 27, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #388bfd;
    background-color: rgba(22, 27, 34, 0.9);
    box-shadow: 0 0 0 3px rgba(56, 139, 253, 0.25);
}

.form-group select option {
    background-color: #161b22;
    color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: #0b0e14;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 60px;
    color: #8b949e;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #8b949e;
    font-size: 0.9rem;
    max-width: 320px;
    line-height: 1.5;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #58a6ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #6e7681;
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVIDADE & MENU MOBILE
   ========================================================================== */

@media (max-width: 992px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background-color: rgba(13, 17, 23, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left 0.35s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a:not(.btn-primary) {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .nav-links .btn-primary {
        width: 80%;
        max-width: 280px;
        text-align: center;
        padding: 14px;
        font-size: 1.1rem;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 65px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    section {
        padding: 40px 0;
    }

    .site-logo {
        height: 30px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .btn-large {
        padding: 14px 20px;
        font-size: 0.95rem;
        width: 100%;
    }

    .contact-form.glass-card,
    .contact-info.glass-card-info {
        padding: 25px 18px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .about-text h2, 
    .contact-info h2, 
    .section-title {
        font-size: 1.75rem;
    }

    .site-footer {
        padding-top: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 0.85rem;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .footer-col ul li {
        margin-bottom: 8px;
    }

    .footer-col ul li a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 15px 0;
    }
}