/* 
 * Rastros na Chapada - Design System & Stylesheet
 * Minimalist, Immersive & Professional Editorial Aesthetic
 */

/* ==========================================================================
   1. VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /*
     * =========================================================
     *  PALETA DE CORES — Rastros na Chapada
     *  Identidade visual: Ecoturismo editorial, natureza, aventura
     * =========================================================
     *
     *  FUNDOS
     *  --bg-light           Fundo claro principal. Usado no body, cards e seções abertas.
     *  --bg-dark            Fundo escuro (Azul Marinho #1A365D). Usado no header ao scroll,
     *                       footer, preloader, seção de contato e showroom de roteiros.
     *  --bg-dark-secondary  Azul noturno mais profundo (#0F172A). Usado no formulário de
     *                       contato e como camada secundária em fundos escuros.
     *
     *  TEXTOS
     *  --text-dark          Cinza escuro (#2D3748). Cor padrão para todo o texto sobre fundo claro.
     *                       Contrast ratio WCAG AA ≥ 4.5:1 sobre --bg-light.
     *  --text-light         Quase-branco (#EDF2F7). Texto sobre fundos escuros (footer, hero card,
     *                       showroom). Contrast ratio WCAG AA ≥ 4.5:1 sobre --bg-dark.
     *  --text-muted         Cinza médio (#718096). Texto secundário, legendas, descrições,
     *                       placeholders e metadados. Contraste adequado sobre fundo claro.
     *
     *  DESTAQUES / ACENTOS
     *  --accent-primary     Azul vibrante (#2B6CB0). Cor de marca primária. Remete ao céu
     *                       aberto e às águas cristalinas da Chapada. Usado em elementos de
     *                       interface secundários e tags de seção em fundos escuros.
     *  --accent-secondary   Verde natureza (#2F855A). Representa a vegetação e sustentabilidade.
     *                       Usado em ícones ecológicos, indicadores de fauna e elementos que
     *                       reforçam o compromisso ambiental da empresa.
     *  --accent-earth       Terracota (#C05621). COR DE AÇÃO PRINCIPAL. Remete ao solo da
     *                       Chapada, às formações rochosas de arenito e à energia da aventura.
     *                       Usada em: cursor, botões CTA, underlines de nav, preloader, tags,
     *                       bordas de destaque e hover states interativos.
     *
     *  BORDAS
     *  --border-color       Borda sutil sobre fundo claro. rgba com alpha baixo para elegância.
     *  --border-color-light Borda sutil sobre fundo escuro. Mesmo conceito invertido.
     * =========================================================
     */

    /* Fundos */
    --bg-light: #F7F5F0;             /* Bege bem claro (areia da Chapada) */
    --bg-beige: #E6DFD3;             /* Bege intermediário (arenito das rochas) */
    --bg-dark: #232B25;              /* Verde floresta profundo predominante */
    --bg-dark-secondary: #1A201C;    /* Verde floresta denso secundário */

    /* Textos */
    --text-dark: #2E2623;            /* Solo escuro (leitura nítida sobre fundo claro e bege) */
    --text-light: #F7F5F0;           /* Areia claro (leitura nítida sobre fundo escuro) */
    --text-muted: #736862;           /* Argila acinzentada para textos secundários */

    /* Destaques */
    --accent-primary: #34627A;       /* Azul poço (águas profundas das cavernas) */
    --accent-primary-hover: #264A5D;
    --accent-secondary: #436850;     /* Verde folha (vegetação nativa e trilhas) */
    --accent-secondary-hover: #314E3C;
    --accent-earth: #B04A2C;         /* Terracota (solo argiloso e rochas sob o sol) */
    --accent-earth-hover: #8F371B;

    /* Bordas */
    --border-color: rgba(46, 38, 35, 0.1);
    --border-color-light: rgba(247, 245, 240, 0.1);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Easing */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-editorial: cubic-bezier(0.76, 0, 0.24, 1);
    
    /* Spacing & Layout */
    --header-height: 80px;
    --container-max-width: 1300px;
}

/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-earth);
}

/* ==========================================================================
   3. REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container-fluid {
    width: 100%;
    padding: 0 40px;
}

.section-padding {
    padding: 140px 0;
}

.section-tag {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-earth);
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.section-desc {
    max-width: 600px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1.05rem;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 28px; /* Reduzido de 16px 36px para elegância */
    border-radius: 30px; /* Bordas arredondadas modernas e limpas */
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.btn-primary {
    background-color: var(--accent-earth);
    color: var(--text-light);
    border: 1px solid var(--accent-earth);
}

