/* CSS Variables */
:root {
    --bg-main: #ffffff;
    --bg-light: #f8f8f8;
    
    --text-main: #111111;
    --text-muted: #555555;
    
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #128C7E;
    --color-accent: #a0a0a0; /* Cinza claro elegante */
    
    /* Typography - Serif + Sans Pair */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Quicksand', sans-serif;
    --font-label: 'Quicksand', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 em, h2 em, h3 em {
    font-style: italic;
    font-weight: 500;
    color: var(--color-accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.text-center { text-align: center; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-label);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 12px;
}

.btn i {
    font-size: 1.25rem;
}

.btn-whatsapp-subtle {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-whatsapp-subtle:hover {
    background-color: var(--text-main);
    color: var(--bg-main);
}

.btn-whatsapp-large {
    background-color: var(--color-whatsapp);
    color: #ffffff;
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    border-radius: 50px; /* Modern rounded CTA */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-large:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.75rem 0;
    transition: var(--transition);
    /* Fundo movido para pseudo-elemento para consertar o mix-blend-mode da logo */
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: -1;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0; 
}

.navbar.scrolled::before {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: rgba(255, 255, 255, 0.85); /* Fundo translúcido */
    backdrop-filter: blur(16px); /* Efeito de vidro isolado */
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.logo-img {
    height: 70px;
    width: auto;
    filter: url(#remove-white); /* Remove fundo branco via SVG e mantem logo preta pura */
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 55px; /* Logo diminui ao rolar a página para não atrapalhar a visão */
    /* mix-blend-mode: darken; pode ser usado como fallback se multiply falhar */
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-family: var(--font-body);
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 700;
}

/* Hero Section */
.hero {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh; /* Otimização para celulares de tela infinita (ex: iPhone) */
    padding-top: 7rem; /* navbar height + breathing room */
    position: relative;
}

.scroll-indicator {
    position: absolute;
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); /* Respeita a barra inferior (Home Indicator) */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--text-main);
    animation: bounce 2s infinite;
    z-index: 10;
    opacity: 0.6;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.hero-content {
    max-width: 600px;
    opacity: 0;
    animation: heroFadeUp 1s ease 0.2s forwards;
}

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-right {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: heroRevealRight 1s ease 0.4s forwards;
}

@keyframes heroRevealRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-img {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
}

/* 3D Floating & Shadow Effects */
.floating-object {
    animation: float-obj 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.object-shadow {
    width: 350px;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    margin-top: -30px;
    animation: shadow-scale 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float-obj {
    0% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0); }
}

@keyframes shadow-scale {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.7); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    height: 600px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.about-stats {
    display: flex;
    gap: 4rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    font-weight: 300;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.service-item {
    padding-bottom: 2rem;
}

.service-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 24px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

.service-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content i {
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Location Card */
.location-wrapper {
    display: flex;
    background-color: var(--bg-main);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15); /* Sombra mais forte para destacar no fundo branco */
    min-height: 550px;
    border: 1px solid rgba(0,0,0,0.05); /* Borda muito sutil para ajudar a delinear */
}

.location-text {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.location-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.loc-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.loc-list-item:last-child {
    margin-bottom: 0;
}

.loc-icon {
    width: 44px;
    height: 44px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.loc-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.loc-info strong {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.loc-info span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.loc-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.loc-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-main);
}

.loc-socials a:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
}

.location-map {
    flex: 1;
    min-height: 100%;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 550px;
    border: none;
    display: block;
}

/* Contact CTA */
.contact-cta {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-details-inline {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.contact-details-inline .divider {
    width: 4px;
    height: 4px;
    background-color: #cccccc;
    border-radius: 50%;
}

.contact-details-inline strong {
    color: var(--text-main);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid #eeeeee;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-left { padding: 0 2rem; }
    .hero-title { font-size: 3rem; }
    
    .about-wrapper { gap: 3rem; }
    .about-image { height: 500px; }
}

@media (max-width: 991px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero {
        flex-direction: column;
        padding-top: 7rem;
    }
    
    .hero-left {
        padding: 1rem 2rem calc(5rem + env(safe-area-inset-bottom, 0px));
        order: 2;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-right {
        order: 1;
        min-height: 250px; /* Bem menor */
        padding-top: 1rem;
    }

    .hero-img {
        max-width: 250px; /* Imagem reduzida para não ocupar a tela toda */
    }

    .object-shadow {
        width: 150px;
        margin-top: -10px;
    }
    
    .about-wrapper, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .location-wrapper {
        flex-direction: column;
    }
    .location-text {
        padding: 3rem 1.5rem 2.5rem 1.5rem;
    }
    .location-text h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .location-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .loc-list-item {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    .location-map {
        width: 100%;
        min-height: 350px;
    }
    .location-map iframe {
        min-height: 350px;
    }
    
    .about-image { height: 400px; order: -1; }
    
    .cta-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    /* Contato Mobile Resumido */
    #contato { padding: 4rem 0; }
    .cta-desc { display: none; }
    
    .section { padding: 5rem 0; }
    
    .hero-left { padding: 1rem 1.5rem calc(5rem + env(safe-area-inset-bottom, 0px)); }
    .hero-title { font-size: 1.85rem; margin-bottom: 0.5rem; }
    .hero-subtitle { margin-bottom: 1.5rem; font-size: 0.95rem; }
    
    .about-text h2, .section-header h2 { font-size: 2rem; }
    .about-text p { font-size: 1rem; }
    
    .location-text h2 { font-size: 1.85rem; margin-bottom: 1rem; }
    .cta-title { font-size: 2rem; }
    
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-number { font-size: 4rem; }
    
    .service-img-wrapper { height: 220px; }
    
    /* Otimização Localização Mobile */
    .location-wrapper { 
        min-height: auto;
        border-radius: 16px;
    }
    
    .location-text { 
        padding: 2.5rem 1.5rem; 
    }
    
    .location-text p { 
        margin-bottom: 2rem; 
    }
    
    .location-list {
        display: block;
    }

    .location-map { 
        height: 350px; 
        min-height: auto; 
    }
    .location-map iframe {
        min-height: 350px;
    }

    
    .contact-details-inline {
        display: none; /* Escondido no mobile para ficar mais resumido */
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
