* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    padding: 20px;
}
.bg-academia {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../recursos/academia-bg.png") no-repeat center center/cover;
    filter: blur(3px) opacity(75%);
    z-index: -1;
}
header {
    text-align: center;
    padding: 40px 0;
    background: #d4841c;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    background-clip: text;
}

.subtitle {
    font-size: 1.4em;
    color: #f0f8ff;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.main-content {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-text {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2em;
    color: #444;
    margin-left: auto;
    margin-right: auto;
}

.intro-text h2 {
    font-size: 2.5em;
    color: #34495e;
    margin-bottom: 20px;
    background-clip: text;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.category-card {
    background: #34495e;
    border-radius: 20px;
    padding: 30px;
    color: white;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.3s ease;
    transform: scale(0);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.category-card:hover::before {
    transform: scale(1);
}

.category-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.category-age {
    font-size: 1.1em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.category-description {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.7;
}

.photo-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(255,255,255,0.2);
    border: 2px dashed rgba(255,255,255,0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.photo-placeholder:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
}

.photo-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.1em;
    text-align: center;
    z-index: 2;
}

.photo-text img{
    width: 100%;
    object-fit: scale-down;
}

.cta-section {
    background: linear-gradient(135deg, #d4841c, #734810);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-top: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 2;
    position: relative;
}

.cta-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
}

.cta-button {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 2;
    position: relative;
    text-decoration: none;
}

.cta-button:hover {
    background: white;
    color: #d4841c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    background: #d4841c;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.feature-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2.5em;
    }

    .main-content {
        padding: 30px 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-section {
        padding: 30px 20px;
    }
    .cta-button{
        padding: 10px;
    }
}