﻿/* ==========================================================
   CSS CUSTOMIZADO - HOLDING PREMIUM LANDING PAGE
   Cores: Vermelho Escuro Corporativo, Dourado e Off White
   ========================================================== */

:root {
    /* Color Palette */
    --dark-red: #3B0918;
    /* Vermelho Escuro Imponente */
    --dark-red-light: #500A1F;
    /* Vermelho SecundÃ¡rio */
    --accent: #D4AF37;
    /* Dourado Ouro */
    --accent-hover: #F1C40F;
    --offwhite: #F8F9FA;
    --light-red: #F9EBEF;
    /* Background Diferencial */

    /* Typography */
    --font-playfair: 'Playfair Display', serif;
    --font-inter: 'Inter', sans-serif;
}

body {
    font-family: var(--font-inter);
    color: #333;
    background-color: var(--offwhite);
    -webkit-font-smoothing: antialiased;
}

/* Typography Classes */
.font-playfair {
    font-family: var(--font-playfair);
}

.font-inter {
    font-family: var(--font-inter);
}

.text-dark-red {
    color: var(--dark-red) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-dark-red {
    background-color: var(--dark-red) !important;
}

.bg-offwhite {
    background-color: var(--offwhite) !important;
}

.bg-light-red {
    background-color: var(--light-red) !important;
}

/* Dourado Ouro Gradiente */
.text-gradient {
    background: linear-gradient(90deg, #D4AF37, #F1C40F, #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Spacing */
.py-10 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Buttons Customization */
.btn-primary {
    background-color: var(--accent);
    color: var(--dark-red);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-hover);
    color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3) !important;
}

/* WhatsApp CTA Background */
.btn-whatsapp {
    background: linear-gradient(135deg, #075E54 0%, #25D366 100%);
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: linear-gradient(135deg, #054C44 0%, #128C7E 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.6) !important;
}

.btn-outline-accent {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-accent:hover {
    background-color: var(--accent);
    color: var(--dark-red);
}

.shadow-gold {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.shadow-gold-lg {
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

/* Navbar Transition */
.transition-navbar {
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    background-color: transparent;
}

.navbar-scrolled {
    background-color: rgba(59, 9, 24, 0.98);
    padding: 0.8rem 0;
    backdrop-filter: blur(10px);
}

.navbar-scrolled .btn-outline-accent {
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--dark-red);
    padding-top: 80px;
    /* Offset for nav */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Imagem de Propriedade/Fazenda demonstrando patrimônio familiar */
    background-image: url('foto1.jpg');
    background-position: center bottom;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay Vermelho Intenso Escuro - Ajustado a opacidade para mostrar a imagem */
    background: linear-gradient(135deg, rgba(59, 9, 24, 0.85) 0%, rgba(59, 9, 24, 0.55) 100%);
}

.scrolldown {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Custom Cards */
.card-premium {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent !important;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent) !important;
}

/* BenefÃ­cios (Ãcones) */
.benefit-block {
    transition: all 0.3s ease;
}

.benefit-block:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-red);
}

.title-separator {
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

/* Timeline/Processo */
.process-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 2;
    position: relative;
}

.header-process-line {
    position: absolute;
    top: 30px;
    /* Metade do process-node */
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: rgba(59, 9, 24, 0.1);
    z-index: 1;
}

@media (max-width: 991px) {
    .header-process-line {
        display: none !important;
    }
}

/* Background Divisores / Abstract */
.bg-abstract {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

/* Accordion Custom (FAQ) */
.accordion-premium .accordion-item {
    border: none;
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.accordion-premium .accordion-button {
    font-family: var(--font-inter);
    font-weight: 600;
    color: var(--dark-red);
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: none !important;
}

.accordion-premium .accordion-button:not(.collapsed) {
    color: var(--accent);
    background-color: #fdfcfa;
}

.accordion-premium .accordion-button::after {
    filter: invert(13%) sepia(35%) saturate(2250%) hue-rotate(345deg) brightness(96%) contrast(97%);
    /* Vermelho match */
}

.accordion-premium .accordion-button:not(.collapsed)::after {
    filter: invert(72%) sepia(50%) saturate(632%) hue-rotate(5deg) brightness(97%) contrast(85%);
    /* Gold match */
}

/* Utilities */
.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}
/* ==========================================================
   MOBILE OPTIMIZATIONS (Max-width 768px)
   ========================================================== */
@media (max-width: 768px) {
    /* Navbar Adjustment */
    .navbar-brand img {
        height: 50px;
    }
    
    /* Center the Hero text and buttons */
    .hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .hero .d-flex {
        flex-direction: column !important;
        align-items: center;
        width: 100%;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Center headings and texts in sections */
    section h2, section h3 {
        text-align: center;
    }
    
    section p.lead, section p.fs-5, section p.fs-4 {
        text-align: center;
    }

    .benefit-block, .card-premium {
        text-align: center;
    }

    /* Stack flex elements */
    #oquee .d-flex.gap-4 {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center;
    }
    
    #oquee .d-flex.gap-4 .border-start {
        border-start: none !important;
        border-left: none !important;
        border-top: 3px solid var(--accent);
        padding-left: 0 !important;
        padding-top: 1rem;
    }

    /* Autoridade e Para quem e diferencial */
    section img {
        margin-bottom: 2rem;
    }

    /* Footer */
    footer img {
        margin-bottom: 1rem !important;
    }
    
    /* Responsive Offcanvas Menu styling */
    .offcanvas-body ul {
        text-align: center;
    }

    .offcanvas-body .mobile-nav-link {
        font-size: 1.2rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

/* ==========================================================
   URGENT MOBILE FIXES - OVERFLOW & NAVBAR
   ========================================================== */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

@media (max-width: 991px) {
    .navbar > .container {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .navbar-brand {
        margin-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .navbar-brand img {
        max-height: 65px !important;
        height: auto !important;
        width: auto !important;
        max-width: 70vw !important;
        object-fit: contain !important;
    }

    .navbar-toggler {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 5px !important;
    }
    
    .navbar-toggler i {
        color: #fff !important;
        font-size: 2.5rem !important;
    }
}
