/* ============================================
   ONEGUS - Bio Premium Personal Trainer
   Tema: Dark + Neon Azul (Glow)
   ============================================ */

/* Reset e Variáveis */
:root {
    --neon-blue: #00d4ff;
    --neon-blue-dark: #0099cc;
    --neon-blue-light: #33ddff;
    --dark-bg: #0a0a0f;
    --dark-card: #1a1a2e;
    --dark-overlay: rgba(10, 10, 15, 0.85);
    --glass-bg: rgba(26, 26, 46, 0.6);
    --glass-border: rgba(0, 212, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.5),
                   0 0 40px rgba(0, 212, 255, 0.3),
                   0 0 60px rgba(0, 212, 255, 0.2);
    --shadow-neon-strong: 0 0 30px rgba(0, 212, 255, 0.8),
                          0 0 60px rgba(0, 212, 255, 0.5),
                          0 0 90px rgba(0, 212, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    scrollbar-width: auto;
    scrollbar-color: var(--neon-blue) rgba(26, 26, 46, 0.8);
}

/* Scrollbar da página para Firefox */
html {
    scrollbar-width: auto;
    scrollbar-color: var(--neon-blue) rgba(26, 26, 46, 0.8);
}

/* Scrollbar da página para Chrome, Safari, Edge */
html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.6);
    border-left: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-blue-light));
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                inset 0 0 5px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    min-height: 60px;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-blue-light), var(--neon-blue));
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8),
                inset 0 0 8px rgba(0, 212, 255, 0.5);
    transform: scaleX(1.1);
}

html::-webkit-scrollbar-thumb:active {
    background: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 1);
}

/* Background com overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(10, 10, 15, 0.75) 100%),
        url('../assets/img/bg/academia-back.png') center/cover no-repeat fixed;
    z-index: -1;
    opacity: 1;
}

.bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.3);
}

/* Header */
.header {
    padding: 2.5rem 1rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.profile-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Avatar 3D Neon */
.avatar3d {
    width: 140px;
    height: 140px;
    position: relative;
    margin: 0 auto 12px auto;
    transform-style: preserve-3d;
    transition: transform 0.18s ease;
    will-change: transform;
}

.avatar3d__photoWrap {
    position: absolute;
    inset: 10px;
    border-radius: 999px;
    overflow: hidden;
    transform: translateZ(18px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.avatar3d__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: contrast(1.05) saturate(1.05);
}

.avatar3d__ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    pointer-events: none;
}

.avatar3d__ring--outer {
    background: conic-gradient(
        from 180deg,
        rgba(0, 240, 255, 0),
        rgba(0, 240, 255, 0.85),
        rgba(0, 240, 255, 0),
        rgba(0, 170, 255, 0.85),
        rgba(0, 240, 255, 0)
    );
    filter: blur(0.2px);
    box-shadow:
        0 0 18px rgba(0, 220, 255, 0.55),
        0 0 45px rgba(0, 180, 255, 0.30);
    animation: neonPulse 2.6s ease-in-out infinite;
    transform: translateZ(6px);
}

.avatar3d__ring--inner {
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 1px rgba(0, 220, 255, 0.18) inset,
        0 0 22px rgba(0, 220, 255, 0.20);
    transform: translateZ(10px);
}

.avatar3d__glow {
    position: absolute;
    inset: -24px;
    border-radius: 999px;
    background: radial-gradient(circle at var(--glowX, 50%) var(--glowY, 50%),
        rgba(0, 220, 255, 0.22),
        rgba(0, 220, 255, 0.08) 40%,
        rgba(0, 0, 0, 0) 70%
    );
    filter: blur(10px);
    opacity: 0.9;
    transform: translateZ(0px);
    transition: background 0.2s ease;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 0.85;
        box-shadow: 0 0 16px rgba(0, 220, 255, 0.55), 0 0 44px rgba(0, 180, 255, 0.25);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 22px rgba(0, 220, 255, 0.75), 0 0 70px rgba(0, 180, 255, 0.38);
    }
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    color: var(--text-primary);
}

