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

:root {
    /* Color Palette */
    --color-primary-dark: #0f241a;
    --color-primary: #1b3d2b;
    --color-primary-light: #2c6346;
    --color-secondary: #c99c62;
    --color-secondary-light: #dfb681;
    --color-bg-dark: #070a08;
    --color-text-white: #ffffff;
    --color-text-gray: #b5c4bd;
    --color-text-muted: #80968c;
    
    /* Fonts */
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    
    /* Layout */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
    background-color: var(--color-bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-white);
    min-height: 100%;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Zoom (Ken Burns Effect) */
.bg-zoom-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.bg-zoom-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    animation: kenburns 30s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 36, 26, 0.4) 0%, rgba(7, 10, 8, 0.85) 70%, rgba(7, 10, 8, 0.95) 100%);
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-1%, -1%);
    }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Main Layout Wrapper */
.main-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 1.5rem 1rem;
    }
}

/* Header */
.header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.85); /* Fundo branco com transparência */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.1rem 3.2rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    transition: var(--transition-smooth);
}

.logo-wrapper:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.logo {
    height: clamp(65px, 8.5vh, 105px);
    width: auto;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge {
    background: rgba(201, 156, 98, 0.15);
    border: 1px solid rgba(201, 156, 98, 0.3);
    color: var(--color-secondary-light);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.main-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
    color: var(--color-text-white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.main-title .highlight {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(201, 156, 98, 0.4);
}

.subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 300;
    color: var(--color-text-gray);
    max-width: 680px;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.7;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    width: 100%;
    max-width: 500px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem 0.8rem;
    min-width: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.countdown-item:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 156, 98, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.countdown-item .number {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 500;
    color: var(--color-secondary);
    line-height: 1.1;
    font-feature-settings: "tnum";
}

.countdown-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
    font-weight: 500;
}

.countdown-divider {
    font-size: 1.8rem;
    color: rgba(201, 156, 98, 0.6);
    font-weight: 300;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.5rem;
    }
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem 0.5rem;
        border-radius: 12px;
    }
    .countdown-divider {
        font-size: 1.2rem;
    }
}

/* Glassmorphic Action Card */
.action-card {
    background: rgba(15, 36, 26, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.2rem;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    text-align: left;
    transition: var(--transition-smooth);
}

.action-card:hover {
    border-color: rgba(201, 156, 98, 0.15);
}

.card-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-header h2 {
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-white);
}

.card-header p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Form Styles */
.subscribe-form {
    position: relative;
}

.input-group {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 6px;
    transition: var(--transition-smooth);
    width: 100%;
}

.input-group:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(201, 156, 98, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

.subscribe-form input[type="email"] {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-white);
    padding: 0.5rem 1rem 0.5rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.btn-submit {
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    border: none;
    outline: none;
    border-radius: 100px;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-submit:hover {
    background: var(--color-secondary-light);
    transform: translateX(2px);
    box-shadow: 0 4px 15px rgba(201, 156, 98, 0.3);
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

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

.form-feedback {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
    transition: var(--transition-smooth);
    opacity: 0;
}

.form-feedback.success {
    color: #55c57a;
    opacity: 1;
}

.form-feedback.error {
    color: #ff6b6b;
    opacity: 1;
}

@media (max-width: 480px) {
    .action-card {
        padding: 1.5rem 1.2rem;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 0.8rem;
        padding: 0;
    }
    
    .input-group:focus-within {
        box-shadow: none;
    }
    
    .subscribe-form input[type="email"] {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 100px;
        padding: 1rem 1.5rem;
    }
    
    .subscribe-form input[type="email"]:focus {
        border-color: var(--color-secondary);
        background: rgba(0, 0, 0, 0.6);
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}

/* Footer Section */
.footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.location-icon {
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-gray);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    border-color: var(--color-secondary);
    box-shadow: 0 5px 15px rgba(201, 156, 98, 0.2);
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
