/* Reset e Configurações Básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --accent-color: #FFD700;
    --dark-bg: #000000;
    --light-bg: #f8f8f8;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --success: #10b981;
    --warning: #FFD700;
    --danger: #ef4444;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
header {
    background: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--accent-color);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    object-fit: contain;
    width: auto;
}

.logo h1 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
}

.section-dark .section-title {
    color: var(--white);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-intro {
    color: rgba(255, 255, 255, 0.8);
}

/* Method Section */
.section-method {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

/* Method Circles */
.method-circles {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
    padding: 1rem;
    max-width: 100%;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 170px;
    max-width: 190px;
    flex-shrink: 0;
}

.circle-item:hover {
    transform: translateY(-10px);
}

.circle-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.circle-wrapper:hover {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

.circle-wrapper.extra {
    border-color: var(--success);
}

.circle-wrapper.extra:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.circle-number {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 45px;
    height: 45px;
    padding: 0 8px;
    background: var(--accent-color);
    color: var(--dark-bg);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.circle-wrapper.extra .circle-number {
    background: var(--success);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.circle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.icon-svg {
    width: 55px;
    height: 55px;
    stroke: var(--primary-color);
    stroke-width: 2.5;
}

.circle-icons-dual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.icon-video,
.icon-pdf {
    font-size: 2.5rem;
}

.circle-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
}

.circle-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.circle-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: bold;
    margin: 0;
    flex-shrink: 0;
}

.circle-item.circle-extra .circle-arrow {
    color: var(--success);
}

/* Study Methods */
.study-methods {
    margin-top: 2rem;
}

.method-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.method-content {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    animation: fadeIn 0.5s ease;
}

.method-content.active {
    display: block;
}

.method-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

/* Alerts */
.alert {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.section-dark .alert {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
}

.example {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.example ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Study Forms */
.study-forms {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.study-forms h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.forms-list {
    display: grid;
    gap: 1rem;
}

.form-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

/* Video Tips */
.video-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.tip-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Exercise Tips */
.exercise-tips {
    margin: 2rem 0;
}

.exercise-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.badge {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.exercise-step p {
    color: rgba(255, 255, 255, 0.9);
}

/* Caderno de Alavancagem */
.caderno-alavancagem {
    background: rgba(59, 130, 246, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.caderno-alavancagem h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.caderno-alavancagem p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.question-types {
    display: grid;
    gap: 1rem;
}

.q-type {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
}

/* Revision Types */
.revision-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.revision-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.revision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.revision-header {
    background: var(--dark-bg);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
}

.revision-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.revision-header h3 {
    font-size: 1.5rem;
}

.revision-body {
    padding: 2rem;
}

.revision-time {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.revision-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    margin-top: 1rem;
}

/* Active Revision */
.revision-method {
    margin-top: 3rem;
}

.revision-method h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.active-revision {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.ar-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 600px;
}

.ar-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.ar-step p {
    color: var(--text-dark);
}

.ar-arrow {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tip-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tip-emoji {
    font-size: 2.5rem;
}

.tip-box h4 {
    font-size: 1.3rem;
    color: var(--white);
}

.tip-box p {
    color: rgba(255, 255, 255, 0.8);
}

/* Pomodoro Section */
.pomodoro-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--border-radius);
}

.pomodoro-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white);
}

.pomodoro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pomo-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    min-width: 120px;
}

.pomo-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.pomo-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.pomo-arrow {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Final Words */
.final-words {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.final-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.final-message {
    max-width: 800px;
    margin: 0 auto;
}

.final-message p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlight {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.signature {
    margin-top: 3rem;
    font-style: italic;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--danger);
}

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

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

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

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

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .method-content h3 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .method-circles {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .circle-item {
        min-width: 150px;
        max-width: 180px;
    }

    .circle-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
        margin: 0;
    }

    .circle-wrapper {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }

    .icon-svg {
        width: 55px;
        height: 55px;
    }

    .icon-video,
    .icon-pdf {
        font-size: 2.5rem;
    }

    .circle-item h4 {
        font-size: 1rem;
    }

    .circle-number {
        min-width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .method-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .revision-types {
        grid-template-columns: 1fr;
    }

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

    .video-tips {
        grid-template-columns: 1fr;
    }

    .pomodoro-visual {
        flex-direction: column;
    }

    .pomo-arrow {
        transform: rotate(90deg);
    }

    .step {
        flex-direction: column;
    }

    .active-revision {
        padding: 0 1rem;
    }

    .ar-step {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        margin: 10% 5%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .method-content {
        padding: 1.5rem;
    }

    .circle-wrapper {
        width: 130px;
        height: 130px;
        border-width: 4px;
    }

    .icon-svg {
        width: 45px;
        height: 45px;
    }

    .icon-video,
    .icon-pdf {
        font-size: 2rem;
    }

    .circle-number {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .circle-item h4 {
        font-size: 0.9rem;
    }

    .circle-item p {
        font-size: 0.75rem;
    }

    .circle-arrow {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .menu-toggle, .btn {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}