.profile-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.profile-tagline {
    font-size: 1rem;
    color: var(--neon-blue);
    font-style: normal;
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Main Content */
.main-content {
    padding: 0 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-section {
    margin-bottom: 1rem;
}

.secondary-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Botões */
.btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--neon-blue);
    background: var(--glass-bg);
    color: var(--neon-blue);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.btn-with-icon {
    padding: 1.5rem;
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.6));
}

.btn-icon[stroke] {
    fill: none;
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.btn-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.btn-subtext {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.btn:hover::before,
.btn.animate-shimmer::before {
    left: 100%;
}

/* Animação adicional para mobile quando acionada pelo scroll */
@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.btn.animate-shimmer::before {
    animation: shimmer-sweep 0.5s ease-in-out;
}

.btn:hover,
.btn:focus {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
    outline: none;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.15));
    color: var(--text-primary);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-primary .btn-icon {
    width: 28px;
    height: 28px;
}

.btn-secondary {
    padding: 1.25rem 1.5rem;
}

.btn-secondary .btn-text {
    font-size: 0.95rem;
}

.btn-secondary .btn-subtext {
    font-size: 0.8rem;
}

/* Seções */
.section-title {
    font-size: 1.5rem;
    text-align: center;
    margin: 3rem 0 1.5rem;
    color: var(--neon-blue-light);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-icon {
    width: 24px;
    height: 24px;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
}

/* Vitrine de Suplementos */
.products-section {
    margin: 3rem 0;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.products-container {
    overflow: visible;
    width: 100%;
    position: relative;
    padding-bottom: 1.5rem;
}

/* Indicador de scroll */
.products-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--neon-blue) 20%, 
        var(--neon-blue) 80%, 
        transparent 100%);
    opacity: 0.3;
    pointer-events: none;
}

.products-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: var(--neon-blue) rgba(26, 26, 46, 0.8);
    width: 100%;
    position: relative;
}

/* Scrollbar para Chrome, Safari, Edge */
.products-carousel::-webkit-scrollbar {
    height: 12px;
}

.products-carousel::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 10px;
    margin: 0 1rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.products-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-blue-light));
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                inset 0 0 5px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 60px;
}

.products-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--neon-blue-light), var(--neon-blue));
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8),
                inset 0 0 8px rgba(0, 212, 255, 0.5);
    transform: scaleY(1.1);
}

.products-carousel::-webkit-scrollbar-thumb:active {
    background: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 1);
}

.product-card {
    min-width: 280px;
    max-width: 320px;
    width: 280px;
    flex-shrink: 0;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    scroll-snap-align: start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-blue);
}

