/* ============================================
   RESET E CONFIGURAÇÕES GERAIS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: #666;
}

.text-center {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-primary {
    background-color: #585858;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #003366;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SISTEMA DE IMAGENS ADAPTÁVEIS
   ============================================ */

/* Container para imagens que se adapta automaticamente */
.image-adaptive-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f9f9f9;
}

/* Imagem dentro do container - se adapta automaticamente */
.image-adaptive {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Versões para desktop e mobile */
.image-desktop {
    display: block;
}

.image-mobile {
    display: none;
}

/* Classes auxiliares para definir proporções de containers */
.container-ratio-16-9 {
    padding-bottom: 56.25%; /* 16:9 */
}

.container-ratio-4-3 {
    padding-bottom: 75%; /* 4:3 */
}

.container-ratio-1-1 {
    padding-bottom: 100%; /* 1:1 */
}

.container-ratio-3-2 {
    padding-bottom: 66.67%; /* 3:2 */
}

/* Wrapper para manter a proporção */
.ratio-wrapper {
    position: relative;
    width: 100%;
    height: 0;
}

.ratio-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   LOGO
   ============================================ */
.logo {
    
     align-items: center;
}

.logo-img {
    max-width: 180px;
    height: auto;
    align-items: center;
}

/* ============================================
   BOTÃO DO WHATSAPP FIXO
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* ============================================
   SESSÃO 1 - HERO
   ============================================ */
.hero {
    background-color: #000;
    color: white;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 40px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    color: white;
    margin-bottom: 30px;
}

.hero .summary {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #ddd;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Container para a imagem do fundador */
.founder-container {
    width: 100%;
    max-width: 650px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.founder-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ============================================
   SESSÃO 2 - COMO FUNCIONA
   ============================================ */
.como-funciona {
    background-color: #f9f9f9;
}

/* Container para imagens desktop e mobile */
.como-funciona .image-section {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   SESSÃO 3 - SERVIÇOS
   ============================================ */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.servico-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #000, #333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.servico-icon i {
    font-size: 2.5rem;
    color: white;
}

.servico-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.servico-card p {
    color: #666;
    font-size: 1rem;
}

/* ============================================
   SESSÃO 4 - AUTORIDADE
   ============================================ */
.autoridade {
    background-color: #000;
    color: white;
    padding: 60px 0;
}

.autoridade-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.autoridade-titulo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.autoridade-resumo {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 40px;
}

.autoridade-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SESSÃO 5 - CASES DE SUCESSO
   ============================================ */
.cases {
    background-color: #f9f9f9;
}

.simple-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    background-color: #f9f9f9;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

/* Imagem do slide - se adapta automaticamente */
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-prev, .slider-next {
    background-color: #000;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: #003366;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #000;
}

/* ============================================
   SESSÃO 6 - COMPARATIVO
   ============================================ */
.comparativo {
    background-color: white;
}

.comparativo .image-section {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   SESSÃO 7 - COMO CONTRATAR
   ============================================ */
.contratar {
    background-color: #f9f9f9;
}

.passos {
    max-width: 800px;
    margin: 0 auto;
}

.passo {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.passo:last-child {
    margin-bottom: 0;
}

.passo-numero {
    background-color: #000;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
}

.passo-conteudo {
    flex-grow: 1;
}

.passo-conteudo h3 {
    margin-bottom: 10px;
    color: #333;
}

.passo-conteudo p {
    color: #666;
}

/* ============================================
   SESSÃO 8 - SOBRE O FUNDADOR
   ============================================ */
.fundador {
    background-color: #000;
    color: white;
    padding: 60px 0;
}

.fundador-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.fundador-texto {
    flex: 1;
}

.fundador-texto h2 {
    text-align: left;
    margin-bottom: 30px;
    color: white;
}

.fundador-texto p {
    margin-bottom: 20px;
    color: #ddd;
}

.fundador-imagem {
    flex: 1;
    position: relative;
}

/* Container para imagem do fundador */
.fundador-img-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.fundador-img-desktop {
    width: 100%;
    height: auto;
    display: block;
}

.fundador-img-mobile {
    width: 100%;
    height: auto;
    display: none;
}

/* ============================================
   SESSÃO 9 - RODAPÉ
   ============================================ */
.rodape {
    background-color: #000;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.rodape .logo-img {
    margin: 0 auto 30px;
    filter: brightness(0) invert(1);
}

.copyright {
    color: #ddd;
    margin-bottom: 10px;
}

.cnpj {
    color: #aaa;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablet (992px) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 30px;
    }
    
    .founder-container {
        max-width: 400px;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .autoridade-titulo {
        font-size: 1.6rem;
    }
    
    .autoridade-resumo {
        font-size: 1.1rem;
    }
    
    .fundador-content {
        flex-direction: column;
    }
    
    .fundador-texto, .fundador-imagem {
        width: 100%;
    }
    
    .fundador-texto h2 {
        text-align: center;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .image-desktop {
        display: none;
    }
    
    .image-mobile {
        display: block;
    }
    
    .fundador-img-desktop {
        display: none;
    }
    
    .fundador-img-mobile {
        display: block;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero .container {
        gap: 30px;
    }
    
    .hero-image {
        margin-top: 20px;
    }
    
    .founder-container {
        max-width: 300px;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .passo {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .passo-numero {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .slider-container {
        height: 350px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Mobile pequeno (576px) */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero .container {
        gap: 20px;
    }
    
    .founder-container {
        max-width: 280px;
    }
    
    .hero .summary {
        font-size: 1.1rem;
    }
    
    .autoridade-titulo {
        font-size: 1.4rem;
    }
    
    .autoridade-resumo {
        font-size: 1rem;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Para telas muito pequenas (400px) */
@media (max-width: 400px) {
    .founder-container {
        max-width: 250px;
    }
    
    .slider-container {
        height: 200px;
    }
}