/* Avoar Sections Page - Estilos para página inicial com 5 seções fullscreen */

/* ========================================
   Configuração Base das Seções
   ======================================== */

.sections-wrapper {
    width: 100%;
    height: auto;
}

.full-section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.section-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
    transform: translateY(-10%);
}

/* ========================================
   Conteúdo de Texto
   ======================================== */

.section-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 700px;
}

.section-hero-logo {
    display: block;
    max-width: 420px;
    width: 100%;
    height: auto;
    animation: fadeInUp 0.8s ease-out;
}

.section-text h1 {
    font-size: 2.98rem; /* 15% menor que 3.5rem */
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out;
}

.section-text .section-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    text-align: center;
    margin: 0.75rem 0 0 0;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.section-cta {
    display: flex;
    justify-content: center;
}

.section-cta .theme-btn {
    display: inline-block;
}

/* ========================================
   Conteúdo Inferior
   ======================================== */

.section-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.section-count {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    flex-shrink: 0;
    text-transform: uppercase;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.section-bottom .section-cta {
    align-self: center;
}

/* ========================================
   Ícones de Navegação (apenas seção 1)
   ======================================== */

.section-nav-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 7rem;
    margin-top: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-nav-icons .nav-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.section-nav-icons .nav-icon-link:hover {
    color: #ff5c00;
    transform: translateY(-3px);
}

.section-nav-icons .nav-icon-link i {
    font-size: 1.7rem;
    display: block;
}

/* ========================================
   Animações
   ======================================== */

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

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

/* ========================================
   Telas grandes (1600x900+) - conteúdo mais extenso
   ======================================== */

@media (min-width: 1600px) and (min-height: 900px) {
    .section-text {
        max-width: 950px;
    }

    .section-bottom {
        max-width: 1000px;
    }
}

/* ========================================
   Responsivo - Tablets (1200px)
   ======================================== */

@media (max-width: 1200px) {
    .full-section {
        background-attachment: scroll;
    }

    .section-text h1 {
        font-size: 2.38rem; /* 15% menor que 2.8rem */
    }

    .section-inner {
        gap: 50px;
    }

    .section-text {
        gap: 20px;
    }

    .section-bottom {
        gap: 30px;
    }

    .section-count {
        font-size: 3.5rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

/* ========================================
   Responsivo - Tablets Pequenos (768px)
   ======================================== */

@media (max-width: 768px) {
    .full-section {
        height: auto;
        min-height: 100vh;
        padding: 60px 20px;
    }

    .section-hero-logo {
        max-width: 330px;
    }

    .section-text h1 {
        font-size: 1.7rem; /* 15% menor que 2rem */
    }

    .section-inner {
        gap: 40px;
    }

    .section-text {
        gap: 20px;
        max-width: 100%;
    }

    .section-bottom {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
    }

    .section-count {
        font-size: 2.5rem;
        order: -1;
    }

    .section-description {
        font-size: 0.95rem;
        text-align: center;
    }

    .section-nav-icons {
        flex-wrap: wrap;
        justify-content: center;
        align-self: center;
        gap: 1.5rem;
        row-gap: 1.8rem; /* 20% maior que 1.5rem apenas no mobile */
        margin-top: 1.5rem;
    }

    .section-nav-icons .nav-icon-link {
        gap: 0.6rem; /* 20% maior que 0.5rem - altura da linha ícone+label */
    }

    .section-nav-icons .nav-icon-link i {
        font-size: 1.49rem;
    }

    .section-nav-icons .nav-icon-link span {
        font-size: 0.64rem;
    }

    .section-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
}

/* ========================================
   Responsivo - Dispositivos Móveis (480px)
   ======================================== */

@media (max-width: 480px) {
    .full-section {
        height: auto;
        min-height: 100vh;
        padding: 50px 15px;
    }

    .section-hero-logo {
        max-width: 270px;
    }

    .section-content {
        padding: 30px 0;
    }

    .section-text h1 {
        font-size: 1.28rem; /* 15% menor que 1.5rem */
        letter-spacing: 0.5px;
    }

    .section-inner {
        gap: 30px;
    }

    .section-text {
        gap: 20px;
    }

    .section-text .theme-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .section-bottom {
        gap: 15px;
        flex-direction: column;
    }

    .section-count {
        font-size: 2rem;
    }

    .section-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .section-nav-icons {
        flex-wrap: wrap;
        justify-content: center;
        align-self: center;
        gap: 1rem;
        row-gap: 1.2rem; /* 20% maior que 1rem apenas no mobile */
        margin-top: 1.25rem;
    }

    .section-nav-icons .nav-icon-link {
        gap: 0.6rem; /* 20% maior que 0.5rem - altura da linha ícone+label */
    }

    .section-nav-icons .nav-icon-link i {
        font-size: 1.28rem;
    }

    .section-nav-icons .nav-icon-link span {
        font-size: 0.6rem;
    }

    .section-overlay {
        background: rgba(0, 0, 0, 0.65);
    }
}

/* ========================================
   Melhorias de UX - Suporte a Movimento Reduzido
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .section-hero-logo,
    .section-text h1 {
        animation: none;
    }

    .section-bottom {
        animation: none;
    }
}

/* ========================================
   Hover States
   ======================================== */

@media (hover: hover) {
    .full-section {
        transition: transform 0.3s ease;
    }

    .section-text h1 {
        transition: text-shadow 0.3s ease;
    }

    .full-section:hover .section-text h1 {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
}
