:root {
    --bg-color: #ffffff;
    --bg-alt: #f5f5f5;
    --text-main: #1e1e1e;
    --text-muted: #666666;
    --accent: #DFC89A; 
    --accent-hover: #c8b284;
    --whatsapp: #25D366;
    --border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Evita que o header cubra outras seções ao clicar nos links */
}

/* Global Typography standardization */
h1 {
    font-size: 32px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 20px;
}
p {
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    text-align: left;
}

/* Screen Reader Only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #1e1e1e;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-reveal-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.preloader-logo-base {
    width: 100%;
    height: 100%;
    opacity: 0.1;
    filter: grayscale(100%);
    display: block;
}

.preloader-logo-reveal {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(100% 0 0 0); /* Esconde de cima pra baixo. 100% = totalmente escondido */
    display: block;
}

#preloader-counter {
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Header & Navbar */
.header {
    background: #1e1e1e;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    border-bottom: 1px solid var(--accent);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar {
    justify-self: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    justify-self: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: 45px;
    display: block;
}

.menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1e1e1e;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--accent);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #bfa87a;
}

.header-action {
    justify-self: flex-end;
}

.header-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    border: none;
    padding: 0.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.header-whatsapp-text {
    display: none;
}

.header-whatsapp-btn:hover {
    background: var(--accent);
    color: #1e1e1e;
}

/* Typography & Layout */
.section {
    padding: 50px 1.5rem;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    text-align: left;
}

h2 {
    margin-bottom: 30px;
    color: var(--text-main);
    text-align: left;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 10px 0 0 0;
    border-radius: 5px;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 1.5rem; /* Padrão 50px sup e inf */
    background: radial-gradient(circle at center, rgba(223,200,154,0.15) 0%, rgba(255,255,255,1) 80%);
}

.hero-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    text-align: left;
}

.hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px; /* Padrão 30px */
}

.hero h1 {
    line-height: 1.2;
    margin-bottom: 0;
    font-weight: 800;
    color: var(--text-main);
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 400px; /* limits the image size on mobile/desktop */
}

.hero-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}

/* Buttons */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    background: #1e1e1e;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
    border: 1px solid var(--accent);
    cursor: pointer;
}

.cta-button svg, .instagram-button svg {
    flex-shrink: 0;
}

.cta-button:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}


/* Grid & Cards */
.grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 8px 0 0 0;
    border-radius: 5px;
}

.card p {
    color: var(--text-muted);
}

/* Cidades */
.cidades-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cidades-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cidades-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.cidade-cta-block {
    margin-top: 0;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.cidade-cta-block p {
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-main);
}

/* Tags Unificadas (Cidades e Portfólio) */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card-tag {
    background: rgba(223, 200, 154, 0.25);
    color: #1e1e1e;
    border: 1px solid rgba(30, 30, 30, 0.4);
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-weight: 700;
    text-transform: capitalize;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card-tag:hover {
    transform: translateY(-3px);
}

/* Depoimentos / Google Reviews */
.testimonial {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stars {
    margin-bottom: 30px;
    display: flex;
    gap: 4px;
    color: var(--accent);
}

.author {
    display: block;
    margin-top: 30px;
    color: var(--text-main);
    font-weight: 700;
}

.google-review-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #1e1e1e;
    border: 1px solid #1e1e1e;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.google-review-btn:hover {
    transform: translateY(-3px);
}

.google-review-wrapper {
    text-align: center;
    margin-top: 30px;
}
/* FAQ (Accordion) */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}


.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* Footer / CTA Final */
.footer {
    background: var(--text-main);
    padding: 50px 1.5rem 3rem;
    text-align: left;
    border-top: 5px solid var(--accent);
}

.footer h2 {
    color: #fff;
    margin-bottom: 30px;
}
.footer h2::after {
    display: none;
}

.footer > p {
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.instagram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.instagram-button:hover {
    background: var(--accent);
    color: #1e1e1e;
}

.footer-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: #999;
}

.footer-info p strong {
    color: var(--accent);
}

.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #aaaaaa;
}

.developer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #aaaaaa;
}


/* Mobile First -> Desktop */
@media (min-width: 768px) {
    .header {
        height: 10vh;
        padding: 0 2rem;
        display: flex;
        justify-content: space-between;
    }
    
    .logo {
        order: -1;
    }
    
    .section {
        padding: 100px 2rem;
    }
    
    .footer {
        padding: 5rem 2rem 3rem;
    }

    .section, .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cidades-content {
        justify-content: center;
    }
    
    .cidades-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
        gap: 50px;
    }
    
    .hero {
        height: 90vh;
        min-height: 90vh;
        padding: 2rem;
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        width: auto;
        padding: 0;
        border: none;
    }
    
    .footer-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .google-review-btn, .instagram-button {
        display: inline-flex;
        width: auto;
    }
    
    .header-whatsapp-btn {
        padding: 0.5rem 1.2rem;
        background: #1e1e1e;
        color: var(--accent);
        border: 1px solid var(--accent);
    }
    
    .header-whatsapp-text {
        display: inline;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
        gap: 50px;
    }
    
    .cidades-wrapper {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        gap: 50px;
    }
    
    .cidades-content {
        flex: 1;
        padding-right: 2rem;
        justify-content: center; /* Centraliza verticalmente o texto para bater com a altura do mapa */
    }
    
    .map-container {
        flex: 1;
        min-height: 350px;
    }
    
    .map-container iframe {
        height: 100%;
    }
    
    .map-container iframe {
        height: 100%;
    }
    
    .cta-button {
        display: inline-flex;
        width: auto;
    }
    

    .grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 50px;
    }
    
    .grid > * {
        flex: 1 1 calc((100% - 100px) / 3);
        max-width: calc((100% - 100px) / 3);
    }

    .depoimentos-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "title button"
            "grid grid";
        align-items: center;
    }
    
    .depoimentos-container h2 {
        grid-area: title;
        margin-bottom: 50px;
    }
    
    .depoimentos-container .google-review-wrapper {
        grid-area: button;
        margin-top: 0;
        margin-bottom: 50px;
    }
    
    .depoimentos-container .grid {
        grid-area: grid;
    }
}

/* Notebook */
@media (min-width: 1024px) {
    .header {
        padding-left: max(2rem, calc((100vw - 1140px) / 2));
        padding-right: max(2rem, calc((100vw - 1140px) / 2));
    }
}
