@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Teko:wght@400;500;600;700&display=swap');

:root {
    --laranja: #d97218;
    --laranja-claro: #f3a742;
    --amarelo: #d4a92c;
    --preto: #161411;
    --carvao: #221d19;
    --cinza: #5c554c;
    --vermelho: #8e3b27;
    --branco: #e9e2d5;
    --azureish: #d7d1c3;
    --areia: #c8b79c;
    --musgo: #44503a;
    --pedra: #f3ede4;
    --borda: rgba(34, 29, 25, 0.12);
    --sombra: 0 18px 45px rgba(17, 13, 10, 0.14);
}

html {
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    scroll-behavior: smooth;
}

body {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(243, 167, 66, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(68, 80, 58, 0.12), transparent 28%),
        linear-gradient(180deg, #efe8db 0%, #e6ddd1 48%, #ddd3c4 100%) !important;
    margin: 0;
    padding: 0;
    color: var(--carvao);
    font-family: "IBM Plex Sans", sans-serif !important;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(22, 20, 17, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 20, 17, 0.02) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.35;
    z-index: 0;
}

header,
main,
footer,
article {
    position: relative;
}

header {
    z-index: 20;
}

main,
footer,
article {
    z-index: 1;
}

.light-bg {
    background: rgba(243, 237, 228, 0.86) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(22, 20, 17, 0.08);
}

.navbar {
    box-shadow: 0 12px 30px rgba(22, 20, 17, 0.08);
}

.img-icon {
    width: 210px;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.nav-link {
    color: var(--carvao) !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.25rem;
    height: 2px;
    background: linear-gradient(90deg, var(--laranja), var(--amarelo));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--vermelho) !important;
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 1px solid rgba(22, 20, 17, 0.12) !important;
    background: rgba(255, 255, 255, 0.5);
}

.dropdown-menu {
    z-index: 1100 !important;
    border: 1px solid rgba(22, 20, 17, 0.08) !important;
    border-radius: 1rem !important;
    background: rgba(243, 237, 228, 0.96) !important;
    box-shadow: var(--sombra);
    padding: 0.8rem;
}

.dropdown-item {
    border-radius: 0.7rem !important;
    font-weight: 600;
    color: var(--carvao) !important;
    padding: 0.7rem 0.9rem !important;
}

.dropdown-item:hover {
    background: rgba(217, 114, 24, 0.12) !important;
    color: var(--vermelho) !important;
}

.banner-title,
h1,
h2,
h3,
h4,
h5,
.footer-title {
    font-family: "Teko", sans-serif !important;
    letter-spacing: 0.03em;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--carvao);
}

.fs-58 {
    font-size: clamp(3.2rem, 7vw, 5.8rem) !important;
    line-height: 0.92;
}

.fs-42 {
    font-size: clamp(2rem, 4vw, 3.6rem) !important;
}

.btn-OrangeBlack,
.btn-BlackOrange,
.btn-outline-warning,
.btn-secondary {
    border-radius: 0.95rem !important;
    padding: 0.82rem 1.25rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease !important;
}

.btn-OrangeBlack {
    background: linear-gradient(135deg, var(--laranja), var(--laranja-claro)) !important;
    color: #fff7ed !important;
    border-color: transparent !important;
}

.btn-OrangeBlack:hover {
    background: linear-gradient(135deg, #b95f13, #d28a22) !important;
    color: #fffaf2 !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(185, 95, 19, 0.25) !important;
}

.btn-BlackOrange {
    background: rgba(255, 248, 239, 0.7) !important;
    color: var(--laranja) !important;
    border: 1px solid rgba(217, 114, 24, 0.35) !important;
}

.btn-BlackOrange:hover {
    background: rgba(217, 114, 24, 0.12) !important;
    color: var(--vermelho) !important;
    border-color: rgba(142, 59, 39, 0.35) !important;
    transform: translateY(-1px);
}

.btn-outline-warning {
    background: rgba(255, 248, 239, 0.75) !important;
    color: var(--laranja) !important;
    border: 1px solid rgba(217, 114, 24, 0.35) !important;
}

.btn-outline-warning:hover {
    background: rgba(217, 114, 24, 0.14) !important;
    color: var(--vermelho) !important;
    border-color: rgba(142, 59, 39, 0.4) !important;
}

.btn-font {
    font-size: 1rem !important;
}

.p-btn {
    padding: 1rem 1.45rem !important;
}

.icons {
    width: 108px;
    height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.14));
}

