/* REVERT - Design System & Stylesheet */

:root {
    /* Color Palette */
    --color-bg-dark: #070707;
    --color-bg-panel: rgba(18, 18, 18, 0.7);
    --color-primary: #E5D3C0; /* Elegant champagne gold */
    --color-primary-hover: #F2E4D5;
    --color-primary-rgb: 229, 211, 192;
    --color-text-main: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.75);
    --color-text-dimmed: rgba(255, 255, 255, 0.45);
    --color-border: rgba(229, 211, 192, 0.15);
    --color-border-glow: rgba(229, 211, 192, 0.4);
    --color-whatsapp: #25D366;
    
    /* Typography */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
    background: rgba(229, 211, 192, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 211, 192, 0.4);
}

/* Background Image & Immersive Overlay */
.hero-background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: #0d0d0d;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 10s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.hero-bg-slide.active {
    opacity: 0.65;
    transform: scale(1);
}

/* Premium radial + linear overlay to darken edges and optimize text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.8) 35%, rgba(7, 7, 7, 0.4) 70%, rgba(7, 7, 7, 0.85) 100%),
                radial-gradient(ellipse at center, transparent 20%, rgba(7, 7, 7, 0.9) 100%);
    z-index: -1;
}

/* Header */
.main-header {
    width: 100%;
    padding: 30px 80px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.6) 0%, transparent 100%);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

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

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

.nav-link {
    color: var(--color-text-muted);
    font-family: var(--font-headings);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link.active {
    color: var(--color-text-main);
    font-weight: 600;
}

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

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

.nav-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-link.disabled::after {
    display: none;
}

.chevron-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    transition: var(--transition-fast);
}

.nav-link:hover .chevron-icon {
    transform: translateY(2px);
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 12px;
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--color-border);
    box-shadow: 0 0 10px rgba(229, 211, 192, 0.1);
}

.lang-btn svg {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Main Section */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 140px 80px 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-section {
    width: 100%;
    max-width: 800px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Badge em construção */
.construction-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(229, 211, 192, 0.08);
    border: 1px solid var(--color-border);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 35px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse-grow 2.2s infinite ease-out;
}

.badge-text {
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
}

/* Headlines Slideshow (Text Carousel) */
.slideshow-text-container {
    position: relative;
    width: 100%;
    min-height: 240px;
    margin-bottom: 30px;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.text-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-text-main);
    letter-spacing: -0.5px;
}

.hero-title br {
    display: block;
}

.accent-text {
    color: var(--color-primary);
    font-weight: 700;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-top: 24px;
    max-width: 620px;
}

/* Call to Action & Form */
.cta-container {
    width: 100%;
    margin-bottom: 50px;
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.cta-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.newsletter-form {
    width: 100%;
    max-width: 540px;
}

.input-group {
    display: flex;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: var(--color-border-glow);
    box-shadow: 0 0 20px rgba(229, 211, 192, 0.08);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 18px;
    width: 100%;
}

.email-input::placeholder {
    color: var(--color-text-dimmed);
}

.submit-btn {
    background-color: var(--color-primary);
    color: #121212;
    border: none;
    outline: none;
    border-radius: 8px;
    padding: 0 24px;
    font-family: var(--font-headings);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    height: 48px;
}

.submit-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(1px);
}

.arrow-icon {
    transition: var(--transition-fast);
}

.submit-btn:hover .arrow-icon {
    transform: translateX(3px);
}

.form-feedback {
    display: none;
    font-size: 0.85rem;
    margin-top: 10px;
    padding-left: 10px;
}

.success-message {
    color: #81C784;
}

/* Contacts Info Grid */
.contacts-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    animation: fade-in-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 18px 24px;
    flex: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: rgba(229, 211, 192, 0.25);
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: rgba(229, 211, 192, 0.08);
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.contact-card:hover .icon-wrapper {
    background-color: var(--color-primary);
    color: #121212;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-family: var(--font-headings);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-dimmed);
    margin-bottom: 4px;
}

.contact-value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-value:hover {
    color: var(--color-primary);
}

/* Footer */
.main-footer {
    width: 100%;
    padding: 30px 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-dimmed);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--color-text-dimmed);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-primary);
    border-color: var(--color-border);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 211, 192, 0.1);
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    z-index: 99;
    transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-widget:active {
    transform: scale(0.95);
}

.whatsapp-widget svg {
    transition: var(--transition-fast);
}

.whatsapp-widget:hover svg {
    transform: rotate(8deg);
}

/* Keyframes & Animations */
@keyframes pulse-grow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.4);
        opacity: 0;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .main-header {
        padding: 25px 40px;
    }
    .main-content {
        padding: 120px 40px 60px 40px;
    }
    .main-footer {
        padding: 25px 40px;
    }
}

@media (max-width: 860px) {
    .main-nav {
        display: none; /* In construction page we can hide full nav on small tablets/mobile to simplify */
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
    }
    
    .main-content {
        padding: 110px 24px 40px 24px;
        align-items: flex-start;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .slideshow-text-container {
        min-height: 280px;
    }
    
    .input-group {
        flex-direction: column;
        background-color: transparent;
        border: none;
        padding: 0;
        gap: 12px;
    }
    
    .email-input {
        background-color: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 14px 18px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        border-radius: 10px;
    }
    
    .contacts-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-container {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
    
    .whatsapp-widget {
        bottom: 24px;
        right: 24px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-widget svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.95rem;
    }
    
    .slideshow-text-container {
        min-height: 300px;
    }
    
    .construction-badge {
        margin-bottom: 25px;
    }
}
