/* Variáveis de cores */
:root {
    --primary-color: #0056b3; /* Azul */
    --secondary-color: #ff8c00; /* Laranja */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --white-color: #ffffff;
    --black-color: #000000;
    --primary-light: #4d8fd1;
    --secondary-light: #ffb04d;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-small {
    padding: 5px 15px;
    font-size: 0.9rem;
}

/* Header */
header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.menu-mobile {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 20px;
    background-color: var(--white-color);
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -50px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.card {
    background-color: var(--white-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-content p {
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-info {
    margin-top: 40px;
    text-align: center;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--white-color);
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--gray-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--dark-color);
}

.modal-body {
    margin-top: 20px;
}

.modal-body h3 {
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.modal-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.modal-body ul li {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    color: var(--white-color);
    margin-bottom: 10px;
}

.footer-contact h4,
.footer-social h4 {
    color: var(--white-color);
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a,
.footer-social a {
    color: var(--white-color);
}

.footer-contact a:hover,
.footer-social a:hover {
    color: var(--secondary-light);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    nav ul {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -50px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
    }
}
