/* APAGUE O SEU @font-face DA GENERAL SANS E COLOQUE ISTO: */
/* --- General Sans --- */

 /* --- FONTE UNIFICADA: General Sans (Local) --- */
/* CDN OFICIAL FONTSHARE (Zero erro de carregamento) */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,300,500,600,700&display=swap');



/* --- FONTE UNIFICADA: Miller --- */
@font-face {
    font-family: 'Miller';
    src: url('fonts/miller/Miller-Light.otf') format('opentype');
    font-weight: 300; font-style: normal; font-display: swap;
}

h1, h2, h3, h4, .sub-title {
    font-family: 'Miller', serif !important; 
}

/* Limpeza de Especificidade: A regra única para todos os títulos */
h1, h2, h3, h4, 
.hero-content h1, 
.hero-content h2, /* Ajuste aqui se o h2 não deve ser GeneralSans */
.feature h4, 
.grid-spaces h4, 
.conteudo-card-full h3, 
.sub-title, 
.py-large .container h2 {
    font-family: 'Miller', serif !important; 
}

/* 2. FORÇAR APLICAÇÃO (ESPECIFICIDADE MÁXIMA) */
h1 { 
    font-family: 'Miller', serif !important; 
}

h2 { 
    font-family: 'Miller', serif !important; 
}

h3 { 
    font-family: 'Miller', serif !important; 
}

h4 { 
    font-family: 'Miller', serif !important; 
}

.sub-title{
   font-family: 'Miller', serif !important; 
}

.py-large .container h2{
    font-family: 'Miller', serif !important; 
}

/* Isso força a Miller nos textos de corpo */
p, span, li, a, label, input, .txt-resumo, .txt-capacidade, .txt-endereco, .price-tag, .btn-se-encante {
    font-family:'General Sans' !important;
}


/* 3. CORES DOS CARDS (Injeção direta) */
.card-sp-hall .overlay-espaco-full { background: linear-gradient(to top, rgba(173,174,172, 0.9) 0%, rgba(173,174,172, 0.5) 60%) !important; }
.card-pergola .overlay-espaco-full { background: linear-gradient(to top, rgba(144,128,114, 0.9) 0%, rgba(144,128,114, 0.5) 60%) !important; }
.card-one .overlay-espaco-full { background: linear-gradient(to top, rgba(153,149,141, 0.9) 0%, rgba(153,149,141, 0.5) 60%) !important; }
.card-dezenove .overlay-espaco-full { background: linear-gradient(to top, rgba(41,55,68, 0.9) 0%, rgba(41,55,68, 0.5) 60%) !important; }

:root {
    --gold: #BFB8AF;
    --dark: #510303;
    --light: #F9F7F2;
 
}

html { scroll-behavior: smooth; }

/* Isso força o padding a ser contabilizado DENTRO da largura */


/* Isso garante que nada vaze lateralmente */
body {
    overflow-x: hidden;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { background: var(--light); color: var(--dark);  line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-small { max-width: 800px; margin: 0 auto; padding: 0 20px; }


#header-trio {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 8%; /* Usamos o mesmo 8% do hero-content para alinhar perfeitamente */
    background: transparent; 
    display: flex;
    justify-content: flex-start; /* Corrige o 'left' para 'flex-start' */
    align-items: center;         /* Alinha verticalmente */
}

.logo {
    width: 90px;
    display: block; 
}

/* --- A MAGIA DA HERO (Ajustada para imagem fixa) --- */
/* HERO ESTRUTURA */
#hero {
    position: relative;
    height: 800px;
    width: 100%;
    overflow: hidden; /* Agora pode usar, pois a imagem será tratada separadamente */
    font-family: 'GeneralSans' !important;
}

/* ÚNICA declaração da imagem (Parallax Funcional) */
.hero-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('URL_DA_SUA_IMAGEM.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* O motor do parallax */
    z-index: 1;
}

.overlay-soft {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
}

