@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
    font-family: 'Open Sans', sans-serif !important;
    overflow-x: hidden;
}

section {
    padding-top: 100px;
    padding-bottom: 100px;
}

:root {
    --primary: #283372;
    --secondary: #00C8E6;
    --dark: #111827;
    --light: #F3F4F6;
}

.nav-link {
    color: var(--light) !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.nav-link:hover {
    color: var(--secondary) !important;
}
.text-hover-secondary:hover {
    color: var(--secondary) !important;
}

/* Responsividade do header */
@media (max-width: 768px) {
    #header {
        padding: 10px 0;
    }
    
    #header .navbar-brand img {
        max-height: 40px;
        width: auto;
    }
    
    #header .navbar-collapse {
        background-color: var(--primary);
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    #header .navbar-nav {
        margin-bottom: 15px;
    }
    
    #header .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 14px !important;
    }
    
    #header .nav-link:last-child {
        border-bottom: none;
    }
    
    #header .form-select {
        width: 100% !important;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    #header .navbar-brand img {
        max-height: 35px;
    }
    
    #header .navbar-toggler {
        padding: 4px 8px;
        font-size: 14px;
    }
}

/* Banner */
#banner {
    height: 100vh;
    background-color: var(--light);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsividade específica para o banner */
@media (max-width: 768px) {
    #banner {
        min-height: 100vh;
        height: auto;
        padding: 60px 0;
    }
    
    #banner .row {
        min-height: auto;
    }
    
    #banner .col-lg-6:first-child {
        text-align: center;
        margin-bottom: 30px;
    }
    
    #banner .col-lg-6:last-child {
        text-align: center;
    }
    
    #banner img {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    #banner {
        padding: 40px 0;
    }
    
    #banner img {
        max-width: 250px;
    }
    
    #banner .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Sessão 1 */
#session-1 {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 200px !important;
}

#session-2 {
    position: relative;
    background: linear-gradient(to bottom, var(--light), #ffffff);
    padding-bottom: 200px !important;
}

#session-3 {
    position: relative;
}

#session-4 {
    position: relative;
}

#session-5 {
    background-color: var(--light);
}

#divisor-1 {
    width: 100%;
    height: 211px;
    background-image: url('../img/divisors/divisor1.png');
    background-size: contain; 
    background-position: center bottom;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
#divisor-2 {
    height: 262px;
    background-image: url('../img/divisors/divisor2.png');
    background-size: 1920px 262px; 
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
#divisor-3 {
    height: 295px;
    background-image: url('../img/divisors/divisor3.png');
    background-size: 1920px 295px; 
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.text-dark {
    color: var(--dark) !important;
}

.text-muted {
    color: #6B7280 !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

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

.title-banner {
    font-size: 60px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}


.title-h1 {
    font-size: 60px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

.title-h2 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

.title-h3 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--dark) !important;
}

.btn-primary:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}


#marcas {
    position: relative;
    width: 1145px;
    height: 1188px;
    background-image: url('../img/bg-brand.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}

.logo-btn {
    position: absolute;
    cursor: pointer;
    width: auto;
}

.social-icon {
    font-size: 14px;
    color: var(--light);
    border: 1.5px solid var(--light);
    border-radius: 50%;
    padding: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
}

.list-unstyled li {
    margin-bottom: 5px !important;
}

.list-unstyled a {
    color: var(--light) !important;
}

.list-unstyled a:hover {
    color: var(--secondary) !important;
}

.social-icon:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Responsividade - Desktop grande */
@media (max-width: 1366px) {
    .title-h1 {
        font-size: 48px;
    }
}

/* Responsividade - Desktop médio */
@media (max-width: 1200px) {
    .title-h1 {
        font-size: 40px;
    }
    .title-h2 {
        font-size: 36px;
    }
    
    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* Responsividade - Tablet */
@media (max-width: 992px) {
    .banner {
        height: 100vh !important;
    }
    #divisor-1, #divisor-2, #divisor-3 {
        width: 100%;
        height: 110px !important;
        z-index: 1000 !important;
        background-size: 100% auto !important;
        background-position: bottom !important;
    }

    .title-h1 {
        font-size: 36px;
    }
    .title-h2 {
        font-size: 32px;
    }
    .title-h3 {
        font-size: 28px;
    }
    
    #marcas {
        width: 600px;
        height: 650px;
    }
    
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    #session-1 {
        padding-bottom: 150px !important;
    }
    
    #session-2 {
        padding-bottom: 150px !important;
    }
    
    #divisor-1,
    #divisor-2,
    #divisor-3 {
        background-size: 100% auto;
        height: auto;
        min-height: 100px;
    }
}

