/* ==========================================================================
   C4S SECURITIZADORA - STYLE GUIDE & CORE CSS
   ========================================================================== */

/* --- PALETA DE CORES --- */
:root {
    --c4s-dark-teal: #0e3732;   /* Cor principal escura (fundo e textos de destaque) */
    --c4s-teal: #31a39f;        /* Cor da logo (detalhes, botões, ícones) */
    --c4s-teal-hover: #268783;
    --c4s-light-teal: #e6f4f3;   /* Fundo de destaque claro */
    
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --bg-darker: #0a2623;       /* Fundo do Footer */
    
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --text-light: #ffffff;
    --text-muted: #a0aec0;
}

/* --- RESET & ESTRUTURA BÁSICA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- COMPONENTES: BOTÕES --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-teal {
    background-color: var(--c4s-teal);
    color: var(--text-light);
    border: 2px solid var(--c4s-teal);
}

.btn-teal:hover {
    background-color: var(--c4s-teal-hover);
    border-color: var(--c4s-teal-hover);
}

/* Botão Vazado para fundos CLAROS (ex: Hero Section, Header) */
.btn-outline-dark {
    background-color: transparent;
    color: var(--c4s-dark-teal);
    border: 2px solid var(--c4s-teal);
}

.btn-outline-dark:hover {
    background-color: var(--c4s-teal);
    color: var(--text-light);
}

/* Botão Vazado para fundos ESCUROS (ex: Seção de Perfis/Planos) */
.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--c4s-teal);
}

.btn-outline-light:hover {
    background-color: var(--c4s-teal);
    color: var(--text-light);
}

.btn-light {
    background-color: var(--c4s-light-teal);
    color: var(--c4s-dark-teal);
    border: none;
}

.btn-light:hover {
    background-color: var(--c4s-teal);
    color: var(--text-light);
}

/* --- ESTRUTURA: HEADER (CABEÇALHO) --- */
header {
    padding: 20px 0;
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

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

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--c4s-teal);
    letter-spacing: -1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav ul li a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--c4s-teal);
}

nav ul li a.active {
    font-weight: 700;
}

/* --- SEÇÃO 1: HERO & TRUST INDICATOR --- */
.hero {
    text-align: center;
    padding: 180px 0 120px;
    background: linear-gradient(160deg, rgba(10,38,35,0.88) 0%, rgba(14,55,50,0.75) 50%, rgba(49,163,159,0.45) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-light);
    max-width: 850px;
    margin: 0 auto 24px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--c4s-teal) !important;
}

.hero p.subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-buttons .btn-outline-dark {
    color: var(--text-light);
    border-color: rgba(255,255,255,0.5);
}

.hero-buttons .btn-outline-dark:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--text-light);
    color: var(--text-light);
}

.trust-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 80px;
}

.trust-indicator span {
    color: rgba(255,255,255,0.7) !important;
}

.trust-indicator span[style*="color: var(--c4s-dark-teal)"] {
    color: var(--c4s-teal) !important;
}

.stars {
    color: var(--c4s-teal);
    letter-spacing: 2px;
}

/* --- GRID DE DESIGN: BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    text-align: left;
}

.bento-item {
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background-color: rgba(14, 55, 50, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-light);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--c4s-teal);
}

.bento-item .icon-box {
    background: rgba(49, 163, 159, 0.2);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--c4s-teal);
    font-size: 28px;
}

.bento-item h3 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.bento-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}


/* --- SEÇÃO ORLANDO LUZ --- */
.athlete-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.athlete-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.athlete-image {
    width: 100%;
    max-width: 500px;
    height: 600px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(14,55,50,0.15);
}

.athlete-text h2 {
    font-size: 38px;
    color: var(--c4s-dark-teal);
    margin-bottom: 30px;
    line-height: 1.2;
}

.athlete-text p {
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
}