.section-challenges,
.section-contact,
.section-separation {
    position: relative;
}

.section-challenges {
    background:
        linear-gradient(135deg, rgba(34, 29, 25, 0.96), rgba(52, 45, 38, 0.92)),
        linear-gradient(45deg, rgba(243, 167, 66, 0.07), rgba(255, 255, 255, 0));
    color: #f3ede4;
    padding: 110px 24px;
    overflow: hidden;
}

.section-challenges::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(243, 167, 66, 0.14), transparent 20%),
        radial-gradient(circle at 90% 85%, rgba(212, 169, 44, 0.12), transparent 18%);
    pointer-events: none;
}

.section-challenges h2,
.section-challenges p {
    color: #f3ede4;
}

.section-challenges .btn-OrangeBlack {
    align-self: center;
}

.p-challenge {
    width: min(100%, 28rem);
    line-height: 1.75;
    color: rgba(243, 237, 228, 0.82);
}

.text-justify,
.paragrafos {
    text-align: justify;
}

.section-separation {
    margin-top: 56px;
}

.section-footer {
    background:
        linear-gradient(180deg, rgba(26, 23, 20, 0.98), rgba(15, 13, 12, 0.98));
    border-top: 1px solid rgba(243, 167, 66, 0.18);
}

.webnetti-reference {
    color: #fff1d8;
}

.footer-title {
    font-size: 2rem;
    color: #fff3df !important;
}

.footer-infos {
    color: rgba(242, 231, 216, 0.78) !important;
    line-height: 1.7;
}

.body-login {
    background:
        linear-gradient(135deg, rgba(20, 18, 16, 0.82), rgba(58, 44, 27, 0.72)),
        url(fundologin.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100vw;
    min-height: 100vh;
}

.body-login::before {
    opacity: 0.12;
}

.login-img {
    width: 100%;
    height: auto;
    max-width: 220px;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.25));
}

.card-background,
.card,
.swift-theme-card {
    background: rgba(243, 237, 228, 0.82) !important;
    border: 1px solid var(--borda) !important;
    border-radius: 1.35rem !important;
    box-shadow: var(--sombra) !important;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(22, 20, 17, 0.07) !important;
}

.bg-secondary-transparent {
    background: linear-gradient(180deg, rgba(19, 18, 16, 0.22), rgba(19, 18, 16, 0.74)) !important;
    backdrop-filter: blur(8px);
}

.banner-carousel {
    height: 420px;
}

.banner-carousel .carousel-item {
    height: 420px;
}

.banner-carousel .carousel-item img,
.carousel-item-fixed-height img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border: 1px solid rgba(22, 20, 17, 0.08);
}

.section-contact {
    background:
        linear-gradient(135deg, rgba(217, 114, 24, 0.92), rgba(173, 86, 21, 0.92));
    color: #fff7ef;
    overflow: hidden;
}

.section-contact h1,
.section-contact label {
    color: #fffaf3;
}

.section-contact .form-control,
.section-contact textarea {
    background: rgba(255, 250, 244, 0.92) !important;
}

.fundo-desafios {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    margin-bottom: -40px;
}

