:root {
    --ruby: #9B1B30;
    --ruby-dark: #6B0010;
    --ruby-light: #C41E3A;
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --gold-dark: #A08020;
    --gold-metallic: linear-gradient(135deg, #BF953F, #FCF6B5, #B38728, #FBF5B7, #AA771C);
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    --text-light: #e0e0e0;
    --text-muted: #b0b0b0;
    --border-subtle: rgba(212, 175, 55, 0.2);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
    --shadow-ruby: 0 0 30px rgba(155, 27, 48, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: var(--ruby);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ruby-light);
}

/* ========== PARTÍCULAS DO FUNDO ========== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0% {
        transform: translateY(105vh) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-10vh) scale(1.5);
        opacity: 0;
    }
}

/* ========== WRAPPER ========== */
.site-wrapper {
    position: relative;
    z-index: 1;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.4s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.7rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.nav-logo .logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gold-metallic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 900;
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
}
.nav-logo .logo-text {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.3px;
}
.nav-links a:hover {
    color: var(--gold-light);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-links a:hover::after {
    width: 100%;
}
.btn-nav {
    background: var(--ruby);
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease !important;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-ruby);
}
.btn-nav:hover {
    background: var(--ruby-light);
    box-shadow: 0 0 40px rgba(196, 30, 58, 0.5);
    transform: translateY(-2px);
}
.btn-nav::after {
    display: none !important;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    padding: 8px;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-subtle);
        z-index: 1050;
        padding: 2rem;
    }
    .nav-links.active {
        right: 0;
    }
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, rgba(155, 27, 48, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        var(--bg-dark);
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(155, 27, 48, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseRuby 6s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGold 8s ease-in-out infinite;
}
@keyframes pulseRuby {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}
@keyframes pulseGold {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-subtle);
    color: var(--gold-light);
    padding: 0.5rem 1.3rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}
.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-title .gold-text {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-title .ruby-text {
    color: var(--ruby-light);
    text-shadow: 0 0 40px rgba(196, 30, 58, 0.5);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #c0c0c0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s both;
}
.btn-primary {
    background: var(--ruby);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 8px 35px rgba(155, 27, 48, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover {
    background: var(--ruby-light);
    box-shadow: 0 12px 45px rgba(196, 30, 58, 0.6);
    transform: translateY(-3px);
}
.btn-outline {
    background: transparent;
    color: var(--gold-light);
    padding: 0.9rem 2.2rem;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-dark);
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-outline:hover {
    border-color: var(--gold-light);
    color: #fff;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero {
        padding: 6rem 1.2rem 3rem;
        min-height: auto;
    }
}

/* ========== SEÇÕES GERAIS ========== */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.section-title .gold {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    color: #b0b0b0;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section {
        padding: 4rem 1.2rem;
    }
}

/* ========== CARDS DE NICHO ========== */
.nichos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}
.nicho-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}
.nicho-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-metallic);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.nicho-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-subtle);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}
.nicho-card:hover::before {
    opacity: 1;
}
.nicho-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: block;
}
.nicho-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #fff;
}
.nicho-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}
.nicho-tag {
    display: inline-block;
    margin-top: 1rem;
    background: rgba(155, 27, 48, 0.2);
    color: var(--ruby-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ========== COMO FUNCIONA ========== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    counter-reset: step;
}
.step-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    transition: all 0.3s ease;
}
.step-card:hover {
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-ruby);
    transform: translateY(-5px);
}
.step-number {
    display: inline-block;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gold-metallic);
    color: #1a1a1a;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 55px;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-gold);
}
.step-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.step-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ========== DEPOIMENTOS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}
.testimonial-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-gold);
}
.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testimonial-text {
    color: #d0d0d0;
    font-style: italic;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--ruby);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}
.testimonial-name {
    font-weight: 700;
    color: #fff;
}
.testimonial-role {
    font-size: 0.8rem;
    color: #999;
}

/* ========== CTA FINAL ========== */
.cta-section {
    background: radial-gradient(ellipse at center, rgba(155, 27, 48, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
    padding: 5rem 2rem;
}
.cta-section .section-title {
    font-size: 2.4rem;
}

/* ========== CONTATO / FORMULÁRIO ========== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.3rem;
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    background: #1a1a1a;
}
.contact-form textarea {
    min-height: 130px;
}
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 10L4 6h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.contact-form button {
    background: var(--ruby);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-ruby);
}
.contact-form button:hover {
    background: var(--ruby-light);
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.5);
    transform: translateY(-3px);
}

/* ========== FOOTER ========== */
.footer {
    background: #050505;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer .logo-text {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 0.8rem;
}
.footer p {
    color: #777;
    font-size: 0.9rem;
}
.footer .gold-link {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
}
.footer .gold-link:hover {
    text-decoration: underline;
}

/* ========== FADE IN SCROLL ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}