@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #141414;
    --tertiary-dark: #1e1e1e;
    --card-background: #1a1a1a;

    --text-primary: #ffffff;
    --text-secondary: #d0d0d0; /* mais claro para melhor contraste */
    --text-muted: #a0a0a0;

    --accent-gold: #ffcc00; /* dourado vibrante */
    --accent-gold-soft: #d4af37;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;

    --border-subtle: #2a2a2a;
    --border-hover: #3a3a3a;

    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);

    --shadow-subtle: rgba(0, 0, 0, 0.2);
    --shadow-elevated: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-dark);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-feature-settings: 'rlig' 1, 'calt' 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(0, 102, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.015) 0%, transparent 50%),
        linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    pointer-events: none;
    z-index: 0;
}

body.menu-open {
    overflow: hidden;
}

/* ===== Sidebar (off-canvas) ===== */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #121212 0%, #1c1c1e 100%);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    transition: left 0.3s ease;
}

.sidebar.active {
    left: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--accent-gold-soft);
    font-size: 22px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1000;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.3s;
}

.overlay.active {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

/* ===== Botão Hamburguer ===== */
.mobile-menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
    background: var(--accent-gold-soft);
    color: #121212;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}

/* ===== Branding / Navegação ===== */
.logo {
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-gold-soft), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.logo p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    color: #d9d9d9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    flex: 1;
    padding: 30px 0;
}

.nav-link {
    display: block;
    padding: 15px 30px;
    color: #d9d9d9;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold-soft);
    border-left-color: var(--accent-gold-soft);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.nav-link i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
}

.cta-button {
    font-family: 'Cormorant Garamond', serif;
    margin: 20px 30px;
    padding: 15px 25px;
    background: linear-gradient(45deg, var(--accent-gold-soft), var(--accent-gold));
    color: #121212;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.social-links {
    padding: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.social-links h4 {
    font-size: 12px;
    color: #d9d9d9;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold-soft);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #121212;
    transform: translateY(-2px);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-gold-soft));
    color: var(--text-primary);
    font-size: 1.65rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    border-radius: 10px;
    margin-bottom: 32px;
    box-shadow: 0 4px 10px rgba(232, 252, 7, 0.6);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.section-description {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.divider {
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 32px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 18px;
    margin-top: 60px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--card-background);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    border: 1px solid transparent;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-elevated);
    background: var(--tertiary-dark);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.service-card:hover .service-icon {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0);
}

.service-number {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.7;
    letter-spacing: 1px;
    background: rgba(0, 102, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.service-card:hover .service-title {
    color: var(--accent-gold);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

.service-features {
    list-style: none;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '→';
    color: var(--accent-gold);
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.7;
}

.service-card:hover .service-features li {
    color: var(--text-secondary);
}

/* Cada grupo de cards com sua cor */
.service-card:nth-child(4n+1) { border-color: var(--accent-blue); }
.service-card:nth-child(4n+2) { border-color: var(--accent-purple); }
.service-card:nth-child(4n+3) { border-color: #10b981; }
.service-card:nth-child(4n+4) { border-color: #f59e0b; }

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-top: 3px solid var(--accent-gold);
    margin-top: 50px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -2px 15px rgba(255, 204, 0, 0.25);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-gold);
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-logo h3 {
    font-size: 1.8em;
    background: linear-gradient(135deg, var(--accent-gold), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.logo-accent {
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-gold), #FFA500);
    border-radius: 2px;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-gold), #FFA500);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95em;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.footer-links a:before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.footer-links a:hover:before {
    width: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95em;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px;
    }

    .service-icon {
        font-size: 2.2rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .footer-content {
        padding: 40px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .social-media {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}
