@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   VARIÁVEIS E RESET
   ============================================ */

:root {
    --primary: #0f172a; /* Deep Slate */
    --primary-light: #1e293b;
    --accent: #fe8d01; /* Orange */
    --accent-dark: #fd4401; /* Red-Orange */
    --accent-red: #ef4444;
    --accent-yellow: #fbbf24;
    --text: #334155;
    --text-light: #64748b;
    --light: #eaeff4;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

[data-theme="dark"] {
    --primary: #f8fafc;
    --primary-light: #cbd5e1;
    --text: #f1f5f9;
    --text-light: #94a3b8;
    --light: #0f172a;
    --white: #1e293b;
    --glass-bg: rgba(15, 23, 42, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] input, 
[data-theme="dark"] textarea {
    background: var(--white);
    color: var(--text);
    border-color: var(--glass-border);
}

[data-theme="dark"] .team-name,
[data-theme="dark"] .team-role,
[data-theme="dark"] .team-description,
[data-theme="dark"] .gallery-title,
[data-theme="dark"] .partner-name {
    color: var(--text);
}

[data-theme="dark"] .card {
    border-color: var(--glass-border);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .course-hero,
[data-theme="dark"] .course-hero h1,
[data-theme="dark"] .course-hero p,
[data-theme="dark"] .event-hero,
[data-theme="dark"] .event-hero h1,
[data-theme="dark"] .event-hero p,
[data-theme="dark"] .section-courses-hero h1,
[data-theme="dark"] .section-courses-hero p,
[data-theme="dark"] .section-events-hero h1,
[data-theme="dark"] .section-events-hero p {
    color: #ffffff !important;
}

[data-theme="dark"] .title-underline {
    background: var(--accent);
}

[data-theme="dark"] .footer-main {
    background: #020617;
}

[data-theme="dark"] .contact-list i {
    color: var(--accent);
}

[data-theme="dark"] .footer-main h4 {
    -webkit-text-fill-color: var(--primary);
}

[data-theme="dark"] .whatsapp-assistente,
[data-theme="dark"] .gallery-btn {
    color: #ffffff !important;
}

[data-theme="dark"] .btn,
[data-theme="dark"] .btn-hero,
[data-theme="dark"] .btn-submit {
    color: #ffffff !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAVBAR / HEADER
   ============================================ */

.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    min-height: 55px;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    padding: 0.8rem 5%;
    background: rgba(255, 255, 255, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent);
}

.logo-img {
    max-height: 95px;
    object-fit: contain;
    filter: drop-shadow(0 6px 8px rgba(0,0,0,0.25));
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(-2deg);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent);
}

/* ============================================
   HERO / SLIDESHOW
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--primary);
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 5s ease-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
    color: #e2e8f0;
    max-width: 700px;
    margin-inline: auto;
}

.btn-hero {
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: var(--shadow-xl);
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Slide Navigation Buttons */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav:active {
    transform: translateY(-50%) scale(0.95);
}

#slide-prev { left: 2rem; }
#slide-next { right: 2rem; }

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: var(--accent);
    width: 40px;
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 3.5rem 5%;
    position: relative;
    background: var(--white);
}

section:nth-child(even) {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 0.8s ease;
}

.section-title h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.title-underline {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(254, 141, 1, 0.3);
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: #fff; /* ALTERADO */

    line-height: 1.8;

    text-align: justify;
    text-justify: inter-word;

    max-width: 1000px;
    width: 100%;
    margin: auto;
}

.section-about .section-title h2,
.section-about .about-text{
    color: #fff !important;
}
.section-about {
    position: relative;

    background-image:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.55)
        ),
        url('../img/b3.jpg');

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    color: white;

    padding: 120px 60px;

    
}



/* ============================================
   SESSAO CONSULTAR
   ============================================ */
.consulta-form{
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
}

.consulta-form input{
    flex: 1;
    padding: 16px 25px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1.1rem;
    background: var(--light);
    transition: var(--transition);
}

.consulta-form input:focus {
    border-color: var(--accent);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(254, 141, 1, 0.1);
}

.consulta-form button{
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(254, 141, 1, 0.3);
}

.consulta-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 141, 1, 0.4);
}

