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

body {
    font-family: 'Montserrat', sans-serif;
    color: #1A3A5A;
    line-height: 1.6;
    background-color: #FFFFFF;
}

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

h1, h2, h3, h4, h5, h6 {
    color: #1A3A5A;
    margin-bottom: 20px;
    font-weight: 600;
}

a {
    color: #4A89C8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1A3A5A;
}

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

section {
    padding: 60px 0;
}

/* Header e navegação */
header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

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

nav ul li a {
    color: #1A3A5A;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #4A89C8;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.nav-cta {
    background-color: #4A89C8;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 5px;
}

.nav-cta:hover {
    background-color: #1A3A5A;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #1A3A5A;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(to right, #FFFFFF 50%, #F4F8FB 50%);
    position: relative;
}

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

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #1A3A5A;
}

.hero h2 {
    font-size: 1.2em;
    color: #4A89C8;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555;
}

.crm {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #4A89C8;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #1A3A5A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.large-cta {
    font-size: 1.1em;
    padding: 18px 36px;
}

/* About Section */
.about-section {
    background-color: #F4F8FB;
    text-align: center;
}

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

.about-content > p {
    margin-bottom: 40px;
    font-size: 1.1em;
}

.about-highlights {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.highlight {
    flex-basis: 30%;
    margin-bottom: 30px;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon {
    margin-bottom: 20px;
}

.icon img, .icon svg {
    width: 60px;
    height: 60px;
    color: #4A89C8;
}

.highlight h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Specialties Section */
.specialties-section {
    text-align: center;
}

.specialties-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.specialty-card {
    flex-basis: calc(50% - 30px);
    padding: 40px 30px;
    background-color: #F4F8FB;
    border-radius: 10px;
    text-align: left;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-specialty {
    border: 2px solid #4A89C8;
    background-color: #F4F8FB;
}

.specialty-icon {
    margin-bottom: 20px;
}

.specialty-icon img, .specialty-icon svg {
    width: 60px;
    height: 60px;
    color: #4A89C8;
}

.specialty-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #1A3A5A;
}

.specialty-subtitle {
    color: #4A89C8;
    font-weight: 600;
    margin-bottom: 20px;
}

.specialty-card ul {
    list-style-position: inside;
    margin-bottom: 20px;
}

.specialty-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.specialty-highlight {
    color: #4A89C8;
    font-weight: 600;
    margin-top: 20px;
}

/* Formation Section */
.formation-section {
    background-color: #F4F8FB;
    text-align: center;
}

.formation-list {
    list-style: none;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.formation-list li {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.formation-list li:last-child {
    margin-bottom: 0;
}

.formation-list li:before {
    content: '';
    position: absolute;
    left: 80px;
    top: 30px;
    bottom: -40px;
    width: 2px;
    background-color: #4A89C8;
}

.formation-list li:last-child:before {
    display: none;
}

.formation-year {
    flex: 0 0 80px;
    font-weight: 700;
    color: #4A89C8;
}

.formation-info {
    flex: 1;
    padding-left: 30px;
}

.formation-info h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

/* Units Section */
.units-section {
    text-align: center;
}

.units-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.unit-card {
    flex-basis: calc(33.333% - 20px);
    padding: 30px 20px;
    background-color: #F4F8FB;
    border-radius: 10px;
    text-align: left;
    transition: all 0.3s ease;
}

.unit-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.unit-card h3 {
    color: #4A89C8;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background-color: #1A3A5A;
    color: white;
    text-align: center;
}

.contact-section h2 {
    color: white;
}

.contact-subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.contact-email img {
    width: 24px;
    margin-right: 10px;
}

.contact-note {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #F4F8FB;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    flex-basis: 30%;
}

.footer-logo-img {
    max-width: 200px;
    margin-bottom: 15px;
}

.footer-links, .footer-contact {
    flex-basis: 30%;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #4A89C8;
    bottom: -10px;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    color: #777;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .highlight {
        flex-basis: 45%;
    }
    
    .specialty-card {
        flex-basis: 100%;
    }
    
    .unit-card {
        flex-basis: calc(50% - 20px);
    }
    
    .footer-logo, .footer-links, .footer-contact {
        flex-basis: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-links h3:after, .footer-contact h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        transition: all 0.3s ease;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 1.2em;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
    
    .highlight {
        flex-basis: 100%;
    }
    
    .unit-card {
        flex-basis: 100%;
    }
}

/* Animações e efeitos */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Estilos para o menu mobile */
.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1A3A5A;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
    top: 10px;
}

.hamburger span:nth-child(4) {
    top: 20px;
}

.hamburger.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.hamburger.open span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}
