/* ============================================================================
   WEBVERSO STUDIO — ESPECIFICIDADES DA HOME (HERO, BANNER & ACESSO)
   Arquivo: public/assets/css/home.css
   ============================================================================ */

main {
    align-items: center;
    justify-content: center;
    min-height: clamp(520px, calc(100dvh - 170px), 820px);
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.10);
    background:
        radial-gradient(ellipse at 50% 24%, rgba(59, 130, 246, 0.12), transparent 48%),
        linear-gradient(145deg, rgba(30, 41, 59, 0.56), rgba(15, 23, 42, 0.38));
}

main > section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(25px, 4.4vh, 48px);
    width: min(100%, 900px);
    margin: auto;
    text-align: center;
}

/* Cabeçalho Hero */
main > section > header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

main > section > header > p:first-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 5px;
    color: #93c5fd;
    font-size: 0.70rem;
    font-weight: 760;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

main > section > header > p:first-child::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-gold);
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.42);
}

main > section > header > h1 {
    color: var(--color-text);
    font-size: clamp(2.25rem, 5.1vw, 3.8rem);
    font-weight: 740;
    letter-spacing: -0.065em;
    line-height: 1.06;
}

main > section > header > h1 > strong {
    color: var(--color-gold);
}

main > section > header > p:last-child {
    margin: 5px 0 0;
    color: #cbd5e1;
    font-size: clamp(0.98rem, 1.35vw, 1.1rem);
}

/* Banner Interativo com Rotacionador */
main > section > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: min(100%, 640px);
    min-height: 62px;
    padding: 14px 18px;
    border: 1px solid rgba(59, 130, 246, 0.24);
    border-left: 3px solid var(--color-gold);
    border-radius: 13px;
    background: linear-gradient(
        100deg,
        rgba(59, 130, 246, 0.105),
        rgba(30, 41, 59, 0.38) 62%,
        rgba(234, 179, 8, 0.045)
    );
    color: #dbeafe;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: transform var(--motion-base), border-color var(--motion-base), color var(--motion-base);
}

main > section > a:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.48);
    border-left-color: var(--color-gold);
    color: var(--color-white);
}

main > section > a > small:first-child {
    color: var(--color-gold);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

main > section > a > small:nth-child(2) {
    color: var(--border-color);
    font-size: 1rem;
}

main > section > a > strong {
    display: inline-grid;
    grid-template: 1.45em / 1fr;
    min-width: 9ch;
    height: 1.45em;
    overflow: hidden;
    color: #dbeafe;
    font-size: 0.9rem;
    font-weight: 650;
    text-align: left;
}

main > section > a > strong > small {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(0.55em);
    animation: webverso-home-rotate 6s infinite both;
}

main > section > a > strong > small:nth-child(2) {
    animation-delay: 2s;
}

main > section > a > strong > small:nth-child(3) {
    animation-delay: 4s;
}

@keyframes webverso-home-rotate {
    0%, 4%    { opacity: 0; transform: translateY(0.55em); }
    7%, 21%   { opacity: 1; transform: translateY(0); }
    25%, 100% { opacity: 0; transform: translateY(-0.55em); }
}

/* Bloco de Acesso Rápido (estende `main nav a` do style.css) */
main > section > section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

main > section > section > h2 {
    margin: 0;
    color: var(--subtext);
    font-size: 0.82rem;
    font-weight: 620;
}

main > section > section > nav > ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

main > section > section > nav > ul > li > a {
    min-width: 142px;
    min-height: 43px;
    padding: 10px 17px;
    border-color: rgba(96, 165, 250, 0.36);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    font-size: 0.87rem;
    box-shadow: 0 6px 17px rgba(37, 99, 235, 0.17);
}

main > section > section > nav > ul > li > a:hover {
    transform: translateY(-2px);
    border-color: rgba(147, 197, 253, 0.70);
    background: var(--color-primary-dark);
    color: var(--color-white);
}

main > section > section > nav > ul > li:last-child > a {
    border-color: rgba(148, 163, 184, 0.26);
    background: rgba(15, 23, 42, 0.24);
    color: #dbe5f2;
    box-shadow: none;
}

main > section > section > nav > ul > li:last-child > a:hover {
    border-color: rgba(96, 165, 250, 0.42);
    background: var(--blue-soft);
    color: var(--color-white);
}
