/* ========================================
   YBY MARTECH - STYLES.CSS
   ======================================== */

/* CSS VARIABLES - PALETA YBY */
:root {
    --roxo-profundo: #211840;
    --roxo-medio: #4D2D91;
    --roxo-vibrante: #6643D1;
    --cyan-energia: #6DCCF2;
    --cyan-claro: #A0E8FF;
    --cinza-neutro: #4A4A4A;

    --font-black: 900;
    --font-semibold: 600;
    --font-regular: 400;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Darker Grotesque', sans-serif;
    font-weight: var(--font-regular);
    color: var(--cyan-claro);
    background: var(--roxo-profundo);
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

address {
    font-style: normal;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Vídeo Background */
.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    opacity: 0.85;

    /* Ken Burns Effect */
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Overlay Gradient */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 24, 64, 0.50);
    z-index: 2;
}

/* Content */
.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;

    /* Fade In Animation */
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo */
.hero__logo {
    max-width: 794px;
    width: 100vw;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(109, 204, 242, 0.4));

    /* Glow Pulsante */
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(109, 204, 242, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 50px rgba(109, 204, 242, 0.7));
    }
}

/* Tagline */
.hero__tagline {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: var(--font-semibold);
    color: var(--cyan-energia);
    letter-spacing: 0.05em;
    text-transform: uppercase;

    /* Slide Up Animation */
    opacity: 0;
    animation: slideUp 0.8s ease 1s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__tagline:hover {
    letter-spacing: 0.06em;
    transition: letter-spacing 0.3s ease;
}

/* ========================================
   FOOTER GLASSMORPHISM
   ======================================== */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(33, 24, 64, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(109, 204, 242, 0.2);
    padding: 2rem 0;
    z-index: 10;
    margin-bottom: 100px;
    /* +40px de espaço */

    /* Slide Up Animation */
    opacity: 0;
    transform: translateY(100%);
    animation: slideUpFooter 0.6s ease 1.5s forwards;
}

@keyframes slideUpFooter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Icons */
.footer__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(109, 204, 242, 0.1);
    border: 1px solid rgba(109, 204, 242, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(109, 204, 242, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(109, 204, 242, 0.3);
}

.social-link i {
    font-size: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover i {
    color: var(--cyan-energia);
}

/* Contact Info */
.footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.105rem, 2.6vw, 1.235rem);
    font-weight: var(--font-regular);
    color: var(--cyan-claro);
    padding: 0 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 4px 20px rgba(33, 24, 64, 0.9);
}

.footer__info-line1,
.footer__info-line2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.footer__info a:hover {
    color: var(--cyan-energia);
}

.separator {
    opacity: 0.5;
}

/* ========================================
   SEO CONTENT (HIDDEN)
   ======================================== */

.seo-content {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero__logo {
        max-width: 529px;
    }

    .hero__tagline {
        font-size: 1.5rem;
    }

    .footer__social {
        gap: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .footer__info {
        font-size: 1.105rem;
        gap: 0.75rem;
    }

    .footer__info-line1 {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .footer__info-line2 {
        display: block;
        text-align: center;
        max-width: 90%;
    }

    .footer__info-line2 address {
        line-height: 1.5;
    }

    .separator {
        display: inline;
    }
}

@media (max-width: 480px) {
    .hero__logo {
        max-width: 370px;
    }

    .hero__tagline {
        font-size: 1.2rem;
    }

    .footer {
        padding: 1.5rem 0;
        margin-bottom: 90px;
    }

    .footer__info {
        font-size: 0.95rem;
        gap: 0.6rem;
    }

    .footer__info-line1 {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}

/* ========================================
   MARQUEE / TEXTO ROLANTE
   ======================================== */

.marquee {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--roxo-profundo);
    border-top: 1px solid rgba(109, 204, 242, 0.15);
    padding: 1.5rem 0;
    z-index: 9;
    overflow: hidden;
    white-space: nowrap;
}

.marquee__content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30.77s linear infinite;
    will-change: transform;
}

.marquee__text {
    display: inline-block;
    font-family: 'Darker Grotesque', sans-serif;
    font-weight: 900;
    font-size: clamp(1.68rem, 4.2vw, 2.52rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan-energia);
    opacity: 0.7;
    text-shadow: 0 0 20px rgba(109, 204, 242, 0.3);
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee:hover .marquee__content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marquee {
        padding: 1.25rem 0;
    }

    .marquee__content {
        animation-duration: 23s;
    }

    .marquee__text {
        font-size: clamp(1.4rem, 3.5vw, 1.96rem);
    }
}

/* ========================================
   ACESSIBILIDADE
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cyan-energia);
    outline-offset: 4px;
}