.hero-content { 
    position: relative; 
    z-index: 3; 
    margin: 0; 
    width: 100%; /* Isso garante que não sobre espaço */
    max-width: 550px; 
    padding-left: 8%; 
    padding-top: 180px; 
    text-align: left; 
    color: #ffffff;
    font-family: 'GeneralSans' !important;
}

.hero-content h1 {
    font-family: 'Miller' !important;
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content h2 {
    font-size: 1.4rem;
    line-height: 1.2;
    opacity: 0.9;
    margin-bottom: 25px;
    font-family: 'Miller' !important;
}

.price-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    font-family: 'Miller' !important;
}

/* Container do botão permanece como já tínhamos */
.btn-se-encante-header {
    display: inline-flex;
    align-items: center;
    gap: 15px; /* Espaçamento entre texto e seta */
    padding: 15px 40px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    margin-top: 30px;
    border: 1px solid #fff;
    transition: 1s;
}

.btn-se-encante-header:hover {
    transform: translateY(-5px);
}


.btn-se-encante {
    display: inline-flex;
    align-items: center;
    gap: 15px; /* Espaçamento entre texto e seta */
    padding: 15px 40px;
    background: #510303;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    margin-top: 30px;
    border: 1px solid #fff;
    transition: 1s;
}

.btn-se-encante:hover {
    transform: translateY(-5px);
}

.scroll-arrow {
    width: 8px;
    height: 8px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    /* Rotação para apontar para baixo */
    transform: rotate(45deg);
    
    /* Movimento sutil vertical (flutuar para baixo) */
    animation: gentle-down 2s infinite ease-in-out;
}

@keyframes gentle-down {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.3; }
    50% { transform: rotate(45deg) translateY(5px); opacity: 0.9; }
}

.btn-se-encante:hover .scroll-arrow {
    opacity: 1;
}
/* --- PARALLAX ENTRE BLOCOS (Estilo Bisutti) --- */
.parallax-divider {
    height: 70vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/*BORDA*/
.borda{
    border-top:11px solid #510303;
}



/*POR QUE TRIO*/
.grid-features {
    display: grid;
    gap: 60px;
    margin-top: 60px;
}

/* Tipografia de impacto */
.feature h4 {
    font-family: 'Miller' !important;
    font-size: 2rem;
    color: #510303;
    margin-bottom: 15px;
}

.grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cta-banner {
    margin-top: 80px;
    padding: 40px;
    border-top: 1px solid #510303;
    border-bottom: 1px solid #510303;
    text-align: center;
    font-size: 1.5rem;
    font-family: 'Miller';
}

/*DEPOIMENTOS*/
.trio-testimonials {
    padding: 80px 5%;
    background-color: #ffffff;
  }

  .container-trio {
    max-width: 1200px;
    margin: 0 auto;
  }

  .trio-title {
    text-align: center;
    font-family: 'Miller', serif; /* Ou a fonte principal do Trio */
    font-weight: 400;
    font-size: 2.2rem;
    margin-bottom: 60px;
    letter-spacing: 1px;
    color: #510303;
  }

  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .trio-card {
    background: #fcfcfc;
    padding: 50px 40px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .trio-card:hover {
    transform: translateY(-5px);
  }

  .quote-icon {
    font-family: 'Miller', serif;
    font-size: 4rem;
    line-height: 1;
    color: #d1d1d1;
    margin-bottom: -10px;
  }

  .trio-text {
    font-family: 'General Sans', sans-serif; /* Ou a fonte auxiliar */
    font-size: 0.9rem;
    line-height: 1.4;
    color: #4a4a4a;
    margin-bottom: 30px;
    flex-grow: 1;
  }

  .trio-author .trio-name {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: #1a1a1a;
  }

  .trio-author .trio-tag {
    font-size: 0.75rem;
    color: #999;
    text-transform: italic;
  }

  /* Responsivo para Mobile */
  @media (max-width: 991px) {
    .testimonial-grid {
      grid-template-columns: 1fr;
    }
    
    .trio-card {
      padding: 40px 30px;
    }
  }

/*-------------------------------------CARROSSÉIS ESPAÇOS*/
/* CONTAINER E GRID */
.espacos-trio {
    padding: 60px 0;
    background-color: #fff; /* Fundo limpo */
}

.grid-espacos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 30px; /* Espaço entre os blocos */
    max-width: 1200px;
    margin: 0 auto;
}

/* WRAPPER DO SLIDER */
.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2; /* Mantém a proporção fixa (3:2 é ótimo para fotos) */
    overflow: hidden;
    border-radius: 4px; /* Opcional: um toque suave nos cantos */
    background-color: #f9f9f9;
}

