/* --- VARIÁVEIS DE CORES E RESET --- */
:root {
    /* Paleta de Cores: Azul Profundo e Turquesa Vibrante */
    --primary-color: #003366;
    /* Azul Marinho - Confiança */
    --accent-color: #00d2d3;
    /* Turquesa - Modernidade e Frescor */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, #00509d 100%);
    --shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TIPOGRAFIA --- */
h1,
h2,
h3,
h4 {
    font-family: 'Roboto Slab', serif;
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 210, 211, 0.4);
    cursor: pointer;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* --- HEADER E NAVEGAÇÃO --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 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;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    color: var(--white);
    max-width: 700px;
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- SERVIÇOS (Grid) --- */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 15px;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover i {
    color: var(--white);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- SOBRE (Destaque) --- */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Elemento decorativo */
.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: repeating-linear-gradient(45deg, var(--accent-color), var(--accent-color) 2px, transparent 2px, transparent 10px);
    z-index: -1;
    border-radius: 10px;
}

.about-content h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.features-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* --- LOCALIZAÇÃO --- */
.location {
    background-color: #0d1b2a;
    /* Azul muito escuro */
    color: var(--white);
    position: relative;
}

.location-grid {
    display: grid;
    grid-template-columns: 40% 60%;
}

.location-info {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h2 {
    color: var(--white);
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-card h4 {
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: #ccc;
    padding: 40px 0;
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent-color);
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- BOTÃO FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* --- ANIMAÇÕES --- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
        min-height: auto;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}