.btn-primary:hover {
    background-color: var(--accent-earth-hover);
    border-color: var(--accent-earth-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color); /* Borda mais fina e suave */
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 8px 20px; /* Reduzido */
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
    background-color: transparent;
    border-radius: 30px;
}

.btn-nav:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    border-color: var(--text-dark);
}

.btn-submit {
    background-color: var(--accent-earth);
    color: var(--text-light);
    border: 1px solid var(--accent-earth);
    width: 100%;
    padding: 14px;
    border-radius: 30px;
}

.btn-submit:hover {
    background-color: var(--accent-earth-hover);
    color: var(--text-light);
    border-color: var(--accent-earth-hover);
}

/* Text Highlights */
.text-light {
    color: var(--text-light) !important;
}

/* Intersection Observer Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--ease-editorial), transform 1.2s var(--ease-editorial);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   4. PRELOADER & CURSOR
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
    text-align: center;
    color: var(--text-light);
    width: 80%;
    max-width: 400px;
}

.preloader-brand {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 1.2s forwards 0.3s;
}

.preloader-sub {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-earth);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1.5s forwards 0.8s;
}

.preloader-bar {
    width: 100%;
    height: 1px;
    background-color: rgba(232, 235, 230, 0.1);
    position: relative;
    overflow: hidden;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--accent-earth);
    transition: width 0.1s linear;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent-earth);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(176, 74, 44, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: var(--transition-quick);
}

.custom-cursor.hovered {
    width: 24px;
    height: 24px;
    background-color: rgba(192, 86, 33, 0.2);
    border: 1px solid var(--accent-earth);
}

/* Hide on mobile devices */
@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-ring {
        display: none !important;
    }
}

/* ==========================================================================
   5. HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 900;
    border-bottom: 1px solid transparent;
    transition: var(--transition-quick);
}

.header.scrolled {
    background-color: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 70px;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    z-index: 1000;
}

.brand-logo img {
    height: 60px;
    max-height: 64px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-quick);
}

.header.scrolled .brand-logo img {
    height: 50px;
    max-height: 52px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    position: relative;
    padding: 8px 0;
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-earth);
    transition: var(--transition-quick);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-toggle .bar {
    width: 100%;
    height: 1px;
    background-color: var(--text-dark);
    transition: var(--transition-quick);
}

/* Hamburger Active States */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-light);
        z-index: 950;
        flex-direction: column;
        justify-content: center;
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-color);
        padding: 80px 40px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        text-transform: none;
    }
    
    .btn-nav {
        display: none;
    }
}

/* ==========================================================================
   5b. PAGE HERO (Banner de topo para páginas internas)
   ========================================================================== */
.page-hero {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.page-hero:hover .page-hero-bg {
    transform: scale(1.08);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 18, 35, 0.98) 0%,
        rgba(10, 18, 35, 0.4) 60%,
        transparent 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px 60px 40px;
}

.page-hero-tag {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-earth);
    display: block;
    margin-bottom: 16px;
    font-weight: 500;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    max-width: 700px;
}

@media (max-width: 768px) {
    .page-hero {
        height: 45vh;
        min-height: 320px;
    }
    .page-hero-content {
        padding: 0 24px 40px 24px;
    }
}

/* ==========================================================================
   5c. GALLERY OVERLAY — sempre visível (sem depender de hover)
   ========================================================================== */
.gallery-overlay-always {
    opacity: 1 !important;
}

.gallery-overlay-always .gallery-title {
    transform: translateY(0) !important;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    align-items: center;
    gap: 80px;
}

.hero-text-col {
    padding-right: 40px;
}

.hero-tag {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-earth);
    display: block;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-details {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

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

.detail-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
}

.detail-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-visual-col {
    position: relative;
    height: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 125%; /* Vertical Aspect Ratio */
    overflow: hidden;
    background-color: var(--text-dark);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transform: scale(1.05);
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.1);
}

.hero-card-floating {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px 40px;
    max-width: 320px;
    z-index: 10;
}

.floating-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-earth);
    display: block;
    margin-bottom: 10px;
}

.floating-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.3;
}

/* Scroll Down Indicator */
.scroll-indicator-container {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background-color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-earth);
    animation: scrollSlide 2s infinite ease-in-out;
}

