/* ========================================= */
/* 1. RESET E ESTILOS GERAIS (DESKTOP)       */
/* ========================================= */

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* VARIÁVEIS E FONTES */
:root {
    --gold: #886508;
    --red: #8B0000;
    --dark-grey: #1E1E1E;
    --light-grey: #D9D9D9;
    --black: #0A0A0A;
    
    /* Fontes */
    --font-titulo: 'Bodoni Moda', serif; 
    --font-texto: 'Roboto', sans-serif;
}

body {
    background-color: var(--black);
    color: var(--light-grey);
    font-family: var(--font-texto);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TIPOGRAFIA GERAL --- */
h1, h2, .about-title {
    font-family: var(--font-titulo);
    font-weight: 900; 
    text-transform: uppercase;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -2px;
}

/* Destaques Dourados (Itálico) */
h1 .highlight, 
h2 .highlight,
.about-title .highlight-gold {
    color: var(--gold);
    font-family: var(--font-titulo);
    font-style: italic;
    font-weight: 700;
    text-transform: none;
}

/* Subtítulos Pequenos */
.subtitle, 
.eyebrow,
.gallery-text .subtitle {
    font-family: var(--font-texto);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    color: var(--light-grey);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--light-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--gold);
}

.btn-orcamento {
    background-color: var(--gold);
    color: var(--black);
    padding: 10px 20px;
    font-weight: bold;
}

.btn-orcamento:hover{
    color: #D9D9D9;
    background-color: #000000;
}

/* Botão Mobile (Escondido no Desktop) */
.btn-mobile {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--light-grey);
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--light-grey);
    position: absolute;
    left: 0;
    transition: 0.3s;
}
.hamburger::before { top: -10px; }
.hamburger::after { top: 10px; }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background-image: 
        linear-gradient(
            to right, 
            #0A0A0A 20%, 
            rgba(10,10,10,0.9) 60%, 
            rgba(10,10,10,0.2) 100% 
        ), 
        url('img/herogbr.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 60px;
}

.hero-text {
    max-width: 50%;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text p {
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 450px;
}

.hero-buttons {
    font-size: 14px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--light-grey);
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--light-grey);
}

.hero-badge img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* --- MARQUEE --- */
.marquee-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--gold);
    opacity: 70%;
    overflow: hidden;
    padding: 15px 0;
    border-top: 1px solid var(--black);
}

.marquee-content {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    color: var(--black);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* --- SEÇÃO DE COMPARAÇÃO --- */
.comparison-section {
    padding: 80px 0;
    background-color: var(--black);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.simple-gallery-container {
    position: relative;
    width: 100%;
    height: 600px; 
    overflow: hidden;
    border-radius: 4px;
    background-color: #000;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 2;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 20px;
    opacity: 0.7;
    transition: 0.3s;
}

.gallery-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: #fff;
    stroke-width: 1px;
}

.prev { left: 0; }
.next { right: 0; }

.img-foreground {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--gold);
    z-index: 2;
}

.img-foreground img {
    width: 100vw;
    max-width: 600px;
}

.label-badge {
    position: absolute;
    bottom: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    pointer-events: none;
}
.label-left { left: 20px; color: var(--gold); }
.label-right { right: 20px; color: var(--gold); }

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    pointer-events: none;
}

.comparison-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.description {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* --- GRADE DE CARDS (Layout) --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colunas no desktop */
    gap: 20px;
    margin-top: 30px;
}

/* --- ESTILO DO CARD (Visual Premium) --- */
.feature-card {
    background: linear-gradient(145deg, #151515, #1E1E1E); /* Degradê sutil */
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Borda quase invisível */
    border-radius: 2px; /* Cantos levemente retos para ficar elegante */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito Hover: Borda Dourada e Sombra */
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold); /* A borda vira dourada */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Sombra suave */
}

/* --- ÍCONES DOURADOS --- */
.icon-box {
    margin-bottom: 15px;
}

.icon-box i {
    font-size: 2rem; /* Tamanho do ícone */
    color: var(--gold);
    transition: 0.3s;
}

.feature-card:hover .icon-box i {
    color: #fff; /* Ícone fica branco ao passar o mouse (contraste legal) */
    transform: scale(1.1);
}

