@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Variáveis CSS */
:root {
    --cor-primaria: #0c182b;
    --cor-secundaria: #dc911b;
    --cor-terciaria: #4c5f7d;
    --cor-texto: #333333;
    --cor-texto-claro: #666666;
    --cor-fundo: #ffffff;
    --cor-fundo-secao: #f8fafc;
    --gradiente-principal: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-terciaria) 100%);
    --gradiente-secundario: linear-gradient(135deg, var(--cor-secundaria) 0%, #f4a261 100%);
    --sombra-leve: 0 2px 10px rgba(12, 24, 43, 0.1);
    --sombra-media: 0 8px 30px rgba(12, 24, 43, 0.15);
    --transicao: all 0.3s ease;
}

/* Navegação */
.navegacao {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 24, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transicao);
}

.navegacao.scrolled {
    background: var(--cor-primaria);
    box-shadow: var(--sombra-leve);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#logo-alimtech {
 width: 60%;
 margin-top: 7rem;
}

.menu-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    text-transform: uppercase;
}

.menu-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transicao);
    position: relative;
}

.menu-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cor-secundaria);
    transition: var(--transicao);
}

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

.menu-nav a:hover {
    color: var(--cor-secundaria);
}

.menu-mobile {
    display: none;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-mobile span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: var(--transicao);
}

.menu-nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--cor-primaria);
  width: 100%;
  padding: 1rem;
  gap: 1rem;
}

/* Hero */
.secao-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradiente-principal);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(220, 145, 27, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 145, 27, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

#data {
    font-weight: 900;
    font-size: 1.5rem;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    color: #ffffff;
    z-index: 2;
    position: relative;
}

