:root {
    --primary-color: #FFC107;
    --secondary-color: #e6a100;
    --dark-bg: #121212;
    --dark-section: #1e1e1e;
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Seções e Layout */
.content-section {
    padding: 80px 10%;
}

#header {
    width: 100%;
    padding-top: -1px;
    padding-bottom: 0.9px;
    padding-left: 110px;
    padding-right: 110px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header img {
    height: 100.75px;
    width: 170px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 30px;
    transition: color var(--transition-speed) ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(32px, 4vw, 60px);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    font-size: clamp(16px, 1.2vw, 20px);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
}

.video-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
}

.video-container img {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.section-title {
    font-size: clamp(28px, 3vw, 48px);
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--transition-speed) ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: clamp(20px, 2vw, 24px);
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
}

#form-section {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    text-align: center;
}

.form-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.form-content h2 {
    font-size: clamp(28px, 3vw, 36px);
    margin-bottom: 10px;
}

.form-content p {
    margin-bottom: 30px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--text-color);
    border-radius: var(--border-radius);
    background-color: transparent;
    color: var(--text-color);
    font-size: 16px;
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input::placeholder {
    color: #ccc;
}

/* Botões */
.btn {
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

#lead-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
footer {
    padding: 40px 10%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color var(--transition-speed) ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background-color: #40c351;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.whatsapp-float:hover {
    background-color: #36a443;
    transform: scale(1.05);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Animações (melhoradas) */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.animate-slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s forwards;
}

.animate-slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .content-section {
        padding: 60px 5%;
    }
    #hero {
        padding-top: 80px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text, .video-container {
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    .hero-text p {
        font-size: 16px;
    }
    .hero-text h1 {
        font-size: 32px;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    #header {
        padding: 20px;
    }
    .main-nav {
        display: none; /* Simplifica a navegação em telas menores, pode ser substituído por um menu hambúrguer */
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        gap: 8px;
        font-size: 14px;
    }
    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}