/* === GERAL & BODY === */
body {
    margin: 0;
    font-family: 'Arial', sans-serif; /* Considere usar fontes web como 'Poppins', 'Lato', 'Roboto' */
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    font-size: 16px; /* Base font size */
}

/* === NAVBAR === */
.navbar {
    background: #FDBA4F; /* Fundo amarelo principal */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 70px; /* Altura fixa para cálculo do margin-top */
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.navbar nav {
    display: flex; /* Padrão para desktop */
}

.navbar nav a {
    color: #9B1C1C; /* Vermelho escuro para links */
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #6d1313; /* Vermelho mais escuro no hover */
}

/* Botão Hambúrguer (Inicialmente escondido em telas grandes) */
.menu-hamburger {
    display: none;
    background: none;
    border: none;
    color: #9B1C1C; /* Cor do ícone */
    font-size: 2rem; /* Tamanho do ícone */
    cursor: pointer;
}


/* === HERO SECTION (SLIDER) === */
.hero {
    position: relative;
    height: 85vh; /* Altura relativa à tela */
    min-height: 500px; /* Altura mínima */
    overflow: hidden;
    margin-top: 70px; /* Mesmo valor da altura do navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #555; /* Cor de fundo caso a imagem demore a carregar */
}

/* Overlay escuro para melhor leitura do texto */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Overlay escuro - ajuste a opacidade (0.0 a 1.0) */
    z-index: 1;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Atrás do overlay */
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%; /* Container dos slides */
    height: 100%;
    transition: transform 0.7s ease-in-out;
}

