/* ============================================
   RICO E DESEMPREGADO — Luxury Theme
   Color Palette: Black, Deep Charcoal, Gold
   ============================================ */

/* --- CSS Variables --- */
:root {
    --black: #000000;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1a1a1a;
    --border: #222222;
    --border-light: #2a2a2a;

    --gold: #c9a84c;
    --gold-light: #e4c76b;
    --gold-dark: #a68a3e;
    --gold-glow: rgba(201, 168, 76, 0.15);
    --gold-glow-strong: rgba(201, 168, 76, 0.3);

    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    --red: #c0392b;
    --green: #27ae60;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--gold);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--gold-glow-strong);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    padding: 15px 31px;
}

.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--large {
    padding: 20px 48px;
    font-size: 1rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.nav--scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav__logo-icon {
    color: var(--gold);
    font-size: 1.25rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav__links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav__links a:hover {
    color: var(--gold);
}

.nav__cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: all 0.4s var(--ease-out) !important;
}

.nav__cta:hover {
    box-shadow: 0 4px 20px var(--gold-glow-strong);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--gold-glow) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 32px;
}

.hero__title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 7rem);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero__title-line--accent {
    color: var(--gold);
    font-style: italic;
    font-size: clamp(3.5rem, 10vw, 9rem);
    animation-delay: 0.5s;
    text-shadow: 0 0 80px var(--gold-glow-strong);
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s var(--ease-out) 0.9s both;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 0.8s var(--ease-out) 1.1s both;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero__stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* --- About --- */
.about {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about__text strong {
    color: var(--text-primary);
}

.about__signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about__signature-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

/* --- Pillars --- */
.pillars {
    padding: 140px 0;
    background: var(--bg-secondary);
}

.pillars__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
}

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

.pillar-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.pillar-card__number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--border);
    position: absolute;
    top: 24px;
    right: 32px;
    line-height: 1;
    transition: color 0.5s ease;
}

.pillar-card:hover .pillar-card__number {
    color: var(--gold-glow-strong);
}

.pillar-card__icon {
    color: var(--gold);
    margin-bottom: 24px;
}

.pillar-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pillar-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Lifestyle --- */
.lifestyle {
    padding: 140px 0;
}

.lifestyle__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.lifestyle__card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    transition: all 0.5s var(--ease-out);
    cursor: default;
}

.lifestyle__card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lifestyle__card--large {
    grid-row: span 2;
    min-height: 624px;
}

.lifestyle__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.lifestyle__card-content {
    position: relative;
    z-index: 1;
    padding: 40px;
}

.lifestyle__card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 16px;
}

.lifestyle__card-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.lifestyle__card-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Process / How It Works --- */
.process {
    padding: 140px 0;
    background: var(--bg-secondary);
}

.process__steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process__step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 48px;
}

.process__step:last-child {
    padding-bottom: 0;
}

.process__step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

.process__step-content h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 4px;
}

.process__step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.process__step-line {
    position: absolute;
    left: 27px;
    top: 56px;
    width: 2px;
    height: calc(100% - 56px);
    background: linear-gradient(to bottom, var(--gold), var(--border));
}

/* --- Community / Testimonials --- */
.community {
    padding: 140px 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.5s var(--ease-out);
}

.testimonial:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.testimonial__stars {
    color: var(--gold);
    font-size: 0.875rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.testimonial__author strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.testimonial__author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Rules --- */
.rules {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.rules__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 64px;
    text-align: center;
}

.rules__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
}

.rules__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 48px;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: left;
}

.rules__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    padding: 12px 0;
}

.rules__icon {
    font-size: 1rem;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    min-width: 28px;
}

.rules__item--do .rules__icon {
    background: rgba(39, 174, 96, 0.15);
    color: var(--green);
}

.rules__item--dont .rules__icon {
    background: rgba(192, 57, 43, 0.15);
    color: var(--red);
}

.rules__item--do span:last-child {
    color: var(--text-secondary);
}

.rules__item--dont span:last-child {
    color: var(--text-secondary);
}

.rules__note {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --- Join / CTA --- */
.join {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.join::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
}

.join__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.join__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.join__desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.join__form {
    max-width: 520px;
    margin: 0 auto;
}

.join__form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.join__input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    outline: none;
}

.join__input::placeholder {
    color: var(--text-muted);
}

.join__input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.join__form .btn {
    width: 100%;
    justify-content: center;
}

.join__disclaimer {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--black);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.footer__links h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer__links a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer__motto {
    color: var(--text-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Reveal animation for scroll */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pillars__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 24px;
        border-left: 1px solid var(--border);
        transition: right 0.4s var(--ease-out);
    }

    .nav__links.active {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero__title-line {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero__title-line--accent {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero__stat-divider {
        display: none;
    }

    .hero__scroll {
        display: none;
    }

    .lifestyle__grid {
        grid-template-columns: 1fr;
    }

    .lifestyle__card--large {
        grid-row: span 1;
        min-height: 400px;
    }

    .rules__card {
        padding: 40px 24px;
    }

    .rules__grid {
        grid-template-columns: 1fr;
    }

    .join__form-group {
        flex-direction: column;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero__badge {
        margin-bottom: 24px;
    }

    .hero__actions {
        flex-direction: column;
        margin-bottom: 48px;
    }

    .btn--large {
        padding: 18px 32px;
        font-size: 0.9375rem;
    }

    .process__step {
        gap: 20px;
    }

    .process__step-number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1rem;
    }

    .process__step-line {
        left: 21px;
        top: 44px;
        height: calc(100% - 44px);
    }
}
