/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1C6931;
    --secondary: #d3a62e;
    --accent: #1C6931;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Rothek', 'Poppins', sans-serif;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #155a27;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
    background-color: var(--secondary);
    padding: 15px 40px;
    font-size: 1.2rem;
    color: #333;
}

.btn-accent {
    background-color: var(--secondary);
    color: #333;
}

.btn-accent:hover {
    background-color: #bf9522;
    color: #333;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Estilos para o Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Navegação Desktop */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(19, 85, 36, 0.9), rgba(28, 105, 49, 0.9)), url('./img/banner.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* About Section */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.service-list li::before {
    content: "✔";
    color: var(--secondary);
    font-weight: bold;
    margin-right: 10px;
}

/* Diferenciais Section */
.diferenciais {
    background-color: var(--light);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diferencial-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.diferencial-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Featured Course Section */
.featured-course {
    background: linear-gradient(to right, var(--primary), #155a27);
    color: white;
}

.featured-course h2 {
    color: white;
}

.featured-course h2::after {
    background-color: var(--secondary);
}

.course-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.course-info {
    flex: 1;
}

.course-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.course-image img {
    width: 100%;
    height: auto;
    display: block;
}

.course-list {
    list-style: none;
    margin: 1.5rem 0;
}

.course-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.course-list li::before {
    content: "✔";
    color: var(--secondary);
    font-weight: bold;
    margin-right: 10px;
}

.course-highlights {
    margin: 2rem 0;
}

.course-highlights p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Target Audience Section */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.audience-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.audience-item:hover {
    transform: translateY(-5px);
}

.audience-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Seção Galeria de Cursos */
.galeria-cursos {
    background-color: var(--light);
    padding: 80px 0;
}

.galeria-cursos h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.galeria-descricao {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--gray);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.galeria-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.galeria-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.galeria-imagem {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.galeria-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-item:hover .galeria-imagem img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(28, 105, 49, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-texto h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.galeria-texto p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.galeria-cta {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.galeria-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.galeria-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(28, 105, 49, 0.9), rgba(28, 105, 49, 0.9)), url('./img/banner2.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-feature i {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

/* Mapa com largura total */
.full-width-map {
    width: 100%;
    margin-top: 40px;
}

.full-width-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.2);
}

.seo-keywords {
    display: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* ========== RESPONSIVIDADE ========== */

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Tablets Pequenos e Mobile */
@media (max-width: 768px) {
    /* Header e Navegação Mobile */
    .header-container {
        padding: 12px 20px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    nav ul li:last-child a {
        border-bottom: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 150px 0 80px;
        margin-top: 70px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Featured Course */
    .course-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .course-image {
        order: -1;
    }
    
    /* Galeria */
    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .galeria-imagem {
        height: 250px;
    }
    
    .galeria-overlay {
        opacity: 1;
        background: linear-gradient(to bottom, transparent 0%, rgba(28, 105, 49, 0.8) 100%);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .full-width-map iframe {
        height: 300px;
    }
}

/* Mobile Pequeno */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hero-tags {
        gap: 10px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Grids */
    .services-grid,
    .diferenciais-grid,
    .audience-grid,
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card,
    .diferencial-card,
    .audience-item {
        padding: 20px;
    }
    
    /* Galeria */
    .galeria-imagem {
        height: 220px;
    }
    
    .galeria-cta {
        padding: 30px 20px;
    }
    
    .galeria-cta p {
        font-size: 1.1rem;
    }
    
    /* CTA */
    .cta {
        padding: 80px 0;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Footer */
    .full-width-map iframe {
        height: 250px;
    }
    
    .footer-bottom {
        padding: 20px 15px;
    }
}

/* Mobile Muito Pequeno */
@media (max-width: 380px) {
    .logo-img {
        height: 35px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}