/* Responsividade - Mobile grande */
@media (max-width: 768px) {
    .title-h1 {
        font-size: 32px;
    }
    .title-h2 {
        font-size: 28px;
    }
    .title-h3 {
        font-size: 24px;
    }
    
    #marcas {
        width: 100%;
        max-width: 400px;
        height: 450px;
        background-size: 100% auto;
    }
    
    .logo-btn {
        width: 60px;
        height: auto;
    }
    
    section {
        padding-top: 140px;
        padding-bottom: 140px;
    }
    
    #session-1 {
        padding-bottom: 100px !important;
    }
    
    #session-2 {
        padding-bottom: 100px !important;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 14px !important;
    }
}

/* Responsividade - Mobile pequeno */
@media (max-width: 576px) {
    .title-h1 {
        font-size: 28px;
    }
    .title-h2 {
        font-size: 24px;
    }
    .title-h3 {
        font-size: 20px;
    }
    
    #marcas {
        width: 100%;
        max-width: 300px;
        height: 350px;
    }
    
    .logo-btn {
        width: 50px;
        height: auto;
    }
    
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 13px !important;
    }
    
    .nav-link {
        font-size: 14px !important;
    }
}

/* Responsividade - Mobile muito pequeno */
@media (max-width: 375px) {
    .title-h1 {
        font-size: 24px;
    }
    .title-h2 {
        font-size: 20px;
    }
    .title-h3 {
        font-size: 18px;
    }
    
    #marcas {
        width: 100%;
        max-width: 250px;
        height: 300px;
    }
    
    .logo-btn {
        width: 40px;
        height: auto;
    }
    
    .card-body {
        padding: 0.75rem !important;
    }
    
    .btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 12px !important;
    }
}

/* Ajustes específicos para o ecossistema de marcas em telas pequenas */
@media (max-width: 768px) {
    #marcas .logo-btn {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin: 10px;
        display: inline-block;
    }
    
    #marcas {
        position: relative;
        background: none;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }
    
    /* Ocultar marcas não clicáveis em mobile */
    #marcas img[src*="logo-atlanglobal.png"],
    #marcas img[src*="presenca.png"] {
        display: none;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    #marcas {
        gap: 15px;
        padding: 15px;
    }
    
    #marcas .logo-btn {
        margin: 5px;
        width: 45px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
    .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
    .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
    .col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12,
    .col-xxl, .col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6, .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12 {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

/* Ajustes para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    #banner {
        height: 100vh;
        min-height: 500px;
    }
    
    #session-1 {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Ajustes para telas de alta resolução */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .title-h1 {
        font-size: 72px;
    }
    
    .title-h2 {
        font-size: 56px;
    }
    
    .title-h3 {
        font-size: 42px;
    }
    
}

@media (max-height: 700px) {
    .title-banner {
        font-size: 30px;
    }
}

/* Melhorias de acessibilidade e usabilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Ajustes para modo escuro do sistema (se implementado no futuro) */
@media (prefers-color-scheme: dark) {
    /* Aqui podem ser adicionadas regras para modo escuro quando necessário */
}

/* Ajustes para impressão */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .btn,
    .nav-link,
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* Melhorias gerais de responsividade */
@media (max-width: 768px) {
    /* Melhorar espaçamento em cards */
    .card {
        margin-bottom: 20px;
    }
    
    /* Ajustar imagens responsivas */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
    
    /* Melhorar navegação em mobile */
    .navbar-nav {
        text-align: center;
    }
    
    /* Ajustar botões para melhor toque */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Melhorar legibilidade do texto */
    p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Ajustar espaçamento de seções */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    /* Ajustes específicos para mobile pequeno */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Melhorar contraste e legibilidade */
    .text-muted {
        color: #6B7280 !important;
        font-size: 14px;
    }
    
    /* Ajustar tamanho das imagens em cards */
    .card img {
        max-width: 80px;
        margin: 0 auto 15px;
    }
    
    /* Melhorar espaçamento em listas */
    .row > div {
        margin-bottom: 15px;
    }
}

