/* ==================================================
   ROOT
================================================== */

:root {

    --bg-primary: #111318;
    --bg-secondary: #1B1F27;
    --bg-card: #252A33;

    --color-primary: #3B82F6;
    --color-primary-light: #2563EB;

    --text-primary: #F5F7FA;
    --text-secondary: #B6BECC;

    --border-primary: #363D49;

    --gradient-primary:
        linear-gradient(135deg,
            #2563EB,
            #3B82F6,
            #60A5FA);

    --shadow-primary:
        0 0 25px rgba(59, 130, 246, 0.1);

    --transition:
        0.3s ease;
}

/* ==================================================
   TÍTULO
================================================== */

.container-titulo {
    min-height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    text-align: center;
}

.container-titulo h1 {
    position: relative;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
}

.container-titulo h1::after {
    content: "";
    display: block;
    width: 5rem;
    height: 0.25rem;
    margin: 0.75rem auto 0;
    border-radius: 999px;
    background: var(--gradient-primary);
}


/* ==================================================
   INFORMAÇÕES DA UNIDADE
================================================== */

.section-infos-unidade {
    max-width: 990px;
    margin: 0 auto;
    padding: 4rem 1.5rem;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
}

.section-infos-unidade img {
    width: 100%;
    max-width: 30rem;
    height: auto;
    object-fit: cover;
}


/* ==================================================
   CONTEÚDO DAS INFORMAÇÕES
================================================== */

.infos-unidades {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.infos-unidades span {
    font-weight: bold;
    font-size: 23px;
}

.link-endereco {
    color: var(--text-primary);
    text-decoration: underline;
    display: block;
    margin-bottom: 11px;
}

.link-endereco:hover {
    color: var(--color-primary);
}

.infos-unidades p {
    line-height: 30px;
    color: var(--text-primary);
}

.btn-unidade {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


/* ==================================================
   BOTÕES
================================================== */

.link-planos,
.link-whatsapp {
    flex: 1;
    min-width: 180px;

    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: 999px;

    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}

.link-planos {
    background: var(--gradient-primary);
}

.link-whatsapp {
    background: #25D366;
}


/* ==================================================
   ESTADOS DOS BOTÕES
================================================== */

.link-planos:hover,
.link-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.link-planos:active,
.link-whatsapp:active {
    transform: translateY(0);
}

.link-planos:focus-visible,
.link-whatsapp:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}


/* ==================================================
   RESPONSIVIDADE
================================================== */

@media (min-width: 768px) {
    .section-infos-unidade {
        flex-direction: row;
        justify-content: space-between;
        border: 1px solid var(--border-primary);
        border-radius: 35px;
        background-color: var(--bg-card);
        box-shadow: var(--shadow-primary);
    }

    .infos-unidades {
        flex-direction: column;
        flex: 1;
        align-items: start;
    }

    .section-infos-unidade img {
        flex: 1;
        max-width: 32rem;
    }
}

@media (max-width: 480px) {
    .btn-unidade {
        flex-direction: column;
    }

    .link-planos,
    .link-whatsapp {
        width: 100%;
    }
}