@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #001f7a;
    --primary-light: #315cf6;
    --accent: #0099ff;
    --dark: #000b2f;
    --text: #364566;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* HERO */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero-slider .hero {
    display: none;
    opacity: 0;
    transform: translateX(30px);
}

.hero-slider .hero.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    animation: slideFadeIn 2s ease forwards;
}

.hero {
    width: 100%;
    min-height: 720px;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

/* CONTEÚDO */
.hero-content {
    position: relative;
    z-index: 5;
}

.hero-slider .hero.active .hero-content {
    animation: contentIn 0.8s ease forwards;
}

.hero-badge-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    box-shadow:
        0 0 0 8px rgba(49, 92, 246, 0.12),
        0 0 30px rgba(49, 92, 246, 0.25);
    animation: pulseDot 2.4s ease-in-out infinite;
}

.subtitle {
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(0, 31, 122, 0.06);
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--dark);
    max-width: 640px;
    margin-bottom: 26px;
}

.description {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 34px;
}

/* BOTÃO */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.35s ease;
    box-shadow: 0 20px 40px rgba(0, 31, 122, 0.18);
}

.btn:hover {
    transform: translateY(-4px);
    background: var(--primary-light);
    box-shadow: 0 26px 50px rgba(49, 92, 246, 0.28);
}

/* CONTATO */
.hero-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-contact-item {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 31, 122, 0.06);
    box-shadow: 0 16px 34px rgba(0, 20, 80, 0.08);
    transition: 0.35s ease;
}

.hero-contact-item:hover {
    transform: translateX(6px);
}

.hero-contact-item i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-contact-item span {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

/* CONTROLES */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 70px;
}

.arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    transition: 0.35s ease;
}

.arrow:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid #b9c4e4;
    cursor: pointer;
    transition: 0.35s ease;
}

.dot:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.dot.active {
    width: 24px;
    border-radius: 999px;
    background: var(--primary);
    border-color: var(--primary);
}

/* IMAGEM */
.hero-image {
    position: relative;
    width: 100%;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .hero.active .hero-image {
    animation: imageIn 0.9s ease forwards;
}

/* FUNDO */
.hero-visual-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 28%),
        linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 40px 80px rgba(0, 31, 122, 0.22);
    z-index: 1;
    animation: softPulse 4s ease-in-out infinite;
}

.hero-visual-bg::before {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 31, 122, 0.16);
    animation: spinSlow 18s linear infinite;
}

/* ORBITS */
.hero-orbit {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero-orbit-one {
    width: 500px;
    height: 500px;
    border: 1px solid rgba(0, 31, 122, 0.08);
    animation: spinSlow 24s linear infinite;
}

.hero-orbit-two {
    width: 350px;
    height: 350px;
    border: 1px dashed rgba(0, 31, 122, 0.12);
    animation: spinReverse 24s linear infinite;
}

/* FLOATING */
.hero-floating-card {
    position: absolute;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 31, 122, 0.05);
    box-shadow: 0 20px 40px rgba(0, 20, 80, 0.10);
    white-space: nowrap;
    animation: floatingCard 4s ease-in-out infinite;
}

.hero-floating-card i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.card-top {
    top: 90px;
    right: 10px;
}

.card-bottom {
    bottom: 90px;
    left: 0;
    animation-delay: 1.1s;
}

/* CARD DA IMAGEM */
.person-card {
    position: relative;
    z-index: 6;
    width: 290px;
    height: 500px;
    border-radius: 40px;
    background: #fff;
    border: 12px solid #edf1f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 35px 70px rgba(0, 20, 80, 0.22);
    transition: 0.45s ease;
}

.person-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 45px 90px rgba(0, 20, 80, 0.28);
}

.person-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    background-image: radial-gradient(rgba(0, 31, 122, 0.12) 2px, transparent 2px);
    background-size: 18px 18px;
    z-index: 1;
}

.person-card img {
    position: relative;
    z-index: 2;
    max-width: 145%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: 0.45s ease;
}

.person-card:hover img {
    transform: scale(1.04);
}

/* ANIMAÇÕES */
@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateX(36px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes contentIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageIn {
    from {
        opacity: 0;
        transform: translateX(34px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes softPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.75;
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 120px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding: 0 30px;
    }

    .hero-badge-line,
    .hero-actions,
    .slider-controls {
        justify-content: center;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-contact-list {
        align-items: center;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-image {
        height: 520px;
    }

    .hero-visual-bg {
        width: 360px;
        height: 360px;
    }

    .hero-orbit-one {
        width: 420px;
        height: 420px;
    }

    .hero-orbit-two {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-container {
        padding: 0 22px;
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .description {
        font-size: 16px;
    }

    .hero-image {
        height: 430px;
        transform: scale(0.88);
    }

    .person-card {
        width: 255px;
        height: 440px;
    }

    .hero-visual-bg {
        width: 310px;
        height: 310px;
    }

    .hero-orbit-one {
        width: 360px;
        height: 360px;
    }

    .hero-orbit-two {
        width: 260px;
        height: 260px;
    }

    .slider-controls {
        margin-top: 45px;
    }
}