/* --- VARIÁVEIS E CONFIGURAÇÕES GERAIS --- */
:root {
    --primary: #0047AB;
    /* Azul Cobalto - Profissionalismo */
    --primary-dark: #002e70;
    --secondary: #00BFFF;
    /* Azul Cielo - Higiene/Frescor */
    --accent: #E5E4E2;
    /* Platina/Prata - Modernidade */
    --text-main: #333333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --bg-gray: #f8f9fa;
    --gradient-hero: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
    --shadow-card: 0 10px 20px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* --- COMPONENTES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.4);
}

.section-padding {
    padding: 100px 0;
}

.title-group {
    text-align: center;
    margin-bottom: 60px;
}

.title-group span {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.title-group h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.title-group h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand i {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding-top: 90px;
}

/* Forma geométrica decorativa */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1600170311833-c2cf5280ce49?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 500px;
}

/* --- SERVIÇOS (Grid Moderno) --- */
.services {
    background-color: var(--bg-gray);
}

.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: 8px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    background: var(--secondary);
}

.icon-box i {
    font-size: 2rem;
    color: var(--primary);
    transition: 0.3s;
}

.service-card:hover .icon-box i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* --- SOBRE (Estilo Split) --- */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.about-image {
    height: 600px;
    background: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?q=80&w=2070&auto=format&fit=crop') center/cover;
    position: relative;
}

.about-content {
    padding: 80px 60px;
    background: var(--white);
}

.about-content h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    border-left: 3px solid var(--secondary);
    padding-left: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
}

/* --- LOCALIZAÇÃO (Dark Mode Style) --- */
.location {
    background-color: #1a1a1a;
    color: var(--white);
    position: relative;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.location-info {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--white);
}

.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 20px;
    margin-top: 5px;
}

.info-row h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--accent);
}

.map-frame {
    height: 100%;
    min-height: 500px;
    width: 100%;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Mapa estilizado escuro */
}

/* --- FOOTER --- */
footer {
    background: #0d0d0d;
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 3px solid var(--secondary);
}

.footer-brand {
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: inline-block;
}

.cnpj {
    margin-top: 10px;
    font-family: monospace;
    opacity: 0.6;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero::before {
        width: 100%;
        clip-path: none;
        opacity: 0.2;
        background-color: #000;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
        order: -1;
    }

    .location-container {
        grid-template-columns: 1fr;
    }

    .map-frame {
        height: 400px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        padding: 40px 20px;
    }

    .title-group h2 {
        font-size: 2rem;
    }
}

/* Animação Fade In */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}