.fundo-desafios::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(21, 19, 20, 0.58), rgba(217, 114, 24, 0.18)),
        url(FundoDesafio1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

.btn-topo {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 16px;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0) !important;
    color: var(--laranja) !important;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.btn-topo.ativo {
    display: block;
}

.form-titulo {
    background: linear-gradient(135deg, var(--laranja), var(--laranja-claro)) !important;
}

.form-btn:hover {
    background-color: var(--cinza) !important;
    color: var(--branco) !important;
}

.carousel-item-fixed-height {
    height: 620px !important;
}

.accordion,
.accordion-item,
.accordion-button,
.accordion-body {
    background-color: rgba(243, 237, 228, 0.76) !important;
}

.accordion-item {
    border: 1px solid rgba(22, 20, 17, 0.08) !important;
    border-radius: 1rem !important;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(22, 20, 17, 0.06);
}

.accordion-button {
    color: var(--carvao) !important;
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    color: var(--vermelho) !important;
}

.container-web {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

.imagem-responsiva {
    width: 100%;
    object-fit: contain;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: var(--sombra);
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.card-bg {
    background-color: rgba(233, 226, 213, 0.82) !important;
}

.barra-inferior {
    background: rgba(22, 20, 17, 0.92) !important;
    color: #efe8db !important;
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(243, 167, 66, 0.15);
}

.cel-icons {
    color: #efe8db !important;
}

.bg-table {
    background-color: var(--laranja) !important;
}

.bg-standard {
    background-color: rgba(243, 237, 228, 0.85) !important;
}

.bg-OrangeGuerreiros {
    background-color: var(--laranja);
}

.container .card p,
.container .card label,
.container .card a:not(.btn),
.container .card li,
.container .card span,
.container .card h6 {
    color: var(--carvao);
}

.form-control,
.form-select,
textarea,
input[type="time"] {
    border-radius: 0.95rem !important;
    border: 1px solid rgba(22, 20, 17, 0.12) !important;
    padding: 0.9rem 0.95rem !important;
    background: rgba(255, 252, 246, 0.84) !important;
    color: var(--carvao) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input[type="time"]:focus {
    border-color: rgba(217, 114, 24, 0.45) !important;
    box-shadow: 0 0 0 0.2rem rgba(217, 114, 24, 0.12) !important;
}

.alert {
    border: 1px solid rgba(22, 20, 17, 0.08) !important;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(22, 20, 17, 0.06);
}

.table,
.dataTable {
    border-radius: 1rem;
    overflow: hidden;
}

.hero-shell,
.terrain-card,
.story-panel,
.system-panel {
    background: rgba(243, 237, 228, 0.78);
    border: 1px solid rgba(22, 20, 17, 0.08);
    border-radius: 1.5rem;
    box-shadow: var(--sombra);
}

.hero-shell {
    overflow: hidden;
}

.hero-carousel-wrapper {
    height: 620px;
    overflow: hidden;
}

.hero-panel {
    padding: clamp(1.2rem, 2.5vw, 2.5rem);
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(217, 114, 24, 0.1);
    color: var(--vermelho);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 42rem;
    color: rgba(34, 29, 25, 0.82);
    line-height: 1.6;
    font-size: 1rem;
}

.hero-actions,
.story-actions,
.system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-metrics,
.terrain-grid,
.story-grid,
.system-grid {
    display: grid;
    gap: 1rem;
}

.hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
}

.metric-card,
.terrain-card,
.story-panel,
.system-panel {
    padding: 1.15rem 1.2rem;
}

.metric-card {
    padding: 0.85rem 1rem;
    background: rgba(32, 29, 25, 0.92);
    color: #f3ede4;
    border-radius: 1.2rem;
    box-shadow: 0 18px 28px rgba(22, 20, 17, 0.16);
}

.metric-card strong {
    display: block;
    font-family: "Teko", sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: #fff6e8;
}

.metric-card span {
    color: rgba(243, 237, 228, 0.68);
    font-size: 0.9rem;
}

.terrain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.terrain-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.terrain-card::before {
    content: "";
    position: absolute;
    inset: auto -35% -35% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 114, 24, 0.14), transparent 65%);
    pointer-events: none;
}

.terrain-card h2,
.story-panel h2,
.system-panel h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.terrain-card p,
.story-panel p,
.system-panel p {
    color: rgba(34, 29, 25, 0.78);
    line-height: 1.75;
}

.story-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
}

