/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f5f7fa;
    color: #1f2937;
    line-height: 1.6;
}

/* HEADER */
header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    height: 75px;
}

header nav ul {
    list-style: none;
    align-items: center; /* <<< ESSENCIAL */
    display: flex;
    gap: 20px;
}

header nav ul li a {
    height: 42px;
    color: #000000;
    font-weight: 500;
    padding: 8px 12px;
    text-decoration: none;   /* <<< tira qualquer sublinhado */
    border-bottom: none;     /* <<< garante que não tenha linha */
    transition: color 0.3s ease, transform 0.2s ease;
}

header nav ul li a:hover {
    color: #60a5fa;
    transform: translateY(-2px);
}

header nav ul li a:hover::after {
    width: 100%;
}

/* ÁREA DO CLIENTE - DESTAQUE */
.menu-client a {
    display: flex;
    align-items: center;
    gap: 8px;

    background: #ffffff;
    padding: 8px 18px;
    border-radius: 999px; /* oval perfeito */
    font-weight: 600;

    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* ÍCONE */
.menu-client a i {
    font-size: 14px;
}

/* HOVER */
.menu-client a:hover {
    background: #e11d48;
    color: #ffffff;
    transform: translateY(-2px);
}

/* GARANTE QUE O ÍCONE MUDE JUNTO */
.menu-client a:hover i {
    color: #ffffff;
}

/* TOP BAR */
.top-bar {
    background: #020617;
    color: #fff;
    font-size: 14px;
}

.top-bar-content {
    max-width: 1200px;
    margin: auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials a {
    color: #fff;
    margin-right: 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.socials a:hover {
    color: #e11d48;
}

.top-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

/* HERO BASE */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SLIDER */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 30s infinite;
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 10s; }
.hero-slider .slide:nth-child(3) { animation-delay: 20s; }

/* OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.75);
    z-index: 2;
}

/* CONTEÚDO CENTRAL */
.hero-center {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: row;       /* <<< AQUI */
    align-items: center;
    justify-content: center;
    gap: 0;                 /* espaço entre logo e texto */
    text-align: left;
}

/* LOGO */
.hero-logo {
    margin-right: 300px;
    width: 420px;     /* AQUI aumenta/diminui */
    margin-bottom: 60px;
    max-width: 40vw;
}

/* TEXTO */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;   /* <<< centraliza tudo */
    text-align: center;
    color: #fff;
}

/* TEXTO */
.line-top {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.line-plus {
    font-size: 4.5rem;
    font-weight: 900;
    color: #e11d48;
    line-height: 1;
    margin: -5px 0;        /* <<< aproxima do texto */
}

.line-bottom {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin: 0;
    line-height: 1.1;
}

.hero-content .plus {
    color: #e11d48;
    font-size: 4rem;
}

/* BOTÃO */
.hero .btn {
    display: inline-block;
    margin-top: 30px;
    background: #e11d48;
    color: #fff;
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.hero .btn:hover {
    transform: scale(1.05);
    background: #be123c;
}

/* ANIMAÇÃO */
@keyframes heroFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    40% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}


/* IMAGENS + TEMPO */
.slide1 {
    background-image: url('../img/hero1.jpg');
    animation-delay: 0s;
}

.slide2 {
    background-image: url('../img/hero2.jpg');
    animation-delay: 10s;
}

.slide3 {
    background-image: url('../img/hero3.jpg');
    animation-delay: 20s;
}

/* CONTEÚDO */
.hero-content,

.hero img.logo {
    width: 220px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
}

.hero .line3 h1 {
    color: #e11d48;
    font-size: 4rem;
}

.hero .btn {
    display: inline-block;
    margin-top: 30px;
    background: #e11d48;
    color: #fff;
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.hero .btn:hover {
    transform: scale(1.05);
    background: #be123c;
}

@keyframes heroFade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    /* PAUSA NA TELA */
    40% {
        opacity: 1;
    }

    /* SAÍDA */
    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}



/* PLANOS */
.plans {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.plans h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.plan-cards {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plan {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.3s;
}

.plan:hover {
    transform: translateY(-10px);
}

.plan-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.plan img {
    width: 100%;
    max-width: 420px;
    border-radius: 15px;
}

/* VANTAGENS */
.advantages {
    background: #0a1f44;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.advantages h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.advantage-cards {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.advantage-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px 20px;
}

.advantage-card i {
    font-size: 2.5rem;
    color: #e11d48;
    margin-bottom: 15px;
}

/* FOOTER */
footer {
    background: #020617;
    color: #9ca3af;
    text-align: center;
    padding: 25px 15px;
}

footer a {
    color: #e11d48;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    font-size: 32px;
    color: #000000;
    cursor: pointer;
}

@media (max-width: 768px) {

    header {
        padding: 15px 0;
        position: relative;
    }

    header .container {
        display: flex;
        align-items: center;        /* CENTRALIZA VERTICAL */
        justify-content: space-between;
    }
    
    header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 55px;
}

.menu-toggle {
    position: absolute;
    right: 20px;              /* mantém no canto */
    font-size: 32px;
    color: #000;
}

    header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    header nav.active {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    /* HERO */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }

    /* CENTRALIZA TUDO */
    .hero-center {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    /* LOGO */
    .hero-logo {
        width: 260px;
        max-width: 80%;
        margin-right: 0;      /* <<< REMOVE O ESPAÇO LATERAL */
        margin-bottom: 0;
    }

    /* TEXTO */
    .line-top {
        font-size: 2.2rem;
    }

    .line-plus {
        font-size: 3.5rem;
        margin: -10px 0;
    }

    .line-bottom {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    /* BOTÃO */
    .hero .btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
