/* --- VARIÁVEIS E RESET --- */
:root {
    /* Paleta de Cores: Azul Marinho Profundo com Dourado/Cobre para sofisticação */
    --primary: #0f4c75;
    /* Azul Forte */
    --secondary: #3282b8;
    /* Azul Médio */
    --accent: #bbe1fa;
    /* Azul Claro/Gelo */
    --highlight: #d4a373;
    /* Tom Cobre/Dourado para detalhes */
    --dark: #1b262c;
    /* Quase Preto */
    --light: #f8f9fa;
    /* Branco Suave */
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: #444;
    overflow-x: hidden;
    line-height: 1.7;
}

/* --- TIPOGRAFIA --- */
h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--dark);
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--highlight);
    margin: 20px auto 0;
}

/* --- COMPONENTES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--dark);
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    border: 2px solid var(--dark);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    border-color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-light:hover {
    color: var(--white);
    border-color: var(--primary);
}

.section-padding {
    padding: 100px 0;
}

/* --- HEADER --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    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: height 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.logo i {
    font-size: 1.5rem;
    color: var(--highlight);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 76, 117, 0.85), rgba(27, 38, 44, 0.8)), 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;
}

.hero-content {
    color: var(--white);
    max-width: 700px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--white);
}

.hero h1 span {
    color: var(--highlight);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- DIFERENCIAIS (Cards Flutuantes) --- */
.features-section {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.4s;
    border-top: 5px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-15px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
}

/* --- SOBRE NÓS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50%;
    height: 50%;
    border-top: 5px solid var(--highlight);
    border-right: 5px solid var(--highlight);
    z-index: -1;
}

.about-text h3 {
    font-size: 1.2rem;
    color: var(--highlight);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* --- TRATAMENTOS (Grid Estiloso) --- */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    /* Gap pequeno para criar bordas */
    background-color: #eee;
    /* Cor das bordas */
    border: 1px solid #eee;
}

.service-item {
    background: var(--white);
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    background: #fdfdfd;
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 25px;
    display: inline-block;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* --- CONTATO E LOCALIZAÇÃO --- */
.contact {
    background: linear-gradient(to right, var(--dark) 40%, var(--primary) 100%);
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.contact-container {
    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);
    margin-bottom: 10px;
}

.contact-info .subtitle {
    color: var(--accent);
    margin-bottom: 40px;
    font-weight: 300;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--highlight);
}

.info-row i {
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--accent);
    width: 30px;
    text-align: center;
}

.info-row p {
    margin: 0;
    font-size: 0.95rem;
}

.info-row strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.map-frame {
    height: 100%;
    min-height: 400px;
    width: 100%;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Mapa estilizado */
}

/* --- FOOTER --- */
footer {
    background: #111;
    color: #888;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 20px;
    display: block;
}

.footer-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-item h4 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 30px;
    font-size: 0.8rem;
}

/* --- WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #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-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
}

/* --- ANIMAÇÕES --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .map-frame {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .navbar .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .footer-details {
        flex-direction: column;
        gap: 30px;
    }
}