/* Importar fonte Poppins do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* Títulos */
h1 {
    font-size: 2.8em;
    color: #1a527c; /* Azul escuro, cor principal */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    color: #2c3e50; /* Um tom de azul mais suave para subtítulos */
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

h3 {
    font-size: 1.5em;
    color: #1a527c;
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #28a745; /* Verde vibrante para CTA principal */
    color: #fff;
    font-size: 1.3em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: #1a527c; /* Azul da marca */
    color: #fff;
    font-size: 1em;
    padding: 10px 20px;
}

.btn-secondary:hover {
    background-color: #153e5e;
}

/* Hero Section */
.hero {
    background-color: #e0f2f7; /* Um azul claro de fundo */
    padding: 60px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh; /* Altura mínima para a seção principal */
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5em; /* Aumentar para destaque */
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 1.6em;
    color: #555;
    margin-bottom: 30px;
    text-align: left; /* Alinhar o subtítulo à esquerda */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Section Common Styles */
section {
    padding: 60px 0;
}

section:nth-of-type(odd) {
    background-color: #a9cae7; /* Fundo mais claro para seções alternadas */
}

section h2 {
    margin-bottom: 40px;
}

/* Why Prizon Section */
.section-why-prizon .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Treatments Section */
.section-treatments .treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.treatment-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Para alinhar botões na parte inferior */
}

.treatment-item img {
    max-width: 100%;
    height: 200px; /* Altura fixa para imagens de tratamento */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
    border-radius: 8px;
    margin-bottom: 15px;
}

.treatment-item h3 {
    color: #1a527c;
    margin-bottom: 10px;
}

.treatment-item p {
    flex-grow: 1; /* Para que o parágrafo ocupe o espaço disponível */
    margin-bottom: 20px;
}

/* Testimonials Section */
.section-testimonials {
    background-color: #e0f2f7;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.testimonial-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #1a527c;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-item span {
    font-weight: 600;
    color: #1a527c;
}

/* Differentiators Section */
.section-differentiators ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.section-differentiators ul li {
    background-color: #fff;
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.section-differentiators ul li::before {
    content: '✅'; /* Ícone de checkmark */
    margin-right: 15px;
    font-size: 1.2em;
}

/* Final CTA Section */
.section-cta-final {
    background-color: #1a527c; /* Cor da marca para o CTA final */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.section-cta-final h2 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.section-cta-final p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background-color: #2c3e50; /* Azul escuro do footer */
    color: #f8f8f8;
    padding: 40px 0 20px;
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens quebrem a linha */
    justify-content: space-between;
    gap: 30px;
}

.footer-contact, .footer-address, .footer-hours {
    flex: 1;
    min-width: 280px; /* Garante que os blocos não fiquem muito pequenos */
}

.footer h3 {
    color: #4CAF50; /* Verde para títulos no footer */
    margin-bottom: 15px;
    font-size: 1.3em;
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    color: #e0f2f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content h2 {
        font-size: 1.4em;
        text-align: center;
    }

    .hero-image {
        order: -1; /* Mover a imagem para cima em telas menores */
    }

    .hero-image img {
        max-width: 80%; /* Ajuste para evitar que a imagem fique muito grande em mobile */
    }

    .section-why-prizon .features-grid,
    .section-treatments .treatment-grid,
    .testimonial-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact, .footer-address, .footer-hours {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.8em;
    }

    .btn-primary {
        font-size: 1.1em;
        padding: 12px 25px;
    }

    .hero {
        padding: 40px 0;
    }

    .section-treatments .treatment-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .btn-primary {
        font-size: 1em;
        padding: 10px 20px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .section-cta-final h2 {
        font-size: 2em;
    }

    .section-cta-final p {
        font-size: 1.1em;
    }
}