/* Estilos avançados para página individual do museu */

/* Hero Section Dinâmica - Específico para MCHJ */
.hero-section {
    height: 70vh !important;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-slider {
    height: 100%;
}

.hero-section .hero-content {
    height: 100% !important;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .hero-text {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
}

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

.hero-section .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-section .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 2rem 8rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    background: #9f643d;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #cb8659;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Seção Sobre Expandida */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-title {
    text-align: center;
    margin: 2.5rem 0;
    color: #523827;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #9f643d, #cb8659);
    border-radius: 3px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
    gap: 3rem;
    align-items: start;
}

.content-text h3 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.content-image {
    top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.museum-photo {
    height: 550px;
    width: 550px;
    background: linear-gradient(135deg, #666 0%, #888 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Galeria - grade */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Repositório Digital */
.digital-repository {
    text-align: center;
    border-radius: 10px;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-repository {
    padding: 3rem 10rem;
    background: linear-gradient(135deg, #9f643d 0%, #cb8659 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(159, 100, 61, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-repository::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-repository:hover::before {
    left: 100%;
}

.btn-repository:hover {
    background: linear-gradient(135deg, #cb8659 0%, #9f643d 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(159, 100, 61, 0.4);
}

.btn-repository .btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.btn-repository .btn-text strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-repository .btn-text small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.btn-repository .fas {
    font-size: 1.8rem;
}

/* Botão de Avaliações */
.btn-avaliacoes {
    background: linear-gradient(135deg, #9f643d 0%, #cb8659 100%) !important;
}

.btn-avaliacoes:hover {
    background: linear-gradient(135deg, #cb8659 0%, #9f643d 100%) !important;
}

/* Localização */
.location-section {
    padding: 1rem 0;
    margin: 2rem 0;
    border-radius: 8px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.location-info h3 {
    color: #003366;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.location-info h3:first-child {
    margin-top: 0;
}

.location-info p {
    line-height: 1.6;
    color: #555;
}

.qr-code {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 0.5rem;
}

.map-container {
    position: relative;
}

.google-map {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Redes sociais */
.social-buttons-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    justify-content: center;
}

.social-btn-section {
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    text-decoration: none;
}

.facebook-section { background: #1877f2; }
.instagram-section { background: #e4405f; }
.twitter-section { background: #1da1f2; }
.whatsapp-section { background: #25d366; }

.social-btn-section:hover {
    transform: translateY(-3px) scale(1.1);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #523827;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(82, 56, 39, 0.8);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 2rem 0;
    overscroll-behavior: contain;
}

.modal[style*="display: block"] {
    z-index: 99999 !important;
}

body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

.modal-content {
    background: linear-gradient(135deg, #fff3d8 0%, #ffffff 100%);
    margin: 0 auto;
    border-radius: 24px;
    width: 95%;
    max-width: 920px;
    max-height: 95vh;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(135, 59, 75, 0.3);
    transform: translateZ(0);
    overflow: hidden;
    border: 2px solid #873b4b;
}

.modal-header {
    padding: 2.5rem 3rem;
    border-bottom: 2px solid rgba(255, 230, 61, 0.3);
    background: linear-gradient(135deg, #873b4b 0%, #a04858 100%);
    border-radius: 24px 24px 0 0;
    position: relative;
    flex-shrink: 0;
    color: white;
}

.modal-header h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.modal-header h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

.modal-body {
    padding: 2.5rem 3rem;
    overflow-y: auto;
    flex: 1;
    position: relative;
    background: #fff3d8;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.modal-footer {
    padding: 2rem 3rem;
    border-top: 2px solid rgba(135, 59, 75, 0.1);
    background: linear-gradient(135deg, #fff3d8 0%, #f8f9fa 100%);
    border-radius: 0 0 24px 24px;
    flex-shrink: 0;
}

.modal-content h4 {
    text-align: justify;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 230, 61, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 230, 61, 0.4);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: #ffe63d;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 8px 25px rgba(255, 230, 61, 0.6);
    border-color: #ffe63d;
    color: #873b4b;
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.modal-close:hover::before,
.modal-close:hover::after {
    background: #873b4b;
}

.modal-close::before { transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }

/* Contador de progresso */
.progress-counter {
    background: rgba(255, 230, 61, 0.1);
    border: 2px solid rgba(255, 230, 61, 0.3);
    color: #523827;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    text-align: center;
}

.progress-counter .filled {
    color: #873b4b;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Modal 3D */
.modal-3d {
    max-width: 90%;
    height: 80%;
    padding: 1rem;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close:hover { color: #333; }

/* Formulário de agendamento */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
}

.form-section {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(135, 59, 75, 0.15);
    position: relative;
    margin-bottom: 2rem;
}

.form-section h3 {
    color: #873b4b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(135, 59, 75, 0.2);
    font-size: 1.4rem;
    font-weight: 700;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #523827;
    font-size: 0.95rem;
}

.form-group label[data-required="true"]::after {
    content: ' *';
    color: #e74c3c;
    font-weight: 700;
    margin-left: 3px;
}

.required-indicator {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(135, 59, 75, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
    color: #523827;
    font-weight: 500;
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover {
    border-color: rgba(135, 59, 75, 0.4);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: #873b4b;
    box-shadow: 0 0 0 3px rgba(135, 59, 75, 0.1);
    outline: none;
}

.booking-form input::placeholder,
.booking-form select::placeholder,
.booking-form textarea::placeholder {
    color: rgba(82, 56, 39, 0.5);
    font-style: italic;
}

.booking-form input.invalid,
.booking-form select.invalid,
.booking-form textarea.invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.booking-form input.invalid:focus,
.booking-form select.invalid:focus,
.booking-form textarea.invalid:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3);
}

.booking-form input.invalid+.error-message,
.booking-form select.invalid+.error-message,
.booking-form textarea.invalid+.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.booking-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(135, 59, 75, 0.2);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s ease;
    background: white;
    color: #523827;
    font-weight: 500;
}

.form-group textarea:hover {
    border-color: rgba(135, 59, 75, 0.4);
}

.form-group textarea:focus {
    outline: none;
    border-color: #873b4b;
    box-shadow: 0 0 0 3px rgba(135, 59, 75, 0.1);
}

.form-group textarea::placeholder {
    color: rgba(82, 56, 39, 0.5);
    font-style: italic;
}

.conditional-fields {
    margin-top: 1rem;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.hidden {
    display: none;
    opacity: 0;
    max-height: 0;
}

.visible {
    display: block;
    opacity: 1;
    max-height: 500px;
    animation: fadeIn 0.3s ease-in-out;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    background: linear-gradient(135deg, #873b4b 0%, #a04858 100%);
    color: white;
    border: 2px solid #873b4b;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #a04858 0%, #873b4b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 59, 75, 0.4);
    border-color: #ffe63d;
}

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

.btn-cancel {
    background: transparent;
    color: #523827;
    border: 2px solid #523827;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    margin-right: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel:hover {
    background: #523827;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 56, 39, 0.3);
}

/* Star rating (modal de avaliações) */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 230, 61, 0.1);
    border-radius: 12px;
}

.star-rating input[type="radio"] { display: none; }

.star-rating .star {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating .star:hover {
    color: #ffe63d;
    transform: scale(1.1);
}

.star-rating .star:hover~.star,
.star-rating input[type="radio"]:checked~.star {
    color: #ffc107;
}

/* Radio group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    color: #523827;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(135, 59, 75, 0.2);
    border-radius: 10px;
    transition: all 0.2s ease;
    background: white;
    font-weight: 500;
}

.radio-label:hover {
    border-color: #873b4b;
    background: #fff3d8;
}

.radio-label input[type="radio"] { display: none; }

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #9f643d;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: white;
}

.radio-label:hover .radio-custom { border-color: #873b4b; }

.radio-label input[type="radio"]:checked+.radio-custom {
    background: #873b4b;
    border-color: #873b4b;
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Checkbox para deficiências */
.disability-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(135, 59, 75, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-weight: 500;
    color: #523827;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    justify-content: flex-start;
}

.checkbox-label:hover {
    border-color: #873b4b;
    background: #fff3d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 59, 75, 0.2);
}

.checkbox-label:has(input:checked) {
    border-color: #873b4b;
    background: linear-gradient(135deg, #873b4b 0%, #a04858 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(135, 59, 75, 0.4);
    transform: translateY(-2px);
}

.checkbox-label:has(input:checked)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 230, 61, 0.1) 0%, rgba(255, 230, 61, 0.05) 100%);
    pointer-events: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    flex-shrink: 0;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #873b4b;
    background: #fff3d8;
    transform: scale(1.05);
}

.checkbox-label:has(input:checked) .checkbox-custom {
    border-color: white;
    background: white;
    transform: scale(1.1);
}

.checkbox-label:has(input:checked) .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #873b4b;
    font-weight: bold;
    font-size: 16px;
    animation: checkmarkPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-label:focus-within {
    outline: 3px solid #ffe63d;
    outline-offset: 2px;
    border-color: #873b4b;
}

.checkbox-label:focus-within .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(255, 230, 61, 0.5);
}

.checkbox-label:has(#disability-none) {
    border-color: #6c757d;
    background: #f8f9fa;
}

.checkbox-label:has(#disability-none):hover {
    border-color: #495057;
    background: #e9ecef;
}

.checkbox-label:has(#disability-none input:checked) {
    border-color: #6c757d;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.checkbox-label:has(#disability-none input:checked) .checkbox-custom {
    border-color: white;
    background: white;
}

.checkbox-label:has(#disability-none input:checked) .checkbox-custom::after {
    color: #6c757d;
}

/* Acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.btn-submit:focus {
    outline: 2px solid #003366;
    outline-offset: 2px;
}

.booking-form [aria-required="true"]+.sr-only {
    color: #444;
    font-style: italic;
}

/* Three.js container */
#threejs-container {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(-100px) rotateX(20deg);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        transform: scale(1.02) translateY(10px) rotateX(-2deg);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes checkmarkPop {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Swiper - equipe */
.swiper-container.equipe-swiper {
    width: 100%;
    height: auto;
    padding: 16px 40px;
    margin: 2rem auto;
    max-width: 1200px;
    position: relative;
    overflow: visible;
    background: transparent;
}

.swiper-container.equipe-swiper .swiper-slide:last-child {
    margin-right: 0;
}

.swiper-container.equipe-swiper .team-card {
    width: 100%;
    max-width: 360px;
    margin: 0 -8px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(159, 100, 61, 0.1);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.swiper-container.equipe-swiper .team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.swiper-container.equipe-swiper .team-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 50%;
    width: 200px;
    margin: 2rem auto 1rem;
    border: 4px solid #9f643d;
    flex-shrink: 0;
}

.swiper-container.equipe-swiper .team-info {
    padding: 2rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swiper-container.equipe-swiper .team-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #523827;
    margin-bottom: 0.5rem;
}

.swiper-container.equipe-swiper .team-info p {
    color: #9f643d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.swiper-container.equipe-swiper .team-specialty {
    display: inline-block;
    background: rgba(159, 100, 61, 0.1);
    color: #9f643d;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Botões de navegação do Swiper */
.swiper-container.obras-swiper .swiper-button-next,
.swiper-container.obras-swiper .swiper-button-prev,
.swiper-container.equipe-swiper .swiper-button-next,
.swiper-container.equipe-swiper .swiper-button-prev {
    all: unset !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #9f643d 0%, #cb8659 100%) !important;
    color: white !important;
    cursor: pointer !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(159, 100, 61, 0.4) !important;
}

.swiper-container.obras-swiper .swiper-button-next,
.swiper-container.equipe-swiper .swiper-button-next {
    right: 10px !important;
}

.swiper-container.obras-swiper .swiper-button-prev,
.swiper-container.equipe-swiper .swiper-button-prev {
    left: 10px !important;
}

.swiper-container.obras-swiper .swiper-button-next:hover,
.swiper-container.obras-swiper .swiper-button-prev:hover,
.swiper-container.equipe-swiper .swiper-button-next:hover,
.swiper-container.equipe-swiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, #cb8659 0%, #9f643d 100%) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(159, 100, 61, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.swiper-container.obras-swiper .swiper-button-next:after,
.swiper-container.obras-swiper .swiper-button-prev:after,
.swiper-container.equipe-swiper .swiper-button-next:after,
.swiper-container.equipe-swiper .swiper-button-prev:after {
    font-family: swiper-icons !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: white !important;
}

.swiper-container.obras-swiper,
.swiper-container.equipe-swiper {
    overflow: visible !important;
    position: relative !important;
}

.swiper-container.obras-swiper .swiper-wrapper,
.swiper-container.equipe-swiper .swiper-wrapper {
    overflow: visible !important;
}

/* Swiper paginação */
.swiper-container.obras-swiper .swiper-pagination,
.swiper-container.equipe-swiper .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 30px !important;
    text-align: center !important;
}

.swiper-container.obras-swiper .swiper-pagination-bullet,
.swiper-container.equipe-swiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(159, 100, 61, 0.3) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

.swiper-container.obras-swiper .swiper-pagination-bullet-active,
.swiper-container.equipe-swiper .swiper-pagination-bullet-active {
    background: #9f643d !important;
    transform: scale(1.2) !important;
}

/* Mostrar todos os cards – Obras */
.swiper-container.obras-swiper.show-all-cards {
    overflow: visible !important;
    padding: 0 !important;
}

.swiper-container.obras-swiper.show-all-cards .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    transform: none !important;
    width: auto !important;
}

.swiper-container.obras-swiper.show-all-cards .swiper-slide {
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
}

.swiper-container.obras-swiper.show-all-cards .swiper-button-next,
.swiper-container.obras-swiper.show-all-cards .swiper-button-prev,
.swiper-container.obras-swiper.show-all-cards .swiper-pagination {
    display: none !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section { margin-top: 0 !important; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .content-grid { grid-template-columns: 1fr; }
    .content-image { margin-top: 2rem; }
    .museum-photo { height: 400px; width: 100%; max-width: 500px; }
    .location-grid { grid-template-columns: 1fr; }
    .search-input { width: 200px; }
    .search-input:focus { width: 250px; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }
    .dropdown-menu a { color: white; }

    .modal {
        padding: 1rem 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-body {
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }

    .modal-header, .modal-footer { padding: 1rem; }

    .form-row { flex-direction: column; }
    .form-group { min-width: auto; width: 100%; }
    .form-actions { flex-direction: column; gap: 1rem; }
    .btn-cancel, .btn-submit { width: 100%; margin-right: 0; }
    .progress-counter { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
    .modal-close { width: 28px; height: 28px; right: 0.5rem; top: 0.5rem; }
    .modal-close::before, .modal-close::after { width: 14px; }

    .swiper-container.obras-swiper,
    .swiper-container.equipe-swiper { padding: 20px 50px; }

    .swiper-container.obras-swiper .swiper-button-next,
    .swiper-container.equipe-swiper .swiper-button-next {
        right: 10px !important; width: 36px !important; height: 36px !important;
    }
    .swiper-container.obras-swiper .swiper-button-prev,
    .swiper-container.equipe-swiper .swiper-button-prev {
        left: 10px !important; width: 36px !important; height: 36px !important;
    }
    .swiper-container.obras-swiper .swiper-button-next:after,
    .swiper-container.obras-swiper .swiper-button-prev:after,
    .swiper-container.equipe-swiper .swiper-button-next:after,
    .swiper-container.equipe-swiper .swiper-button-prev:after {
        font-size: 14px !important;
    }

    .disability-options {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0.6rem;
    }
    .checkbox-label { padding: 0.6rem 0.8rem; font-size: 0.9rem; min-height: 55px; }
    .checkbox-custom { width: 20px; height: 20px; }
    .checkbox-label:has(input:checked) .checkbox-custom::after { font-size: 14px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .museum-photo { height: 300px; width: 100%; max-width: 100%; }
    .content-image { padding: 0 1rem; }
    .modal-header h2 { font-size: 1.3rem; }
    .modal-header h4 { font-size: 0.9rem; line-height: 1.4; }
    .form-section h3 { font-size: 1.1rem; }
    .booking-form input, .booking-form select, .booking-form textarea {
        padding: 0.7rem; font-size: 0.9rem;
    }
    .social-buttons-section { gap: 0.5rem; }
    .social-btn-section { width: 40px; height: 40px; font-size: 1rem; }
    .swiper-container.obras-swiper,
    .swiper-container.equipe-swiper { padding: 20px 40px; }
    .swiper-container.obras-swiper .swiper-button-next,
    .swiper-container.equipe-swiper .swiper-button-next {
        right: 5px !important; width: 32px !important; height: 32px !important;
    }
    .swiper-container.obras-swiper .swiper-button-prev,
    .swiper-container.equipe-swiper .swiper-button-prev {
        left: 5px !important; width: 32px !important; height: 32px !important;
    }
    .swiper-container.obras-swiper .swiper-button-next:after,
    .swiper-container.obras-swiper .swiper-button-prev:after,
    .swiper-container.equipe-swiper .swiper-button-next:after,
    .swiper-container.equipe-swiper .swiper-button-prev:after {
        font-size: 12px !important;
    }
    .checkbox-label { padding: 0.5rem 0.7rem; font-size: 0.85rem; min-height: 50px; }
    .checkbox-custom { width: 18px; height: 18px; }
    .checkbox-label:has(input:checked) .checkbox-custom::after { font-size: 12px; }
    .modal-header { padding: 1.5rem; }
    .modal-body { padding: 1.5rem; }
    .modal-footer { padding: 1.5rem; }
    .form-section { padding: 1.2rem; }
    .form-section h3 { font-size: 1.2rem; }
    .btn-submit, .btn-cancel {
        padding: 0.85rem 1.3rem; font-size: 0.9rem; min-width: 120px;
    }
    .star-rating .star { font-size: 2.2rem; }
}

@media (min-width: 1280px) {
    .swiper-container.obras-swiper.show-all-cards .swiper-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 28px;
    }
}

/* Alto contraste */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 3px solid currentColor;
        background: #000 !important;
        color: #fff !important;
    }
    .modal-content {
        border: 3px solid #000;
        background: #fff !important;
    }
    .form-section {
        border: 2px solid #000;
        background: #fff !important;
    }
    input, select, textarea {
        border: 2px solid #000 !important;
        background: #fff !important;
        color: #000 !important;
    }
    .booking-form input:focus,
    .booking-form select:focus,
    .booking-form textarea:focus {
        outline: 3px solid #000;
        outline-offset: 2px;
    }
}

/* Reduzir movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transform: none !important;
    }
    .modal-content { animation: none !important; }
    .conditional-fields { transition: none; }
    .visible { animation: none; }
}
