/*
 * Vaciname brand overrides for the Spectral template (site/spectral/assets/css/main.css).
 * Loaded after main.css; keep the vendor file untouched.
 */

:root {
    --navy: #0b2a55;
    --navy-dark: #061a38;
    --blue: #2a8fd4;
    --blue-light: #8cc8f0;
    --primary: #2a78d6;
    --primary-dark: #1c5cab;
}

body {
    background: var(--navy-dark);
}

/* Header */
#header {
    background: rgba(6, 26, 56, .95);
}

#header h1 img {
    vertical-align: middle;
}

#header nav > ul > li.nav-cta > a {
    display: inline-block;
    margin-right: .5em;
    padding: 0 1.25em;
    line-height: 2.4em;
    border-radius: 2em;
    background: var(--primary);
    letter-spacing: .1em;
    transition: background-color .2s;
}

#header nav > ul > li.nav-cta > a:hover {
    background: var(--primary-dark);
}

/* Side menu */
#menu {
    background: var(--navy);
}

#menu ul li a:hover {
    color: var(--blue-light);
}

/* Banner: navy-tinted overlay instead of plain black */
body.landing #page-wrapper {
    background-image: linear-gradient(to bottom, rgba(11, 42, 85, .78), rgba(6, 26, 56, .88)), url("spectral/images/banner.webp");
}

/* The template points the mobile banner at banner.jpg, which does not exist */
body.is-mobile.landing #banner,
body.is-mobile.landing .wrapper.style4 {
    background-image: linear-gradient(to bottom, rgba(11, 42, 85, .78), rgba(6, 26, 56, .88)), url("spectral/images/banner.webp");
}

#banner .banner-lead {
    max-width: 32em;
    margin: 0 auto 2em auto;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Intro fade-out overlay in navy instead of the template gray */
#banner:after {
    background: var(--navy-dark);
}

#banner .actions {
    margin-bottom: 0;
}

#banner .more:after {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .3));
}

/* Buttons */
.button,
button {
    border-radius: 2em;
}

.button.primary,
button.primary {
    background-color: var(--primary);
}

.button.primary:hover,
button.primary:hover {
    background-color: var(--primary-dark) !important;
}

.button.primary:active,
button.primary:active {
    background-color: #164a8a !important;
}

/* Section colors */
.wrapper.style1 {
    background-color: var(--navy);
    color: #c9d6e8;
}

.wrapper.style2 {
    background-color: var(--navy-dark);
}

.wrapper.style3 {
    background-color: var(--primary);
    color: #dbe8f8;
}

.wrapper.style1 header.major h2,
.wrapper.style3 header.major h2 {
    border-color: rgba(255, 255, 255, .35);
}

.wrapper.style1 header.major p {
    color: #c9d6e8;
}

.wrapper.style3 header.major p {
    color: #dbe8f8;
}

/* Quem somos: mission, vision and values cards */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin: 0 auto;
    max-width: 60em;
    text-align: left;
}

.values .value {
    padding: 1.75em 1.5em;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.values .value .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75em;
    height: 2.75em;
    margin-bottom: 1em;
    border-radius: .6rem;
    background: rgba(42, 143, 212, .25);
    color: var(--blue-light);
    border: 0;
}

.values .value h3 {
    font-size: .9em;
    margin-bottom: .5em;
}

.values .value p {
    margin: 0;
    font-size: .95em;
    line-height: 1.7;
}

@media screen and (max-width: 980px) {
    .values {
        grid-template-columns: 1fr;
        max-width: 32em;
    }
}

/* Spotlights: keep a hint of the brand over the photos */
.spotlight .image img {
    filter: saturate(.9);
}

/* Alcance: highlighted figure */
.stat {
    margin: 1em 0 1.5em 0;
}

.stat-number {
    display: block;
    color: #fff;
    font-size: 4.5em;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: .75em;
    color: #fff;
    font-weight: 600;
}

.stat-source {
    display: block;
    margin-top: .25em;
    font-size: .8em;
    opacity: .8;
}

/* Contato */
#cta .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cta .contact-list a {
    color: #fff;
    border-bottom: 1px dotted rgba(255, 255, 255, .5);
}

#cta .contact-list a:hover {
    color: var(--blue-light) !important;
    border-bottom-color: transparent;
}

#cta .contact-list .icon {
    margin-right: .5em;
    color: var(--blue-light);
}

/* Footer */
body.landing #footer,
body.is-mobile.landing #footer {
    background-color: rgba(6, 26, 56, .95);
    padding: 3em 2em 2em 2em;
}

#footer .copyright li a {
    color: inherit;
}

#footer .copyright li a:hover {
    color: var(--blue-light) !important;
}
