/* --- RESET E VARIÁVEIS --- */
:root {
    /* Paleta Sofisticada */
    --primary: #264653;
    /* Azul Petróleo Profundo */
    --secondary: #e9c46a;
    /* Dourado/Champanhe */
    --accent: #2a9d8f;
    /* Verde Esmeralda Suave */
    --bg-light: #fdfcfb;
    /* Off-white */
    --bg-dark: #1d3540;
    --text-main: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #1a3a45 100%);
    --shadow: 0 10px 40px rgba(38, 70, 83, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- TIPOGRAFIA --- */
h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.section-title span {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 3rem;
    line-height: 1.1;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    display: block;
    margin: 20px auto 0;
}

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary);
    color: var(--primary);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    border: 2px solid var(--secondary);
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--secondary);
}

.btn:hover::before {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    color: var(--primary);
}

.btn-outline::before {
    background: var(--white);
}

/* --- LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

nav {
    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;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: var(--secondary);
    margin-top: 5px;
    text-align: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(29, 53, 64, 0.7), rgba(29, 53, 64, 0.6)), url('https://images.unsplash.com/photo-1606811971618-4486d14f3f99?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease;
}

.hero h1 {
    color: var(--white);
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

/* --- SOBRE (Grid Split) --- */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 5px;
}

.about-bg-accent {
    position: absolute;
    top: 40px;
    right: -40px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    z-index: -1;
    border-radius: 5px;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* --- SERVIÇOS (Cards Elegantes) --- */
.services {
    background-color: var(--bg-dark);
    padding: 100px 0;
    color: var(--white);
}

.services .section-title h2 {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    transition: transform 0.3s, background 0.3s;
    position: relative;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
}

.service-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* --- DIFERENCIAIS (Barra Horizontal) --- */
.stats {
    background-color: var(--secondary);
    padding: 60px 0;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 700;
    color: var(--bg-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* --- LOCALIZAÇÃO & CONTATO --- */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    box-shadow: var(--shadow);
    background: var(--white);
}

.contact-info {
    background: var(--primary);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 40px;
}

.info-row {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-row i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-right: 20px;
    margin-top: 5px;
}

.info-row p {
    font-size: 1rem;
    opacity: 0.9;
}

.info-row strong {
    display: block;
    margin-bottom: 5px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%) contrast(1.1);
}

/* --- FOOTER --- */
footer {
    background: #111;
    color: #888;
    padding: 80px 0 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #888;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.bottom-bar {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* --- ANIMAÇÕES --- */
@keyframes fadeInUp {
    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);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img-wrapper {
        margin-bottom: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-bg-accent {
        right: 10px;
        top: 10px;
        width: 95%;
        height: 95%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .contact-info {
        padding: 40px 20px;
    }
}