/* --- Variáveis e Reset --- */
:root {
    /* Paleta de Cores Baseada nas Imagens */
    --primary-red: #d32f2f;      /* Vermelho Principal */
    --dark-red: #b71c1c;         /* Vermelho Escuro (Hover/Gradiente) */
    --light-red-bg: #ffebee;     /* Fundo bem clarinho para ícones */
    
    --accent-yellow: #fdd835;    /* Amarelo dos Botões (CTA) */
    --accent-yellow-hover: #fbc02d; 

    --text-dark: #1e293b;        /* Texto Principal */
    --text-muted: #64748b;       /* Texto Secundário */
    
    /* Gradiente Suave para o Hero */
    --hero-gradient: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #ffffff;
}

/* --- Utilitários de Texto e Botões --- */

/* Botão Vermelho (Principal) */
.btn-primary-custom {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(211, 47, 47, 0.2);
}

.btn-primary-custom:hover {
    background-color: var(--dark-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(211, 47, 47, 0.3);
}

/* Botão Amarelo (Destaque/CTA) */
.btn-warning-custom {
    background-color: var(--accent-yellow);
    color: #1a1a1a; /* Texto escuro para contraste no amarelo */
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-warning-custom:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-1px);
}

/* Botão Outline (Branco com borda) */
.btn-outline-custom {
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-custom:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* --- Navbar (Agora Vermelha) --- */
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: var(--primary-red); /* Fundo Vermelho */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important; /* Texto Branco */
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    /* Ícone branco ou transparente no fundo vermelho */
    font-size: 1.4rem;
}
.nav-link {
    color: rgba(255, 255, 255, 0.9) !important; /* Texto branco */
    font-weight: 500;
    margin: 0 12px;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}
.nav-link:hover {
    color: white !important;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 5px;
}
/* Ajuste do ícone hamburger no mobile para branco */
.navbar-toggler { border-color: rgba(255,255,255,0.5); }
.navbar-toggler-icon { filter: brightness(0) invert(1); }

/* --- Hero Section --- */
.hero-section {
    background: var(--hero-gradient); /* Degradê Bege/Avermelhado Suave */
    padding: 100px 0 80px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.badge-custom {
    background-color: var(--light-red-bg);
    color: var(--primary-red);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 25px;
    display: inline-block;
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1px;
}
.hero-title span {
    color: var(--primary-red); /* Destaque em Vermelho */
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 90%;
    line-height: 1.6;
}
.hero-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 4px solid white;
    /* Garante que o container tenha o tamanho certo */
    height: 100%; 
}
.hero-img {
    width: 100%;
    /* Altura fixa/mínima para garantir que o carousel não mude de tamanho */
    height: 500px; 
    object-fit: cover; /* Garante que a imagem preencha sem distorcer */
    display: block;
    transition: transform 0.5s;
}
.hero-image-container:hover .hero-img {
    transform: scale(1.02);
}
.hero-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    z-index: 2;
    text-align: left;
}

/* Ajustes dos controles do carousel */
.carousel-control-prev, .carousel-control-next {
    z-index: 5;
    width: 10%;
}
.carousel-indicators {
    z-index: 5;
}

/* --- Benefits Section --- */
.benefits-section {
    background-color: #ffffff;
    padding: 100px 0;
}
.section-title {
    font-weight: 800;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 70px;
    font-size: 1.05rem;
}
.benefit-card {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--light-red-bg);
}
.icon-box {
    width: 56px;
    height: 56px;
    background-color: var(--light-red-bg); /* Fundo rosa claro */
    color: var(--primary-red); /* Ícone Vermelho */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
}
.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- How it Works Section --- */
.how-it-works {
    background-color: #fafafa;
    padding: 100px 0;
    position: relative;
}
.steps-container {
    position: relative;
    margin-top: 60px;
}
.steps-line {
    position: absolute;
    top: 45px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}
.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
}
.step-icon-circle {
    width: 90px;
    height: 90px;
    background-color: var(--primary-red); /* Círculo Vermelho */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px auto;
    border: 6px solid #fafafa; /* Borda da cor do fundo */
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
    transition: transform 0.3s;
}
.step-item:hover .step-icon-circle {
    transform: scale(1.1);
}
.step-label {
    color: var(--primary-red); /* Texto "PASSO 01" vermelho */
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.step-title {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- CTA Section (Fundo Vermelho) --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Elemento decorativo sutil */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-icon {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    backdrop-filter: blur(5px);
}
.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}
/* Botão Grande Amarelo no CTA */
.btn-cta-large {
    background-color: var(--accent-yellow);
    color: #1a1a1a;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.btn-cta-large:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: black;
}
.cta-disclaimer {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 25px;
}

/* --- Footer --- */
.footer {
    background-color: #111827; /* Quase preto, levemente azulado */
    color: #9ca3af;
    padding: 25px 0;
    font-size: 0.9rem;
    border-top: 1px solid #1f2937;
}
.footer a {
    color: #9ca3af;
    text-decoration: none;
    margin-left: 25px;
    transition: color 0.2s;
}
.footer a:hover {
    color: white;
}

/* Ajustes Mobile */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-image-container { margin-top: 50px; }
    .steps-line { display: none; }
    .step-item { margin-bottom: 50px; }
    .navbar .btn-warning-custom { width: 100%; margin-top: 10px; }
    .hero-img { height: 350px; } /* Altura menor no mobile */
}