/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
   :root {
    --primary: #FFD005;       
    --primary-dark: #e6b800;
    --dark-blue: #131C38;     
    --dark-blue-light: #1e2c56;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-cases: #FFF6CF;      
    --white: #ffffff;
    --radius-sm: 15px; /* Atualizado para 15px */
    --radius-md: 15px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    line-height: 1.8; 
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

.section-padding {
    padding: 140px 0;
}
/* Balanceamento de margens (Ao invés de remover tudo, divide o respiro) */
.pb-balance { padding-bottom: 90px !important; }
.pt-balance { padding-top: 90px !important; }

.bg-light { background-color: var(--bg-light); }

/* ==========================================================================
   TYPOGRAPHY & UTILS
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--dark-blue);
    line-height: 1.2;
}

h1 { font-weight: 700; }
h2 { font-weight: 700; font-size: 2.8rem; margin-bottom: 24px; letter-spacing: -0.5px; }
h3 { font-weight: 700; font-size: 1.5rem; margin-bottom: 12px; }

p { font-weight: 400; }

.highlight-yellow { color: var(--primary); }
.highlight-orange { color: #e65c00; }
.light-text p { color: #cbd5e1; font-weight: 400; }
.center { text-align: center; }

.mt-2 { margin-top: 32px; }
.pt-2 { padding-top: 24px; }

/* Link Normal (Telefone) sem destaque extra */
.plain-link {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;
}
.plain-link:hover {
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius-sm); /* 15px */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark-blue);
    box-shadow: 0 4px 14px rgba(255, 208, 5, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 208, 5, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}
.btn-outline:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-ver-mais {
    margin-left: 15px;
}

/* Link Ver Case Completo (#FA9D1A) */
.btn-link {
    color: #FA9D1A;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: auto; /* Empurra para o fim do card */
    padding-top: 16px;
}
.btn-link:hover { color: #d98212; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.navbar {
    background-color: var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.btn-nav {
    background-color: var(--dark-blue);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
}
.btn-nav:hover {
    background-color: var(--dark-blue-light);
    opacity: 1 !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 500px; 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 500;
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center; /* Centraliza verticalmente ao invés de esticar */
}

.about-image {
    display: flex;
}
.about-image img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 750px; /* Altura ajustada para 750px */
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.about-features {
    list-style: none;
}
.about-features li {
    margin-bottom: 20px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 16px;
}
/* Quadrado com cantos arredondados (15px) para o check */
.icon-square { 
    background: #e2e8f0; 
    color: var(--dark-blue); 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px; /* um pouco menor que 15px para ficar proporcional ao quadrado pequeno */
    flex-shrink: 0;
}
.icon-square-small {
    background: #166534; 
    color: #fff; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px; 
    margin-right: 8px;
    vertical-align: middle;
}

/* ==========================================================================
   CASES SECTION (SWIPER)
   ========================================================================== */
.cases {
    background-color: var(--bg-cases); /* #FFF6CF */
    overflow: hidden;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.casesSwiper {
    width: 100%;
    padding-bottom: 40px; 
    padding-top: 10px;
    overflow: visible;
}
/* Mantendo o tamanho igual de todos os cards */
.swiper-slide {
    height: auto !important; 
    display: flex;
}

.case-card {
    background: var(--white); /* #FFFFFF */
    border-radius: var(--radius-sm); /* 15px */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.case-image {
    height: 220px;
    position: relative;
    flex-shrink: 0;
}
.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge-tcu {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--primary);
    color: var(--dark-blue);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.case-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.case-content .desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 24px;
}

/* Bloco Sólido #FFFDF3 e Texto sequencial */
.info-block-card {
    background: #FFFDF3;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 8px;
}
.info-row {
    font-size: 0.9rem;
    color: var(--dark-blue);
    margin-bottom: 4px;
}
.info-row:last-child {
    margin-bottom: 0;
}
.info-row strong {
    font-weight: 700;
    margin-right: 4px;
}

/* ==========================================================================
   CASES GRID (Página Entregas.html)
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--white);
    color: var(--dark-blue);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.page-btn:hover {
    border-color: var(--dark-blue);
}

.page-btn.active {
    background: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-section {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    flex-shrink: 0;
    animation: scroll-infinite 30s linear infinite;
}

.marquee-section:hover .marquee-group {
    animation-play-state: paused;
}

@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.logo-item {
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative; /* Necessário para sobrepor as imagens perfeitamente */
}

.logo-item img {
    height: 80px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Animação ultra suave */
}

/* A imagem colorida fica por cima da cinza, mas transparente (opacity 0) */
.logo-item .img-colorida {
    position: absolute;
    opacity: 0;
}

/* A imagem cinza fica normal (opacity 1) */
.logo-item .img-cinza {
    opacity: 1;
}

/* NO HOVER: A cinza some suavemente, a colorida aparece suavemente e dá um Zoom (scale) */
.logo-item:hover .img-cinza {
    opacity: 0;
    transform: scale(1.15); /* Esse 1.15 é o nível de zoom */
}
.logo-item:hover .img-colorida {
    opacity: 1;
    transform: scale(1.15); /* Esse 1.15 é o nível de zoom */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
	
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    background-color: var(--dark-blue);
    background-image: radial-gradient(circle at right top, var(--dark-blue-light) 0%, transparent 50%);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 40px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}
.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}
.stat-box p {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-block {
    margin-bottom: 32px;
}
.info-block h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 700;
}
.info-block p {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-blue);
}
.badge-success {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #166534;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--primary); 
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.modern-form .form-group {
    margin-bottom: 24px;
}

.modern-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--dark-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(19, 28, 56, 0.1);
}

/* Input File - sem tracejado */
.file-input {
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(19, 28, 56, 0.2) !important;
    cursor: pointer;
    color: var(--text-main);
}
.file-input:hover {
    border-color: var(--dark-blue) !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

.btn-submit {
    width: 100%;
    background-color: var(--dark-blue);
    color: var(--white);
    font-size: 1.15rem;
    padding: 20px;
    margin-top: 16px;
}
.btn-submit:hover {
    background-color: var(--dark-blue-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--dark-blue);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-social a {
    color: #94a3b8;
    transition: color 0.3s ease;
}
.footer-social a:hover {
    color: var(--primary);
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-title { font-size: 3.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .section-padding { padding: 100px 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.8rem; }
    
    /* FIX: Stats vazando */
    .stats-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
    .stat-box { padding: 30px 20px; }
    
    /* FIX: Form vazando */
    .contact-form-wrapper { padding: 30px 20px; }
    .modern-form input, .modern-form textarea { padding: 14px; }
    
    /* Ajuste de Banner Mobile com Imagem Específica 9:16 */
    .hero-home { 
        background-image: url('/assets/landing-page-1/banner-mobile-1.jpg') !important;
        background-position: center center; 
    }
    
    /* FIX: Imagem do Elo Seguro gigante no mobile */
    .about-image img { height: 350px; }
    
    /* FIX: Cases Grid no mobile */
    .cases-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .btn-fale-conosco,
    .btn-ver-mais {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn-ver-mais {
        margin-left: 0;
        margin-top: 15px;
    }
}