.scroll-text {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

@keyframes scrollSlide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 10px;
        padding-bottom: 20px;
    }
    
    .hero-text-col {
        padding-right: 0;
    }
    
    .hero-image-wrapper {
        padding-bottom: 70%;
        border-radius: 12px;
    }

    .hero-img {
        transform: none !important;
        transition: none !important;
        object-position: center center;
    }
    
    .hero-card-floating {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -30px;
        margin-left: 20px;
        margin-right: 20px;
        max-width: calc(100% - 40px);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
    
    .scroll-indicator-container {
        display: none;
    }
}

/* ==========================================================================
   7. NOSSA ESSÊNCIA (ABOUT)
   ========================================================================== */
.philosophy-section {
    border-bottom: 1px solid var(--border-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 40px;
}

.paragraph-lead {
    font-size: 1.45rem;
    font-family: var(--font-heading);
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.paragraph-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.philosophy-quote {
    border-left: 2px solid var(--accent-earth);
    padding-left: 30px;
    margin-bottom: 40px;
}

.philosophy-quote p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.3;
    font-style: italic;
    color: var(--text-dark);
}

.philosophy-quote cite {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-earth);
    margin-top: 15px;
    font-style: normal;
}

.philosophy-visual {
    position: relative;
}

.philosophy-image-box {
    position: relative;
    width: 100%;
}

.philosophy-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

.philosophy-caption {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 25px 0 0 0;
    margin-top: 20px;
}

.philosophy-caption span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-earth);
    font-weight: 500;
}

.philosophy-caption p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

@media (max-width: 991px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* ==========================================================================
   8. ROTEIROS INTERATIVOS
   ========================================================================== */
.roteiros-section {
    border-bottom: 1px solid var(--border-color);
}

.roteiros-interactive-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    margin-top: 60px;
    align-items: stretch;
}

.roteiros-list-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roteiro-item {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-quick);
}

.roteiro-item:first-child {
    border-top: 1px solid var(--border-color);
}

.roteiro-num {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-muted);
    width: 60px;
    transition: var(--transition-quick);
}

.roteiro-meta {
    flex-grow: 1;
}

.roteiro-name {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 5px;
    transition: var(--transition-quick);
}

.roteiro-category {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
}

.roteiro-arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-quick);
}

/* Hover & Active States */
.roteiro-item:hover .roteiro-num,
.roteiro-item.active .roteiro-num {
    color: var(--accent-earth);
}

.roteiro-item:hover .roteiro-name,
.roteiro-item.active .roteiro-name {
    color: var(--accent-earth);
}

.roteiro-item:hover .roteiro-arrow,
.roteiro-item.active .roteiro-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Showroom (Right) */
.roteiro-showroom-col {
    display: flex;
    flex-direction: column;
}

.showroom-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-dark);
    height: 100%;
}

.showroom-images {
    width: 100%;
    padding-bottom: 70%; /* Horizontal Card aspect ratio */
    position: relative;
    overflow: hidden;
}

.showroom-img-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

.showroom-img-pane.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    pointer-events: auto;
}

/* Slideshow inside showroom pane */
.showroom-img-pane .slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.showroom-img-pane .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.03);
}

.showroom-img-pane .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-caption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background: rgba(15, 23, 22, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(247, 245, 240, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-quick);
}

.slide-caption i {
    color: var(--accent-earth);
    font-size: 0.75rem;
}

