/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cores do Bancobrás */
:root {
    --bancobras-blue-dark: #0070B0; /* Azul escuro principal */
    --bancobras-blue-light: #00ADE5; /* Azul claro */
    --bancobras-green: #00B000; /* Verde */
    --bancobras-orange: #FF8C00; /* Laranja */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #666666;
    --gradient-primary: linear-gradient(135deg, var(--bancobras-blue-dark) 0%, var(--bancobras-blue-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--bancobras-green) 0%, var(--bancobras-orange) 100%);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 40px;
    object-fit: contain;
}

.itau-logo {
    height: 50px; /* Ajustado para harmonizar com o logo da LR Prime */
}

.lr-logo {
    height: 55px;
}

.partnership {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.partnership-text {
    font-size: 10px;
    color: var(--dark-gray);
    font-weight: 500;
}

.header-cta {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-secondary);
    overflow: hidden;
    padding-top: 80px; /* Add padding to avoid content being hidden by fixed header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(\'family_first_car.jpg\') center/cover no-repeat;
    z-index: 1;
}

.hero-background::before {
    content: \"\";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(\'family_first_car.jpg\') center/cover no-repeat;
    background-size: cover;
    opacity: 0.8;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 112, 176, 0.9) 0%, rgba(0, 173, 229, 0.8) 100%); /* Ajustado para cores Bancobrás */
    z-index: 2;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--bancobras-green); /* Ajustado para cor Bancobrás */
    background: linear-gradient(45deg, var(--bancobras-green), var(--bancobras-orange)); /* Ajustado para cores Bancobrás */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-benefits {
    display: flex;
    flex-direction: column; /* Stack benefits vertically */
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.benefit-item i {
    color: var(--bancobras-green); /* Ajustado para cor Bancobrás */
    font-size: 1.2rem;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

/* Form Card */
.form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bancobras-blue-dark); /* Ajustado para cor Bancobrás */
    margin-bottom: 20px;
    text-align: center;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 14px;
}

.privacy-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--dark-gray);
    padding: 10px;
    background: var(--light-gray);
    border-radius: 10px;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center content */
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bancobras-blue-dark); /* Ajustado para cor Bancobrás */
    text-align: center;
    margin-bottom: 60px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products-hero {
    background: transparent;
}

.products-hero .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 30px;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img,
.product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 20px;
}

.product-content {
    padding: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 14px;
}

/* Form in Benefits Section */
.form-benefits-container {
    grid-column: span 2;
}

/* Footer */
.footer {
    background: var(--bancobras-blue-dark); /* Ajustado para cor Bancobrás */
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 100px 0 40px;
    }

    .hero-text {
        order: 2;
    }

    .products-hero {
        order: 1;
    }

    .products-hero .section-title {
        text-align: center;
    }

    .hero-benefits {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-ctas {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-benefits-container {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Ajustes para o header em telas menores */
    .header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header-content {
        padding: 10px 0;
    }

    .logos {
        gap: 10px;
    }

    .itau-logo {
        height: 50px;
    }

    .lr-logo {
        height: 60px;
    }

    .partnership-text {
        font-size: 10px;
    }

    .header-cta {
        display: none; /* Hide header CTA on very small screens */
    }

    /* Ajustes para a seção hero em telas menores */
    .hero-content {
        padding-top: 100px; /* Ajusta o padding para compensar o header fixo */
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-benefits {
        flex-wrap: wrap;
        justify-content: center;
    }

    .benefit-item {
        font-size: 0.9rem;
    }

    .products-hero .section-title {
        font-size: 1.8rem;
    }

    .product-card {
        padding: 15px;
    }

    .product-image {
        height: 150px;
    }

    .product-overlay h3 {
        font-size: 1rem;
    }

    .product-features li {
        font-size: 12px;
    }

    .product-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Ajustes para o formulário em telas menores */
    .form-card {
        padding: 20px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .form-group input, .form-group select {
        padding: 12px 15px;
        font-size: 12px;
    }

    .privacy-notice {
        font-size: 10px;
    }

    .cta-button.form-submit {
        padding: 14px;
        font-size: 14px;
    }

    /* Ajustes para as seções de benefícios e CTA */
    .benefits {
        padding: 60px 0;
    }

    .benefits-grid {
        gap: 20px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .benefit-icon i {
        font-size: 1.5rem;
    }

    .benefit-card h3 {
        font-size: 1.3rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button.large {
        padding: 15px 30px;
        font-size: 16px;
    }

    /* Ajustes para o footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-info p, .footer-contact p {
        font-size: 0.8rem;
    }

    .footer-contact h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header-content {
        padding: 8px 0;
    }

    .logos {
        flex-direction: column;
        gap: 8px;
    }

    .itau-logo {
        height: 40px;
    }

    .lr-logo {
        height: 50px;
    }

    .partnership-text {
        font-size: 10px;
    }

    .header-cta {
        display: none; /* Hide header CTA on very small screens */
    }

    .hero-content {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .products-grid {
        gap: 20px;
    }

    .product-card {
        border-radius: 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-overlay h3 {
        font-size: 0.9rem;
    }

    .product-features li {
        font-size: 10px;
    }

    .product-cta {
        padding: 8px 15px;
        font-size: 12px;
    }

    .form-card {
        padding: 15px;
    }

    .form-title {
        font-size: 1.1rem;
    }

    .form-group input, .form-group select {
        padding: 10px 12px;
        font-size: 10px;
    }

    .privacy-notice {
        font-size: 8px;
    }

    .cta-button.form-submit {
        padding: 12px;
        font-size: 12px;
    }

    .benefits {
        padding: 40px 0;
    }

    .benefits-grid {
        gap: 15px;
    }

    .benefit-card {
        padding: 20px 15px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
    }

    .benefit-icon i {
        font-size: 1.2rem;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.9rem;
    }

    .cta-buttons {
        gap: 10px;
    }

    .cta-button.large {
        padding: 12px 20px;
        font-size: 14px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-info p, .footer-contact p {
        font-size: 0.7rem;
    }

    .footer-contact h4 {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text {
    animation-delay: 0.2s;
}

.products-hero {
    animation-delay: 0.4s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}




/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: var(--light-gray);
    text-align: center;
}

.calculator-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.calculator-description {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.calculator-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--bancobras-blue-dark);
    margin-bottom: 30px;
}

.calculator-form .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.calculator-form label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.calculator-form input,
.calculator-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 16px;
}

.economy-result {
    margin-top: 30px;
    padding: 20px;
    background: var(--bancobras-blue-light);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Form Section (moved) */
.form-section {
    padding: 100px 0;
    background: var(--bancobras-blue-dark);
}

.form-section .form-card {
    max-width: 500px;
    margin: 0 auto;
}

.form-section .form-title {
    color: var(--bancobras-blue-dark);
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 60px 0;
    }

    .calculator-card {
        padding: 30px;
    }

    .calculator-title {
        font-size: 1.5rem;
    }

    .calculator-form input,
    .calculator-form select {
        font-size: 14px;
        padding: 12px 15px;
    }

    .economy-result {
        font-size: 1rem;
        padding: 15px;
    }

    .form-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 40px 0;
    }

    .calculator-card {
        padding: 20px;
    }

    .calculator-title {
        font-size: 1.3rem;
    }

    .calculator-form input,
    .calculator-form select {
        font-size: 12px;
        padding: 10px 12px;
    }

    .economy-result {
        font-size: 0.9rem;
        padding: 10px;
    }

    .form-section {
        padding: 40px 0;
    }
}


