/* ============================================
   PÁGINA INFORMACÕES
   ============================================ */

/* Hero da página */
.page-hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}
.farda img {
    padding: 10%;
    width: 80%;
    margin-bottom: -10px;
}
.calca i {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}
.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Navegação interna */
.info-nav {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid #e9ecef;
}

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

.info-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.info-nav-item:hover,
.info-nav-item.active {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.info-nav-item i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

/* Seções de informação */
.info-section {
    padding: 60px 0;
}

.info-section.alt {
    background: #f8f9fa;
}

.info-header {
    text-align: center;
    margin-bottom: 50px;
}

.info-header i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.info-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Timeline */
.info-timeline {
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
}

.info-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 120px;
    background: #3498db;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin: 0 30px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-left: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
    border-right: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
}

/* Cards de informação */
.info-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.info-card.highlight {
    border-left: 5px solid #2ecc71;
}

.info-card.warning {
    border-left: 5px solid #f39c12;
}

.info-card.important {
    border-left: 5px solid #e74c3c;
}

.info-card-header {
    background: #f8f9fa;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e9ecef;
}

.info-card-header i {
    font-size: 1.5rem;
    color: #2c3e50;
}

.info-card-header h3 {
    margin: 0;
    color: #2c3e50;
}

.info-card-content {
    padding: 30px;
}

/* Grids */
.doc-grid,
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.doc-item,
.schedule-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.doc-item:hover,
.schedule-item:hover {
    transform: translateY(-5px);
}

.doc-item i,
.schedule-item i {
    font-size: 2rem;
    color: #3498db;
}

/* Uniformes */
.uniform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.uniform-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.uniform-card:hover {
    transform: translateY(-10px);
}

.uniform-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}



.uniform-info {
    padding: 25px;
}

.uniform-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2ecc71;
}

.size {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Regras */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.rule-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rule-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.15);
}

.rule-icon {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rule-icon i {
    
    font-size: 2rem;
    color: #3498db;
}

.rule-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.rule-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.rule-tag {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.rule-tag {
    background: #e8f6f3;
    color: #27ae60;
}

.rule-tag:nth-child(2) {
    background: #fef9e7;
    color: #f39c12;
}

.rule-tag:nth-child(3) {
    background: #fdedec;
    color: #e74c3c;
}

/* Sanções */
.sanctions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.sanction-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.sanction-level {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.level-1 { background: #f1c40f; }
.level-2 { background: #e67e22; }
.level-3 { background: #e74c3c; }

/* Calendário */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.calendar-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.calendar-item:hover {
    transform: translateY(-5px);
}

.calendar-date {
    background: #3498db;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.calendar-content {
    padding: 20px;
}

.calendar-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.calendar-content p {
    color: #6c757d;
    margin-bottom: 15px;
}

.calendar-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e8f6f3;
    color: #27ae60;
}

.calendar-tag.holiday {
    background: #fdedec;
    color: #e74c3c;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto 50px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Caixa de contato */
.contact-box {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-icon i {
    font-size: 3.5rem;
    opacity: 0.9;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #2c3e50;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Utilitários */
.info-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #6c757d;
}

.info-list li i {
    color: #2ecc71;
}

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

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2c3e50;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.view-all-btn:hover {
    background: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .info-header h2 {
        font-size: 2rem;
    }
    
    .info-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-date {
        position: absolute;
        left: -90px;
        width: 70px;
        padding: 8px 12px;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
        border: none;
        border-right: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
    }
    
    .doc-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .uniform-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .info-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
}

/* Modal/Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.modal-close:hover {
    color: #ccc;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    font-size: 1.1rem;
}

/* Para a imagem clicável */
.uniform-image img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

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

/* ============================
   CARROSSEL DA ESTRUTURA
=============================== */
.estrutura-carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
}

.estrutura-carousel {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.estrutura-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.estrutura-slide.active {
    opacity: 1;
}

.estrutura-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ou 'cover' dependendo do efeito desejado */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    pointer-events: none; /* opcional: previne seleção de texto na imagem */
}
.estrutura-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    z-index: -1;
}
.estrutura-slide:hover img {
    transform: scale(1.05);
}
.estrutura-slide img.cover {
    object-fit: cover;
}
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 2;
}
.estrutura-slide img.contain {
    object-fit: contain;
    background-color: #f5f5f5; /* fundo para áreas vazias */
}
.slide-caption h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-caption p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Indicadores */
.estrutura-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.estrutura-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.estrutura-indicator.active {
    background: white;
    transform: scale(1.2);
}

.estrutura-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Setas de navegação */
.estrutura-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.estrutura-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.estrutura-arrow.left {
    left: 20px;
}

.estrutura-arrow.right {
    right: 20px;
}

/* Contador */
.estrutura-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

/* Loading */
.carousel-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    gap: 15px;
}

.carousel-loading .fa-spinner {
    font-size: 2.5rem;
    color: #3498db;
}

/* Informações da estrutura */
.estrutura-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

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

.info-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.info-item h4 {
    margin: 10px 0 5px;
    color: #2c3e50;
}

.info-item p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .estrutura-carousel {
        height: 400px;
    }
    
    .estrutura-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .estrutura-arrow.left {
        left: 10px;
    }
    
    .estrutura-arrow.right {
        right: 10px;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .estrutura-carousel {
        height: 300px;
    }
    
    .slide-caption {
        padding: 15px;
    }
    
    .slide-caption h3 {
        font-size: 1.1rem;
    }
}