/* --- CONFIGURAÇÕES GERAIS E VARIÁVEIS --- */
:root {
    /* Paleta: Roxo Real (Deep Purple), Dourado e Branco - Premium e Chamativo */
    --primary: #4a148c;
    /* Roxo Profundo */
    --primary-light: #7c43bd;
    /* Roxo Médio */
    --accent: #ffd700;
    /* Dourado Ouro */
    --accent-hover: #ffea00;
    --dark: #12005e;
    /* Roxo Quase Preto */
    --text-dark: #333;
    --text-light: #666;
    --bg-offwhite: #f3f4f6;
    --white: #ffffff;

    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    --shadow: 0 10px 30px rgba(74, 20, 140, 0.2);
    --radius: 8px;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* --- LAYOUT UTILS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

/* Linha decorativa dourada */
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-gold {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-gold:hover {
    background: var(--white);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* --- HEADER --- */
header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
    /* Dourado */
    margin-right: 5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION (Banner Principal) --- */
.hero {
    height: 100vh;
    /* Imagem de fundo premium */
    background: linear-gradient(rgba(18, 0, 94, 0.8), rgba(74, 20, 140, 0.7)), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=2068&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
    text-align: center;
}

/* Forma curva na parte inferior */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0% 100%);
}

.hero-content {
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInDown 1.2s ease;
}

.hero h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--accent);
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- CARDS DE SERVIÇOS EM GRID --- */
.services {
    background-color: var(--bg-offwhite);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 5px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top: 5px solid var(--accent);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- SOBRE (LAYOUT ASSIMÉTRICO) --- */
.about {
    background: var(--white);
    overflow: hidden;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 2;
    position: relative;
}

/* Quadrado decorativo roxo atrás da imagem */
.about-image::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--primary);
    top: -30px;
    left: -30px;
    border-radius: var(--radius);
    z-index: 1;
    opacity: 0.1;
}

.about-content h4 {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.af-item {
    display: flex;
    align-items: center;
}

.af-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 10px;
    background: rgba(74, 20, 140, 0.1);
    padding: 8px;
    border-radius: 50%;
}

/* --- CONTACT SECTION --- */
.contact {
    background: var(--primary);
    color: var(--white);
    padding: 0;
    /* Full width split */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.contact-info {
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.info-group {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.info-group i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 20px;
    margin-top: 5px;
}

.info-group h5 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ddd;
}

.info-group p {
    color: var(--white);
    font-size: 1.1rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%);
    /* Mapa um pouco dessaturado para combinar */
}

/* --- FOOTER --- */
footer {
    background: var(--dark);
    color: #aaa;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-cnpj {
    margin-bottom: 30px;
    font-family: monospace;
    color: #888;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }

    .hero::after {
        clip-path: polygon(0 100%, 100% 100%, 100% 90%, 0% 100%);
    }
}

@media (max-width: 768px) {
    .navbar .nav-menu {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 900;
    }

    .navbar .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding-top: 100px;
        height: auto;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* --- ANIMAÇÕES (Fade In) --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}