/* --- SEÇÃO 2: SERVIÇOS / PILARES (GRID BLOCKS) --- */
.services-section {
    background-color: var(--c4s-dark-teal);
    color: var(--text-light);
    padding: 100px 0;
    border-radius: 40px;
    margin: 0 20px;
}

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

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.2;
}

.section-header p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 32px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--c4s-teal);
    transform: translateY(-5px);
}

.service-card .icon-box {
    background: rgba(49, 163, 159, 0.2);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--c4s-teal);
    font-size: 28px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.service-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.arrow-up {
    position: absolute;
    top: 32px;
    right: 32px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    transition: color 0.3s;
}

.service-card:hover .arrow-up {
    color: var(--c4s-teal);
}

/* --- SEÇÃO 3: LISTA DE BENEFÍCIOS COM INFOGRÁFICO --- */
.benefits-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.graphic-box {
    background-color: var(--bg-gray);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(14, 55, 50, 0.08);
    width: 85%;
    position: relative;
    z-index: 2;
}

.floating-card-small {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(14, 55, 50, 0.1);
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 3;
    width: 60%;
}

.graphic-bar {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 16px;
    background: var(--bg-gray);
}

.graphic-bar.fill-teal {
    background: var(--c4s-teal);
    width: 75%;
}

.graphic-bar.fill-dark {
    background: var(--c4s-dark-teal);
    width: 45%;
}

.benefits-text h2 {
    font-size: 38px;
    color: var(--c4s-dark-teal);
    margin-bottom: 20px;
    line-height: 1.2;
}

.benefits-text > p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 16px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    color: var(--c4s-teal);
    font-size: 24px;
    margin-top: 2px;
}

.benefit-item h4 {
    color: var(--c4s-dark-teal);
    font-size: 20px;
    margin-bottom: 6px;
}

.benefit-item p {
    color: var(--text-gray);
    font-size: 15px;
}

/* --- SEÇÃO 4: PLANOS / PERFIS --- */
.profiles-section {
    background-color: var(--c4s-dark-teal);
    padding: 100px 0;
    color: var(--text-light);
    border-radius: 40px;
    margin: 0 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 48px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--c4s-teal);
}

.profile-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.profile-card > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    font-size: 15px;
    min-height: 66px;
}

.price-mockup {
    font-size: 28px;
    font-weight: 700;
    color: var(--c4s-teal);
    margin-bottom: 30px;
    font-family: 'Montserrat';
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.feature-list li {
    margin-bottom: 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.feature-list li i {
    color: var(--c4s-teal);
    margin-top: 4px;
}

/* Estilos do Cartão Largo (Corporate/Expansão) */
.profile-card-wide {
    background: linear-gradient(135deg, rgba(49,163,159,0.1) 0%, rgba(14,55,50,0.5) 100%);
    border: 1px solid var(--c4s-teal);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-top: 30px;
}

.profile-card-wide h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.profile-card-wide p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

/* --- SEÇÃO 5: MERCADO & GRÁFICO CIRCULAR --- */
.market-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.market-text h2 {
    font-size: 38px;
    color: var(--c4s-dark-teal);
    margin-bottom: 20px;
    line-height: 1.2;
}

.market-text p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.market-graphic {
    background: linear-gradient(160deg, rgba(10,38,35,0.85) 0%, rgba(14,55,50,0.6) 100%),
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32d7?auto=format&fit=crop&q=80') center/cover no-repeat;
    border-radius: 24px;
    padding: 60px;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.circle-1, .circle-2 {
    position: absolute;
    border: 1px solid rgba(49, 163, 159, 0.35);
    border-radius: 50%;
}

.circle-1 { width: 300px; height: 300px; }
.circle-2 { width: 180px; height: 180px; }

.market-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c4s-teal);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: absolute;
}

/* --- Empresas: Botão escuro padronizado --- */
.btn-dark-outline {
    background-color: var(--c4s-dark-teal);
    color: var(--text-light);
    border: 2px solid var(--c4s-dark-teal);
}

.btn-dark-outline:hover {
    background-color: #0a2623;
    border-color: #0a2623;
}

/* --- SEÇÃO 6: CALL TO ACTION (CTA) FINAL --- */
.cta-section {
    background-color: var(--c4s-dark-teal);
    padding: 100px 0;
    text-align: center;
    color: var(--text-light);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin: 0 20px;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- COMPONENTES: FOOTER (RODAPÉ) --- */
footer {
    background-color: var(--bg-darker);
    color: var(--text-muted);
    padding: 80px 0 30px;
    font-size: 14px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--c4s-teal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
}

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

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--c4s-teal);
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: 0.3s;
    font-size: 16px;
}