.slide-dots {
    position: absolute;
    bottom: 18px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slide-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dots .dot.active {
    background: var(--accent-earth);
    width: 22px;
    border-radius: 4px;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(15, 23, 22, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.showroom-images:hover .slide-arrow {
    opacity: 1;
}

.slide-arrow:hover {
    background: var(--accent-earth);
}

.slide-arrow.prev { left: 12px; }
.slide-arrow.next { right: 12px; }

.showroom-details {
    padding: 50px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
    background-color: var(--bg-dark);
}

.details-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.details-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.showroom-title {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.showroom-description {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.showroom-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color-light);
    padding-top: 30px;
}

.spec-card {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    opacity: 0.5;
}

.spec-val {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 5px;
}

.text-high {
    color: #ff6b6b;
}

.text-mid {
    color: #ffd25a;
}

.text-low {
    color: #51cf66;
}

.showroom-action-panel {
    background-color: var(--bg-dark);
    padding: 0 50px 50px 50px;
}

.showroom-action-panel .btn {
    width: 100%;
}

@media (max-width: 991px) {
    .roteiros-interactive-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .showroom-details {
        padding: 30px;
    }
    
    .showroom-action-panel {
        padding: 0 30px 30px 30px;
    }
}

/* ==========================================================================
   9b. PONTOS TURÍSTICOS — Cards de destino
   ========================================================================== */

/* Card destaque (Buracão) — layout horizontal imagem + texto */
.pt-card--featured {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    overflow: hidden;
}

.pt-card--featured .pt-card-img-wrap {
    height: 480px;
    overflow: hidden;
}

.pt-card--featured .pt-card-body {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-light);
}

/* Cards secundários — grid de 2 colunas */
.pt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pt-card--secondary {
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: box-shadow var(--transition-quick), transform var(--transition-quick);
}

.pt-card--secondary:hover {
    box-shadow: 0 20px 60px rgba(45, 55, 72, 0.12);
    transform: translateY(-4px);
}

.pt-card--secondary .pt-card-img-wrap {
    height: 300px;
    overflow: hidden;
}

.pt-card--secondary .pt-card-body {
    padding: 36px 30px;
    background-color: var(--bg-light);
}

/* Imagem base */
.pt-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pt-card--featured:hover .pt-card-img,
.pt-card--secondary:hover .pt-card-img {
    transform: scale(1.06);
}

/* Conteúdo textual */
.pt-card-tag {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-earth);
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
}

.pt-card-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.pt-card-title--sm {
    font-size: 1.8rem;
}

.pt-card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.pt-card-desc--sm {
    font-size: 0.9rem;
}

.pt-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.pt-meta-item {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pt-meta-item i {
    color: var(--accent-earth);
    font-size: 0.8rem;
}

/* Responsividade */
@media (max-width: 1024px) {
    .pt-card--featured {
        grid-template-columns: 1fr;
    }
    .pt-card--featured .pt-card-img-wrap {
        height: 320px;
    }
    .pt-card--featured .pt-card-body {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .pt-grid {
        grid-template-columns: 1fr;
    }
    .pt-card--secondary .pt-card-img-wrap {
        height: 240px;
    }
}

/* ==========================================================================
   9c. GALERIA SENSORIAL
   ========================================================================== */
.gallery-section {
    border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: var(--text-dark);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 22, 19, 0.8), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-title {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    transform: translateY(15px);
    transition: transform 0.5s ease;
}

/* Hover Effects */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

/* Spans in Grid */
.gallery-item.size-large {
    grid-column: span 2;
    height: 380px;
}

.gallery-item.size-tall {
    grid-row: span 2;
    height: 780px;
}

.gallery-item.size-normal {
    height: 380px;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.size-large,
    .gallery-item.size-tall,
    .gallery-item.size-normal {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   10. PREPARAÇÃO (TABS)
   ========================================================================== */
.preparation-section {
    border-bottom: 1px solid var(--border-color);
}

.prep-tabs-container {
    margin-top: 60px;
}

.prep-tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 20px 40px;
    cursor: pointer;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition-quick);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-earth);
    transition: var(--transition-quick);
}

.tab-btn:hover {
    color: var(--text-dark);
}

.tab-btn.active {
    color: var(--text-dark);
    font-weight: 500;
}

.tab-btn.active::after {
    width: 100%;
}

/* Pane Styles */
.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.pane-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.pane-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.pane-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pane-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.check-icon {
    color: var(--accent-earth);
    margin-top: 4px;
    font-size: 0.9rem;
}

.pane-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.prep-visual-card {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}

.prep-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.prep-visual-card:hover .prep-card-img {
    transform: scale(1.06);
}

.prep-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 32, 28, 0.95) 0%,
        rgba(26, 32, 28, 0.45) 50%,
        rgba(26, 32, 28, 0.15) 100%
    );
}

.prep-card-content {
    position: relative;
    z-index: 2;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 400px;
    color: var(--text-light);
}

.prep-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(176, 74, 44, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.prep-card-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    font-weight: 400;
}