/* IMAGENS (O SEGREDO DA NITIDEZ E ENQUADRAMENTO) */
.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover; /* Preenche o espaço sem distorcer, cortando as sobras */
    object-position: center;
}

/* H2 ELEGANTE (CANTO SUPERIOR ESQUERDO) */
.titulo-espaco {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    margin: 0;
    color: #ffffff;
    font-family: 'Miller', serif; /* Ou a fonte da marca */
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Garante leitura em fotos claras */
}

/* GRADIENTE SUTIL NO TOPO (OPCIONAL PARA LEITURA) */
.slider-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    z-index: 4;
    pointer-events: none;
}

/* CONTROLES DO SLIDER */
.slider-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

/* Bullets Delicados */
.bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bullet.active {
    background: #fff;
    transform: scale(1.3);
}

/* Setas Chiques */
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    opacity: 0; /* Escondidas por padrão */
    transition: opacity 0.3s ease;
    padding: 10px;
}

.slider-wrapper:hover .btn-nav {
    opacity: 0.7; /* Aparecem suavemente no hover */
}

.btn-nav:hover { opacity: 1 !important; }
.prev { left: 10px; }
.next { right: 10px; }


/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 768px) {
    .grid-espacos {
        grid-template-columns: 1fr; /* Vira 1 coluna no celular */
        padding: 0 15px;
    }
    
    .titulo-espaco {
        font-size: 1.2rem;
    }
}

/* --- FORMULÁRIO PREMIUM --- */
/* FORMULÁRIO GRUPO TRIO - ESTILO PREMIUM LET'S WEB */
.premium-form { 
    margin-top: 3rem; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

/* Inputs, Selects e Textarea */
.premium-form input, 
.premium-form select {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--gold) !important;
    padding: 15px 5px !important;
    color: white !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 16px;
    outline: none;
    width: 100%;
    border-radius: 0;
}

/* Placeholders Brancos */
.premium-form input::placeholder {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* Estilização da Seta do Select */
.premium-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 5px center !important;
    background-size: 12px !important;
    cursor: pointer;
}

.premium-form select option {
    background-color: #1a1a1a;
    color: white;
}

/* CORREÇÃO DO CHECKBOX (Fim do retângulo longo) */
.consentimento-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.consentimento-wrapper input[type="checkbox"] {
    all: revert; /* Mata a herança do width 100% e border-bottom */
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    accent-color: var(--gold);
    cursor: pointer;
}

.consentimento-wrapper label {
    color: white;
    font-size: 12px;
    font-family: 'General Sans', sans-serif;
    opacity: 0.8;
    line-height: 1.4;
}

.consentimento-wrapper label a {
    color: var(--gold);
    text-decoration: underline;
}

/* BOTÃO SOLICITAR */
.premium-form button {
    background: var(--gold);
    color: white;
    border: none;
    padding: 20px;
    margin-top: 20px;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
}

.premium-form button:hover {
    background: #fff; /* Bordô das setas da galeria */
    letter-spacing: 3px;
    color:#510303;
}

/* Ajuste no Select: como ele não tem placeholder real, 
   estilizamos a primeira opção (disabled) para parecer um */
