/* ========================================
   Master LVP - Workshop Landing Page
   Design Premium: Dourado/Preto
   ======================================== */

/* ========================================
   1. Reset & Variables
   ======================================== */

:root {
    /* Colors */
    --primary: #f4b915;
    --primary-dark: #d4a012;
    --primary-light: #f7c940;
    --background: #000000;
    --surface: #0a0a0a;
    --card: #121212;
    --foreground: #ffffff;
    --muted: #a0a0a0;
    --border: #2a2a2a;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-subheading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Sizes */
    --container-width: 1280px;
    --radius: 0.65rem;

    /* Transitions */
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-light);
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   2. Utility Classes
   ======================================== */

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.section {
    padding: var(--space-3xl) 0;
}

.section--dark {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   3. Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--primary);
    color: #000000;
    border: 2px solid transparent;
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244, 185, 21, 0.3);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline:hover {
    background-color: rgba(244, 185, 21, 0.1);
    border-color: var(--primary-light);
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ========================================
   4. Header & Navigation
   ======================================== */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

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

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-weight: 500;
    color: var(--foreground);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--foreground);
    cursor: pointer;
}

/* ========================================
   5. Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
    background-image: url('../media/imagem_sem_escrita.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.60) 50%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero__container {
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(244, 185, 21, 0.1);
    color: var(--primary);
    border: 1px solid rgba(244, 185, 21, 0.3);
    border-radius: 999px;
    font-family: var(--font-subheading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.hero__subtitle {
    font-family: var(--font-subheading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--muted);
    margin-bottom: var(--space-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero__description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--muted);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.hero__info {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.hero__highlight {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--muted);
}

.scroll-text {
    font-size: 0.875rem;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   6. Section Headers
   ======================================== */

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.section__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-sm);
}

.section__description {
    font-size: 1.125rem;
    color: var(--muted);
}

/* ========================================
   7. Pilares Section
   ======================================== */

.pilares__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.pilar__card {
    padding: var(--space-xl);
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

.pilar__card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.pilar__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.pilar__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.pilar__description {
    color: var(--muted);
    font-size: 1.125rem;
}

.notebook-alert {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(244, 185, 21, 0.1);
    border: 2px solid rgba(244, 185, 21, 0.3);
    border-radius: var(--radius);
}

.alert__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alert__text {
    font-size: 1.125rem;
}

/* ========================================
   8. Módulos Section
   ======================================== */

.modulos__container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.modulo__item {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.modulo__item.active {
    border-color: var(--primary);
}

.modulo__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--card);
    text-align: left;
    transition: background var(--transition);
    cursor: pointer;
}

.modulo__header:hover {
    background: var(--surface);
}

.modulo__info {
    flex: 1;
}

.modulo__title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.modulo__subtitle {
    font-size: 0.875rem;
    color: var(--muted);
}

.modulo__icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.modulo__item.active .modulo__icon {
    transform: rotate(45deg);
}

.modulo__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--background);
}

.modulo__item.active .modulo__content {
    max-height: 1000px;
    border-top: 1px solid var(--border);
}

.modulo__section {
    padding: var(--space-lg);
}

.modulo__section:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.modulo__section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.modulo__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.modulo__list li {
    color: var(--muted);
}

/* ========================================
   9. Contador Regressivo
   ======================================== */

.contador__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-sm);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.contador__item {
    padding: var(--space-lg);
    background: var(--background);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    text-align: center;
}

.contador__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contador__label {
    font-size: 0.875rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.urgencia-box {
    padding: var(--space-lg);
    background: rgba(244, 185, 21, 0.1);
    border: 2px solid rgba(244, 185, 21, 0.3);
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.urgencia-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.urgencia-text {
    font-size: 1.125rem;
    color: var(--muted);
}

.contador__cta {
    text-align: center;
}

/* ========================================
   10. Mentores Section
   ======================================== */

.mentores__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.mentor__card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.mentor__card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.mentor__image {
    height: 350px;
    background: linear-gradient(135deg, rgba(244, 185, 21, 0.2) 0%, rgba(244, 185, 21, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mentor__placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

.mentor__photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mentor__info {
    padding: var(--space-lg);
}

.mentor__name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.mentor__expertise {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.mentor__bio {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ========================================
   11. FAQ Section
   ======================================== */

.faq__container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq__item {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq__item.active {
    border-color: var(--primary);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--background);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
}

.faq__question:hover {
    background: var(--surface);
}

.faq__question h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.faq__icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

.faq__answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--muted);
}

/* ========================================
   12. CTA Final
   ======================================== */

.cta-final {
    text-align: center;
}

.cta-final__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: var(--space-md);
}

.cta-final__description {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: var(--space-xl);
}

.cta-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

/* ========================================
   13. Footer
   ======================================== */

.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

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

.footer__description {
    color: var(--muted);
    font-size: 0.875rem;
}

.footer__title {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__list li,
.footer__list a {
    color: var(--muted);
    font-size: 0.875rem;
}

.footer__list a:hover {
    color: var(--primary);
}

.footer__bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer__copyright {
    color: var(--muted);
    font-size: 0.875rem;
}

/* ========================================
   14. Scroll to Top
   ======================================== */

.scroll-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #000000;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(244, 185, 21, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

/* ========================================
   15. Responsive Design
   ======================================== */

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--background);
        border-left: 1px solid var(--border);
        padding: var(--space-3xl) var(--space-md);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .nav__close,
    .nav__toggle {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: var(--space-lg);
        right: var(--space-lg);
        font-size: 2rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .pilares__grid,
    .mentores__grid {
        grid-template-columns: 1fr;
    }

    .contador__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .cta-final__actions {
        flex-direction: column;
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    .hero {
        padding: var(--space-2xl) 0;
    }
}