/* Estilos CSS para o site de Cross-Selling da DCG Corretora de Seguros */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: #1a5276;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2e86c1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a5276;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

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

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a5276;
}

.logo span {
    color: #3498db;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #333;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover {
    color: #3498db;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #3498db;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #1a5276;
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f1f1f1;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumbs ul li {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs ul li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #999;
}

.breadcrumbs ul li:last-child {
    color: #666;
}

/* Hero Section */
.hero {
    background-color: #1a5276;
    color: #fff;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #3498db;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    max-width: 700px;
    margin: 1rem auto 0;
    color: #666;
}

/* Cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 350px;
    max-width: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.card-image {
    height: 200px;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
    border: 2px solid #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: #fff;
}

/* Features */
.features {
    background-color: #f8f9fa;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.feature {
    flex: 1 1 300px;
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Stats */
.stats {
    background-color: #1a5276;
    color: #fff;
    padding: 4rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #3498db;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials */
.testimonials {
    background-color: #fff;
}

.testimonial {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: #3498db;
}

.testimonial-author {
    font-weight: 700;
    color: #333;
}

.testimonial-company {
    color: #666;
}

/* CTA */
.cta {
    background-color: #3498db;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: #1a5276;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover {
    color: #3498db;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #3498db;
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
    color: #fff;
}

/* Detail Pages */
.detail-page {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.detail-header {
    background-color: #1a5276;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.detail-header h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.detail-content {
    padding: 2rem;
}

.detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.detail-content h4 {
    margin-top: 1.5rem;
    color: #2980b9;
}

.detail-content ul, .detail-content ol {
    margin-bottom: 1.5rem;
}

.detail-content img {
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Segment specific styles */
.segment {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.segment:last-child {
    border-bottom: none;
}

/* Charts and graphs */
.chart-container {
    margin: 2rem 0;
    text-align: center;
}

.chart-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

table th, table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1a5276;
}

table tr:hover {
    background-color: #f8f9fa;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav ul.show {
        left: 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .feature {
        flex: 1 1 100%;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-section {
        flex: 1 1 100%;
    }
    
    .detail-header {
        padding: 1.5rem;
    }
    
    .detail-content {
        padding: 1.5rem;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .card {
        width: 100%;
    }
    
    .detail-header {
        padding: 1rem;
    }
    
    .detail-content {
        padding: 1rem;
    }
    
    .detail-content h3 {
        font-size: 1.3rem;
    }
    
    .detail-content h4 {
        font-size: 1.1rem;
    }
}
