/* ================================
   RESET & BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    /* Cores Oficiais */
    --primary-color: rgb(0, 49, 211);
    --secondary-color: rgb(0, 162, 255);
    --tertiary-orange: rgb(255, 166, 6);
    --tertiary-coral: rgb(255, 104, 92);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-warm: linear-gradient(135deg, var(--tertiary-orange), var(--tertiary-coral));
    --gradient-hero: linear-gradient(135deg, rgba(0, 49, 211, 0.68), rgba(0, 162, 255, 0.65));
    
    /* Tipografia */
    --font-primary: 'Baloo 2', cursive;
    --font-secondary: 'Calibri', sans-serif;
    
    /* Espaçamentos */
    --container-padding: 20px;
    --section-padding: 60px 20px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-secondary);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

/* ================================
   HERO SECTION
   ================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.genspark.ai/api/files/s/INIyRWkf') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

/* Ondas decorativas */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" d="M0,0 C300,80 600,80 900,40 C1050,20 1150,60 1200,80 L1200,120 L0,120 Z"></path></svg>') no-repeat;
    background-size: cover;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Column */
.hero-left {
    color: #fff;
}

.logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.logos-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo-thermas {
    max-width: 140px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.logo-campaign {
    max-width: 180px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.headline {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.subheadline {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.95;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 18px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.benefit-item i {
    color: var(--tertiary-orange);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--tertiary-coral);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
}

.urgency-badge i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-cta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 24px rgba(34, 197, 94, 0.6);
    }
}

/* Right Column - Form */
.hero-right {
    width: 100%;
}

.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.form-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.form-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: var(--transition-smooth);
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.1);
}

.form-group input.error {
    border-color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group input.error ~ .error-message {
    display: block;
}

.btn-cta {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    margin-top: 10px;
    animation: pulse-cta 2s ease-in-out infinite;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    animation: none;
}

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

.btn-cta i {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.btn-cta:hover i {
    transform: translateX(5px);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.5;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message.show {
    display: block;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.success-message h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ================================
   BENEFITS SECTION
   ================================ */

.benefits-section {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.benefit-card h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ================================
   EMOTIONAL SECTION
   ================================ */

.emotional-section {
    position: relative;
    padding: 100px 20px;
    background: url('https://www.genspark.ai/api/files/s/lxXRGMbe') center/cover no-repeat;
    text-align: center;
    color: #fff;
}

.emotional-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 49, 211, 0.75), rgba(0, 0, 0, 0.5));
}

.emotional-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.emotional-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8),
                 0 2px 8px rgba(0, 0, 0, 0.6);
}

.emotional-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.98;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7),
                 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ================================
   BOIA SECTION
   ================================ */

.boia-section {
    padding: var(--section-padding);
    background: #fff;
}

.boia-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.boia-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.boia-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.boia-image:hover img {
    transform: scale(1.05);
}

.boia-text h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.boia-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.boia-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.boia-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
}

.boia-features i {
    color: #22c55e;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ================================
   URGENCY SECTION
   ================================ */

.urgency-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
}

.urgency-content {
    max-width: 700px;
    margin: 0 auto;
}

.urgency-content h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.urgency-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.urgency-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.urgency-icon {
    font-size: 3rem;
    color: var(--tertiary-orange);
    animation: shake 2s infinite;
    flex-shrink: 0;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* ================================
   VIDEO SECTION
   ================================ */

.video-section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: #000;
    margin: 0;
    padding: 0;
}

.video-fullwidth {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
}

.video-fullwidth video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--primary-color);
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.btn-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary i {
    transition: var(--transition-smooth);
}

.btn-cta-secondary:hover i {
    transform: translateY(-5px);
}

/* ================================
   SOCIAL PROOF SECTION
   ================================ */

.social-proof {
    padding: 40px 20px;
    background: #f8f9fa;
    text-align: center;
}

.social-proof p {
    font-size: 1.15rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-proof i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    padding: 40px 20px;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}

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

.footer-logo {
    max-width: 180px;
    opacity: 0.9;
}

.footer p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-link {
    color: var(--tertiary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: #fff;
}

/* ================================
   RESPONSIVE - MOBILE
   ================================ */

@media (max-width: 767px) {
    .video-section {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0;
        background: #000;
        -webkit-overflow-scrolling: touch;
    }
    
    .video-fullwidth {
        width: 1000px;
        max-width: none;
        aspect-ratio: 16 / 9;
        height: auto;
        margin: 0 auto;
    }
    
    .video-fullwidth video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ================================
   RESPONSIVE - TABLET
   ================================ */

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .headline {
        font-size: 3rem;
    }
    
    .emotional-content h2 {
        font-size: 3rem;
    }
}

/* ================================
   RESPONSIVE - DESKTOP
   ================================ */

@media (min-width: 1024px) {
    :root {
        --section-padding: 80px 20px;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 450px;
        gap: 60px;
        align-items: center;
    }
    
    .headline {
        font-size: 3.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .boia-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .logo-thermas {
        max-width: 180px;
    }
    
    .logo-campaign {
        max-width: 220px;
    }
    
    /* Sticky Form on Desktop */
    .hero-right {
        position: sticky;
        top: 20px;
        align-self: start;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ================================
   ANIMATIONS
   ================================ */

[data-aos] {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Delay classes */
[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}