:root {
    --cv-blue: #013893;
    --cv-blue-rgb: 1, 56, 147;
    --cv-blue-tint-40: #6788be;
    --cv-blue-shade-70: #00112c;
    --bs-info-rgb: 103, 136, 190;
    --cv-red: #ce2027; /* 206, 32, 39 */
    --cv-yellow: #f7d214;

    --bs-body-color: #fff;
    --bs-secondary-color: #809cc9;
    --bs-body-bg: var(--cv-blue-shade-70);
    --bs-primary-rgb: var(--cv-blue-rgb);
    --bs-warning-rgb: 247, 210, 20;
    --bs-link-color-rgb: 204, 215, 233;
    --bs-emphasis-color-rgb: 206, 32, 39;
}
.card {
    --bs-card-color: var(--cv-blue-shade-70);
}
.bricolage-grotesque {
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.text-blue {
    color: var(--cv-blue-shade-70);
}
.navbar {
    --bs-navbar-color: var(--cv-red);
}
.navbar-nav {
    --bs-navbar-nav-link-padding-x: .9rem;
    --bs-navbar-nav-link-padding-y: .5rem;
}
.navbar-nav {
    --bs-nav-link-font-weight: 600;
    --bs-nav-link-color: var(--cv-blue-shade-70);
    --bs-nav-link-font-size: 18pt;
}
.btn-warning {
    --bs-btn-bg: var(--cv-yellow);
    --bs-btn-hover-bg: var(--cv-blue);
    --bs-btn-border-color: var(--cv-yellow);
    --bs-btn-hover-border-color: var(--cv-blue);
    --bs-btn-hover-color: #fff;
}
.spacing {
    min-height: 5rem;
}

/**
 * Para identificar futuros overflows rapidamente
 * /
 * * {
 *    outline: 1px solid rgba(255, 0, 0, .15);
 * }
 *
 * e executar no console do browser:
 *
 * document.querySelectorAll('*').forEach(el => {
 *      if (el.getBoundingClientRect().right > document.documentElement.clientWidth) {
 *          console.log(el);
 *      }
 *  });
 */
/**
 *
 * /
html {
    overflow-x: hidden;
}
/**
 *
 * /
header {
    height: 100px;
}
main {
    padding-top: 100px;
}
*/
header.scrolled,
.navbar-collapse.collapse.show
{
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 8px 32px rgba(13, 15, 79, 0.12),
        0 2px 8px rgba(13, 15, 79, 0.08);
    transition: all 0.3s ease;
}
header.scrolled a.nav-link {
    color: #fff;
}
section:not(.hero) p {
    text-align: justify;
}
/*
 * For ScrollSpy to work well with fixed navbar
 */
html {
    scroll-padding-top: 110px;
}
main > section[id] {
    scroll-margin-top: 110px;
}

/**
 *
 */
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6
{
    margin-bottom: 0 !important;
    color: var(--cv-red);
}
a,
a:hover,
a:focus,
a:visited {
    outline: none;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
a:hover {
    color: var(--cv-yellow);
}
a[href ^= "tel:"] {
    color: inherit !important;
    text-decoration: none !important;
}

/**
 *
 */
.card.blur {
    border-color: var(--cv-yellow);
    border-width: 2px;
    background-color: #fff;
    box-shadow: 0 15px 25px rgba(163, 195, 168, 0.2);
    backdrop-filter: blur(20px); /** @see https://css.glass/ */
    -webkit-backdrop-filter: blur(20px);
}

/**
 * thumbnail
 */
.card-img-wrapper {
    position: relative;
    overflow: hidden;
}
.card-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(255,255,255,.7) 85%,
        #fff 100%
    );
}

/**
 * header
 */
.card.blur > .card-header {
    border: 0;
    background-color: transparent;
    color: var(--cv-red);
    text-align: center;
}
.border-bottom-blurry {
    position: relative;
}
.border-bottom-blurry::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--cv-blue-rgb), .08) 8%,
        rgba(var(--cv-blue-rgb), .25) 20%,
        rgba(var(--cv-blue-rgb), .25) 80%,
        rgba(var(--cv-blue-rgb), .08) 92%,
        transparent 100%
    );
}
.card.blur .card-body {
    text-align: center;
    display: flex;
    align-items: center;
}

/**
 *
 */
