/* ===== Catarata Refratativa 2015 - Unique Styles ===== */
/* Font pairing: Playfair Display + Source Sans 3 */
/* Palette: Medical Blue, White, Light Gray */

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-bg: #eff6ff;
    --secondary: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --accent: #0ea5e9;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
}

.logo-icon {
    font-size: 28px;
}

.logo-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.2;
}

.logo-text small {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.main-nav {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition);
}

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

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

.nav-list a:hover::after {
    width: 100%;
}

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

.hamburger {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0f172a 100%);
    color: var(--white);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 800px;
}

.hero-body h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--accent);
}

.hero-body p {
    margin-bottom: 16px;
    opacity: 0.92;
    font-size: 0.98rem;
}

.hero-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ===== SECTIONS ===== */
.section {
    padding: 70px 0;
}

.section-alt {
    background: var(--light-gray);
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px;
    color: var(--text-light);
}

/* ===== PROGRAMACAO GRID ===== */
.programacao-grid {
    display: grid;
    gap: 24px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.program-card h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.program-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== PALESTRANTES ===== */
.palestrantes-grid {
    display: grid;
    gap: 24px;
}

.palestrante-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition);
}

.palestrante-card:hover {
    transform: translateY(-4px);
}

.palestrante-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.palestrante-card h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.palestrante-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== INFO CARDS ===== */
.info-cards {
    display: grid;
    gap: 24px;
    margin-top: 30px;
}

.info-card {
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(30,64,175,0.1);
}

.info-card h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 600px;
    margin: 30px auto 0;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-info p {
    margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-gray);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 30px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-about p {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.footer-about a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section, .hero-content, .program-card, .palestrante-card, .info-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .programacao-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .palestrantes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero {
        padding: 90px 0 100px;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-about {
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 2.9rem;
    }

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