/* Destaques */
.destaques-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 24px;
}
.destaque-noticia, .destaque-video {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    padding: 22px 18px 18px 18px;
    max-width: 420px;
    min-width: 220px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s;
}
.destaque-noticia h3, .destaque-video h3 {
    color: #007BFF;
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.destaque-noticia p {
    color: #333;
    font-size: 1rem;
}
.destaque-video-embed {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px #00cffd33;
    margin-top: 8px;
}
@media (max-width: 900px) {
    .destaques-lista {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .destaque-noticia, .destaque-video {
        max-width: 98vw;
        min-width: 0;
        width: 100%;
    }
}
/* MOBILE FIRST AJUSTES */
    .gallery-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10,20,40,0.88);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: opacity 0.3s;
        opacity: 1;
        padding: 0;
    }
    .gallery-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }
    .gallery-overlay img {
        max-width: 92vw;
        max-height: 80vh;
        border-radius: 16px;
        box-shadow: 0 8px 40px #00cffd55, 0 4px 16px #007BFF44;
        background: #fff;
        animation: zoomIn 0.3s cubic-bezier(.4,2,.3,1);
        display: block;
    }
    .gallery-overlay .close-btn {
        position: absolute;
        top: 24px;
        right: 24px;
        background: #fff;
        color: #00CFFD;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 2px 8px #00cffd33;
        .gallery-carousel img {
            width: 48vw;
            max-width: 160px;
            height: 120px;
            object-fit: cover;
            border-radius: 16px;
            margin: 0 2px;
            display: none;
        }
        .gallery-carousel img[style*="display: flex"] {
            display: flex !important;
        }
    }
    @media (max-width: 600px) {
        .gallery-overlay img {
            max-width: 98vw;
            max-height: 60vh;
        }
        .gallery-overlay .close-btn {
            top: 10px;
            right: 10px;
            width: 36px;
            height: 36px;
            font-size: 1.5rem;
        }
    }
    @keyframes zoomIn {
        from { transform: scale(0.7); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
    .navbar {
        flex-direction: column;
        padding: 10px 4vw;
    }
    .logo-img {
        height: 38px;
    }
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        background: linear-gradient(90deg, #007BFF, #00CFFD);
        width: 100vw;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        z-index: 1000;
    }
    .nav-links li {
        margin: 10px 0 0 12px;
    }
    .hero {
        height: auto;
        min-height: 70vh;
        padding-top: 70px;
        padding-bottom: 30px;
    }
    .hero-logo {
        margin-bottom: 16px;
    }
    /* --- CONTATO AJUSTADO --- */
    .contato-section {
        background: linear-gradient(135deg, #00CFFD 0%, #4f8cff 100%);
        color: #fff;
        padding: 60px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contato-container {
        display: flex;
        flex-direction: row;
        gap: 40px;
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        position: relative;
        top: 0;
    }
    .contato-info {
        flex: 1 1 320px;
        min-width: 320px;
        max-width: 360px;
        align-self: flex-start;
    }
    .contato-form {
        flex: 1 1 340px;
        min-width: 320px;
        max-width: 420px;
        background: rgba(30, 40, 120, 0.18);
        border-radius: 14px;
        padding: 32px 24px 24px 24px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 2px 12px #0001;
        align-self: flex-start;
    }
    .gallery-carousel {
        gap: 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: 100vw;
        max-width: 100vw;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
        justify-content: center;
        display: flex;
    }
    .gallery-carousel img {
        min-width: 44vw;
        max-width: 44vw;
        width: 44vw;
        height: auto;
        margin: 0 2vw;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    }
    /* Removido bloco duplicado e chaves extras */
    .gallery-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
        margin-top: 8px;
        margin-bottom: 0;
    }
    .gallery-arrows-mobile {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 14px;
        margin-bottom: 0;
        width: 100%;
    }
    .testimonials {
        gap: 10px;
        margin-top: 12px;
    }
    .testimonial {
        max-width: 95vw;
        min-width: 0;
        padding: 10px 6px 8px 6px;
        border-radius: 8px;
    }
    .testimonial p {
        font-size: 0.93rem;
    }
    /* Removido bloco duplicado de .contato-container e ajustes mobile já estão no media query correto */
.contato-form input::placeholder,
.contato-form textarea::placeholder {
    color: #fff !important;
    opacity: 1;
}
.gallery-carousel img {
    cursor: pointer;
}
.gallery-carousel img.enlarged {
    z-index: 10;
    position: relative;
    transform: scale(2.1) !important;
    box-shadow: 0 8px 40px #00cffd55, 0 4px 16px #007BFF44;
    transition: transform 0.35s cubic-bezier(.4,2,.3,1), box-shadow 0.35s;
}
.gallery-carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.gallery-carousel {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.gallery-carousel img {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    padding: 0;
    max-width: 220px;
    min-width: 160px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: flex;
    transition: transform 0.18s, box-shadow 0.18s;
}
.gallery-carousel img:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.13), 0 2px 8px rgba(0,0,0,0.08);
}
.gallery-arrow {
    background: #00CFFD;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px #00cffd33;
    transition: background 0.2s, filter 0.2s;
    outline: none;
}
.gallery-arrow:hover {
    background: #007BFF;
    filter: brightness(1.1);
}
/* Fonte global e reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f9ff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: linear-gradient(90deg, #007BFF, #00CFFD);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}
.logo-img {
    height: 50px;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.logo-img:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 207, 253, 0.8);
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li { margin-left: 20px; }
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover { color: #ffe600; }

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #007BFF, #00CFFD);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}
.hero h1 { font-size: 2.5rem; }
.hero p { margin: 20px 0; font-size: 1.2rem; }
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
}

/* Logo na seção principal */
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}
.logo-hero {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #00CFFD99;
    box-shadow: 0 6px 32px rgba(0, 123, 255, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.5s cubic-bezier(.4,2,.3,1), box-shadow 0.5s, filter 0.5s;
    border: 4px solid #00CFFD;
    object-fit: cover;
    filter: brightness(1) drop-shadow(0 0 8px #00CFFD33);
}
.logo-hero:hover {
    transform: scale(1.13) rotate(-8deg);
    box-shadow: 0 12px 40px #00CFFD55, 0 4px 16px #007BFF44;
    filter: brightness(1.08) drop-shadow(0 0 16px #00CFFD99);
    border-color: #ffe600;
}
.btn-primary {
    background: #ffe600;
    color: #333;
    transition: background 0.3s;
}
.btn-primary:hover { background: #ffcc00; }

/* Seções */
.section { padding: 60px 10%; }
.bg-light { background-color: #eef6ff; }
.container { max-width: 1100px; margin: auto; }

/* Galeria */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 24px;
}
.gallery img {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    padding: 0;
    max-width: 220px;
    min-width: 160px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: flex;
    transition: transform 0.18s, box-shadow 0.18s;
}
.gallery img:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.13), 0 2px 8px rgba(0,0,0,0.08);
}

/* Formulário de contato */
.contact-form {
    display: flex;
    flex-direction: column;
}
.contact-form input, .contact-form textarea {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}
.contact-form button {
    align-self: flex-start;
}

/* Footer */
footer {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 15px;
}

/* Depoimentos */

.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 24px;
}
.testimonial {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    padding: 18px 16px 14px 16px;
    max-width: 220px;
    min-width: 160px;
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.13), 0 2px 8px rgba(0,0,0,0.08);
}
.testimonial p {
    font-style: italic;
    color: #222;
    font-size: 0.98rem;
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.5;
    position: relative;
    word-break: break-word;
}
.testimonial p:before {
    content: '“';
    color: #00CFFD;
    font-size: 1.5rem;
    vertical-align: top;
    font-family: serif;
    opacity: 0.25;
    margin-right: 2px;
}
.testimonial p:after {
    content: '”';
    color: #00CFFD;
    font-size: 1.5rem;
    vertical-align: bottom;
    font-family: serif;
    opacity: 0.25;
    margin-left: 2px;
}
.testimonial span {
    color: #007BFF;
    font-weight: 600;
    font-size: 0.93rem;
    letter-spacing: 0.3px;
    margin-top: 2px;
    text-align: center;
}
.testimonial span small {
    color: #555;
    font-weight: 400;
    font-size: 0.85em;
    display: block;
    margin-top: 1px;
}
@media (max-width: 900px) {
    .testimonials {
        flex-direction: column;
        align-items: center;
    }
    .testimonial {
        max-width: 95vw;
    }
}

/* Responsivo */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px;
}
@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: linear-gradient(90deg, #00CFFD, #00CFFD);
        width: 200px;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
}

