:root {
    --verde-militar: #4B5320;
    --verde-claro: #C9D5A9;
    --rosa-pastel: #F8D7DA;
    --bege: #F9F1E8;
    --cinza-claro: #F8F9FA;
    --cinza-escuro: #2B2D42;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
header {
    background: linear-gradient(to right, var(--bege), var(--verde-claro));
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--verde-militar);
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--verde-militar);
    transition: width 0.3s;
}

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

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--verde-militar);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('imagens/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 90px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--verde-militar);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--cinza-escuro);
}

.btn {
    display: inline-block;
    background-color: var(--verde-militar);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(75, 83, 32, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #3a4219;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(75, 83, 32, 0.4);
}

/* Sobre o Curso */
.sobre {
    padding: 80px 0;
    background-color: var(--cinza-claro);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--verde-militar);
    display: inline-block;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--rosa-pastel);
    margin: 15px auto 0;
}

.sobre-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.sobre-text {
    flex: 1;
    min-width: 200px;
    /* Adiciona esta linha para diminuir a letra */
    font-size: 0.9em; 
}

.sobre-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--verde-militar);
}

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

.sobre-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sobre-image img:hover {
    transform: scale(1.03);
}

/* Diferenciais */
.diferenciais {
    padding: 80px 0;
    background-color: white;
}

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

.diferencial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.diferencial-card:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 20px 40px rgba(75, 83, 32, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7e6 100%);
    border-left: 4px solid var(--verde-militar);
    z-index: 10;
}

.diferencial-card i {
    font-size: 2.5rem;
    color: var(--verde-militar);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.diferencial-card:hover i {
    transform: scale(1.2);
    color: #3a4219;
}

.diferencial-card h3 {
    margin-bottom: 15px;
    color: var(--verde-militar);
}

/* Informações */
.informacoes {
    padding: 80px 0;
    background: linear-gradient(to right, var(--bege), var(--rosa-pastel));
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.info-card:hover {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 18px 35px rgba(248, 215, 218, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #fef6f7 100%);
    border-left: 4px solid var(--rosa-pastel);
    z-index: 10;
}

.info-card h3 {
    color: var(--verde-militar);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--verde-claro);
}

.info-card ul {
    list-style-position: inside;
    margin-top: 10px;
}

.info-card ul li {
    margin-bottom: 8px;
}

.coordenadora {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.coordenadora img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--verde-claro);
    transition: transform 0.3s ease;
}

.coordenadora:hover img {
    transform: scale(1.1);
}

.coordenadora-info h4 {
    color: var(--verde-militar);
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--cinza-escuro);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--verde-claro);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--rosa-pastel);
}

.footer-col p, .footer-col li {
    margin-bottom: 10px;
}

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

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--verde-claro);
}

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

.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%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--verde-militar);
    transform: translateY(-3px) scale(1.1);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(75, 83, 32, 0.8);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.gallery-item:hover .overlay {
    height: 100%;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .sobre-content {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
    }
    
    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    /* Ajustes para hover em dispositivos móveis */
    .diferencial-card:hover, .info-card:hover, .gallery-item:hover {
        transform: scale(1.03) translateY(-5px);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .info-cards, .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Ajustes para hover em dispositivos móveis */
    .diferencial-card:hover, .info-card:hover, .gallery-item:hover {
        transform: scale(1.02) translateY(-3px);
    }
}