/* ===== VARIABLES ===== */
:root {
    /* Colors - Baseado na logo STG azul */
    --primary-color: #2B4C8F; /* Azul da logo STG */
    --secondary-color: #3D5FA8; /* Azul médio */
    --accent-color: #5B7EC8; /* Azul claro */
    --dark-bg: #f8fafc; /* Fundo claro */
    --darker-bg: #ffffff; /* Fundo branco */
    --text-primary: #1e293b; /* Texto escuro */
    --text-secondary: #475569; /* Texto secundário */
    --text-light: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    --h1-size: 3.5rem;
    --h2-size: 2.5rem;
    --h3-size: 1.75rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== REUSABLE CLASSES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: var(--h2-size);
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section__subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: var(--normal-size);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(43, 76, 143, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(43, 76, 143, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.25rem;
}

.btn-full {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header.scroll-header {
    background-color: #000000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.nav__logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav__list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: #ffffff;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(43, 76, 143, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(43, 76, 143, 0.05) 0%, transparent 50%);
}

.hero__container {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero__content {
    max-width: 700px;
    margin-bottom: 4rem;
}

.hero__title {
    font-size: var(--h1-size);
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero__description--highlight {
    font-size: 1.35rem;
    padding: 1.5rem;
    background: rgba(43, 76, 143, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
}

.hero__description--highlight strong {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(43, 76, 143, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: #ffffff;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__heading {
    font-size: var(--h3-size);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(43, 76, 143, 0.1), rgba(91, 126, 200, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(43, 76, 143, 0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.service-title {
    font-size: 1.375rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== DIFFERENTIALS SECTION ===== */
.differentials {
    padding: var(--section-padding);
    background: #ffffff;
}

.differentials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.differential-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.differential-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(43, 76, 143, 0.12);
}

.differential-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(43, 76, 143, 0.1);
    line-height: 1;
}

.differential-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.differential-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__heading {
    font-size: var(--h3-size);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact__text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(43, 76, 143, 0.1);
    transform: translateY(-3px);
}

.contact-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(43, 76, 143, 0.25);
}

.contact-item-content {
    flex: 1;
}

.contact-item-content h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.contact-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(43, 76, 143, 0.08);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-action-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateX(5px);
}

.contact-action-link i {
    font-size: 1rem;
}

.contact__form {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--normal-size);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer__logo .logo-img {
    height: 45px;
    width: auto;
}

.footer__description {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(43, 76, 143, 0.1);
    border: 1px solid #475569;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer__title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a,
.footer__contact li {
    color: #cbd5e1;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer__links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__contact i {
    color: var(--accent-color);
    font-size: 1rem;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer__legal {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
}

.footer__legal a {
    color: #94a3b8;
    transition: var(--transition);
}

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

.footer__legal span {
    color: #475569;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --h3-size: 1.5rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #000000;
        backdrop-filter: blur(10px);
        padding: 4rem 2rem;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

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

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

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

    .whatsapp-float {
        bottom: 6rem;
        left: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}