.slide {
    flex: 1 0 100%; /* Cada slide ocupa 100% */
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-text {
    position: relative;
    z-index: 2; /* Acima do overlay */
    color: white;
    padding: 1rem;
    max-width: 800px; /* Largura máxima do texto */
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6); /* Sombra para legibilidade */
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.hero-text .btn {
    background: #9B1C1C; /* Vermelho escuro */
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block; /* Para aplicar transform */
}

.hero-text .btn:hover {
    background: #c82828; /* Vermelho mais claro no hover */
    transform: scale(1.05); /* Leve aumento no hover */
}

/* === ESTILOS GERAIS DAS SEÇÕES === */
.section {
    padding: 4rem 2rem;
    text-align: center;
}

.section h2 {
     font-size: 2.2rem;
     margin-bottom: 3rem;
     color: #333;
     font-weight: bold;
}

/* === SEÇÃO FUNCIONALIDADES === */
.features {
    background: #fff; /* Fundo branco para destacar */
}

.features-container {
    display: grid;
    /* Cria colunas de no mínimo 250px, ajustando-se automaticamente */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem; /* Espaço entre os itens */
    max-width: 1200px;
    margin: 0 auto; /* Centraliza o container da grade */
}

.feature-item {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Para alinhar conteúdo interno se necessário */
    flex-direction: column; /* Ícone, título, texto empilhados */
    align-items: center; /* Centraliza conteúdo */
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 60px;        /* Largura desejada */
    height: 60px;       /* Altura desejada */
    max-width: 100%;    /* Não ultrapassa o container */
    display: block;
    margin: 0 auto 1rem auto; /* Centraliza e adiciona margem inferior */
    object-fit: contain; /* Mantém proporção dentro da caixa 60x60 */
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    flex-grow: 1; /* Faz o parágrafo ocupar espaço disponível (útil para alinhar botões se houver) */
}

/* Estilo para itens "Em Breve" */
.feature-item.coming-soon {
     opacity: 0.7;
}
.feature-item.coming-soon h3::after {
    content: ' (Em Breve)';
    font-size: 0.8rem;
    font-style: italic;
    color: #888;
}


/* === SEÇÃO PLANO ÚNICO === */
.planos {
    background: #f1f1f1; /* Cinza claro de fundo */
}

.planos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.plano-unico {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    width: 100%;
    max-width: 480px; /* Largura máxima do card do plano */
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid #FDBA4F; /* Borda superior com cor primária */
    text-align: left;
}

.plano-unico h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.plano-unico .preco {
    text-align: center;
    margin-bottom: 2rem;
    background-color: #f8f8f8;
    padding: 1.2rem;
    border-radius: 5px;
    border: 1px solid #eee;
}

.plano-unico .preco .valor {
    font-size: 2.8rem;
    font-weight: bold;
    color: #9B1C1C; /* Vermelho escuro no preço */
    display: block;
    line-height: 1.1;
}

.plano-unico .preco .periodo {
    font-size: 1rem;
    color: #777;
    margin-top: 0.2rem;
    display: block;
}

.plano-unico p strong {
     display: block;
     margin-bottom: 1rem;
     font-size: 1.1rem;
     text-align: center;
     color: #444;
}

.plano-unico ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.plano-unico ul li {
    margin-bottom: 0.9rem;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

/* Estilo do check (✓) ou ampulheta (⏳) */
.plano-unico ul li::before {
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.2rem;
    width: 20px; /* Garante alinhamento */
    text-align: center;
    display: inline-block;
}
/* Check para itens normais */
.plano-unico ul li:not(:has(.coming-soon-text))::before {
     content: '✓';
     color: #28a745; /* Verde */
}
/* Ampulheta para "Em Breve" */
.plano-unico ul li .coming-soon-text::before {
     content: '⏳';
     color: #ffc107; /* Amarelo */
     font-size: 1rem; /* Ajuste tamanho do emoji se necessário */
}
/* Esconde o marcador padrão para os itens "Em Breve" */
.plano-unico ul li:has(.coming-soon-text)::before {
    content: ''; /* Remove o check padrão */
}

.plano-unico ul li .coming-soon-text {
     opacity: 0.7;
     display: inline-flex; /* Para alinhar o emoji corretamente */
     align-items: center;
}


.btn-plano {
    background: #28a745; /* Verde para botão de assinar */
    color: white;
    padding: 0.9rem 1.5rem;
    border: none;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    text-align: center;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.btn-plano:hover {
    background: #218838; /* Verde mais escuro no hover */
    transform: scale(1.03);
}

/* === SEÇÃO GARANTIAS === */
.guarantees {
    background-color: #e9ecef; /* Cinza bem claro */
}

.guarantees-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Quebra linha em telas menores */
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.guarantee-item {
     flex-basis: 30%; /* Tenta 3 por linha */
     min-width: 280px; /* Largura mínima antes de quebrar */
     text-align: center;
     padding: 1rem;
}

.guarantee-icon {
    width: 55px;        /* Largura desejada */
    height: 55px;       /* Altura desejada */
    max-width: 100%;    /* Não ultrapassa o container */
    display: block;
    margin: 0 auto 1rem auto; /* Centraliza e adiciona margem inferior */
    object-fit: contain; /* Mantém proporção dentro da caixa 55x55 */
}

.guarantee-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    color: #444;
}

.guarantee-item p {
    font-size: 1rem;
    color: #666;
}

/* === RODAPÉ === */
.footer {
    background-color: #343a40; /* Cinza escuro */
    color: #f8f9fa; /* Texto claro */
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}
.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* === ============================================= === */
/* === MEDIA QUERIES PARA RESPONSIVIDADE (CELULAR) === */
/* === ============================================= === */

/* Telas Médias (tablets e alguns laptops pequenos ~< 992px) */
@media (max-width: 992px) {
    .navbar {
        padding: 0.8rem 1.5rem; /* Menos padding */
        height: 65px; /* Pode reduzir um pouco a altura */
    }
    .navbar nav {
        display: none; /* Esconde o menu normal */
        position: absolute;
        top: 65px; /* Altura atualizada do navbar */
        left: 0;
        width: 100%;
        background-color: #FDBA4F; /* Mesmo fundo do navbar */
        flex-direction: column;
        padding: 0; /* Reset padding */
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(155, 28, 28, 0.2); /* Linha sutil separando */
    }
    /* Mostra o menu quando ativo (via JS) */
    .navbar nav.active {
        display: flex;
    }

    .navbar nav a {
        margin-left: 0;
        text-align: center;
        padding: 1rem; /* Mais área de toque */
        border-bottom: 1px solid rgba(155, 28, 28, 0.1);
    }
     .navbar nav a:last-child {
        border-bottom: none;
    }

    /* Mostra o botão hambúrguer */
    .menu-hamburger {
        display: block;
    }

    .hero {
        margin-top: 65px; /* Altura atualizada do navbar */
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 2rem; /* Títulos um pouco menores */
    }

    .features-container {
        /* Pode manter auto-fit ou forçar 2 colunas */
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
}

/* Telas Pequenas (celulares em modo paisagem e alguns tablets em retrato ~< 768px) */
@media (max-width: 768px) {
     .section {
        padding: 3rem 1rem; /* Menos padding */
     }
     .section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
     }

    .hero {
        height: 75vh; /* Ajuste conforme necessário */
        min-height: 450px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
     .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
     .hero-text .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
     }

     .features-container {
        grid-template-columns: 1fr; /* Força uma coluna */
        gap: 1.5rem;
    }
    .feature-item {
        padding: 1.5rem;
    }

    .planos-container {
        padding: 1rem;
    }
    .plano-unico {
         max-width: 95%; /* Ocupa quase toda a largura */
         padding: 2rem 1.5rem;
    }
    .plano-unico h3 { font-size: 1.6rem; }
    .plano-unico .preco .valor { font-size: 2.4rem; }
    .plano-unico ul li { font-size: 0.95rem; }


    .guarantees-container {
        flex-direction: column; /* Empilha as garantias */
        align-items: center;
        gap: 1.5rem;
    }
    .guarantee-item {
        flex-basis: auto;
        width: 90%; /* Largura definida */
        max-width: 400px; /* Limite máximo */
    }
     .guarantee-item h3 { font-size: 1.3rem;}
     .guarantee-item p { font-size: 0.95rem;}
}

/* Telas Muito Pequenas (celulares em modo retrato ~< 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 1rem;
        height: 60px;
     }
    .navbar nav { top: 60px; }
    .logo-img { height: 40px; }

    .hero { margin-top: 60px; height: 70vh; min-height: 400px;}
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text p { font-size: 0.9rem; }
    .btn, .hero-text .btn, .btn-plano {
         font-size: 0.9rem;
         padding: 0.7rem 1.2rem; /* Botões ligeiramente menores */
    }

    .section h2 { font-size: 1.6rem; }
    .plano-unico .preco .valor { font-size: 2rem; }
    .footer { padding: 1.5rem 1rem; }
}