/* ============================================
   CONGRESSO CARDIOLOGIA 360° - ESTILOS CSS
   Design: Minimalismo Corporativo Elegante
   Cores: Azul Profundo (#003f87) + Coral (#ff6b5b)
   ============================================ */

/* RESET E VARIÁVEIS */
:root {
    --primary-color: #003f87;
    --secondary-color: #0056b3;
    --accent-color: #ff6b5b;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* BOTÕES */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 70, 30, 0.95), rgba(0, 51, 22, 0.9), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* SEÇÃO SOBRE */
.about {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlights {
    list-style: none;
    margin-top: 2rem;
}

.highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlights span {
    color: var(--accent-color);
    font-weight: 700;
}

.about-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content h2 {
        text-align: center;
    }
}

/* SEÇÃO DATAS */
.dates {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.dates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.date-card {
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.date-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.date-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.date-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.date-bold {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.date-location {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .dates-grid {
        grid-template-columns: 1fr;
    }
}

/* SEÇÃO LOCALIZAÇÃO */
.location {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.location-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
}

.location-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-content h2 {
        text-align: center;
    }
}

/* SEÇÃO COMISSÃO */
.commission {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

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

.commission-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.commission-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.commission-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

/* SEÇÃO PROGRAMAÇÃO */
.programming {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.tab-button {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-button:hover {
    border-color: var(--primary-color);
}

.tab-content {
    max-width: 800px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.program-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background-color: white;
    border-left: 4px solid var(--accent-color);
    border-radius: 0.5rem;
}

.program-date {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
    height: fit-content;
}

.program-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.program-list {
    list-style: none;
    margin-top: 1rem;
}

.program-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.program-list li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .program-card {
        flex-direction: column;
    }
}

/* SEÇÃO PATROCÍNIO */
.sponsorship {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.sponsorship-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.sponsorship-table thead {
    background-color: var(--primary-color);
    color: white;
}

.sponsorship-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 700;
}

.sponsorship-table th span {
    display: block;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.sponsorship-table th.verde {
    background-color: var(--primary-color);
}

.sponsorship-table th.amarelo {
    background-color: #7a7a7a;
}

.sponsorship-table th.azul {
    background-color: #0056b3;
}

.sponsorship-table th.branco {
    background-color: #999999;
}

.sponsorship-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.sponsorship-table tbody tr:nth-child(odd) {
    background-color: var(--bg-light);
}

.sponsorship-table tbody tr:hover {
    background-color: #efefef;
}

.payment-info {
    background-color: #f0f5ff;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
}

.payment-info h3 {
    margin-bottom: 1.5rem;
    text-align: left;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.payment-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.payment-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

/* SEÇÃO CONTATO */
.contact {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.contact h2 {
    color: white;
}

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

.contact-card {
    padding: 2rem;
    background-color: rgba(0, 63, 135, 0.8);
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: rgba(0, 63, 135, 0.6);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.contact-button {
    text-align: center;
}

/* FOOTER */
.footer {
    padding: 2rem 0;
    background-color: #001a36;
    color: #999999;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer strong {
    color: white;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .about,
    .dates,
    .location,
    .commission,
    .programming,
    .sponsorship,
    .contact {
        padding: 3rem 0;
    }
    
    .commission-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .about,
    .dates,
    .location,
    .commission,
    .programming,
    .sponsorship,
    .contact {
        padding: 2rem 0;
    }
    
    .about-grid,
    .location-grid {
        gap: 1.5rem;
    }
    
    .program-card {
        padding: 1rem;
    }
    
    .sponsorship-table th,
    .sponsorship-table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}