.product-card:hover::before {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.product-badge.recomendado {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.product-badge.mais-vendido {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

.product-badge.desconto {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: var(--dark-card);
    display: block;
}

@media (min-width: 768px) {
    .product-image {
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .product-image {
        height: 240px;
    }
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--neon-blue-light);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.product-price-old {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.85rem;
    min-width: 120px;
}

/* Mobile muito pequeno (320px - 375px) */
@media (max-width: 375px) {
    .header {
        padding: 1.5rem 0.75rem 1rem;
    }

    .avatar3d {
        width: 120px;
        height: 120px;
    }
    
    .avatar3d__photoWrap {
        inset: 8px;
    }
    
    .avatar3d__glow {
        inset: -20px;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .profile-title {
        font-size: 1rem;
    }

    .profile-tagline {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .main-content {
        padding: 0 0.75rem 1.5rem;
    }

    .btn {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .btn-with-icon {
        padding: 1.25rem;
    }

    .btn-icon {
        width: 20px;
        height: 20px;
    }

    .btn-text {
        font-size: 0.9rem;
    }

    .btn-subtext {
        font-size: 0.75rem;
    }

    .secondary-buttons {
        gap: 0.75rem;
    }

    .section-title {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }

    .section-icon {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

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

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-image {
        width: 50px;
        height: 50px;
    }

    .testimonial-name {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* Mobile pequeno (376px - 480px) */
@media (max-width: 480px) {
    .products-section {
        padding: 0 0.5rem;
    }

    .products-carousel {
        padding: 1rem 0.5rem;
        gap: 1rem;
    }

    .product-card {
        min-width: 260px;
        width: 260px;
        padding: 1.25rem;
    }

    .product-image {
        height: 180px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-desc {
        font-size: 0.85rem;
    }

    .product-price-current {
        font-size: 1.3rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        min-width: auto;
        font-size: 0.8rem;
        padding: 0.65rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .schedule-table {
        font-size: 0.85rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Depoimentos */
.testimonials-section {
    margin: 3rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-blue);
}

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

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-blue);
    background: var(--dark-card);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 16px;
    height: 16px;
    fill: var(--neon-blue);
}

.star.empty {
    fill: var(--dark-card);
    stroke: var(--neon-blue);
    stroke-width: 1;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(67%) sepia(100%) saturate(2000%) hue-rotate(160deg) brightness(1.2);
}

.social-icon:hover,
.social-icon:focus {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-neon);
    background: rgba(0, 212, 255, 0.1);
    outline: none;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--dark-card);
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-neon-strong);
    animation: modalSlideIn 0.3s ease;
    margin: 1rem;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--neon-blue);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
    outline: none;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--neon-blue-light);
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Formulários */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--neon-blue);
    font-weight: 600;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.accordion-item {
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.accordion-header {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover,
.accordion-header:focus {
    background: rgba(0, 212, 255, 0.1);
    outline: none;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--neon-blue);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Video Container */
.video-container {
    margin-top: 2rem;
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: var(--glass-bg);
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

/* Tabela de Horários */
.schedule-table {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.schedule-table table {
    min-width: 100%;
    width: 100%;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.schedule-table th {
    background: var(--glass-bg);
    color: var(--neon-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.schedule-table td {
    color: var(--text-secondary);
}

.schedule-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-card);
    border: 2px solid var(--neon-blue);
    border-radius: 12px;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-neon);
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.toast-message {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive - Tablet */
@media (min-width: 600px) {
    .products-carousel {
        gap: 1.25rem;
    }

    .product-card {
        min-width: 300px;
        width: 300px;
    }
}

/* Responsive - Desktop */
@media (min-width: 768px) {
    .header {
        padding: 3rem 2rem 2.5rem;
    }

    .avatar3d {
        width: 180px;
        height: 180px;
    }
    
    .avatar3d__photoWrap {
        inset: 12px;
    }
    
    .avatar3d__glow {
        inset: -30px;
    }

    .profile-name {
        font-size: 2.25rem;
    }

    .main-content {
        padding: 0 2rem 2rem;
    }

    .secondary-buttons {
        grid-template-columns: 1fr 1fr;
        max-width: 800px;
        margin: 0 auto 1.25rem;
    }
    
    .btn-primary {
        max-width: 500px;
        margin: 0 auto;
    }

    .products-section {
        padding: 0 2rem;
    }

    .products-container::after {
        display: none;
    }

    .products-carousel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 1rem 0;
    }

    .products-carousel::-webkit-scrollbar {
        display: none;
    }

    .products-carousel {
        scrollbar-width: none;
    }

    .product-card {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }

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

    .modal-content {
        max-width: 600px;
        padding: 3rem;
        margin: 2rem auto;
        width: 90%;
    }

    .schedule-table {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .products-section {
        padding: 0 2rem;
    }

    .products-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .product-card {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .products-carousel {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Orientação Landscape em Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 1.5rem 1rem 1rem;
    }


    .profile-name {
        font-size: 1.5rem;
    }

    .modal-content {
        max-height: 85vh;
        padding: 1.5rem;
    }
}

/* Tablets em modo retrato */
@media (min-width: 481px) and (max-width: 767px) {
    .products-carousel {
        gap: 1.25rem;
    }

    .product-card {
        min-width: 280px;
        width: 280px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Prevenir zoom em inputs no iOS */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Acessibilidade - Focus Visible */
*:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

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

.cta-section,
.secondary-buttons,
.products-section,
.testimonials-section {
    animation: fadeInUp 0.6s ease-out;
}
