/* ===== ESTILOS RESPONSIVOS PARA PÁGINA DE PARCERIAS ===== */
/* Dispositivos móveis (até 768px) */

/* Ajuste para o conteúdo não ficar atrás do header fixo */
body {
    padding-top: 70px !important;
}

/* Tabela de Comparação */
.comparison-section {
    padding: 40px 0;
    overflow: hidden;
    width: 100%;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    min-width: 600px; /* Largura mínima para garantir legibilidade */
    border-collapse: collapse;
    background: white;
    margin: 0;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.comparison-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    position: sticky;
    top: 0;
}

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

.comparison-table .feature {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Adiciona uma borda lateral esquerda para destacar a primeira coluna */
.comparison-table td:first-child {
    border-left: 3px solid var(--primary);
    white-space: normal;
    min-width: 150px;
}

/* Estilo para linhas alternadas */
.comparison-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Estilo para telas médias */
@media (min-width: 768px) {
    .table-container {
        overflow-x: visible;
    }
    
    .comparison-table {
        min-width: 100%;
        table-layout: fixed;
    }
    
    .comparison-table td:first-child {
        min-width: 200px;
    }
}

/* Reset e Variáveis */
:root {
    --primary: #003366;
    --primary-rgb: 0, 51, 102;
    --secondary: #FF6600;
    --accent: #FF8C42;
    --light: #F5F7FA;
    --dark: #1A1A1A;
    --white: #FFFFFF;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 70px !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

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

/* Garantir que imagens não ultrapassem o container */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reset de margens e paddings para garantir consistência */
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Garantir que o conteúdo principal não fique escondido atrás do header fixo */
main {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Reset de estilos de formulário */
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ajuste para elementos que podem causar rolagem horizontal */
img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevenir quebra de layout em elementos de tabela */
table {
    border-collapse: collapse;
    width: 100%;
}

/* Garantir que elementos de mídia sejam responsivos */
img, video {
    height: auto;
    max-width: 100%;
}

/* Hero Section */
.hero-aluguel {
    padding: 120px 0 60px;
    min-height: auto;
    background-position: center center;
    background-size: cover;
    position: relative;
    text-align: center;
}

.hero-aluguel h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-aluguel p {
    font-size: 1rem;
    margin: 0 auto 25px;
    max-width: 90%;
    line-height: 1.6;
}

/* Seções comuns */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.section-title h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Media Queries para telas maiores */
@media (min-width: 576px) {
    .hero-aluguel h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    body {
        padding-top: 80px !important;
    }
    
    .hero-aluguel {
        padding: 180px 0 80px;
        min-height: 60vh;
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .hero-content {
        max-width: 600px;
        margin: 0;
    }
    
    .hero-aluguel h1 {
        font-size: 2.5rem;
    }
    
    .hero-aluguel p {
        font-size: 1.1rem;
        margin-left: 0;
        text-align: left;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

/* Ajustes para o menu em telas maiores */
@media (min-width: 992px) {
    #mobileMenu {
        display: none;
    }
    
    #mainNav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }
    
    #mainNav ul {
        flex-direction: row;
    }
    
    #mainNav ul li a {
        border: none;
        padding: 10px 15px;
    }
}