.social-icons a:hover {
    background: var(--c4s-teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--c4s-teal);
}

/* --- COMPLIANCE GRID (Sobre - Governança) --- */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 100%;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */

/* ── Hamburger Button ── */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--c4s-dark-teal);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 1100;
    position: relative;
    align-items: center;
    justify-content: center;
}
.hamburger-btn:hover {
    background: var(--c4s-light-teal);
}

/* ── Mobile Nav Overlay ── */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 38, 35, 0.55);
    z-index: 1050;
    backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open {
    display: block;
}

/* ── Mobile Nav Drawer ── */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.mobile-nav-drawer.open {
    right: 0;
}
.mobile-nav-drawer .drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-gray);
    cursor: pointer;
    margin-bottom: 24px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}
.mobile-nav-drawer .drawer-close:hover {
    background: var(--bg-gray);
}
.mobile-nav-drawer .drawer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c4s-teal);
    margin-bottom: 32px;
}
.mobile-nav-drawer ul {
    list-style: none;
    margin-bottom: 32px;
}
.mobile-nav-drawer ul li {
    margin-bottom: 4px;
}
.mobile-nav-drawer ul li a {
    display: block;
    padding: 14px 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-gray);
    border-radius: 8px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    text-decoration: none;
}
.mobile-nav-drawer ul li a:hover,
.mobile-nav-drawer ul li a.active {
    color: var(--c4s-teal);
    background: var(--c4s-light-teal);
    border-left-color: var(--c4s-teal);
}
.mobile-nav-drawer .drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}
.mobile-nav-drawer .drawer-actions a {
    display: block;
    text-align: center;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .item-1, .item-2, .item-3, .item-4 {
        grid-column: span 1;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 900px) {
    .benefits-grid,
    .market-grid,
    .athlete-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        max-width: 500px;
        margin: 0 auto;
    }
    .athlete-image {
        height: 400px;
    }
    .compliance-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .header-desktop-actions {
        display: none !important;
    }
    .hamburger-btn {
        display: flex;
    }
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .item-1, .item-2, .item-3, .item-4 {
        grid-column: span 1;
        min-height: 200px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p.subtitle {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
    .services-section,
    .profiles-section,
    .cta-section {
        padding: 60px 20px;
        border-radius: 20px;
        margin: 0 10px;
    }
    .section-header h2 {
        font-size: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-bottom div:last-child {
        flex-direction: column;
        gap: 8px;
    }
    .market-graphic {
        height: 280px;
        padding: 40px;
    }
    .graphic-box {
        height: 300px;
    }
    .floating-card-small {
        right: -10px;
        bottom: -10px;
        width: 70%;
    }
    .profile-card {
        padding: 32px;
    }
    .profile-card-wide {
        padding: 36px 24px;
    }
    .cta-section h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .item-1, .item-2, .item-3, .item-4 {
        grid-column: span 1;
        min-height: 180px;
    }
    .container {
        padding: 0 16px;
    }
    .benefits-text h2,
    .market-text h2 {
        font-size: 26px;
    }
    .cards-grid {
        max-width: 100%;
    }
    .section-header h2 {
        font-size: 26px;
        white-space: normal !important;
    }
}