.premium-form select:invalid,
.premium-form select option[value=""] {
    color: #FFFFFF !important;
    opacity: 0.9;
}

/* --- UTILITIES --- */
.py-large { padding: 100px 0; }
.py-large h2{ font-family: 'Miller' !important; }
.dark-bg { background: var(--dark); color: white; }
.align-center { text-align: center; }

/* --- Cards e Container --- */
.trio-espacos-fullwidth { width: 100%; margin: 0; padding: 0; overflow: hidden; background-color: #510303; }
.container-espacos-flex { display: flex; flex-wrap: wrap; width: 100%; }
.card-espaco-full { flex: 1 1 25%; min-height: 550px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; overflow: hidden; cursor: pointer; transition: filter 0.3s ease; }
.card-espaco-full:hover { filter: brightness(1.1); }

/* Overlays com cores específicas */
.overlay-espaco-full { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 40px 25px; transition: background 0.4s ease; }
.card-sp-hall .overlay-espaco-full { background: linear-gradient(to top, rgba(173,174,172, 0.9) 0%, rgba(173,174,172, 0.2) 60%); }
.card-pergola .overlay-espaco-full { background: linear-gradient(to top, rgba(144,128,114, 0.9) 0%, rgba(144,128,114, 0.2) 60%); }
.card-one .overlay-espaco-full { background: linear-gradient(to top, rgba(153,149,141, 0.9) 0%, rgba(153,149,141, 0.2) 60%); }
.card-dezenove .overlay-espaco-full { background: linear-gradient(to top, rgba(41,55,68, 0.9) 0%, rgba(41,55,68, 0.2) 60%); }

/* Tipografia */
.conteudo-card-full { width: 100%; color: #ffffff; }
.conteudo-card-full h3 { color: #fff; font-size: 1.6rem; margin-bottom: 15px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; font-family: 'GeneralSans' !important; }
.txt-resumo { font-size: 1rem; line-height: 1.5; margin-bottom: 12px; opacity: 0.95; font-family: 'Miller' !important; }
.txt-capacidade, .txt-endereco { font-size: 0.85rem; margin: 4px 0; font-weight: 300; letter-spacing: 0.5px; font-family: 'Miller' !important; }
.txt-endereco { opacity: 0.7; }

/* --- Lightbox --- */
.lightbox-overlay { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; padding: 20px; }
.lightbox-overlay img { max-width: 90%; max-height: 85vh; border: 1px solid #ffffff; box-shadow: 0 0 30px rgba(0,0,0,0.5); animation: zoomIn 0.3s ease-out; }
.close-btn { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 50px; cursor: pointer; line-height: 1; }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Responsividade */
@media (max-width: 1200px) { .card-espaco-full { flex: 1 1 50%; } }
@media (max-width: 650px) { .card-espaco-full { flex: 1 1 100%; min-height: 400px; } }



/*FORM RD*/
.formrd {
    display: flex !important;
    width: 100% !important;
    padding-top: 2rem;
    text-align: center !important;
    justify-content: center;
}




/* --- RESPONSIVO --- */
/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    /* 1. Reset de segurança para mobile */
    body {
        overflow-x: hidden;
    }

    /* 2. Corrige a Hero para não estourar lateralmente */
    .hero-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }

    /* 3. Força os grids a empilharem (1 coluna) */
    .grid-compact, .grid-spaces {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 4. Ajustes de espaçamento para não ficar 'colado' */
    .container, .container-small, .py-large {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 5. Ajustes de tipografia e elementos de impacto */
    h1 { font-size: 2.5rem !important; }
    
    .cta-banner {
        padding: 20px !important;
        font-size: 1.2rem !important;
    }

    /* 6. Corrige o formulário (o style inline que você tem no HTML) */
    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* 7. Desliga o parallax para performance mobile */
    .hero-bg-image, .parallax-divider { 
        background-attachment: scroll !important; 
    }
}