/* Contato moderno */
.contato-section {
    background: linear-gradient(135deg, #00CFFD 0%, #4f8cff 100%);
    color: #fff;
    padding: 60px 0;
}
.contato-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
}
.contato-info {
    flex: 1 1 320px;
    min-width: 300px;
    max-width: 400px;
}
.contato-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}
.contato-info p {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.1rem;
}
.contato-card {
    background: rgba(30, 40, 120, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px #0001;
}
.contato-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
}
.contato-card strong {
    color: #00cffd;
    font-size: 1.08rem;
    font-weight: 600;
}
.contato-social {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    margin-left: 4px;
}
.contato-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    transition: background 0.2s;
}
.contato-social a:hover {
    background: #00cffd22;
}
.contato-social svg {
    display: block;
}
.contato-form {
    flex: 1 1 340px;
    min-width: 300px;
    max-width: 420px;
    background: rgba(30, 40, 120, 0.18);
    border-radius: 14px;
    padding: 32px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 12px #0001;
}
.contato-form h3 {
    margin-bottom: 18px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}
.contato-form label {
    font-size: 1rem;
    color: #b3eaff;
    margin-bottom: 2px;
    margin-top: 8px;
}
.contato-form input,
.contato-form textarea {
    background: transparent;
    border: 1.5px solid #00cffd;
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 6px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}
.contato-form input:focus,
.contato-form textarea:focus {
    border-color: #ffe600;
    box-shadow: 0 0 0 2px #00cffd33;
}
.contato-form textarea {
    min-height: 80px;
    resize: vertical;
}
.btn-contato {
    margin-top: 16px;
    background: linear-gradient(90deg, #00cffd 0%, #1e90ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, filter 0.2s;
    box-shadow: 0 2px 8px #00cffd33;
}
.btn-contato:hover {
    filter: brightness(1.1);
    background: linear-gradient(90deg, #1e90ff 0%, #00cffd 100%);
}
@media (max-width: 900px) {
    .contato-container {
        flex-direction: column;
        gap: 24px;
        padding: 0 10px;
        flex-wrap: wrap;
    }
    .contato-info, .contato-form {
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .gallery-carousel {
        gap: 0;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100vw;
        justify-content: center;
        display: flex;
        padding-left: 0;
        padding-right: 0;
    }
    .gallery-carousel img {
        min-width: 50vw;
        max-width: 50vw;
        width: 50vw;
        height: auto;
        margin: 0;
        scroll-snap-align: center;
        box-sizing: border-box;
        display: none;
    }
    .gallery-carousel img.active {
        display: flex;
    }
}
.autismo-run-flyer img {
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.autismo-run-flyer img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 32px #00cffd55, 0 2px 8px #ffe60055;
  z-index: 2;
}

/* ==== BOTÃO DE INSCRIÇÃO DO FUTVOLEI - TORNEIO 1º AUTISMO RUN ==== */
/* Estilo para o botão secundário de inscrição do torneio de futvolei */
.btn-secondary {
    background: #28a745;
    color: #fff;
    transition: background 0.3s;
}
.btn-secondary:hover {
    background: #20c997;
    color: #fff;
}
/* ==== FIM DO ESTILO DO BOTÃO DE INSCRIÇÃO DO FUTVOLEI ==== */