.hero-titulo {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.titulo-principal {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradiente-secundario);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.titulo-subtitulo {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.hero-descricao {
    font-size: 1.25rem;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-botoes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.botao-principal {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transicao);
    display: inline-block;
}

.botao-principal {
    background: var(--cor-secundaria);
    color: #ffffff;
}

.botao-principal:hover {
    transform: translateY(-2px);
    color: #fff;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção Sobre */
.secao-sobre {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: var(--cor-fundo-secao);
}

.secao-tag {
    display: inline-block;
    background: var(--gradiente-secundario);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.sobre-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-texto h2 {
    font-size: 1.7rem;
    color: var(--cor-primaria);
    margin-bottom: 2rem;
    margin-top: 0.3rem;
    line-height: 1.2;
}

.texto-destaque {
    font-size: 1.3rem;
    color: var(--cor-fundo);
    margin-bottom: 2rem;
    line-height: 1.6;

}

.sobre-texto p {
    color: var(--cor-texto-claro);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.sobre-destaques {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.destaque-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.destaque-icone {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.destaque-texto h4 {
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.destaque-texto p {
    margin: 0;
    font-size: 0.95rem;
}


@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.visual-stats {
    display: flex;
    gap: 3rem;
    z-index: 2;
    position: relative;
}

.stat-item {
    text-align: center;
}

.stat-valor {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--cor-secundaria);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Seção Programação */
.secao-programacao {
    padding-top: 3rem;
    background: #ffffff;
}

.programacao-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.programacao-header h2 {
    font-size: 2.5rem;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
}

.programacao-header p {
    font-size: 1.1rem;
    color: var(--cor-texto-claro);
    line-height: 1.6;
}

.programacao-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.programacao-timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradiente-principal);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 91px;
    top: 1rem;
    width: 20px;
    height: 20px;
    background: var(--cor-secundaria);
    border-radius: 50%;
}

.timeline-hora {
    width: 80px;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--cor-primaria);
    padding-top: 0.5rem;
    font-size: 0.9rem;
}

.timeline-content {
    margin-left: 2rem;
    background: var(--cor-fundo-secao);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--sombra-leve);
    position: relative;
    transition: var(--transicao);
    flex: 1;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1rem;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--cor-fundo-secao);
}

.timeline-content h3 {
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.timeline-content p {
    color: var(--cor-texto-claro);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    font-size: 1.1rem;
}

.timeline-content p:last-of-type {
    margin-bottom: 1rem;
}

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-badge.inicio { background: #e3f2fd; color: #1976d2; }
.timeline-badge.oficial { background: #f3e5f5; color: #7b1fa2; }
.timeline-badge.palestra { background: #e8f5e8; color: #388e3c; }
.timeline-badge.intervalo { background: #fff3e0; color: #f57c00; }
.timeline-badge.almoco { background: #fce4ec; color: #c2185b; }
.timeline-badge.mesa { background: #e0f2f1; color: #00695c; }
.timeline-badge.trabalhos { background: #f9fbe7; color: #689f38; }
.timeline-badge.encerramento { background: #ffebee; color: #d32f2f; }

/* Seção Inscrições */
.secao-inscricoes {
    padding-top: 3rem;
    background: var(--gradiente-principal);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.secao-inscricoes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23dc911b" fill-opacity="0.05"><polygon points="60,30 30,60 0,30 30,0"/></g></g></svg>') repeat;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.inscricoes-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.inscricoes-info .secao-tag {
    background: rgba(220, 145, 27, 0.2);
    color: var(--cor-secundaria);
    border: 1px solid var(--cor-secundaria);
}

.inscricoes-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.inscricoes-beneficios {
    margin: 3rem 0;
}

.beneficio-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.beneficio-icone {
    width: 24px;
    height: 24px;
    background: var(--cor-secundaria);
    color: var(--cor-primaria);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.inscricoes-urgencia {
    margin-top: 2rem;
}

.urgencia-badge {
    background: rgba(220, 145, 27, 0.15);
    border: 1px solid var(--cor-secundaria);
    border-radius: 12px;
    padding: 1.5rem;
    gap: 1rem;
    align-items: center;
    font-size: 1.2rem;
    text-align: center;
}

.urgencia-icone {
    font-size: 2rem;
}

.urgencia-texto strong {
    display: block;
    color: var(--cor-secundaria);
    margin-bottom: 0.25rem;
}

.urgencia-texto p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    font-size: 1.3rem;
}

.inscricoes-formulario {
    position: relative;
    z-index: 2;
}

.formulario-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.formulario-header {
    text-align: center;
    margin-bottom: 2rem;
}

.formulario-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.formulario-header p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.formulario-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.formulario-placeholder h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--cor-secundaria);
}

.formulario-placeholder p {
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.placeholder-specs {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.placeholder-specs h5 {
    margin-bottom: 1rem;
    color: var(--cor-secundaria);
    font-size: 1rem;
}

.placeholder-specs ul {
    list-style: none;
    padding: 0;
}

.placeholder-specs li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.placeholder-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cor-secundaria);
    font-weight: bold;
}

/* Rodapé */
.rodape {
    background: var(--cor-primaria);
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.rodape-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.rodape-logo {
    margin-bottom: 1rem;
}

.rodape-info p {
    opacity: 0.8;
    line-height: 1.6;
}

.rodape-detalhes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.detalhe-item h4 {
    color: var(--cor-secundaria);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.detalhe-item p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.rodape-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.rodape-copyright p {
    opacity: 0.6;
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .menu-nav {
        display: none;
    }

    .menu-mobile {
        display: flex;
    }

    .titulo-principal {
        font-size: 2.5rem;
    }

    .titulo-subtitulo {
        font-size: 1.2rem;
    }

    .hero-descricao {
        font-size: 1rem;
    }

    .hero-botoes {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-info {
        gap: 2rem;
    }

    .info-numero {
        font-size: 2rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sobre-texto h2 {
        font-size: 2rem;
    }

    .texto-destaque {
        font-size: 1.1rem;
    }

    .visual-stats {
        gap: 2rem;
    }

    .stat-valor {
        font-size: 2.5rem;
    }

    .programacao-header h2 {
        font-size: 2rem;
    }

    .programacao-timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 11px;
    }

    .timeline-hora {
        width: 60px;
        font-size: 0.8rem;
    }

    .timeline-content {
        margin-left: 1rem;
    }

    .inscricoes-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .inscricoes-info h2 {
        font-size: 2rem;
    }

    .formulario-placeholder {
        padding: 2rem 1rem;
    }

    .rodape-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rodape-detalhes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .destaque-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .timeline-item {
        flex-direction: column;
        margin-bottom: 1.5rem;
        margin-left: 3rem;
    }

    .timeline-hora {
        width: auto;
        margin-bottom: 1.5rem;
    }

    .timeline-content {
        margin-left: 0;
    }

    .urgencia-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    #logo-alimtech {
        width: 100%;
    }
}

/* Animações de scroll */
@media (prefers-reduced-motion: no-preference) {
    .secao-sobre,
    .secao-programacao,
    .secao-inscricoes {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .secao-sobre.visible,
    .secao-programacao.visible,
    .secao-inscricoes.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .timeline-item {
        opacity: 0;
        transform: translateX(-50px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .timeline-item.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}