/* pacotes.css */

/* --- Variáveis e Reset Básico --- */
:root {
    --primary-color: #007bff;
    /* Azul vibrante */
    --secondary-color: #6c757d;
    /* Cinza para detalhes */
    --dark-color: #343a40;
    /* Preto para texto principal */
    --light-color: #f8f9fa;
    /* Branco off-white */
    --white-color: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    /* Largura máxima ajustada para um tamanho mais comum */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Títulos e Parágrafos --- */
h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5em;
    /* Reduzido */
    font-weight: 700;
}

h2 {
    font-size: 2em;
    /* Reduzido */
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.7em;
    /* Reduzido */
    font-weight: 600;
}

p {
    margin-bottom: 18px;
}

/* --- Botões --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 20px;
}

.cta-button:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

/* --- Header --- */
header {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 300px;
}

.logo h1 {
    color: var(--white-color);
    font-size: 1.8em;
    /* Reduzido */
    margin: 0;
}

nav .nav-links {
    list-style: none;
    display: flex;
    /* Mantém como flex para desktop */
}

nav .nav-links li {
    font-size: 1.1em;
    /* Reduzido */
    margin-left: 30px;
}

nav .nav-links a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav .nav-links a:hover,
nav .nav-links a.active {
    color: var(--primary-color);
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

nav .nav-links a:hover::after,
nav .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    /* Escondido por padrão em desktop */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    position: relative;
    /* Adicionado para que as linhas possam ser posicionadas */
    z-index: 1001;
    /* Garante que o ícone esteja sempre acima do menu */
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: var(--white-color);
    transition: all 0.3s ease;
}

/* Animação do Burger Icon para fechar */
.hamburger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line2 {
    opacity: 0;
}

.hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- Seções Gerais --- */
.section-padding {
    padding: 80px 0;
}

.section-padding .text-center h1 {
    margin-top: 50px;
}

.section-title {
    font-size: 1.8em;
    /* Reduzido */
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-subtitle {
    /* Added for the subtitle in hero and package sections */
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-size: 1.3em;
    /* Reduzido */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Packages Section --- */
.packages-section {
    background-color: var(--light-color);
    padding-top: 100px;
    /* Ajuste para o header fixo */
    padding-bottom: 80px;
    /* Padding inferior */
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Adjusted minmax for better responsiveness */
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.package-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    /* Added background-color for hover */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* New styles for a more square-like appearance */
    min-height: 380px;
    /* A fallback/min height if aspect-ratio isn't fully supported or content overflows */
    position: relative;
    /* Needed for absolute positioning of elements inside if desired */
    overflow: hidden;
    /* Hide overflowing content if any */
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    /* Slight scale for a nicer effect */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--light-color);
    /* Lighten background on hover */
}

.package-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
    /* Reduzido */
}

.package-card .price {
    /* Changed from .package-price to .price as per HTML */
    font-size: 1.6em;
    /* Reduzido */
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 10px;
    /* Adjusted margin */
    margin-bottom: 20px;
    /* Adjusted margin */
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    /* Adjusted margin */
    text-align: left;
    flex-grow: 1;
    /* Allow list to take available space */
}

.package-card ul li {
    margin-bottom: 8px;
    /* Slightly less margin */
    color: var(--dark-color);
    font-size: 1em;
    /* Reduzido */
    display: flex;
    align-items: center;
}

.package-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1em;
}

.package-card .btn {
    width: 100%;
    margin-top: auto;
    /* Push button to the bottom */
    font-size: 1em;
    /* Ajustado */
}

/* --- Modals (Pop-ups de Detalhes do Pacote) --- */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    /* Space for fixed header */
}

.modal-content {
    background-color: var(--white-color);
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 80%;
    /* Adjusted width */
    max-width: 900px;
    /* Max width for larger screens */
    position: relative;
    animation-name: animatetop;
    animation-duration: 0.4s;
    top: 0;
    transform: translateY(0%);
    box-sizing: border-box;
    max-height: 90vh;
    /* Limit height */
    overflow-y: auto;
    /* Enable scrolling for content */
}

/* Add Animation */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.close-button {
    color: var(--dark-color);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
    /* Reduzido */
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 15px;
}

.modal-content h3 {
    font-size: 1.6em;
    /* Reduzido */
    color: var(--dark-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 15px;
    font-size: 0.95em;
    /* Ajustado */
}

.modal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 0.95em;
    /* Ajustado */
}

.modal-content ul li {
    margin-bottom: 8px;
}

.modal-content .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.process-steps .step {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.process-steps .step h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.3em;
    /* Reduzido */
}

.process-steps .step p {
    margin: 0;
    font-size: 0.9em;
    /* Ajustado */
    color: var(--secondary-color);
}

.price-details {
    text-align: center;
    margin-top: 30px;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
}

.price-details strong {
    font-size: 1.5em;
    color: var(--dark-color);
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 2em;
    /* Ajustado */
}

.cta-section p {
    font-size: 1.1em;
    /* Ajustado */
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    /* Ajustado */
}

.cta-section .btn:hover {
    background-color: var(--light-color);
    color: #0056b3;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 50px 0 20px;
    font-size: 0.9em;
}

footer a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links-footer a {
    font-size: 1.5em;
    color: var(--light-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links-footer a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* Back to top button */
#backToTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed position */
    bottom: 30px;
    /* Place at the bottom */
    right: 30px;
    /* Place at the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: var(--primary-color);
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 50%;
    /* Rounded corners */
    font-size: 1.2em;
    /* Increase font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#backToTopBtn:hover {
    background-color: #0056b3;
    /* Add a darker background on hover */
    transform: translateY(-3px);
}

/* --- Responsividade --- */
@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        /* Adjusted minmax for better fit */
    }
}

@media (max-width: 992px) {
    .logo img {
        width: 250px;
    }

    nav .nav-links li {
        margin-left: 20px;
    }

    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .package-card {
        padding: 25px;
    }

    .modal-content {
        width: 90%;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 200px;
    }

    /* Header e Navegação */
    nav .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        width: 60%;
        max-width: 300px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        padding-top: 80px;
    }

    nav .nav-links.nav-active {
        transform: translateX(0%);
    }

    nav .nav-links li {
        opacity: 0;
        margin: 25px 0;
    }

    nav .nav-links a {
        color: var(--white-color);
        font-size: 1.3em;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .hero-packages-section h1 {
        font-size: 2.2em;
    }

    .hero-packages-section p {
        font-size: 1em;
    }

    .section-padding {
        padding: 60px 0;
    }

    .modal-content {
        width: 95%;
        padding: 25px;
    }

    .modal-content h2 {
        font-size: 1.8em;
    }

    .modal-content .process-steps .step h4 {
        font-size: 1.2em;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }

    .hero-packages-section h1 {
        font-size: 1.8em;
    }

    .section-padding {
        padding: 40px 0;
    }

    .package-card {
        padding: 20px;
    }

    .package-card h3 {
        font-size: 1.6em;
    }

    .package-card .price {
        font-size: 1.4em;
    }

    .package-card ul li {
        font-size: 0.9em;
    }

    .package-card .btn {
        font-size: 0.9em;
        padding: 10px 20px;
    }

    .cta-section h2 {
        font-size: 1.8em;
    }

    .cta-section p {
        font-size: 0.9em;
    }

    .cta-section .btn {
        font-size: 1em;
        padding: 12px 25px;
    }
}