@media (max-width: 768px) {
    .consulta-form {
        flex-direction: column;
        border-radius: 24px;
        padding: 15px;
        gap: 10px;
    }
    
    .consulta-form input {
        width: 100%;
        padding: 14px 20px;
    }
    
    .consulta-form button {
        width: 100%;
        padding: 14px 20px;
    }
}

.resultado-consulta{
    margin-top:30px;
    text-align:center;
}

.status{
    padding:8px 16px;
    border-radius:20px;
    font-weight:bold;
}

.validado{
    background:#d1fae5;
    color:#065f46;
}

.invalido{
    background:#fee2e2;
    color:#991b1b;
}

.btn-imprimir{
    display:inline-block;
    margin-top:20px;
    background:#198754;
    color:#fff;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
}

.nao-encontrado{
    color:#dc3545;
    font-weight:bold;
    margin-top:20px;
}

.acoes-consulta{
    margin-top:15px;
}

.btn-limpar{
    display:inline-block;
    background:#dc3545;
    color:#fff;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    margin-left:10px;
}

.btn-limpar:hover{
    opacity:.9;
}



/* ============================================
   GRID E CARDS
   ============================================ */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.6s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(254, 141, 1, 0.1);
}

.card.animate-in {
    animation: fadeUp 0.6s ease;
}

.card.card-hover {
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 280px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    aspect-ratio: 4 / 3;
}

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

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card-price {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.card-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    text-align: center;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(0,0,0,0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(254, 141, 1, 0.4);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-card {
    width: 100%;
    margin-top: auto;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   GALERIA
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    background: var(--white);
    animation: scaleIn 0.6s ease;
}

.gallery-item.animate-gallery {
    animation: fadeUp 0.6s ease;
}

.gallery-item-wrapper {
    position: relative;
    overflow: hidden;
    height: 450px;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    transform: scale(0.8);
}

.gallery-overlay:hover .gallery-btn {
    transform: scale(1);
    background: var(--accent-dark);
}

.gallery-title {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   MODAL DE GALERIA
   ============================================ */

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scaleIn 0.3s ease;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-title {
    color: #ffffff;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.gallery-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-nav {
    display: flex;
    gap: 20px;
}

.modal-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}


/* ============================================
   LOADING STATE
   ============================================ */

.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(34, 197, 94, 0.2);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================
   FORM VALIDATION
   ============================================ */

.input-error {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
}

.form-error-message {
    background: #e74c3c;
    color: var(--white);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    animation: slideInLeft 0.3s ease;
}

/* ============================================
   DIMENSÕES PADRONIZADAS DE IMAGENS
   ============================================ */

/* Banner Principal: 1920 x 600 px (proporção 16:5) */
.slide {
    /* Mantém proporção 16:5 automaticamente */
}

/* Imagem de Curso: 900 x 450 px (proporção 2:1) */
.card-img {
    /* Mantém proporção 2:1 com aspect-ratio */
}

/* Imagem Sobre Nós: 1200 x 900 px (proporção 4:3) */
.about-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

/* Parceiros: 300 x 200 px (proporção 3:2) */
.partner-logo {
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
}

/* Logo: 500 x 500 px (proporção 1:1) */
.logo-img {
    aspect-ratio: 1 / 1;
}

.team-photo {
    aspect-ratio: 1 / 1;
}

/* ============================================
   EQUIPE
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    animation: scaleIn 0.6s ease;
}

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

.team-image {
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.team-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.team-contact {
    display: inline-block;
    padding: 8px 16px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: #222222;
}

/* ============================================
   PARCEIROS
   ============================================ */

.partners-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: inline-flex;
    gap: 30px;
    animation: scroll-partners 25s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.partner-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    min-width: 250px;
    flex-shrink: 0;
    animation: scaleIn 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

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

.partner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    width: 100%;
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    transform: scale(1.1);
}

.partner-name {
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--light);
    }

    .hero {
        height: 75vh;
    }

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

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

    .slide-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    #slide-prev {
        left: 15px;
    }

    #slide-next {
        right: 15px;
    }

    .slide-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-item-wrapper {
        height: 320px;
    }

    @media (max-width:768px){

    .footer-content{
        grid-template-columns:1fr;
        gap:30px;
    }

    .footer-section{
        text-align:center;
    }

    .contact-list a,
    .footer-links a{
        justify-content:center;
    }

    }

    .modal-image {
        max-height: 50vh;
    }

    .gallery-modal-close {
        top: 10px;
        right: 10px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .team-image {
        height: 320px;
    }

    .partners-track {
        gap: 15px;
    }

    .partner-card {
        min-height: 120px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 3%;
    }

    .logo {
        font-size: 1.2rem;
    }

    section {
        padding: 50px 3%;
    }

    .hero {
        height: 60vh;
    }

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

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

    .hero-content {
        padding: 20px;
    }

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

    .section-title h2 {
        font-size: 1.4rem;
    }

    .card-body {
        padding: 15px;
    }

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

/* ============================================
   ACESSIBILIDADE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #e0e0e0;
        --text-light: #b0b0b0;
        --light: #1a1a1a;
        --white: #0d0d0d;
    }

    .navbar {
        background: #1a1a1a;
    }

    .card {
        background: #1a1a1a;
    }

    .contact-list i {
        color: var(--accent);
    }
}
.whatsapp-assistente{
    position: fixed;

    right: 20px;
    bottom: 20px;

    background: #25D366;

    color: white !important;

    padding: 14px 18px;

    border-radius: 50px;

    display: flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    font-weight: 600;

    z-index: 9999;

    box-shadow: 0 8px 20px rgba(0,0,0,.25);

    transition: .3s;
}

.whatsapp-assistente i{
    font-size: 28px;
}

.whatsapp-assistente:hover{
    transform: translateY(-5px);
    background: #1ebe5d;
}

@media(max-width:768px){

    .whatsapp-assistente span{
        display:none;
    }

    .whatsapp-assistente{
        width:60px;
        height:60px;

        justify-content:center;

        border-radius:50%;
        padding:0;
    }
}

/* ============================================
   FOOTER
============================================ */

.footer-main{
    background: var(--primary);
    color: var(--white);
    padding: 70px 5% 25px;
}

.footer-content{
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(200px,1fr));

    gap: 40px;
}

