@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary-blue: #1565C0;
    --footer-blue: #1A3CAC;
    --white: #FFFFFF;
    --whatsapp-green: #1eb956;
    --whatsapp-dark: #169c46;
    --text-dark: #1A1A2E;
    --bg-secondary: #F5F8FF;
    --gray-light: #F0F0F0;
    --gray-text: #666666;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-wpp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 185, 86, 0.2);
}

.btn-wpp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 185, 86, 0.3);
}

.scale-up:hover {
    transform: scale(1.05) translateY(-2px);
}

.btn-wpp svg, .btn-wpp i {
    width: 24px;
    height: 24px;
}

/* Header */
header {
    background-color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 40px;
}

.nav-toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin-bottom: 30px;
}

.nav-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        padding-top: 0;
        background: transparent;
    }
    .nav-menu li {
        margin-bottom: 0;
        margin-left: 30px;
    }
    .nav-menu a {
        font-size: 1rem;
    }
}

/* Floating WhatsApp */
.wpp-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 25px;
}

.modal-form input, .modal-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.modal-form button {
    width: 100%;
}

.modal-content p {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
    color: var(--gray-text);
}

/* Hero */
.hero {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.hero-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.hero-footer {
    margin-top: 20px;
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

.online-tag {
    display: inline-block;
    color: #4CAF50;
    font-weight: 600;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Example Section */
.example-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 40px;
}

@media (min-width: 768px) {
    .example-card {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.car-placeholder {
    background-color: #CC0000;
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.example-table {
    width: 100%;
    border-collapse: collapse;
}

.example-table tr {
    border-bottom: 1px solid #eee;
}

.example-table td {
    padding: 12px 0;
}

.example-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.highlight-text {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Partners */
.partners {
    background-color: var(--bg-secondary);
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 30px;
    }
}

.partner-box {
    background: #eee;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.bradesco { background-color: #CC0000; }
.itau { background-color: #F77A00; }
.bv { background-color: #0040A0; }
.omni { background-color: #E30016; }
.santander { background-color: #EC0000; }
.bb { background-color: #F7C800; color: #003366; }

/* Steps */
.steps {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 15px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Security */
.security-list {
    margin: 30px 0;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.check-icon {
    color: var(--primary-blue);
    font-weight: bold;
}

/* Accordion */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    background: #f9f9f9;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active .accordion-content {
    padding: 15px 20px;
    max-height: 200px;
}

/* Numbers */
.numbers {
    background-color: var(--bg-secondary);
    text-align: center;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.number-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.number-val {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 5px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.client-name {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #1A1A2E;
    color: #ccc;
    padding: 80px 0 20px;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

footer h4 {
    color: var(--white);
    margin-bottom: 25px;
}

footer ul li {
    margin-bottom: 12px;
}

footer a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.8rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Internal Pages */
.page-header {
    background-color: var(--bg-secondary);
    padding: 60px 0;
    text-align: center;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 0;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.info-card h3 {
    color: var(--primary-blue);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 10px;
}

/* Refreshed Page Helpers */
.highlight-p {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.security-box i {
    font-style: normal;
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.calculator-card .calc-info {
    padding: 60px;
}

@media (max-width: 768px) {
    .calculator-card .calc-info {
        padding: 30px 20px;
    }
}

.hero-badges .hero-badge {
    background: #fff;
    color: var(--text-dark);
    border-bottom: 4px solid var(--primary-blue);
    font-weight: 700;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- OVERHAUL STYLES --- */

/* Hero Client Reference Style */
.hero {
    background: var(--primary-blue);
    color: var(--white);
    position: relative;
    padding: 100px 0 80px;
}

.hero-home {
    background: linear-gradient(to right, rgba(21, 101, 192, 0.95) 20%, rgba(21, 101, 192, 0.6) 50%, rgba(21, 101, 192, 0.2) 100%), url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-text {
    max-width: 650px;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subheading {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #fff;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 8px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.check-icon {
    color: #72c638;
    font-weight: 900;
    font-size: 1.3rem;
}

/* Glossy Green Button */
.btn-hero-wpp {
    background: linear-gradient(to bottom, #72c638 0%, #4ca12c 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2), inset 0 2px 5px rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero-wpp:hover {
    transform: scale(1.02) translateY(-3px);
    background: linear-gradient(to bottom, #7ed640 0%, #56b133 100%);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), inset 0 2px 5px rgba(255,255,255,0.6);
}

.wpp-icon {
    width: 32px;
    height: 32px;
}

.btn-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-hero-text strong {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.btn-hero-text span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-footer-text {
    margin-top: 25px;
    opacity: 0.9;
}

.hero-footer-text p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.hero-footer-text small {
    font-size: 0.8rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .hero { 
        padding: 60px 0 60px; 
    }
    .hero-home {
        background: linear-gradient(rgba(21, 101, 192, 0.85), rgba(21, 101, 192, 0.85)), url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?auto=format&fit=crop&q=80&w=1920'); 
        background-position: center;
        background-size: cover;
    }
    .hero-container { justify-content: center; text-align: center; }
    .hero-text { text-align: center; }
    .hero h1 { font-size: 2.5rem; text-align: center; }
    .hero-subheading { font-size: 1.4rem; text-align: center; }
    .hero-checklist li { width: 100%; justify-content: center; }
    .btn-hero-wpp { width: 100%; justify-content: center; }
}

/* Calculator Section */
.example {
    background-color: #f8fafc;
}

.calculator-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .calculator-card {
        grid-template-columns: 1fr 1fr;
    }
}

.calc-header {
    background: var(--primary-blue);
    color: white;
    padding: 20px;
    text-align: center;
    grid-column: 1 / -1;
    font-size: 1.5rem;
    font-weight: 700;
}

.calc-img {
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #f1f5f9;
}

.calc-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.calc-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 800;
}

.calc-list {
    margin-bottom: 30px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.calc-item .val {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.calc-item .label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--gray-text);
}

.calc-item .check {
    color: #1eb956;
    margin-right: 12px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Partners Override */
.partners-grid {
    align-items: center;
}

.partner-logo-container {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.partner-logo {
    max-height: 50px;
    filter: grayscale(0) !important;
    opacity: 1 !important;
    transition: var(--transition);
}

.partner-logo-container:hover .partner-logo {
    opacity: 1 !important;
}

/* Numbers Update */
.numbers {
    background: var(--primary-blue);
    color: white;
}

.numbers h2 { color: white; }

.numbers .number-card {
    background: rgba(255,255,255,0.1);
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.2);
}

.numbers .number-val {
    color: #ffd700;
    font-size: 2.5rem;
}

/* Ludic Security Section */
.security-ludic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.security-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #f1f5f9;
}

.security-box i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: block;
}

.security-box h3 { margin-bottom: 15px; }

/* Custom Badge Highlight */
.badge-highlight {
    background: #FFEB3B;
    color: #000;
    padding: 20px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 8px 0 #FBC02D;
    text-align: center;
}

/* Footer Colors */
footer {
    background-color: var(--footer-blue) !important;
}

.footer-logo {
    height: 35px !important;
}

.footer-grid h4 {
    color: white !important;
    font-weight: 700;
}

.footer-grid a {
    color: rgba(255,255,255,0.8) !important;
}

.footer-grid a:hover {
    color: white !important;
}