.prep-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prep-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(247, 245, 240, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 245, 240, 0.2);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .pane-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pane-visual {
        display: flex;
        margin-top: 10px;
    }

    .prep-visual-card {
        min-height: 280px;
    }

    .prep-card-content {
        min-height: 280px;
        padding: 24px;
    }
    
    .prep-tabs-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .tab-btn {
        width: auto;
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   11. CONTATO / RESERVA FORM
   ========================================================================== */
.contact-section {
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(232, 235, 230, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 100px;
    align-items: center;
}

.contact-info-col {
    padding-right: 40px;
}

.contact-desc {
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 50px;
    font-size: 1.05rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.channel-icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(232, 235, 230, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-earth);
    font-size: 1.1rem;
    transition: var(--transition-quick);
}

.channel-card:hover .channel-icon {
    background-color: var(--accent-earth);
    color: var(--text-light);
    border-color: var(--accent-earth);
}

.channel-body span {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    opacity: 0.5;
    display: block;
    margin-bottom: 4px;
}

.channel-body a, 
.channel-body p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.channel-body a:hover {
    color: var(--accent-earth);
}

/* Booking Form Column */
.contact-form-col {
    background-color: var(--bg-dark-secondary);
    border: 1px solid rgba(232, 235, 230, 0.05);
    padding: 60px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-row {
    position: relative;
    width: 100%;
}

.form-row.double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(232, 235, 230, 0.2);
    color: var(--text-light);
    padding: 10px 0 14px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    outline: none;
    transition: var(--transition-quick);
}

.input-group select {
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    opacity: 0.4;
    pointer-events: none;
    transition: var(--transition-quick);
}

/* Label Animation */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
    top: -15px;
    font-size: 0.65rem;
    color: var(--accent-earth);
    opacity: 1;
}

/* Input Focus border highlight */
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-bottom-color: var(--accent-earth);
}

/* Custom Dropdown Styling styling */
.select-arrow {
    position: absolute;
    right: 5px;
    bottom: 18px;
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0.4;
    pointer-events: none;
}

/* Dropdown option background values */
.input-group select option {
    background-color: var(--bg-dark-secondary);
    color: var(--text-light);
}

/* Form Section Label */
.form-section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-earth);
    margin-bottom: 15px;
    font-weight: 500;
}

.form-section-label i {
    margin-right: 6px;
}

/* Tour Type Selector (Privativo vs Coletivo) */
.tour-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tour-type-option {
    cursor: pointer;
}

.tour-type-option input[type="radio"] {
    display: none;
}

.tour-type-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background-color: rgba(247, 245, 240, 0.03);
    border: 1px solid rgba(232, 235, 230, 0.15);
    border-radius: 8px;
    transition: var(--transition-quick);
}

.tour-type-card i {
    font-size: 1.3rem;
    color: var(--text-light);
    opacity: 0.6;
    transition: var(--transition-quick);
}

.tour-type-info {
    display: flex;
    flex-direction: column;
}

.tour-type-info strong {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-light);
}

.tour-type-info span {
    font-size: 0.72rem;
    color: var(--text-light);
    opacity: 0.55;
    margin-top: 2px;
}

.tour-type-option input[type="radio"]:checked + .tour-type-card {
    background-color: rgba(176, 74, 44, 0.15);
    border-color: var(--accent-earth);
}

.tour-type-option input[type="radio"]:checked + .tour-type-card i {
    color: var(--accent-earth);
    opacity: 1;
}

.tour-type-option input[type="radio"]:checked + .tour-type-card .tour-type-info strong {
    color: var(--accent-earth);
}

/* Roteiros Checkbox Grid (Multi-Select) */
.roteiros-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 6px;
}

.roteiros-checkbox-grid::-webkit-scrollbar {
    width: 4px;
}
.roteiros-checkbox-grid::-webkit-scrollbar-thumb {
    background: var(--accent-earth);
    border-radius: 4px;
}

.roteiro-checkbox-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background-color: rgba(247, 245, 240, 0.03);
    border: 1px solid rgba(232, 235, 230, 0.12);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.roteiro-checkbox-card input[type="checkbox"] {
    display: none;
}

.custom-checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(232, 235, 230, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: transparent;
    transition: var(--transition-quick);
    flex-shrink: 0;
}

.roteiro-card-name {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1.3;
}

.roteiro-checkbox-card input[type="checkbox"]:checked ~ .custom-checkmark {
    background-color: var(--accent-earth);
    border-color: var(--accent-earth);
    color: #fff;
}

.roteiro-checkbox-card input[type="checkbox"]:checked ~ .roteiro-card-name {
    color: #fff;
    opacity: 1;
    font-weight: 500;
}

/* Form Status Message */
.form-status {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: none;
    margin-top: 15px;
}

