:root {
    --primary-color: #0d1b3e; /* Azul Marinho da Doxa */
    --secondary-color: #00a859; /* Verde do logotipo */
    --accent-color: #f7941d; /* Laranja do logotipo */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f7f6;
    --transition: all 0.3s ease;
}

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

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

/* Header & Nav */
header {
    background: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-cta-nav {
    background: var(--secondary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-cta-nav:hover {
    background: #008f4c;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    padding: 180px 5% 100px;
    background: linear-gradient(rgba(13, 27, 62, 0.85), rgba(13, 27, 62, 0.85)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 148, 29, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Trust Section */
.trust {
    background: white;
    color: var(--primary-color);
    padding: 60px 5%;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.trust-item h3 {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.trust-item p {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

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

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
}

.service-card:nth-child(2)::before {
    background: var(--primary-color);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card ul {
    list-style: none;
    margin-bottom: 35px;
}

.service-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.service-card ul li i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    padding: 100px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.faq-question {
    padding: 25px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fafafa;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 600px;
    border-top: 1px solid #eee;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: #0a142d;
    color: #aeb9d1;
    padding: 80px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.footer-section .logo img {
    height: 70px;
    margin-bottom: 25px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #aeb9d1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.05) translateY(-5px);
}

.whatsapp-float i {
    font-size: 28px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .trust-grid {
        flex-direction: column;
    }
}

/* About Section */
.about {
    padding: 100px 5%;
    background: white;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Pain Points / Trigger Section */
.triggers {
    background: #f9f9f9;
    padding: 80px 5%;
    text-align: center;
}

.trigger-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.trigger-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.trigger-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.trigger-cta {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 20px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 5%;
    background: var(--primary-color);
    color: white;
}

.how-it-works .section-title h2 {
    color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.step-card p {
    font-size: 1rem;
    color: #aeb9d1;
}

/* SERASA Points Section */
.serasa-points {
    padding: 100px 5%;
    background: white;
}

.serasa-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.serasa-text {
    flex: 1;
    min-width: 300px;
}

.serasa-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.serasa-list {
    list-style: none;
}

.serasa-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.serasa-list li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.4rem;
}

.serasa-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.serasa-image i {
    font-size: 10rem;
    color: #eee;
}

/* Legal Base Section */
.legal-base {
    padding: 60px 5%;
    background: #f4f7f6;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.legal-container h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.legal-list li {
    font-size: 1.1rem;
    color: #555;
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    max-width: 800px;
    width: 100%;
}

@media (max-width: 768px) {
    .serasa-container {
        flex-direction: column;
        text-align: center;
    }
    .serasa-list li {
        justify-content: center;
    }
}

/* Service Pages Header */
.service-hero {
    padding: 150px 5% 80px;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

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

.service-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Specific Content Section */
.content-section {
    padding: 80px 5%;
    background: white;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.highlight-box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 20px;
    border-left: 8px solid var(--accent-color);
    margin: 40px 0;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Steps List (8 stages) */
.steps-list {
    list-style: none;
    margin-top: 30px;
}

.steps-list li {
    background: white;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    border: 1px solid #eee;
}

.steps-list li span {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Guarantee Section */
.guarantee-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Financing Cards (Acordo, Cessão, Quitação) */
.financing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.financing-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.financing-card:hover {
    transform: translateY(-10px);
}

.financing-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.financing-card h3 i {
    color: var(--secondary-color);
}

.financing-card ul {
    list-style: none;
    margin: 20px 0;
}

.financing-card ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* FAQ Accordion Styles */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}

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

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    background: #fcfcfc;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
}