.footer-section{
    min-width:0;
}

.footer-section h4{
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-yellow)
        );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}

.footer-section p{
    color:rgba(255,255,255,.85);

    line-height:1.8;
}

/* CONTACTOS */

.contact-list,
.footer-links{
    list-style:none;
}

.contact-list li,
.footer-links li{
    margin-bottom:12px;
}

.contact-list a,
.footer-links a{
    color:rgba(255,255,255,.85);

    text-decoration:none;

    display:inline-flex;

    align-items:center;

    gap:10px;

    transition:var(--transition);

    word-break:break-word;
}

.contact-list a:hover,
.footer-links a:hover{
    color:var(--accent-yellow);

    transform:translateX(5px);
}

/* ============================================
   REDES SOCIAIS
============================================ */

.footer-social{

    display:flex;

    align-items:center;

    gap:14px;

    margin-top:22px;

    flex-wrap:wrap;

}

.social{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#fff !important;

    transition:var(--transition);

    box-shadow:
        0 6px 18px rgba(0,0,0,.20);

}

.social i{

    font-size:20px;

    line-height:1;

    display:block;

}

.social:hover{

    transform:
        translateY(-6px)
        scale(1.08);

}

/* CORES */

.facebook{
    background:#1877F2;
}

.instagram{
    background:
        linear-gradient(
            135deg,
            #F58529,
            #DD2A7B,
            #8134AF
        );
}

.linkedin{
    background:#0A66C2;
}

/* RODAPÉ INFERIOR */

.footer-bottom{

    margin-top:50px;

    padding-top:25px;

    border-top:
        1px solid rgba(255,255,255,.15);

    text-align:center;

    color:
        rgba(255,255,255,.75);

}

/* ============================================
   RESPONSIVO FOOTER
============================================ */

@media (max-width:768px){

.footer-content{
    grid-template-columns:1fr;
}

.footer-section{
    text-align:center;
}

.contact-list a,
.footer-links a{
    justify-content:center;
}

.footer-social{
    justify-content:center;
}

.social{
    width:44px;
    height:44px;
    min-width:44px;
}

.social i{
    font-size:18px;
}

/* HERO SLIDESHOW RESPONSIVO */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    #slide-prev {
        left: 10px;
    }
    
    #slide-next {
        right: 10px;
    }
}
