/* ============================================
   SISTEMA ENDÓCRINO E REPRODUTIVO - ESTILOS
   Anatomofisiologia - Universidade Anhanguera
   ============================================ */

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

:root {
    /* Cores Principais */
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Cores de Glândulas */
    --hipofise: #8b5cf6;
    --tireoide: #ec4899;
    --paratireoide: #f59e0b;
    --suprarrenal: #ef4444;
    --pancreas: #3b82f6;
    --pineal: #6366f1;
    --ovario: #ec4899;
    --testiculo: #3b82f6;
    
    /* Cores de Fundo */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1e293b;
    --bg-light: #f1f5f9;
    
    /* Cores de Texto */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Fontes */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Transições */
    --transition: all 0.3s ease;
}

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

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

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   INTRODUÇÃO
   ============================================ */

.intro-section {
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.intro-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.intro-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.intro-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   GLÂNDULAS - CARDS FLIP
   ============================================ */

.glandulas-section {
    background: var(--bg-light);
}

.glandulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glandula-card {
    perspective: 1000px;
    height: 350px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.glandula-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-front {
    background: white;
    text-align: center;
}

.card-back {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: rotateY(180deg);
    overflow-y: auto;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.hipofise-color { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.tireoide-color { background: linear-gradient(135deg, #ec4899, #f472b6); }
.paratireoide-color { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.suprarrenal-color { background: linear-gradient(135deg, #ef4444, #f87171); }
.pancreas-color { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.pineal-color { background: linear-gradient(135deg, #6366f1, #818cf8); }
.ovario-color { background: linear-gradient(135deg, #ec4899, #f472b6); }
.testiculo-color { background: linear-gradient(135deg, #3b82f6, #60a5fa); }

.card-front h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.flip-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-top: auto;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
}

.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-details {
    text-align: left;
}

.detail-item {
    margin-bottom: 1rem;
}

.detail-item strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
}

.detail-item li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.detail-item li::before {
    content: "▸";
    position: absolute;
    left: 0;
}

/* ============================================
   CLASSIFICAÇÃO QUÍMICA
   ============================================ */

.classificacao-section {
    background: white;
}

.classificacao-container {
    display: grid;
    gap: 3rem;
}

.classificacao-item {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.class-header {
    padding: 2rem;
    color: white;
    text-align: center;
}

.class-header.hidrossoluvei {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.class-header.lipossoluvei {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.class-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.class-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.class-content {
    padding: 2rem;
    background: white;
}

.hormone-type {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.hormone-type h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hormone-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hormone-tag {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.description {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.mechanism-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
}

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

/* ============================================
   MECANISMOS DE AÇÃO
   ============================================ */

.mecanismos-section {
    background: var(--bg-light);
}

.mecanismos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.mecanismo-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.mecanismo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mecanismo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.mecanismo-icon.hidro {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.mecanismo-icon.lipo {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.mecanismo-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.mecanismo-header p {
    color: var(--text-secondary);
}

.mecanismo-diagram {
    margin-bottom: 2rem;
}

.diagram-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.arrow-down {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.mecanismo-exemplos {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 12px;
}

.exemplo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.exemplo-tags span {
    background: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-primary);
    border: 1px solid var(--primary-color);
}

/* Tipos de Ação Hormonal */
.tipos-acao {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.tipos-acao h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-primary);
}

.acao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.acao-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid;
}

.acao-card.circulante {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.acao-card.paracrino {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.acao-card.autocrino {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

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

.acao-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.acao-card.circulante .acao-icon {
    background: #ef4444;
    color: white;
}

.acao-card.paracrino .acao-icon {
    background: #3b82f6;
    color: white;
}

.acao-card.autocrino .acao-icon {
    background: #10b981;
    color: white;
}

.acao-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.acao-exemplo {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
}

/* ============================================
   FUNÇÕES DO SISTEMA ENDÓCRINO
   ============================================ */

.funcoes-section {
    background: white;
}

.funcoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.funcao-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
}

.funcao-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.funcao-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.funcao-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.funcao-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   SISTEMA REPRODUTOR
   ============================================ */

.reprodutor-section {
    background: var(--bg-light);
}

.reprodutor-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

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

.reprodutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.reprodutor-anatomia,
.reprodutor-fisiologia {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.reprodutor-anatomia h3,
.reprodutor-fisiologia h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.anatomia-image-placeholder {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px dashed var(--primary-color);
}

.image-caption {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.anatomia-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.anatomia-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.anatomia-item:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(5px);
}

.anatomia-item i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.anatomia-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.anatomia-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Processos Reprodutivos */
.processo-box,
.hormonios-box {
    margin-bottom: 2rem;
}

.processo-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.etapas-espermatogenese {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.etapa {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.etapa-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.etapa-info strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.etapa-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-destaque {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1.5rem;
}

.info-destaque i {
    color: var(--warning-color);
    font-size: 1.5rem;
}

/* Controle Hormonal */
.hormonios-box h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.hormonio-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.flow-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.flow-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.flow-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hormonio-efeitos {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.hormonio-efeitos p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hormonio-efeitos ul {
    list-style: none;
    padding-left: 0;
}

.hormonio-efeitos li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.hormonio-efeitos li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Ciclo Menstrual */
.ciclo-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.fase-ciclo {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid;
    transition: var(--transition);
}

.fase-ciclo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.fase-ciclo.fase1 {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.fase-ciclo.fase2 {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

.fase-ciclo.fase3 {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.fase-ciclo.fase4 {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
}

.fase-dias {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.fase-ciclo h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.fase-ciclo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.fase-hormonio {
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Vídeos */
.video-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.video-container h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   ATIVIDADES INTERATIVAS
   ============================================ */

.atividades-section {
    background: white;
}

.atividade-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.atividade-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.atividade-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.atividade-header h3 {
    font-size: 2rem;
    color: var(--text-primary);
}

/* Quiz */
.quiz-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
}

.quiz-question {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quiz-option {
    padding: 1.5rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: 600;
}

.quiz-option:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.quiz-option.selected {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.2);
}

.quiz-option.correct {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.2);
}

.quiz-option.incorrect {
    border-color: var(--danger-color);
    background: rgba(239, 68, 68, 0.2);
}

.quiz-feedback {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    display: none;
}

.quiz-feedback.show {
    display: block;
}

.quiz-feedback.correct {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.quiz-feedback.incorrect {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.quiz-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quiz-score {
    display: flex;
    gap: 2rem;
    font-size: 1.1rem;
}

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

.btn-secondary {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Jogo de Associação */
.matching-game {
    background: white;
    padding: 2rem;
    border-radius: 16px;
}

.matching-instructions {
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.matching-instructions i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.matching-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.matching-column h4 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.matching-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.matching-item {
    padding: 1rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: move;
    transition: var(--transition);
    text-align: center;
    font-weight: 600;
}

.matching-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.matching-item.dragging {
    opacity: 0.5;
}

.matching-item.correct {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.2);
}

.matching-item.incorrect {
    border-color: var(--danger-color);
    background: rgba(239, 68, 68, 0.2);
}

.drop-zone {
    min-height: 60px;
    border: 2px dashed var(--text-light);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
}

.drop-zone.drag-over {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.matching-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.matching-result {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 1rem;
}

.matching-result.show {
    display: block;
}

/* Timeline do Ciclo Menstrual */
.timeline-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
}

.timeline-slider {
    margin-bottom: 2rem;
}

.timeline-input {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, #ef4444, #f59e0b, #10b981, #8b5cf6);
    outline: none;
    -webkit-appearance: none;
}

.timeline-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.timeline-input::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.timeline-day {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

.timeline-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline-info h4 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.timeline-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-hormonios {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hormonio-badge {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-visual {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

#timelineCanvas {
    width: 100%;
    height: auto;
}

/* ============================================
   VÍDEOS ADICIONAIS
   ============================================ */

.videos-section {
    background: var(--bg-light);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.video-item h4 {
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
}

.video-item p {
    color: var(--text-secondary);
}

/* ============================================
   REFERÊNCIAS
   ============================================ */

.referencias-section {
    background: white;
}

.referencias-content {
    max-width: 900px;
    margin: 0 auto;
}

.referencia-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.referencia-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.referencia-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .mecanismos-grid,
    .reprodutor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .glandulas-grid,
    .intro-grid,
    .funcoes-grid {
        grid-template-columns: 1fr;
    }
    
    .reprodutor-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .matching-container {
        grid-template-columns: 1fr;
    }
    
    .quiz-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quiz-score {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .glandula-card {
        height: auto;
        min-height: 300px;
    }
    
    .atividade-header {
        flex-direction: column;
        text-align: center;
    }
    
    .atividade-header h3 {
        font-size: 1.5rem;
    }
}