.story-image {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: var(--sombra);
}

.story-image img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.story-list {
    display: grid;
    gap: 1rem;
}

.story-item {
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    background: rgba(255, 252, 246, 0.72);
    border: 1px solid rgba(22, 20, 17, 0.08);
}

.story-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.contact-panel {
    padding: clamp(2rem, 4vw, 3rem);
}

.contact-panel .btn-secondary {
    background: rgba(255, 247, 237, 0.16) !important;
    border: 1px solid rgba(255, 247, 237, 0.35) !important;
}

.contact-panel .btn-secondary:hover {
    background: rgba(255, 247, 237, 0.24) !important;
    color: #fff8ef !important;
}

.news-shell {
    display: grid;
    gap: 1.6rem;
}

.news-entry {
    padding: 1.6rem 1.7rem;
    background: rgba(243, 237, 228, 0.8);
    border: 1px solid rgba(22, 20, 17, 0.08);
    border-radius: 1.25rem;
    box-shadow: var(--sombra);
}

.news-entry time {
    color: rgba(34, 29, 25, 0.54);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.news-entry h4 {
    font-size: 2rem;
    margin-top: 0.55rem;
}

.system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-panel a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0;
    color: var(--vermelho) !important;
    font-weight: 700;
    text-decoration: none;
}

.system-panel a:hover {
    color: var(--laranja) !important;
}

@media (max-width: 991px) {
    .img-icon {
        width: 180px;
    }

    .carousel-item-fixed-height {
        height: 350px !important;
    }

    .hero-carousel-wrapper {
        height: 350px;
    }

    .hero-metrics,
    .terrain-grid,
    .story-grid,
    .system-grid {
        grid-template-columns: 1fr;
    }

    .section-challenges {
        padding: 84px 20px;
    }

    .section-footer {
        padding-bottom: 96px !important;
    }
}

@media (max-width: 767px) {
    .carousel-item-fixed-height,
    .banner-carousel,
    .banner-carousel .carousel-item {
        height: 260px !important;
    }

    .hero-carousel-wrapper {
        height: 260px;
    }

    .section-destaques {
        max-height: 250px !important;
    }

    .carousel-inner-not img {
        height: 200px !important;
        width: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-not,
    .carousel-control-next-not {
        height: 200px;
    }

    .h-sm-200 {
        height: 200px;
    }

    .margin-top-sm {
        margin-top: 20px !important;
    }

    .w-sm-100 {
        width: 100% !important;
    }

    .hero-panel,
    .contact-panel {
        padding: 1.5rem;
    }

    .metric-card strong {
        font-size: 1.7rem;
    }
}

@media (max-height: 820px) {
    .fs-58 {
        font-size: clamp(2rem, 4vw, 3.6rem) !important;
    }

    .hero-panel {
        padding: clamp(0.9rem, 1.6vw, 1.4rem);
    }

    .hero-copy {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 0.75rem !important;
    }

    .hero-metrics {
        margin-top: 0.6rem;
        gap: 0.6rem;
    }

    .metric-card {
        padding: 0.55rem 0.8rem;
    }

    .metric-card strong {
        font-size: 1.6rem;
    }
}

@media (max-height: 820px) and (min-width: 992px) {
    .carousel-item-fixed-height {
        height: 460px !important;
    }

    .hero-carousel-wrapper {
        height: 460px;
    }

    .hero-metrics {
        margin-top: 1rem;
    }
}

@media (min-height: 821px) and (min-width: 992px) {
    .hero-carousel-wrapper {
        margin-top: 2.4rem;
    }
}
