:root {
    --primary-color: #f0e6f6;
    --secondary-color: #e8ddf2;
    --accent-color: #d81b60;
    --accent-light: #ec407a;
    --text-light: #1a1a1a;
    --text-muted: #4a4a4a;
    --border-color: #d4c5e0;
    --success-color: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(216, 27, 96, 0.15);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .mobile-only {
        display: list-item;
    }
}

/* ===== MAIN CONTAINER ===== */
.main-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
    border-bottom: 2px solid var(--border-color);
}

section h2 {
    font-family: 'Calistoga', serif;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== HISTORIA SECTION ===== */
.history-content {
    background: linear-gradient(135deg, rgba(232, 221, 242, 0.9) 0%, rgba(240, 230, 246, 0.9) 100%);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.history-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.history-content p:last-child {
    margin-bottom: 0;
}

/* ===== CAROUSEL ===== */
#Images {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(216, 27, 96, 0.12);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--primary-color);
}

.image-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(216, 27, 96, 0.2);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== CAROUSEL BUTTONS ===== */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color);
    background: rgba(216, 27, 96, 0.15);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-button:hover {
    background: rgba(216, 27, 96, 0.25);
    border-color: var(--accent-light);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

@media (max-width: 768px) {
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-button.prev {
        left: 0.5rem;
    }
    
    .carousel-button.next {
        right: 0.5rem;
    }
}

/* ===== CAROUSEL DOTS ===== */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(216, 27, 96, 0.5);
}

.carousel-dot:hover {
    background: var(--accent-light);
    border-color: var(--accent-color);
}

/* ===== SISTEMA SECTION ===== */
#Sistema {
    max-width: 1200px;
    margin: 0 auto;
}

.sistema-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.arma-card,
.hardware-card {
    background: linear-gradient(135deg, rgba(232, 221, 242, 0.95) 0%, rgba(240, 230, 246, 0.95) 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.arma-card::before,
.hardware-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.arma-card:hover,
.hardware-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 50px rgba(216, 27, 96, 0.2);
    transform: translateY(-5px);
}

.arma-card h3,
.hardware-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.card-image {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--secondary-color);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.card-image:hover img {
    transform: scale(1.08);
}

.arma-card p,
.hardware-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== HARDWARE GRID ===== */
.hardware-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hardware-item {
    background: rgba(240, 230, 246, 0.95);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.hardware-item:hover {
    border-color: var(--accent-color);
    background: rgba(216, 27, 96, 0.08);
    transform: translateY(-3px);
}

.item-image {
    width: 100%;
    height: 140px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--primary-color);
    border: 2px solid var(--border-color);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1rem;
    display: block;
}

.hardware-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .sistema-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hardware-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== VIDEOS SECTION ===== */
#Apresentacao {
    max-width: 1200px;
    margin: 0 auto;
}

.videos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.video-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 50px rgba(216, 27, 96, 0.12);
    transition: all 0.3s ease;
}

.video-box:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(216, 27, 96, 0.2);
}

.video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: 1fr;
    }
}

/* ===== GRUPO SECTION ===== */
#Grupo {
    max-width: 1200px;
    margin: 0 auto;
}

.group-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.member-card {
    background: linear-gradient(135deg, rgba(232, 221, 242, 0.95) 0%, rgba(240, 230, 246, 0.95) 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.member-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(216, 27, 96, 0.2);
    transform: translateY(-8px);
}

.member-photo {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: var(--secondary-color);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.member-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-details {
    padding: 2rem;
}

.member-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.member-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.member-details a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.member-details a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-top: 2px solid var(--border-color);
    padding: 2.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.icone-container {
    display: flex;
    gap: 1.5rem;
}

.icone-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(216, 27, 96, 0.12);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.icone-container a:hover {
    background: var(--accent-color);
    border-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.3);
}

.icone-container svg {
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(30%);
}

.icone-container a:hover svg {
    filter: brightness(1) saturate(100%) invert(100%);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .main-content-container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .carousel-slide {
        padding: 1rem;
    }
    
    .image-card {
        max-width: 100%;
    }
    
    .member-photo {
        height: 420px;
    }
}
