/* SBTMO 2018 - Transplante de Medula Óssea - Design Profissional 🩸 */
/* Design Médico com Elementos Emocionais e Sofisticados */

:root {
    --primary-blood-red: #dc2626;
    --secondary-red: #b91c1c;
    --accent-rose: #fb7185;
    --deep-red: #991b1b;
    --light-rose: #fecdd3;
    --wine-red: #7f1d1d;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #f9fafb;
    --background-light: #fff1f2;
    --background-white: #FFFFFF;
    
    --shadow-sm: 0 2px 10px rgba(220, 38, 38, 0.1);
    --shadow: 0 10px 40px rgba(220, 38, 38, 0.15);
    --shadow-hover: 0 20px 60px rgba(220, 38, 38, 0.25);
    --shadow-glow: 0 0 40px rgba(251, 113, 133, 0.4);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #ffe4e6 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: var(--primary-blood-red);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--secondary-red);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animações */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.05); }
    20% { transform: scale(1); }
}

@keyframes pulse-soft {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(251, 113, 133, 0.3),
                    0 10px 40px rgba(220, 38, 38, 0.2);
    }
    50% { 
        box-shadow: 0 0 40px rgba(251, 113, 133, 0.5),
                    0 15px 60px rgba(220, 38, 38, 0.3);
    }
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

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

/* Header Profissional */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-blood-red), var(--accent-rose)) 1;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-flow 4s ease infinite;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo:hover h1 {
    animation: heartbeat 1s ease;
}

.logo p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.05), 
        rgba(251, 113, 133, 0.05));
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav a:hover::before {
    opacity: 1;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-blood-red), var(--accent-rose));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav a:hover::after,
.nav a.active::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blood-red), var(--accent-rose));
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section - Emocional e Profissional */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        var(--wine-red) 0%,
        var(--deep-red) 25%,
        var(--primary-blood-red) 50%,
        var(--accent-rose) 75%,
        #fda4af 100%);
    background-size: 400% 400%;
    animation: gradient-flow 20s ease infinite;
    color: var(--text-light);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(251, 113, 133, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%);
    animation: float-gentle 12s ease-in-out infinite;
}

.hero::after {
    content: '❤';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 15rem;
    opacity: 0.03;
    animation: heartbeat 3s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    animation: fade-in-up 1s ease-out;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.info-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 48px rgba(251, 113, 133, 0.3);
}

.info-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons - Elegantes */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    min-width: 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-rose), #fda4af);
    color: var(--deep-red);
    box-shadow: 0 10px 30px rgba(251, 113, 133, 0.4);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 45px rgba(251, 113, 133, 0.5);
    background: linear-gradient(135deg, #fda4af, var(--accent-rose));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-blood-red);
    border-color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blood-red), var(--accent-rose));
    border-radius: 2px;
}

.section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 2rem auto 0;
}

.programacao {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
}

.temas {
    background: var(--background-white);
}

.palestrantes {
    background: linear-gradient(135deg, #ffe4e6 0%, #fff1f2 100%);
}

.about {
    background: var(--background-white);
}

.contact {
    background: linear-gradient(135deg, var(--deep-red), var(--primary-blood-red));
    color: var(--text-light);
}

.content-section {
    background: var(--background-white);
    padding: 5rem 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
}

.content-section h3 {
    margin: 3rem 0 1.5rem 0;
    font-size: 2rem;
}

.content-section h4 {
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.content-section p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    line-height: 1.9;
}

.content-section ul,
.content-section ol {
    margin: 1.5rem 0 2.5rem 2.5rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Programação Grid */
.programacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.dia-programacao {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border-left: 5px solid transparent;
    background-image: linear-gradient(var(--background-white), var(--background-white)),
                      linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s ease;
    position: relative;
}

.dia-programacao:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.dia-programacao h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.dia-programacao h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blood-red), var(--accent-rose));
    border-radius: 2px;
}

.atividade {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.atividade:hover {
    padding-left: 1rem;
    background: rgba(220, 38, 38, 0.02);
    border-radius: 10px;
}

.atividade:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hora {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 130px;
    font-size: 1rem;
}

.conteudo h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--deep-red);
}

.conteudo p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Temas Grid - Cartões Elegantes */
.temas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.tema-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
}

.tema-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blood-red), var(--accent-rose));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tema-card:hover::before {
    transform: scaleX(1);
}

.tema-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-rose);
}

.tema-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    animation: float-gentle 6s ease-in-out infinite;
    position: relative;
}

.tema-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    animation: pulse-soft 3s ease-in-out infinite;
}

.tema-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.tema-card h3 {
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 1.4rem;
}

.tema-card p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.7;
    font-size: 1rem;
}

/* Palestrantes Grid */
.palestrantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.palestrante-card {
    background: var(--background-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 2px solid rgba(220, 38, 38, 0.1);
}

.palestrante-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-rose);
}

.palestrante-foto {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
}

.palestrante-foto::before {
    content: '👨‍⚕️';
    font-size: 5rem;
    opacity: 0.2;
    position: absolute;
}

.palestrante-info {
    padding: 2rem;
}

.palestrante-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.palestrante-info p {
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text h2 {
    margin-bottom: 2rem;
    text-align: left;
    transform: none;
    position: relative;
    left: 0;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.9;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
    padding: 2rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-blood-red);
    box-shadow: var(--shadow);
}

.stat h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
}

.about-image {
    height: 500px;
    background: linear-gradient(135deg, var(--primary-blood-red), var(--accent-rose));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.3rem;
    text-align: center;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '❤';
    font-size: 12rem;
    opacity: 0.1;
    position: absolute;
    animation: heartbeat 3s ease-in-out infinite;
}

/* Contact Section */
.contact h2,
.contact h3 {
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(251, 113, 133, 0.3);
}

.contact-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    opacity: 0.95;
    font-size: 1.05rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-group {
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-rose);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.2);
    transform: translateY(-2px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse-soft 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--wine-red), var(--secondary-red));
    color: var(--text-light);
    padding: 4rem 0 1.5rem;
}

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

.footer-section h3 {
    color: var(--accent-rose);
    -webkit-text-fill-color: var(--accent-rose);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

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

.footer-section a {
    color: var(--text-light);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-rose);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom a {
    color: var(--accent-rose);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .programacao-grid,
    .temas-grid,
    .palestrantes-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}
