/* Cores e Variáveis da Yiskah */
:root {
    --primary-color: #007bff; /* Azul vibrante */
    --secondary-color: #28a745; /* Verde para CTA */
    --dark-bg: #222; /* Fundo do Header e Footer */
    --light-bg: #f4f4f4;
    --text-color: #333;
}

/* Estilos Básicos */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* HEADER */
header {
    background: var(--dark-bg);
    color: #fff;
    padding: 1rem 0;
    border-bottom: var(--primary-color) 3px solid;
    position: relative;
}

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

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

/* Botão de Acesso ao Sistema */
.access-button {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.access-button:hover {
    background: #0056b3;
}

/* HERO SECTION (Banner Principal) */
.hero {
    /* O background-image deve ser definido aqui para a imagem do caminhão */
    background: url('img/imgIA2.jpg') no-repeat center center/cover;
    color: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before { /* Overlay escuro para melhorar a leitura do texto */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero h2, .hero p, .hero .cta-button {
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Botão CTA (Chamada para Ação) */
.cta-button {
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border: none; /* Para o botão submit */
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #218838;
}

/* SEÇÕES GERAIS */
section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

section h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.section-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap; 
    justify-content: center;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1;
    min-width: 300px;
    text-align: justify;
}

.section-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* LISTAS DE VANTAGENS */
section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

section ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

section ul li strong {
    color: var(--primary-color);
}

/* SEÇÃO DE CONTATO */
.contact-form-wrapper {
    text-align: center;
    max-width: 600px;
    margin: auto;
}

.contact-form-wrapper form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que padding e border estejam dentro da largura */
}

.submit-button {
    width: 100%;
}

.contact-info {
    margin-top: 20px;
    font-size: 0.95rem;
}

/* FOOTER */
footer {
    background: var(--dark-bg);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsividade Básica (Ajustes para telas menores) */
@media (max-width: 768px) {
    .section-content {
        flex-direction: column; /* Empilha o texto e a imagem */
    }

    .section-content.reverse {
        flex-direction: column; /* Também empilha na ordem reversa */
    }

    .hero h2 {
        font-size: 2rem;
    }

    header .container {
        flex-direction: column;
    }
    header h1 {
        margin-bottom: 10px;
    }
}