.form-status.success {
    display: block;
    color: #51cf66;
}

.form-status.error {
    display: block;
    color: #ff6b6b;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info-col {
        padding-right: 0;
    }
    
    .contact-form-col {
        padding: 40px 30px;
    }
    
    .form-row.double {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* ==========================================================================
   12. FOOTER (RODAPÉ)
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    padding: 100px 0 50px 0;
    border-top: 1px solid rgba(232, 235, 230, 0.03);
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 25px;
}

.footer-manifesto {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 30px;
    max-width: 380px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(232, 235, 230, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

.footer-socials a:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.footer-links-col h4,
.footer-sustainability-col h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-earth);
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-links-col ul,
.footer-sustainability-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-col a {
    color: var(--text-light);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links-col a:hover {
    color: var(--accent-earth);
    opacity: 1;
}

.sust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.icon-footer-list {
    color: var(--accent-earth);
    font-size: 0.85rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(232, 235, 230, 0.05);
    padding-top: 40px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   13. AUTOMATIC TEXT CONTRAST ENFORCEMENT FOR DARK / LIGHT SECTIONS
   ========================================================================== */

/* Enforce dark text on light backgrounds */
body, 
.philosophy-section, 
.roteiros-section, 
.gallery-section, 
.preparation-section,
.pt-card-body,
.bg-light {
    color: var(--text-dark);
}

body h1, body h2, body h3, body h4,
.philosophy-section h1, .philosophy-section h2, .philosophy-section h3,
.roteiros-section h1, .roteiros-section h2, .roteiros-section h3,
.gallery-section h1, .gallery-section h2, .gallery-section h3,
.preparation-section h1, .preparation-section h2, .preparation-section h3,
.pt-card-body h1, .pt-card-body h2, .pt-card-body h3 {
    color: var(--text-dark);
}

body p, body li, body span,
.philosophy-section p, .philosophy-section li,
.roteiros-section p, .roteiros-section li,
.gallery-section p, .gallery-section li,
.preparation-section p, .preparation-section li {
    color: var(--text-dark);
}

.section-desc, .paragraph-body, .showroom-description, .contact-desc {
    color: var(--text-muted);
}

/* Enforce light text on dark backgrounds */
.page-hero, 
.contact-section, 
.footer, 
.preloader, 
.showroom-wrapper, 
.showroom-details,
.showroom-action-panel,
.bg-dark {
    color: var(--text-light) !important;
}

.page-hero h1, .page-hero h2, .page-hero h3,
.contact-section h1, .contact-section h2, .contact-section h3, .contact-section h4,
.footer h1, .footer h2, .footer h3, .footer h4,
.preloader h1, .preloader h2,
.showroom-details h1, .showroom-details h2, .showroom-details h3, .showroom-details h4,
.bg-dark h1, .bg-dark h2, .bg-dark h3 {
    color: var(--text-light) !important;
}

.page-hero p, .page-hero span,
.contact-section p, .contact-section span, .contact-section li, .contact-section label,
.footer p, .footer span, .footer li, .footer-manifesto,
.preloader p, .preloader span,
.showroom-details p, .showroom-details span,
.showroom-description,
.bg-dark p, .bg-dark span, .bg-dark li {
    color: var(--text-light) !important;
    opacity: 0.9 !important;
}

.footer-links-col a, .footer-manifesto, .footer-credits, .footer-bottom p {
    color: var(--text-light) !important;
    opacity: 0.7 !important;
}
.footer-links-col a:hover {
    color: var(--accent-earth) !important;
    opacity: 1 !important;
}

/* ==========================================================================
   14. MASTER RESPONSIVE & IMAGE OPTIMIZATION SYSTEM
   ========================================================================== */

/* Universal Responsive Image Rules */
img, video {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ensure smooth image scaling and sharpness across screens */
.hero-img,
.page-hero-bg,
.pt-card-img,
.gallery-img,
.philosophy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Responsive Container & Grid System */
@media (max-width: 1200px) {
    .container, .container-fluid, .header-container, .hero-grid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 20px;
        padding-bottom: 60px;
    }
    
    .hero-image-wrapper {
        padding-bottom: 75%;
        border-radius: 12px;
    }
    
    .brand-logo img {
        height: 42px;
        max-height: 44px;
    }
}

@media (max-width: 768px) {
    .container, .container-fluid, .header-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    /* Page Hero Banners */
    .page-hero {
        height: 40vh;
        min-height: 280px;
    }
    
    .page-hero-content {
        padding: 0 20px 30px 20px;
    }
    
    .page-hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    
    /* Gallery Grid Preview (Home) */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .gallery-item, .gallery-item.size-tall, .gallery-item.size-large, .gallery-item.size-normal {
        height: 280px !important;
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        border-radius: 8px;
    }
    
    .gallery-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%) !important;
    }
    
    .gallery-title {
        transform: translateY(0) !important;
        font-size: 1.3rem;
    }
    
    /* Pontos Turísticos Cards */
    .pt-card--featured {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }
    
    .pt-card--featured .pt-card-img-wrap {
        height: 280px;
    }
    
    .pt-card--featured .pt-card-body {
        padding: 30px 20px;
    }
    
    .pt-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pt-card--secondary {
        border-radius: 12px;
    }
    
    .pt-card--secondary .pt-card-img-wrap {
        height: 240px;
    }
    
    .pt-card--secondary .pt-card-body {
        padding: 24px 20px;
    }

    .pt-card-title {
        font-size: 1.8rem;
    }

    .pt-card-title--sm {
        font-size: 1.5rem;
    }
    
    /* Showroom Roteiros */
    .showroom-details {
        padding: 30px 20px;
    }
    
    .showroom-action-panel {
        padding: 0 20px 30px 20px;
    }
    
    .showroom-images {
        padding-bottom: 65%;
        min-height: 240px;
    }

    .roteiro-item {
        padding: 20px 0;
    }

    .roteiro-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }
    
    .brand-logo img {
        height: 46px;
        max-height: 50px;
    }
    
    .header-actions .btn-nav {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-details {
        flex-direction: row;
        gap: 20px;
    }

    .tour-type-selector {
        grid-template-columns: 1fr;
    }

    .roteiros-checkbox-grid {
        grid-template-columns: 1fr;
        max-height: 320px;
    }
    
    .pt-card--featured .pt-card-img-wrap {
        height: 230px;
    }
    
    .pt-card--secondary .pt-card-img-wrap {
        height: 200px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .page-hero {
        height: 35vh;
        min-height: 240px;
    }
}

/* ==========================================================================
   15. PONTOS TURÍSTICOS LIGHTBOX MODAL
   ========================================================================== */
.pt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.pt-modal.active {
    opacity: 1;
    visibility: visible;
}

.pt-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 28, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pt-modal-dialog {
    position: relative;
    z-index: 2;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.pt-modal.active .pt-modal-dialog {
    transform: scale(1) translateY(0);
}

.pt-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(247, 245, 240, 0.15);
    border: 1px solid var(--border-color-light);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.pt-modal-close:hover {
    background-color: var(--accent-earth);
    color: #fff;
    transform: rotate(90deg);
}

.pt-modal-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    height: 100%;
    max-height: 85vh;
    overflow: hidden;
}

.pt-modal-img-col {
    background-color: #0d120f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.pt-modal-img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.pt-modal-info-col {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    background-color: var(--bg-dark);
}

.pt-modal-tag {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-earth) !important;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.pt-modal-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: var(--text-light) !important;
    font-weight: 300;
    margin-bottom: 18px;
    line-height: 1.15;
}

.pt-modal-desc {
    color: var(--text-light) !important;
    opacity: 0.85 !important;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.pt-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color-light);
}

.pt-modal-meta .pt-meta-item {
    color: var(--text-light) !important;
    opacity: 0.9 !important;
    font-size: 0.8rem;
}

.pt-modal-cta {
    align-self: flex-start;
    margin-top: 10px;
}

/* Responsividade do Modal */
@media (max-width: 850px) {
    .pt-modal-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
        overflow-y: auto;
    }

    .pt-modal-img-col {
        padding: 15px;
        max-height: 320px;
    }

    .pt-modal-img {
        max-height: 290px;
    }

    .pt-modal-info-col {
        padding: 30px 24px;
    }

    .pt-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .pt-modal {
        padding: 12px;
    }

    .pt-modal-dialog {
        max-height: 92vh;
    }

    .pt-modal-img-col {
        max-height: 240px;
    }

    .pt-modal-img {
        max-height: 220px;
    }

    .pt-modal-info-col {
        padding: 20px 16px;
    }

    .pt-modal-title {
        font-size: 1.7rem;
    }

    .pt-modal-desc {
        font-size: 0.88rem;
    }
}
