/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E86AB;
    --secondary-color: #F24236;
    --accent-color: #28A745;
    --text-dark: #343A40;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1B5E7A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #D63031;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.5), rgba(242, 66, 54, 0.3));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.solution-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Differentials Section */
.differentials {
    background: var(--bg-light);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.differential-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.differential-item:hover {
    transform: translateX(5px);
}

.differential-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pillar-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.pillar-card h3 {
    margin: 1rem 0;
    color: var(--text-dark);
}

/* Methodology Section */
.methodology {
    background: var(--primary-color);
    color: var(--white);
}

.methodology .section-title {
    color: var(--white);
}

.methodology-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.methodology-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.methodology-highlight h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Dynamics Section */
.dynamics {
    background: var(--bg-light);
}

.dynamics-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.dynamics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.dynamic-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dynamic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dynamic-image {
    height: 200px;
    overflow: hidden;
}

.dynamic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dynamic-card:hover .dynamic-image img {
    transform: scale(1.05);
}

.dynamic-content {
    padding: 1.5rem;
}

.dynamic-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.dynamic-type {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dynamic-details {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.dynamic-details p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.dynamic-content > p {
    color: var(--text-light);
    margin: 1rem 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #CCC;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #CCC;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .solutions-grid,
    .differentials-grid,
    .pillars-grid,
    .dynamics-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .dynamics-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .benefit-card,
    .solution-card,
    .pillar-card {
        padding: 1.5rem;
    }

    .dynamic-content {
        padding: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}



/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Contact Form */
.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E9ECEF;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

/* Responsive Design for Gallery and Contact */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .gallery-filter {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-icon {
        padding: 10px;
    }
    
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        align-self: center;
    }
}


/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars span {
    color: #FFD700;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonials Stats */
.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
}

.stat-item h3 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-item p {
    color: var(--white);
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 60px;
        top: -5px;
        left: 15px;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
}




/* Consultoria e Mentoria - estilo visual igual ao de Metodologias Ativas */
.section-blue {
  background-color: var(--primary-color); /* mesmo azul usado no site */
  color: var(--white);
}

.section-blue .section-title,
.section-blue p,
.section-blue strong {
  color: var(--white);
}

.section-blue .content-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 900px;
  margin: 2rem auto 0 auto;
  text-align: left;
}
/* ===== Responsividade para smartphones ===== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #fff;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background-color: #333;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .logo {
        max-width: 100%;
        height: auto;
    }

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

    section, .hero, .features, .footer {
        padding: 1rem;
    }
}


/* Hero Carousel Styles */
.hero {
    position: relative;
    overflow: hidden;
    height: 600px; /* Adjust as needed */
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel img.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding-top: 150px; /* Adjust to center content vertically */
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    .hero-content {
        padding-top: 100px;
    }
}




/* ===== MOBILE OPTIMIZAÇÕES ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1,
    .hero p {
        text-align: center;
        padding: 0 10px;
    }

    .hero {
        background-position: center;
        background-size: cover;
    }

    .section, .content {
        padding: 20px 10px;
    }

    .grid, .columns, .row {
        display: block !important;
        width: 100% !important;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    footer {
        text-align: center;
        padding: 20px 10px;
    }
}


/* ===== AJUSTES HERO E GALERIA PARA MOBILE (inserido por ChatGPT) ===== */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    align-items: flex-end;
    padding-bottom: 40px;
  }

  .hero-content {
    padding-top: 0;
    padding: 20px 10px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 1rem 1.5rem 1rem;
    transform: translateY(0);
    transition: var(--transition);
    height: auto; /* Garante que a altura se ajuste ao conteúdo */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinha o conteúdo na parte inferior */
  }

  .gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
  }
}

/* ===== AJUSTES PARA MOBILE, GALERIA, HERO, LOGO E BOTÕES ===== */
@media (max-width: 768px) {
  /* Hero section */
  .hero {
    height: 80vh;
    align-items: flex-end;
    padding-bottom: 40px;
  }

  .hero-content {
    padding-top: 0;
    padding: 20px 10px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

    .btn,
    a.btn,
    .btn-secondary,
    .btn-primary,
    .btn-large {
        width: auto;
        padding: 10px 15px; /* Ajuste o padding para diminuir o espaço */
        font-size: 0.9rem;
        white-space: nowrap; /* Evita que o texto quebre em várias linhas */
    }

    .btn-small {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

/* Lightbox básico com setas */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  padding: 20px;
  z-index: 10000;
}

.lightbox-prev {
  left: 10px;
}
.lightbox-next {
  right: 10px;
}


.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}



.gallery-item.hidden-gallery, .testimonial-card.hidden-testimonial {
    display: none;
}


/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gallery-modal.active {
    display: fl    .gallery-modal-content {
        flex-direction: column; /* Organiza imagem e info em coluna */
        justify-content: center;
        align-items: center;
        max-width: 90%;
        max-height: 90%;
        padding: 10px; /* Adiciona um padding para o conteúdo */
    }

    .gallery-modal img {
        max-width: 100%;
        max-height: 65vh; /* Ajusta a altura máxima da imagem para deixar mais espaço para a descrição */
        object-fit: contain;
        border-radius: var(--border-radius);
    }

    .gallery-modal-info {
        position: static; /* Remove posicionamento absoluto para que o conteúdo da imagem se ajuste */
        margin-top: 10px; /* Adiciona um pequeno espaçamento entre a imagem e a descrição */
        padding: 8px;
        max-height: 20vh; /* Limita a altura máxima do texto para 20% da viewport height */
        overflow-y: auto; /* Mantém a rolagem se o texto for muito longo */
        background: rgba(0, 0, 0, 0.8); /* Mantém o fundo escuro para legibilidade */
        color: var(--white);
        border-radius: var(--border-radius);
        text-align: center;
    }4px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: 20px;
}

.gallery-nav-btn.next {
    right: 20px;
}

.gallery-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

.gallery-close-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.gallery-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    z-index: 10001;
}

