/* ============================================
   DESIGN PHILOSOPHY: Modernismo Corporativo
   - Tipografia assertiva (Poppins + Inter)
   - Paleta profissional (azul + ciano)
   - Espaçamento generoso
   - Animações suaves
   ============================================ */

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

:root {
    /* Colors */
    --primary: #222;
    --primary-light: #666;
    --accent: #FFF;
    --accent-light: #FFF;
    --background: #ffffff;
    --foreground: #666;
    --border: #e5e7eb;
    --muted: #555;
    
    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Shadows */
    --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 15px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 200ms ease-out;
    --transition-slow: 300ms ease-out;
}

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    font-family: var(--font-body);
    font-weight: 400;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
        padding: 0 var(--spacing-lg);
    }
}

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

.hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    padding: var(--spacing-xl) var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('https://private-us-east-1.manuscdn.com/sessionFile/89VTI9i77ImPhL0kwzK0dW/sandbox/lbbdC3PP84oXZOsUwCHRLI-img-1_1770597728000_na1fn_aGVyby1iYWNrZ3JvdW5k.png?x-oss-process=image/resize,w_1920,h_1920/format,webp/quality,q_80&Expires=1798761600&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9wcml2YXRlLXVzLWVhc3QtMS5tYW51c2Nkbi5jb20vc2Vzc2lvbkZpbGUvODlWVEk5aTc3SW1QaEwwd3d6SzBkVy9zYW5kYm94L2xiYmRDM1BQODRvWFpPc1V3Q0hSTEktaW1nLTFfMTc3MDU5NzcyODAwMF9uYTFmbl9hR1Z5YnkxaVlXTnJaM0p2ZFc1ay5wbmc~eC1vc3MtcHJvY2Vzcz1pbWFnZS9yZXNpemUsd18xOTIwLGhfMTkyMC9mb3JtYXQsd2VicC9xdWFsaXR5LHFfODAiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3OTg3NjE2MDB9fX1dfQ__&Key-Pair-Id=K2HSFNDJXOU9YS&Signature=Vh-Sl0QuVx9Pb3Y4qUeTovneQHfM4qCiET-k-nUGOBZ-6lXo3Q69zlXbACRCVPgltnOQaJRRQiaCMkOtCjaTlUr105ohsmafSn-LHhWIv8YEHlItCPND4QK5aE-L3fUA1G52rQLmwqigI6yocp5wUPGCAb~1Babd~2JiBafTte0qPc3TmLI2l-2S-IFCdoF-pKJKnQ9dzWfZ1sHpY5-KYJhqJAvGhpHosYjU9DP1xX9qmSbhz~RXZmfuPEYBKhuPs8wwsf3YClXUP8yfSlJ2yqAWNst4Z0pr98g5Qp0OVEjFu22qrlPoszW1PTwoKa38G~RjT9iJCnFjVKlMESvLgg__');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--foreground);
    font-family: var(--font-body);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero {
        min-height: 500px;
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* ============================================
   DIVIDER
   ============================================ */

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #d1d5db, transparent);
}

/* ============================================
   DISCIPLINES SECTION
   ============================================ */

.disciplines {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--background);
}

@media (min-width: 768px) {
    .disciplines {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeIn 0.6s ease-out;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.title-underline {
    width: 64px;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 9999px;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .disciplines-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }
}

/* ============================================
   DISCIPLINE CARDS
   ============================================ */

.discipline-card {
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--border);
    transition: all var(--transition-base);
    animation: slideUp 0.6s ease-out both;
    cursor: pointer;
}

.discipline-card:nth-child(1) {
    animation-delay: 0s;
}

.discipline-card:nth-child(2) {
    animation-delay: 0.1s;
}

.discipline-card:nth-child(3) {
    animation-delay: 0.2s;
}

.discipline-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-lg);
    width: 101%;
    height: 101%;
}

.card-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.card-cyan {
    background: linear-gradient(135deg, #ecf0ff 0%, #cffafe 100%);
}

.card-indigo {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.card-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    height: 120px;
    align-items: center;
}

@media (min-width: 768px) {
    .card-icon-wrapper {
        height: 140px;
    }
}

.card-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.card-content {
    text-align: center;
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

@media (min-width: 768px) {
    .card-title {
        font-size: 1.375rem;
    }
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-description {
    font-size: 0.95rem;
    color: var(--foreground);
    line-height: 1.6;
}

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

.footer {
    background-color: #f9fafb;
    border-top: 1px solid var(--border);
    padding: var(--spacing-lg) var(--spacing-sm);
}

@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-xl) var(--spacing-md);
    }
}

.footer .container {
    text-align: center;
}

.footer-text {
    color: var(--foreground);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

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

/* ============================================
   UTILITIES
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a {
  text-decoration: none;
}
