/* ====== Parceiros/Marcas de Seguradoras ====== */
.partners-section {
    margin: 28px auto 18px auto;
    padding: 10px 0 0 0;
    max-width: 100vw;
    background: none;
}
.partners-title {
    font-size: 0.98rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    font-weight: 500;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
    justify-items: center;
    align-items: center;
    padding: 8px 0 10px 0;
}
.partners-logos img {
    height: 64px;
    width: auto;
    max-width: 130px;
    filter: grayscale(0.2) brightness(0.98) contrast(1.05);
    opacity: 0.88;
    transition: filter 0.2s, opacity 0.2s;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(10,36,99,0.04);
    padding: 6px 16px;
}
.partners-logos img:hover {
    filter: none;
    opacity: 1;
}

@media (min-width: 600px) {
    .partners-logos {
        grid-template-columns: repeat(5, 1fr);
        gap: 22px 18px;
        padding-bottom: 12px;
    }
    .partners-logos img {
        height: 80px;
        max-width: 180px;
        padding: 10px 20px;
    }
}
@media (min-width: 1024px) {
    .partners-section {
        max-width: 900px;
        margin-bottom: 24px;
    }
    .partners-logos {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 32px 28px;
        padding-bottom: 16px;
    }
    .partners-logos img {
        height: 90px;
        max-width: 180px;
    }
    /* Força quebra de linha após metade dos logos (7 em cima, 6 embaixo) */
    .partners-logos img:nth-child(8) {
        grid-column: 1;
        grid-row: 2;
    }
    .partners-logos img:nth-child(n+8) {
        grid-row: 2;
    }
}
/* ================================================================
   CSS UNIFICADO PARA LANDING PAGE E MODAL DE SIMULAÇÃO
   ================================================================ */

   

:root {
    --primary: #0A2463;
    --secondary: #1E88E5;
    --accent: #FF6B6B;
    --success: #25D366;
    --light: #F5F7FA;
    --dark: #2D3748;
    --gray: #718096;
    --border-color: #CBD5E0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 80px;
    position: relative;
}

.container {
    width: 92%;
    max-width: 500px;
    margin: 25px auto;
    transition: max-width 0.3s ease;
}

.section-title {
    margin-bottom: 20px;
    padding: 0 10px;
    text-align: center;
}
.section-title h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}
.section-title p {
    color: var(--gray);
    font-size: 0.9rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    text-align: left;
    text-decoration: none;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}
.card:active { transform: scale(0.98); }
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    transition: var(--transition);
}
.card:hover::before { width: 8px; }
.card-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}
.card-content { flex-grow: 1; }
.card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 600;
}
.card p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
}
.card-arrow {
    color: var(--border-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.card:hover .card-arrow {
    color: var(--primary);
    transform: translateX(5px);
}
.card--auto .card-icon { background: linear-gradient(135deg, #0A2463 0%, #3A7BD5 100%); }
.card--moto .card-icon { background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%); }
.card--truck .card-icon { background: linear-gradient(135deg, #0B877D 0%, #14C9A9 100%); }
.card--home .card-icon { background: linear-gradient(135deg, #8E44AD 0%, #C56CD6 100%); }
.card--business .card-icon { background: linear-gradient(135deg, #2C3E50 0%, #4A6491 100%); }
.card--whatsapp {
    background: linear-gradient(135deg, #128C7E 0%, var(--success) 100%);
    color: white;
}
.card--whatsapp .card-icon {
    background: white;
    color: var(--success);
}
.card--whatsapp h3,
.card--whatsapp p {
    color: white;
}
.card--whatsapp .card-arrow {
    color: rgba(255, 255, 255, 0.8);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* Footer */
.app-footer {
    text-align: center;
    padding: 25px 15px 15px;
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 20px;
}
.app-footer p { margin-bottom: 8px; }

/* Modal Overlay e Modal */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
#lead-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 450px;
    width: 90%;
}
body.modal-active #modal-overlay,
body.modal-active #lead-modal {
    opacity: 1;
    visibility: visible;
}
body.modal-active #lead-modal {
    transform: translate(-50%, -50%) scale(1);
}
#modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #CBD5E0;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 10;
}
#modal-close-btn:hover { color: #718096; }

.form-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-out;
}
.form-content { padding: 30px; }
.form-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.form-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}
.form-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 0.9rem;
}
.input-group { margin-bottom: 20px; }
.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}
.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}
.input-group input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}
.btn-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #128C7E 0%, var(--success) 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Responsividade */
@media (min-width: 768px) {
    .container { max-width: 720px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .app-header h1 { font-size: 1.6rem; }
    .app-header p { max-width: 100%; }
    .section-title { text-align: center; }
}
@media (min-width: 1024px) {
    .container { max-width: 960px; }
    .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    .app-header h1 { font-size: 1.8rem; }
    .section-title h2 { font-size: 1.8rem; }
    .app-logo { max-height: 80px; }
}