/* --- TIPOGRAFIA DO CARD --- */
.feature-card h3 {
    font-family: var(--font-titulo); /* Usa a Bodoni Moda */
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.feature-card p {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.5;
    font-family: var(--font-texto);
}

/* --- CTA GOLD --- */
.cta-gold {
    background-color: var(--gold);
    padding: 100px 0;
    text-align: center;
    border-top: 15px solid var(--black);
    border-bottom: 15px solid var(--black);
}

.cta-gold h2 {
    font-family: var(--font-titulo);
    font-style: italic;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-gold p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.btn-white {
    display: inline-block;
    background-color: #fff;
    color: var(--black);
    padding: 18px 40px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: var(--gold);
    color: var(--);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-white2{
    display: inline-block;
    background-color: #fff;
    color: var(--black);
    padding: 18px 40px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-white2:hover {
    background-color: var(--black);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- GALERIA --- */
.gallery-section {
    background-color: var(--black);
    padding: 80px 0;
    color: #fff;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.gallery-header h2 {
    font-size: 3rem;
}

.gallery-filters {
    list-style: none;
    display: flex;
    gap: 25px;
}

.filter-btn {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
    padding-bottom: 5px;
    position: relative;
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.gallery-footer {
    text-align: center;
}

/* Overlay da Galeria */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-overlay h3 {
    color: var(--gold);
    font-family: var(--font-titulo);
    font-size: 1.2rem;
    font-style: italic;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    margin: 0;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* --- SOBRE O ARTISTA --- */
.about-section {
    width: 100%;
    padding: 6rem 0;
    background-color: var(--black);
    color: #fff;
}

.about-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    flex-shrink: 0;
}

.gold-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--gold);
    z-index: 0;
}

.profile-pic {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    display: block;
}

.content-wrapper {
    max-width: 500px;
}

.about-title {
    font-size: 3.5rem;
    line-height: 1;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin-bottom: 2rem;
}

.about-description {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

/* --- Ícones Sociais (Imagens Personalizadas) --- */
.social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 15px; /* Espaço entre os botões */
    align-items: center;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Tamanho das bolinhas */
.social-icons img {
    width: 50px;  /* Tamanho ideal para toque no celular */
    height: 50px;
    object-fit: contain;
    cursor: pointer;
}

/* Efeito ao passar o mouse */
.social-icons a:hover {
    transform: translateY(-5px); /* Sobe um pouquinho */
    opacity: 0.9;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 6rem 0;
    background-color: var(--black);
    text-align: center;
}

.section-header-center {
    margin-bottom: 3rem;
}

.faq-title {
    font-size: 3rem;
    margin-top: 10px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    color: #fff;
    font-size: 1.2rem;
    font-family: var(--font-titulo);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question .icon {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #ccc;
    font-family: var(--font-texto);
    line-height: 1.6;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* --- CONTATO E MAPA --- */
.contact-section {
    padding: 6rem 0;
    background-color: #080808;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.form-description {
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    background-color: #1E1E1E;
    border: 1px solid transparent;
    padding: 15px;
    color: #fff;
    font-family: var(--font-texto);
    margin-bottom: 1rem;
    outline: none;
    border-radius: 2px;
    transition: 0.3s;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: var(--gold);
    background-color: #252525;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-gold-block {
    width: 100%;
    background-color: var(--gold);
    color: #000;
    font-weight: 900;
    padding: 18px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-texto);
    transition: 0.3s;
}

.btn-gold-block:hover {
    background-color: #fff;
    color: #000;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px; 
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* CARD FLUTUANTE DE ENDEREÇO */
.address-card {
    position: absolute;
    bottom: 30px; /* Subi um pouco mais para respirar */
    left: 30px;
    /* Fundo escuro mas com 80% de opacidade */
    background: rgba(10, 10, 10, 0.8) !important; 
    /* Efeito de desfoque no que está atrás (mapa) */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    max-width: 320px;
    border: 1px solid rgba(136, 101, 8, 0.3); /* Borda dourada bem sutil */
    border-left: 4px solid var(--gold); /* Mantém o destaque lateral */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 20;
}

.card-title {
    font-family: var(--font-titulo);
    color: #ffffff !important; 
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.card-building {
    color: var(--black) !important;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-family: var(--font-texto);
    display: block;
}

.card-info p {
    color: #cccccc !important;
    font-size: 0.85rem;
    line-height: 1.4;
    font-family: var(--font-texto);
    margin-bottom: 3px;
}

.card-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: #ffffff !important;
    font-size: 0.7rem;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
    transition: 0.3s;
    letter-spacing: 1px;
}

.card-link:hover {
    color: var(--dark-grey) !important;
    border-color: #ffffff;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #050505;
    padding-top: 5rem;
    border-top: 1px solid #1a1a1a;
    font-family: var(--font-texto);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-titulo);
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.footer-heading {
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-desc {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact { list-style: none; }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.footer-contact i {
    color: var(--gold);
    font-size: 1.1rem;
}

.footer-form {
    display: flex;
    gap: 0;
}
.footer-form input {
    width: 100%;
    padding: 12px 15px;
    background-color: #1a1a1a;
    border: 1px solid transparent;
    color: #fff;
    outline: none;
    font-size: 0.85rem;
}
.footer-form input:focus { border-color: var(--gold); }
.footer-form button {
    background-color: var(--gold);
    border: none;
    color: #000;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-form button:hover { background-color: #fff; }

.footer-bottom {
    background-color: #000;
    padding: 1.5rem 0;
    border-top: 1px solid #1a1a1a;
}
.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.copyright {
    color: #444;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.legal-links a {
    color: #444;
    font-size: 0.7rem;
    text-decoration: none;
    margin-left: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}
.legal-links a:hover { color: var(--gold); }


/* ========================================= */
/* 2. RESPONSIVIDADE (MEDIA QUERIES)         */
/* ========================================= */

/* --- MAX WIDTH: 992px (Tablets / Laptops Pequenos) --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    
    .hero-badge img { max-width: 300px; }
    
    .hero { background-position: 60% center; }
    
    .comparison-grid {
        grid-template-columns: 1fr; /* Coluna única */
    }
    
    .img-foreground img {
        max-width: 100%; 
        width: 100vw; 
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    }
}

/* --- MAX WIDTH: 900px (Breakpoint específico de Grid) --- */
@media (max-width: 900px) {
    /* About Section */
    .about-grid {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .image-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .gold-box {
        left: -15px;
        width: 50%;
    }
    
    .divider { margin: 0 auto 2rem auto; }
    
    .social-icons { justify-content: center; }
    
    .about-title { font-size: 2.8rem; }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .input-group {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 300px;
    }
    
    .faq-title, .contact-title { font-size: 2.5rem; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-contact li { justify-content: center; }
    
    .footer-heading {
        font-size: 1rem;
        border-bottom: 1px solid #1a1a1a;
        padding-bottom: 10px;
        display: inline-block;
        margin-bottom: 1.5rem;
    }
    
    .footer-form {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links a { margin: 0 10px; }
}

/* --- MAX WIDTH: 768px (Mobile) --- */
@media (max-width: 768px) {
    /* Tipografia Geral */
    h1 { 
        font-size: 2.2rem; 
    }
    h2 { 
        font-size: 1rem; 
    }
    p {
        font-size: 14px;
    }

    .btn-outline {
        padding: 12px 25px;
    }

    .btn-primary {
        padding: 12px 25px;
    }

    /* MENU MOBILE (Full Screen) */
    .btn-mobile {
        display: block; /* Botão aparece */
        z-index: 2000;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        z-index: 1000;
        visibility: hidden;
    }

    nav.active ul {
        transform: translateY(0);
        visibility: visible;
    }

    nav ul li {
        margin: 20px 0;
        opacity: 0; 
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    nav ul li a {
        font-size: 1.8rem;
        font-weight: 300;
        color: #fff;
    }


    /* Animação dos itens do menu */
    nav.active ul li:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
    nav.active ul li:nth-child(2) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
    nav.active ul li:nth-child(3) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
    nav.active ul li:nth-child(4) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
    nav.active ul li:nth-child(5) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

    /* Animação Hamburger para X */
    nav.active .hamburger { background: transparent; }
    nav.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
        background: var(--gold);
    }
    nav.active .hamburger::after {
        top: 0;
        transform: rotate(-135deg);
        background: var(--gold);
    }

    /* Hero Mobile */
    .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        padding-bottom: 60px;
    }
    .hero-text { max-width: 100%; }
    .hero-text p { margin: 0 auto 30px auto; }
    .hero-buttons { justify-content: center; flex-direction: column; }
    .hero-badge { margin-bottom: 30px; }
    .hero-badge img { max-width: 200px; }
    .hero {
        background-attachment: scroll;
        height: auto;
        min-height: 100vh;
    }

    /* ... dentro do media query 768px ... */

    .features-grid {
    /* No celular, mudamos para 1 coluna para ficar legível e impactante */
    grid-template-columns: 1fr; 
    gap: 15px;
    }

    .feature-card {
    padding: 20px;
    /* Opcional: borda esquerda dourada fixa no mobile para estilo */
    border-left: 2px solid var(--gold); 
    }

    /* Galeria/Comparação Mobile */
    .simple-gallery-container { height: 400px; }
    .gallery-nav svg { width: 30px; }

    /* CTA Gold */
    .cta-gold { 
        padding: 60px 20px; 
    }

    .cta-gold h2 { 
        font-size: 2.1rem; 
    }
    .btn-white { 
        width: auto; 
        padding: 12px 30px; 
    }

    /* Galeria Filtros e Grid */
 /* AJUSTE DOS FILTROS DA GALERIA (SEM ROLAGEM) */
    .gallery-header {
        flex-direction: column;
        align-items: center; /* Centraliza o título e os botões */
        text-align: center;
    }

    .gallery-filters {
        width: 100%;
        display: flex;
        
        /* AQUI ESTÁ A MUDANÇA MÁGICA: */
        flex-wrap: wrap;       /* Permite quebrar linha */
        justify-content: center; /* Centraliza os botões */
        gap: 10px;             /* Espaço entre eles */
        
        overflow-x: visible;   /* Remove a rolagem */
        white-space: normal;   /* Permite texto em várias linhas se precisar */
        padding-bottom: 0;
    }

    .filter-btn {
        /* Removemos o flex: 0 0 auto para ele não travar o tamanho */
        flex: initial; 
        width: auto;
        font-size: 0.75rem; /* Fonte levemente menor para caber melhor */
        background-color: rgba(255,255,255,0.05);
        padding: 8px 16px;
        border-radius: 50px;
        border: 1px solid transparent;
        margin: 0; /* Garante que não tenha margens extras */
    }
    .filter-btn.active {
        background-color: var(--black);
        border-color: var(--gold);
        color: var(--gold);
    }
    .filter-btn.active::after { display: none; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Overlay da Galeria (Sempre visível ou fácil acesso) */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
    }
    .gallery-overlay h3 {
        transform: translateY(0);
        font-size: 0.9rem;
    }

    /* Card de Endereço Mobile */
.address-card {
    background-color: #0A0A0A !important; /* Volta para o preto */
    border-top: 4px solid var(--gold); /* Borda em cima para separar do mapa */
    border-left: none;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

}

/* ... dentro do @media (max-width: 768px) ... */

    /* AJUSTE DO MAPA NO MOBILE */
    .map-wrapper {
        display: flex;
        flex-direction: column; /* Empilha mapa em cima, card embaixo */
        height: auto;
        min-height: auto;
        border-radius: 4px;
        overflow: hidden; /* Garante que as bordas fiquem arredondadas */
    }

    .map-wrapper iframe {
        height: 300px; /* Altura fixa para o mapa não sumir */
        width: 100%;
        /* A borda dourada fica entre o mapa e o cartão */
        border-bottom: 3px solid var(--gold); 
    }

    /* CARD INTEGRADO AO MAPA */
    .address-card {
        position: relative; /* Deixa de flutuar */
        bottom: auto;
        left: auto;
        max-width: 100%;
        width: 100%;
        
        background-color: var(--gold)!important; /* Fundo preto sólido */
        padding: 2rem;
        text-align: center; /* Centraliza o texto no celular */
        
        /* Removemos bordas e sombras antigas para ficar limpo */
        border: none; 
        box-shadow: none;
        
        /* Garante que o texto fique legível */
        z-index: 10;
    }

    /* Ajuste fino nos textos do card para mobile */
    .address-card .eyebrow {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .card-title {
        font-size: 1.8rem; /* Título um pouco maior */
        margin-bottom: 0.5rem;
    }


    .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}