/* --- VARIÁVEIS & RESET --- */
:root {
    /* Paleta Rivera: Azul Marinho Profundo e Dourado/Bege para sofisticação */
    --primary: #1a3c5e;
    /* Azul Marinho */
    --secondary: #c5a059;
    /* Dourado Fosco */
    --accent: #e8f1f5;
    /* Azul Gelo */

    --dark: #121212;
    --light: #f8f9fa;
    --white: #ffffff;
    --text-gray: #4a4a4a;

    --gradient-main: linear-gradient(135deg, #1a3c5e, #2c537d);
    --gradient-gold: linear-gradient(135deg, #c5a059, #e6c88b);

    --shadow-soft: 0 10px 40px rgba(26, 60, 94, 0.1);
    --shadow-card: 0 10px 20px rgba(0, 0, 0, 0.05);

    --radius: 8px;
    --transition: all 0.3s ease-in-out;
}

* {
    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;
    background-color: var(--white);
    color: var(--text-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    /* Bordas mais quadradas para elegância */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 60, 94, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--primary);
}

/* --- HEADER --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #f8f9fa 50%, #e8f1f5 50%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-text {
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary);
}

.hero-text h1 span {
    color: var(--secondary);
    font-style: italic;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-img {
    position: relative;
    height: 100%;
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: -20px 20px 0 var(--secondary);
}

/* --- SECTION TITLE --- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto 0;
}

/* --- SERVICES (Grid Moderno) --- */
.services {
    background-color: var(--white);
}

.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: var(--shadow-card);
    border-top: 4px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--secondary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    background: var(--accent);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

/* --- CONTACT & LOCATION --- */
.contact {
    background-color: #f4f6f8;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-info {
    padding: 60px 40px;
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Pattern sutil no fundo */
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.contact-info h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.info-group {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
    font-weight: 700;
}

.info-value {
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.5;
}

.info-value i {
    margin-top: 5px;
    color: var(--secondary);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary);
    color: #d1d9e0;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
    margin-bottom: 30px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--secondary);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d9e0;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.company-data p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #aab6c2;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #7a8b9c;
}

/* --- 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: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero {
        background: var(--accent);
        padding-top: 100px;
        height: auto;
        padding-bottom: 50px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-padding {
        padding: 60px 0;
    }
}