.gallery-modal-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 16px;
    border-radius: var(--border-radius);
    text-align: center;
}

.gallery-modal-info h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.gallery-modal-info p {
    font-size: 14px;
    opacity: 0.9;
}

/* Animation classes */
.gallery-modal img.slide-left {
    animation: slideLeft 0.3s ease-in-out;
}

.gallery-modal img.slide-right {
    animation: slideRight 0.3s ease-in-out;
}

@keyframes slideLeft {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Mobile adjustments for gallery modal */
@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .gallery-nav-btn.prev {
        left: 10px;
    }
    
    .gallery-nav-btn.next {
        right: 10px;
    }
    
    .gallery-close-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
    
    .gallery-counter {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .gallery-modal-info {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 8px;
        max-height: 30%; /* Limita a altura máxima para não cobrir muito da imagem */
        overflow-y: auto; /* Adiciona scroll se o conteúdo for maior que a altura máxima */
    }
    
    .gallery-modal-info h4 {
        font-size: 16px;
    }
    
    .gallery-modal-info p {
        font-size: 13px;
    }
}



/* Botão flutuante do WhatsApp */
#whatsapp-float {
  position: fixed !important;
  bottom: 80px !important;
  right: 20px !important;
  z-index: 10000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#whatsapp-float a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important;
  height: 60px !important;
  background-color: #25D366 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  color: white !important;
  animation: pulse 2s infinite !important;
}

#whatsapp-float a:hover {
  background-color: #128C7E !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
}

#whatsapp-float svg {
  width: 28px !important;
  height: 28px !important;
  fill: white !important;
  color: white !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Media query para mobile */
@media (max-width: 768px) {
  #whatsapp-float {
    bottom: 100px !important;
  }
  
  #whatsapp-float a {
    width: 55px !important;
    height: 55px !important;
  }
  
  #whatsapp-float svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Garantir que apareça em desktop também */
@media (min-width: 769px) {
  #whatsapp-float a {
    width: 65px !important;
    height: 65px !important;
  }
  
  #whatsapp-float svg {
    width: 30px !important;
    height: 30px !important;
  }
}

/* CSS para botões "Ver mais" */
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Correção para garantir que o display: block do JS não seja sobrescrito em mobile */
@media (max-width: 768px) {
    .dynamic-card[style*="display: block"] {
        display: block !important;
    }
}

\n/* Melhoria de Responsividade: Filtros de Treinamento Horizontal Scrollable em Mobile */\n@media (max-width: 768px) {\n    .dynamics-filter {\n        overflow-x: auto;\n        white-space: nowrap;\n        justify-content: flex-start;\n        padding-bottom: 10px;\n    }\n\n    .dynamics-filter::-webkit-scrollbar {\n        display: none;\n    }\n\n    .dynamics-filter .filter-btn {\n        flex-shrink: 0;\n    }\n}
\n/* Otimização para telas muito pequenas (ex: 480px) */\n@media (max-width: 480px) {\n    /* Ajuste para Pilares e Soluções */\n    .benefits-grid, .solutions-grid {\n        grid-template-columns: 1fr !important; /* Força uma coluna única */\n        gap: 1.5rem;\n    }\n\n    /* Ajuste para o título da seção Hero */\n    .hero-title {\n        font-size: 1.5rem !important;\n    }\n\n    /* Ajuste para o botão principal */\n    .btn-large {\n        padding: 12px 20px !important;\n        font-size: 1rem !important;\n    }\n}
\n/* Correção de Layout Mobile na Vertical */\n@media (max-width: 768px) {\n    /* Garante que o corpo da página não tenha overflow-x */\n    body {\n        overflow-x: hidden;\n    }\n\n    /* Garante que o container do header se ajuste corretamente */\n    .header .container {\n        width: 100%;\n        padding: 0 15px; /* Adiciona um padding lateral padrão */\n    }\n\n    /* Ajuste para o menu que pode estar causando o desproporcional */\n    .nav-menu {\n        width: calc(100% - 30px); /* Ajusta a largura para o padding do container */\n    }\n}
\n/* Correção de Z-Index e Layout Mobile (v3) */\n@media (max-width: 768px) {\n    /* Garante que o header esteja sempre acima de tudo */\n    .header {\n        z-index: 1000;\n    }\n\n    /* Garante que o hamburger esteja sempre clicável */\n    .hamburger {\n        z-index: 1001;\n        position: relative; /* Garante que o z-index funcione */\n    }\n\n    /* Garante que o nav-menu não interfira no layout */\n    .nav-menu {\n        z-index: 999;\n        /* Força a largura a ser 100% da viewport para evitar problemas de rolagem horizontal */\n        width: 100vw;\n        right: 0;\n        left: auto;\n        box-sizing: border-box; /* Inclui padding e border na largura */\n    }\n\n    /* Corrige o problema de layout desproporcional na vertical */\n    .container {\n        max-width: 100%;\n        padding: 0 15px;\n    }\n\n    /* Garante que o corpo não tenha rolagem horizontal */\n    body {\n        overflow-x: hidden;\n    }\n}
