﻿/* =========================
   VARIÁVEIS
========================= */
:root {
    --sesc-blue: #003989;
    --sesc-purple: #6d39b0;
    --sesc-yellow: #f7c600;
    --text-900: #111827;
    --text-700: #374151;
    --text-500: #6b7280;
    --card: #ffffff;
    --border: rgba(17,24,39,.10);
    --shadow: 0 10px 30px rgba(0,0,0,.10);
}

.credencial-page {
    color: var(--text-900);
}

/* =========================
   HERO
   (altura controlada, sem “paredão”)
========================= */
.cred-hero {
    position: relative;
    overflow: hidden;
    background: #f6f7fb;
    padding: 4rem 0;
}

@media (min-width: 992px) {
    .cred-hero {
        min-height: 620px;
        display: flex;
        align-items: center;
        padding: 3.5rem 0;
    }
}

.cred-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.92) 0%,
            rgba(255,255,255,.78) 45%,
            rgba(255,255,255,.20) 100%
        ),
        url("/img/static/capacartaofundo.jpg") center / cover no-repeat;
    transform: scale(1.02);
}

.cred-hero > .container {
    position: relative;
    z-index: 1;
}

/* =========================
   TEXTOS
========================= */
.cred-badge {
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(0,57,137,.08);
    color: var(--sesc-blue);
    font-weight: 700;
}

.cred-title {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1f2937;
    font-size: clamp(1.9rem, 2.6vw, 2.7rem);
}

.cred-subtitle {
    color: var(--text-700);
    font-size: clamp(1rem, 1.1vw, 1.15rem);
}

/* =========================
   WRAP DA IMAGEM
   (garante alinhamento com botão)
========================= */
.cred-hero__img-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

/* =========================
   IMAGEM HERO (DESKTOP)
   ✅ mantém scale(1.92)
   ✅ origin no topo direito
   ✅ não aumenta a section
========================= */
.cred-hero__img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 560px;

    transform: scale(1.92) translateX(8%);
    transform-origin: right top;

    filter: drop-shadow(0 18px 40px rgba(0,0,0,.18));
}

/* telas grandes */
@media (min-width: 1400px) {
    .cred-hero__img {
        max-height: 640px;
    }
}

/* =========================
   TABLET / MOBILE
   (zera qualquer zoom agressivo)
========================= */
@media (max-width: 991.98px) {
    .cred-hero {
        padding: 2.5rem 0;
    }

    .cred-hero__img-wrap {
        justify-content: center;
    }

    .cred-hero__img {
        max-height: 360px;
        transform: scale(1.62) translateX(6%);
        margin: 0 0 0 16rem !important;
    }
}

@media (max-width: 575.98px) {
    .cred-hero__img {
        max-height: 300px;
    }
}

/* =========================
   BOTÕES
========================= */
.btn-sesc-primary {
    background: var(--sesc-blue);
    border-color: var(--sesc-blue);
    color: #fff;
}

.btn-sesc-primary:hover {
    background: #002f74;
    border-color: #002f74;
}

.btn-link-clean {
    color: var(--sesc-blue);
    font-weight: 700;
    text-decoration: none;
}

.btn-link-clean:hover {
    text-decoration: underline;
}

/* =========================
   MINI INFOS
========================= */
.mini-info {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.mini-info i {
    font-size: 1.35rem;
    color: var(--sesc-blue);
}

.mini-info__t {
    font-weight: 800;
}

.mini-info__d {
    color: var(--text-500);
    font-size: .92rem;
}

/* =========================
   OCULTAR SESQUITO
========================= */
#Sesquito {
    display: none !important;
}


