/* ==================================================
   AUDITNEXT - MAINSTYLE.CSS
   Organizado | Limpo | Responsivo | Bootstrap Ready
================================================== */

/* ==================================================
   1. ROOT / VARIÁVEIS
================================================== */

:root {
    --brand-blue: #0072bc;
    --brand-green: #00b050;
    --brand-yellow: #c6d92c;
    --black-bg: #1a1a1a;

    --fluid-gradient: linear-gradient(
        135deg,
        var(--brand-blue),
        var(--brand-green),
        var(--brand-yellow)
    );
}

/* ==================================================
   2. BASE GLOBAL
================================================== */

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

/* ==================================================
   3. HEADER / HERO
================================================== */

.hero-section {
    background:
        linear-gradient(rgba(26,26,26,.88), rgba(26,26,26,.88)),
        url('../img/banner/banner_clean.jpg') center center/cover no-repeat;

    padding: 120px 0;
    text-align: center;
    color: #fff;

    border-bottom: 6px solid;
    border-image: var(--fluid-gradient) 1;
}

/* Logo */

.logo-header {
    max-width: 350px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-header:hover {
    transform: scale(1.03);
}

/* Botão principal */

.btn-cta {
    background: var(--fluid-gradient);
    color: #000;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-block;
    text-transform: uppercase;
}

.btn-cta:hover {
    transform: scale(1.05);
    color: #000;
    box-shadow: 0 10px 20px rgba(0,114,188,.35);
}

/* ==================================================
   4. COUNTDOWN
================================================== */

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.countdown-item {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    padding: 15px;
    border-radius: 12px;
    min-width: 85px;
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.3);
}

.countdown-item span {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;

    background: var(--fluid-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-item small {
    text-transform: uppercase;
    font-size: .65rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: #999;
}

/* ==================================================
   5. SOBRE O EVENTO
================================================== */

.about-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;

    width: 400px;
    height: 400px;

    background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
    opacity: .05;
    border-radius: 50%;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;

    width: 300px;
    height: 300px;

    background: radial-gradient(circle, var(--brand-green) 0%, transparent 70%);
    opacity: .05;
    border-radius: 50%;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;

    background: linear-gradient(
        135deg,
        var(--brand-blue),
        var(--brand-green)
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Cards */

.about-highlight {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    width: 100%;
    text-align: left;

    background: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    margin-top: 40px;

    border-left: 5px solid var(--brand-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.about-highlight:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,114,188,.20);
}

.about-highlight i {
    font-size: 2rem;
    color: var(--brand-blue);
}

/* ==================================================
   6. SECTION EXTRA / HORÁRIOS
================================================== */

.special-info-section {
    background: var(--black-bg);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.schedule-box {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
}

.schedule-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 18px 0;
    text-align: left;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.schedule-line:last-child {
    border-bottom: none;
}

.schedule-line span {
    color: var(--brand-green);
    font-weight: 800;
    min-width: 180px;
}

.schedule-line strong {
    color: #fff;
    font-weight: 600;
}

/* ==================================================
   7. LOCAL DO EVENTO / MAPA
================================================== */

.map-box {
    width: 100%;
    height: 600px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* iframe ocupa tudo */
.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ==================================================
   8. AGENDA / PALESTRANTES
================================================== */

.agenda-item {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.agenda-item.dark-mode {
    background: var(--black-bg);
    color: #fff;
    border: none;
}

.time-badge {
    background: var(--fluid-gradient);
    color: #000;

    padding: 7px 22px;
    border-radius: 40px;

    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
}

.session-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 45px;
}

.dark-mode .session-title {
    color: var(--brand-blue);
}

/* Fotos */

.speaker-photo {
    width: 260px;
    height: 260px;

    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;

    border-radius: 20px;
    padding: 5px;
    background: var(--fluid-gradient);

    margin-bottom: 20px;
}

.speaker-photo:hover {
    transform: scale(1.03);
}

.speaker-name {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.speaker-role {
    display: block;
    color: var(--brand-green);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: .95rem;
}

.speaker-bio {
    max-width: 360px;
    margin: auto;
    font-size: .92rem;
    color: #666;
}

.dark-mode .speaker-bio {
    color: #c8c8c8;
}

.linkedin-link {
    color: #0077b5;
    margin-left: 8px;
}

.linkedin-link .fa-linkedin {
    font-size: 22px;
}


/* ==================================================
   9. WHATSAPP CTA
================================================== */

.whatsapp-cta-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;

    border-left: 8px solid #25d366;
    box-shadow: 0 15px 35px rgba(0,0,0,.10);

    position: relative;
    overflow: hidden;
}

.whatsapp-cta-box::after {
    content: '\f232';
    font-family: 'Font Awesome 6 Brands';

    position: absolute;
    right: -20px;
    bottom: -30px;

    font-size: 150px;
    color: rgba(37,211,102,.05);

    transform: rotate(-15deg);
}

.btn-whatsapp-group {
    background: #25d366;
    color: #fff;

    padding: 15px 35px;
    border-radius: 50px;

    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;

    display: inline-block;

    box-shadow: 0 10px 20px rgba(37,211,102,.20);
}

.btn-whatsapp-group:hover {
    background: #128c7e;
    color: #fff;
    transform: translateY(-3px);
}

/* ==================================================
   10. PATROCINADORES
================================================== */

.sponsor-link {
    text-decoration: none !important;
    color: inherit;
}

.sponsor-card {
    border: 1px solid #eee;
    overflow: hidden;

    height: 100%;
    display: flex;
    flex-direction: column;
}

.sponsor-card-header {
    background: #fff;
    height: 115px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px;
}

.sponsor-card-body {
    background: var(--fluid-gradient);
    color: #000;

    padding: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;

    flex-grow: 1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor-link:hover .sponsor-card {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--brand-blue);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* ==================================================
   11. APOIADORES
================================================== */

.supporter-link {
    text-decoration: none !important;
}

.supporter-box {
    background: #fff;

    padding: 15px 30px;
    min-width: 180px;
    height: 80px;

    border: 2px solid #eee;
    border-radius: 12px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.supporter-box:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--brand-blue);
    box-shadow: 0 10px 25px rgba(0,114,188,.15);
}

.supporter-logo {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
}

/* ==================================================
   12. HELPERS
================================================== */

.img-to-black {
    filter: brightness(0);
}

.bg-gradient-black-text {
    background: var(--fluid-gradient);
    color: #000 !important;
    font-weight: 700;
}

/* ==================================================
   13. WHATSAPP FLOAT
================================================== */

.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    background: #25d366;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    text-decoration: none;
    z-index: 999;
}

/* ==================================================
   14. RESPONSIVO
================================================== */

@media (max-width: 991px) {

    .map-box,
    .map-box iframe {
        min-height: 420px;
    }
}

@media (max-width: 768px) {

    .hero-section {
        padding: 90px 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .session-title {
        font-size: 1.6rem;
    }

    .speaker-photo {
        width: 220px;
        height: 220px;
    }

    .schedule-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .schedule-line span {
        min-width: auto;
    }

    .schedule-box {
        padding: 25px;
    }

    .whatsapp-cta-box {
        padding: 30px 20px;
    }

    .btn-whatsapp-group {
        margin-top: 20px;
        width: 100%;
    }
}

@media (max-width: 576px) {

    .logo-header {
        max-width: 250px;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-item {
        min-width: 70px;
        padding: 10px;
    }

    .countdown-item span {
        font-size: 1.6rem;
    }

    .map-box,
    .map-box iframe {
        min-height: 320px;
    }
}