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

/* Estrutura principal para rodapé fixo no final */
html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* O main ocupa todo espaço disponível, empurrando o footer para baixo */
main {
    flex: 1;
}

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

/* Header */
.main-header {
    background: #0a2b3e;
    color: white;
    padding: 20px 0;
    border-bottom: 3px solid #f5a623;
}

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

.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: white;
}

.logo-accent {
    color: #f5a623;
}

.logo-sub {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 4px;
}

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

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #f5a623;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0e3a4a 0%, #0a2b3e 100%);
    color: white;
    padding: 70px 0;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .sub {
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 16px;
}

/* Sections */
section {
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

h2 {
    font-size: 32px;
    margin-bottom: 32px;
    color: #0a2b3e;
    border-left: 5px solid #f5a623;
    padding-left: 20px;
}

h3 {
    font-size: 24px;
    margin: 24px 0 12px;
    color: #1e293b;
}

.service-grid, .differentials-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.card, .step-card, .differential-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.card:hover, .step-card:hover, .differential-card:hover {
    transform: translateY(-4px);
}

.btn {
    display: inline-block;
    background: #f5a623;
    color: #0a2b3e;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 40px;
    margin-top: 20px;
    transition: background 0.2s;
}

.btn:hover {
    background: #e09515;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    color: white;
    padding: 16px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner a {
    color: #f5a623;
}

.cookie-banner button {
    background: #f5a623;
    border: none;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-banner button:hover {
    background: #e09515;
}

/* Footer - Garantia de fixação no final */
.main-footer {
    background: #0a2b3e;
    color: #cbd5e1;
    padding: 48px 0 24px;
    margin-top: 40px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-info p, .footer-links ul {
    margin: 8px 0;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #f5a623;
    text-decoration: underline;
}

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

.footer-links li {
    margin: 8px 0;
}

.footer-seguranca {
    font-size: 14px;
}

/* Páginas internas */
main .container > h1 {
    font-size: 36px;
    margin: 40px 0 24px;
    color: #0a2b3e;
    border-left: 5px solid #f5a623;
    padding-left: 20px;
}

main .container > p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Responsivo */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .main-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .footer-grid {
        gap: 24px;
        text-align: center;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero .sub {
        font-size: 16px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}