/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003a92;
    --secondary-color: #eee;
    --accent-color: #004ec2;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #f7f7f7;
    --gradient-primary: linear-gradient(135deg, #1673ff, #2f81fd);
    --gradient-secondary: linear-gradient(135deg, #eee, #f8f9fa);
    --shadow-light: 0 4px 20px rgba(0, 128, 255, 0.1);
    --shadow-medium: 0 8px 40px rgba(0, 128, 255, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 128, 255, 0.2);
    --border-radius: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #eee;
    overflow-x: hidden;
}

/* Navbar Style */
header {
    background: #f7f7f7;
    width: 100%;
    height: 85px;
    color: #007fc9;
    position: fixed;
    z-index: 9999;
}

.navbar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo {
    margin: 10px;
    width: 220px;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 30px;
}

.navbar ul {
    display: flex;
    align-items: center;
}

.navbar ul li {
    margin: 0 15px;
    list-style: none;
}

.navbar ul li a {
    position: relative;
    padding: 8px 0;
    color: #007fc9;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.3s linear;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    width: 0;
    height: 5px;
    border-radius: 10px;
    background-color: #00a5b1;
    transition: all 0.3s cubic-bezier(1, 1, 1, 1);
}

.nav-link {
    padding: 15px;
    margin: 0.6rem;
}

.login:hover {
    background: #003a92;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: #007fc9;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
    right: auto;
    left: 0;
}

.hamburger {
    display: none;
    position: relative;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.hamburger span {
    display: inline-block;
    width: 100%;
    height: 3px;
    background-color: #007fc9;
    position: absolute;
    top: calc(50% - 1.5px);
    left: 0;
    transition: all 0.2s;
}

.hamburger span:first-child {
    transform: translateY(-300%);
    transform-origin: right top;
}

.hamburger span:last-child {
    transform: translateY(300%);
    transform-origin: right bottom;
}

.hamburger.active span:first-child {
    transform: rotate(45deg) scaleX(0.5) translateX(4px);
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) scaleX(0.5) translateX(4px);
}

/* Navbar media query */
@media (max-width: 992px) {
    header {
        padding: 1px;
        background-color: #fff;
    }

    .navbar-container {
        max-width: 940px;
    }

    .hamburger {
        display: block;
    }

    .navbar ul {
        position: fixed;
        top: 80px;
        right: 0;
        width: 220px;
        height: 100%;
        padding: 40px 0;
        background-color: #f7f7f7;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        box-shadow: -8px 2px 10px rgba(0, 0, 0, 0.082);
        transform: translateX(100%);
        text-align: center;
        border-radius: 15px;
        transition: all 0.3s;
    }

    .navbar ul.active {
        transform: translateX(0);
    }

    .navbar ul li {
        margin: 0;
        width: 100%;
    }

    .navbar ul li a {
        display: block;
        padding: 15px;
    }

    .navbar ul li a::after {
        display: none;
    }

    .navbar ul li a:hover {
        color: #080808;
        background-color: #f0f0f0;
    }

    .navbar ul li a.active {
        color: #fff;
        background-color: #4761ff;
        border-radius: 10px;
    }

}

@media (max-width: 768px) {
    header {
        padding: 1px;
        height: 80px;
    }

    .navbar-container {
        max-width: 650px;
    }

    .navbar .logo {
        height: 100%;
    }
}

@media (max-width: 992px) {
    .navbar .logo {
        width: 200px;
    }
}

@media (max-width: 375px) {
    .navbar .logo {
        width: 200px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../assets/palestra-bg.jpg) no-repeat center center/cover;
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: color;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(0, 102, 204, 0.1));
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 128, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #d1d1d1;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: #32b4ff;
    border: 2px solid #007fc9;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-visual {
    flex: 1;
    position: relative;
    z-index: 2;
}

.floating-cards {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 45px;
    color: #fff;
}

.card-text {
    font-weight: 600;
    color: var(--text-dark);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Palestras Section */
.palestras {
    padding: 5rem 0;
    background: var(--white);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.palestras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.palestra-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.palestra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.palestra-card:hover::before {
    transform: scaleX(1);
}

.palestra-card:hover {
    transform: translateY(-8px);
    /*     box-shadow: var(--shadow-heavy); */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #003a92;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.card-category {
    padding: 4px 12px;
    background: rgba(0, 128, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.card-action {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.card-action:hover {
    background: var(--primary-color);
    color: var(--white);
}

.load-more {
    text-align: center;
}

.arrow {
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* Contato Section */
.contato {
    padding: 5rem 0;
    background: var(--secondary-color);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contato-form,
.contato-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contato-form h3,
.contato-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .floating-cards {
        position: static;
        height: auto;
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .floating-card {
        position: static;
        animation: none;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .palestras-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contato-form,
    .contato-info {
        padding: 1.5rem;
    }
}

/* Footer Style */
.site-footer {
    background-color: #111;
    color: #ecf0f1;
    padding: 40px 0 20px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h3 {
    color: #007fc9;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 1px;
    background: #007fc9;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #003a92;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: #f7f7f7;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #003a92;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    /*     border-top: 1px solid #34495e; */
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer-section {
        flex: 100%;
        margin-bottom: 30px;
    }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 12px;
    /* Largura da barra de rolagem */
}

/* Estilizando a parte interna da barra de rolagem */
::-webkit-scrollbar-track {
    background: #303030;
    /* Cor do fundo da barra de rolagem */
}

/* Estilizando o polegar da barra de rolagem */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to top, #003a92, #00a2ff);
    /* Cor do polegar da barra de rolagem */
    border-radius: 15px;
    /* Bordas arredondadas no polegar */
}

/* Cor do polegar ao passar o mouse */
::-webkit-scrollbar-thumb:hover {
    background: #00415f;
    /* Cor do polegar ao passar o mouse */
}

::selection {
    background-color: #001824;
    color: #fff;
}

.card-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0.5rem 0 1rem;
}

/* Whatsapp Style */
#whats {
    position: fixed;
    bottom: 3rem;
    right: 2.5rem;
    z-index: 9999;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#whats:hover {
    filter: brightness(150%);
}

.whats-img {
    width: 55px;
    transition: all 0.3s ease;
}

.whats-api {
    position: fixed;
    bottom: 3rem;
    right: 2.5rem;
    z-index: 9999;
    border-radius: 50px;
    cursor: pointer;
}