.hero img {
    display: block;
}
.hero-content {
    width: 100%;
}
/* Mobile */
@media (max-width: 767.98px) {
    .hero {
        min-height: 100svh;
    }
    .hero > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .hero-content {
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        height: 100%;
        min-height: 100svh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 150px .5rem .5rem;
    }
    .hero-content > div {
        width: 100%;
    }
    .hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
    }
}

/**
 *
 */
.hero-banner {
    /* height: 100vh;
    min-height: 450px; */
    background-image:
        /* linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)), */
        url("../media/lucio_2-b70-blue_gradient.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/**
 *
 */
#vegas-slider {
    position: relative;
    /* min-height: 100vh; */
    height: auto !important;
    overflow: visible;
}
#vegas-slider .vegas-content {
    position: relative;
    display: block;
    /* min-height: 100vh; */
    height: auto;
    z-index: 10;
}
#vegas-slider .vegas-timer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    z-index: 50;
}
#vegas-slider .vegas-timer-progress {
    height: 100%;
    background: var(--cv-blue);
}
#gallery {
    width: 100%;
}

/**
 *
 */
.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/**
 * Back-to-top
 * @see https://stackoverflow.com/a/57258951
 */
#back-to-top {
    position: fixed;
    bottom: 150px;
    right: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: var(--cv-blue);
    border: 2px solid rgba(255, 255, 255, .5);
    color: rgba(255, 255, 255, .5);
    z-index: 999;
}

/**
 * Bandeira
 */
.cv-footer-accent {
    position: relative;
    width: 100%;
    height: 20px;
    overflow: visible;
    background:
        linear-gradient(
        to right,
        var(--cv-blue) 0% 62%,
        #fff 62% 68%,
        var(--cv-red) 68% 74%,
        #fff 74% 80%,
        var(--cv-blue) 80% 100%
    );
}
.cv-footer-stars {
    position: absolute;
    left: clamp(24px, 8vw, 110px); /* left * /
    left: 50%; /* center * /
    right: clamp(24px, 8vw, 110px); /* right */
    top: 50%;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--cv-yellow);
    font-size: .9rem;
    line-height: 1;
    transform: translateY(-50%);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}
.cv-footer-stars span {
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
    .cv-footer-stars span {
        animation: cvStarShimmer 2.8s ease-in-out infinite;
    }
    .cv-footer-stars span:nth-child(1)  { animation-delay: 0s; }
    .cv-footer-stars span:nth-child(2)  { animation-delay: -.12s; }
    .cv-footer-stars span:nth-child(3)  { animation-delay: -.24s; }
    .cv-footer-stars span:nth-child(4)  { animation-delay: -.36s; }
    .cv-footer-stars span:nth-child(5)  { animation-delay: -.48s; }
    .cv-footer-stars span:nth-child(6)  { animation-delay: -.60s; }
    .cv-footer-stars span:nth-child(7)  { animation-delay: -.72s; }
    .cv-footer-stars span:nth-child(8)  { animation-delay: -.84s; }
    .cv-footer-stars span:nth-child(9)  { animation-delay: -.96s; }
    .cv-footer-stars span:nth-child(10) { animation-delay: -1.08s; }
}
@keyframes cvStarShimmer {
    0%,
    100% {
        opacity: .75;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px) scale(1.12);
    }
}
@media (max-width: 768px) {
    .cv-footer-accent {
        height: 16px;
    }
    .cv-footer-stars {
        right: 18px;
        gap: 3px;
        font-size: .72rem;
    }
}

/**
 *
 */
footer {
    /* background-color: #fff; */
    background: rgba(255, 255, 255, 0.99);
    color: var(--cv-blue-shade-70);
    box-shadow: 0 15px 25px rgba(163, 195, 168, 0.2);
    backdrop-filter: blur(20px); /** @see https://css.glass/ */
    -webkit-backdrop-filter: blur(20px);
}
footer * {
    font-weight: bold;
}
footer a {
    color: var(--cv-red);
}
footer a:hover {
    color: var(--cv-blue);
}
footer ul.social .list-inline-item:not(:last-child) {
    margin-right: 0 !important;
}
@media (max-width: 768px) { /* Mobile L */
    footer ul.social {
        min-width: 30%;
    }
    footer ul.social .list-inline-item:not(:last-child) {
        margin-bottom: .25rem !important;
        padding: 0 !important;
    }
}
@media (min-width: 992px) {
    footer ul:not(.social) li:not(:first-child)::before {
        content: "|";
        padding-left: 10px;
        padding-right: 12px;
        color: var(--bs-secondary-color);
    }
}