/* Ajustes para telas médias */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .title-h1 {
        font-size: 44px;
    }
    
    .title-h2 {
        font-size: 36px;
    }
    
    .title-h3 {
        font-size: 28px;
    }
}

/* Ajustes para telas grandes */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container {
        max-width: 1140px;
    }
}

/* Melhorias de performance */
@media (max-width: 768px) {
    /* Reduzir sombras em mobile para melhor performance */
    .shadow-sm {
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }
    
    /* Otimizar animações */
    .card {
        transition: transform 0.2s ease;
    }
    
    .card:hover {
        transform: translateY(-2px);
    }
}

/* Ajustes finais para garantir consistência */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Melhorar acessibilidade */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Garantir que imagens sejam responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Melhorar foco para navegação por teclado */
.btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Ajustes para telas de toque */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .card:hover {
        transform: none;
    }
}

/* Garantir que o conteúdo seja legível em todas as telas */
@media (max-width: 320px) {
    body {
        font-size: 14px;
    }
    
    .title-h1 {
        font-size: 20px;
    }
    
    .title-h2 {
        font-size: 18px;
    }
    
    .title-h3 {
        font-size: 16px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Responsividade do footer */
@media (max-width: 768px) {
    footer .bg-secondary {
        padding: 30px 0;
    }
    
    footer .bg-secondary h1 {
        font-size: 28px;
        margin-bottom: 0;
    }
    
    footer .bg-primary {
        padding: 30px 0 20px;
    }
    
    footer .col-md {
        margin-bottom: 30px;
        text-align: center;
    }
    
    footer .col-md:last-child {
        margin-bottom: 0;
    }
    
    footer .d-flex {
        justify-content: center !important;
    }
    
    footer .social-icon {
        margin: 0 5px;
    }
    
    footer h5 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    footer .list-unstyled li {
        margin-bottom: 8px;
    }
    
    footer .list-unstyled a {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    footer .bg-secondary h1 {
        font-size: 24px;
    }
    
    footer .bg-primary {
        padding: 20px 0 15px;
    }
    
    footer .col-md {
        margin-bottom: 25px;
    }
    
    footer h5 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    footer .social-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
        padding: 4px;
    }
    
    footer .list-unstyled a {
        font-size: 13px;
    }
    
    footer p {
        font-size: 12px;
        padding: 15px 0;
    }
}

/* Estilos para a versão responsiva das marcas */
.brand-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary);
}

.brand-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
}

/* Responsividade para os cards de marcas */
@media (max-width: 768px) {
    .brand-card {
        padding: 15px 10px !important;
        border-radius: 8px;
    }
    
    .brand-logo {
        max-height: 50px;
    }
    
    .brand-name {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .brand-card {
        padding: 12px 8px !important;
        border-radius: 6px;
    }
    
    .brand-logo {
        max-height: 40px;
    }
    
    .brand-name {
        font-size: 11px;
    }
}

/* Ajustes específicos para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .brand-card {
        padding: 20px 15px !important;
    }
    
    .brand-logo {
        max-height: 70px;
    }
    
    .brand-name {
        font-size: 16px;
    }
}

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .brand-card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .brand-card:active {
        transform: scale(0.95);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Estilos para a versão compacta das marcas (mobile) */
.brand-item-compact {
    min-width: 80px;
    padding: 10px 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.brand-item-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary);
}

.brand-logo-compact {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}

.brand-name-compact {
    font-size: 10px;
    font-weight: 500;
    color: var(--dark);
    display: block;
    line-height: 1.2;
    margin: 0;
}

/* Esconder scrollbar mas manter funcionalidade */
.brands-carousel::-webkit-scrollbar {
    display: none;
}

.brands-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Melhorias para touch devices na versão compacta */
@media (hover: none) and (pointer: coarse) {
    .brand-item-compact:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .brand-item-compact:active {
        transform: scale(0.95);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 375px) {
    .brand-item-compact {
        min-width: 70px;
        padding: 8px 6px;
    }
    
    .brand-logo-compact {
        max-height: 30px;
    }
    
    .brand-name-compact {
        font-size: 9px;
    }
}

