@import url("https://use.typekit.net/agn7mvf.css");

/*
 * [FONTS] 
 * @font-face para evitar bloqueio de renderização de texto (FOIT).
 */
@font-face {
    font-family: "built_titling_rg";
    src: url("../assets/fonte/built_titling/built\ titling\ sb.otf") format("opentype");
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

/* ============================================== 
   VARIÁVEIS DE CORES (FUNDO VERDE + TEXTO BRANCO/AMARELO)
   ============================================== */
:root {
    /* Verde - Base para o Fundo e Elementos de Estrutura */
    --green-base: #3e6836;
    --green-glow: rgba(62, 104, 54, 0.4);
    --green-glow-intense: rgba(62, 104, 54, 0.7);
    --green-dark: #081206;

    /* Amarelo - Destaques principais, Botões e Títulos de Impacto */
    --yellow-base: #e7ca3b;
    --yellow-glow: rgba(231, 202, 59, 0.4);
    --yellow-glow-intense: rgba(231, 202, 59, 0.7);

    /* Cores Neutras */
    --white: #ffffff;

    --font-title: "trajan-pro-3", serif;
    --font-body: "built_titling_rg", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: var(--green-base);
    color: var(--white);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    line-height: 1.4;
}

/* ============================================== 
   MODAL SOBREPOSIÇÃO
   ============================================== */
.sobreposicao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 12, 4, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.embreve-card {
    width: 90%;
    max-width: 450px;
    padding: 40px 20px;
    border-radius: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(62, 104, 54, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.embreve-card h1 {
    font-family: var(--font-title);
    color: var(--yellow-base);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.status-text {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
}

.redes-sociais {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.social-label {
    color: var(--white);
    font-family: var(--font-alt);
    font-size: 1.1rem;
}

.social-card {
    background: rgba(62, 104, 54, 0.1);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px dashed rgba(231, 202, 59, 0.3);
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: scale(1.02);
    background: rgba(62, 104, 54, 0.2);
}

.link-instagram a {
    color: var(--yellow-base);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.link-instagram a:hover {
    color: var(--white);
}

/* ============================================== 
   HERO SECTION
   ============================================== */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    /*     justify-content: center; */
    align-items: center;
    padding: 10px 5% 120px 5%;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center,
            var(--green-glow-intense) 20%,
            var(--green-dark) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/oseias-acorda-brasil.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 2rem;
    font-family: var(--font-title);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--yellow-base);
    text-shadow:
        0 0 5px #e7ca3b,
        0 0 35px rgba(231, 202, 59, 0.5),
        0 0 50px rgba(231, 202, 59, 0.3);
}

h1 span {
    font-size: 6rem;
}


h4.data {
    font-size: 2.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1.2rem 0;
    color: var(--white);
    letter-spacing: 1px;
}

.video-apresentacao {
    width: 100%;
    max-width: 840px;
    margin: 0 auto 1.5rem auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 35px var(--green-glow-intense);
    border: 1px solid rgba(231, 202, 59, 0.2);
}

.video-apresentacao iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

.btn-main {
    display: inline-block;
    background: var(--yellow-base);
    color: #051003;
    padding: clamp(12px, 3vw, 15px) clamp(25px, 6vw, 40px);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 900;
    border-radius: 6px;
    text-decoration: none;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    text-transform: uppercase;
    box-shadow: 0 8px 30px var(--yellow-glow-intense);
    font-family: var(--font-title);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--yellow-base);
    background: #f1d54c;
}

/* ============================================== 
   TICKERS (FAIXAS ROTATIVAS)
   ============================================== */
.ticker-container {
    position: absolute;
    bottom: 60px;
    width: 100%;
    overflow: hidden;
    transform: rotate(-2deg);
    z-index: 1;
    background: rgba(4, 10, 3, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(62, 104, 54, 0.6);
    border-bottom: 1px solid rgba(62, 104, 54, 0.6);
}

.ticker-wrap {
    padding: clamp(10px, 2vw, 15px) 0;
    display: flex;
    white-space: nowrap;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: tickerPingPong 500s ease infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 900;
    color: var(--yellow-base);
    text-transform: uppercase;
}

.ticker-item span {
    color: var(--yellow-base);
    text-shadow: 0 0 10px var(--yellow-glow);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--yellow-base);
}

.ticker-container.reverse {
    bottom: 20px;
    transform: rotate(1deg);
    z-index: 1;
}

.ticker-container.reverse .ticker-move {
    animation: tickerPingPongReverse 500s ease infinite;
}

@keyframes tickerPingPong {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-40%);
    }
}

@keyframes tickerPingPongReverse {

    0%,
    100% {
        transform: translateX(-40%);
    }

    50% {
        transform: translateX(0);
    }
}

/* ===================================================
   MODAL
=================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(2, 8, 2, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
    z-index: 99999;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    border-radius: 22px;
    background: rgba(12, 18, 12, 0.55);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(231, 202, 59, 0.35);
    box-shadow:
        0 0 45px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(62, 104, 54, 0.35);
    animation: modalIn 0.35s ease;
}

@keyframes modalIn {
    from {
        transform: translateY(35px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-box h2 {
    text-align: center;
    color: #e7ca3b;
    padding: 2rem 0 0 0;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-title);
    text-shadow:
        0 0 10px rgba(231, 202, 59, 0.4),
        0 0 30px rgba(231, 202, 59, 0.25);
}

.modal-box p {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
    font-family: var(--font-body);
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 15px;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #e7ca3b;
    background: rgba(231, 202, 59, 0.12);
    transform: rotate(90deg);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid rgba(231, 202, 59, 0.18);
    background: rgba(20, 35, 19, 0.92);
    color: #fff;
    font-size: 16px;
    transition: 0.25s;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #e7ca3b;
    box-shadow: 0 0 15px rgba(231, 202, 59, 0.25);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #10210d;
    color: #fff;
}

.modal-box .btn-main {
    width: 100%;
    height: 58px;
    margin-top: 8px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 900;
    transition: 0.35s;
}

.modal-box .btn-main:hover {
    transform: translateY(-2px);
}

.modal-box::-webkit-scrollbar {
    width: 8px;
}

.modal-box::-webkit-scrollbar-track {
    background: transparent;
}

.modal-box::-webkit-scrollbar-thumb {
    background: rgba(231, 202, 59, 0.45);
    border-radius: 20px;
}

/* ===================================================
   TABLETS
=================================================== */

@media (min-width: 768px) {
    .modal-box {
        max-width: 560px;
        padding: 40px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group select {
        height: 58px;
        font-size: 17px;
    }
}

/* =====================================================
   NOTEBOOKS (1024px até 1439px)
===================================================== */

@media screen and (max-width: 1439px) {
    .hero {
        padding: 70px 5% 120px;
    }

    .hero-content {
        max-width: 980px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h4.data {
        font-size: 2rem;
    }

    .video-apresentacao {
        max-width: 760px;
    }

    .btn-main {
        font-size: 0.95rem;
        padding: 14px 36px;
    }

    .ticker-item,
    .ticker-item span {
        font-size: 1.2rem;
    }

    .modal-box {
        max-width: 600px;
    }
}

/* =====================================================
   TABLETS (768px até 1023px)
===================================================== */

@media screen and (max-width: 1023px) {
    .hero {
        min-height: auto;
        padding: 70px 6% 130px;
    }

    .hero-content {
        max-width: 100%;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h4.data {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .video-apresentacao {
        width: 100%;
        max-width: 100%;
    }

    .btn-main {
        width: 100%;
        max-width: 420px;
        margin: auto;
    }

    .ticker-container {
        bottom: 50px;
    }

    .ticker-container.reverse {
        bottom: 18px;
    }

    .ticker-item,
    .ticker-item span {
        font-size: 1rem;
    }

    .modal-box {
        width: 90%;
        max-width: 560px;
        padding: 35px;
    }
}

/* =====================================================
   CELULARES MODERNOS
   (390px até 767px)
===================================================== */

@media screen and (max-width: 767px) {
    .hero {
        padding: 60px 22px 120px;
        min-height: 100vh;
    }

    .hero-bg {
        background-position: center top;
        opacity: 0.18;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    h1 span {
        font-size: 5rem;
    }

    h4.data {
        font-size: 1.35rem;
        margin-bottom: 22px;
    }

    .video-apresentacao {
        border-radius: 10px;
        margin-bottom: 22px;
    }

    .btn-main {
        width: 100%;
        font-size: 0.95rem;
        padding: 15px;
    }

    .ticker-container {
        bottom: 48px;
        transform: rotate(-1deg);
    }

    .ticker-container.reverse {
        bottom: 18px;
        transform: rotate(1deg);
    }

    .ticker-item,
    .ticker-item span {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .modal-overlay {
        padding: 18px;
    }

    .modal-box {
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        padding: 28px 22px;
        border-radius: 18px;
    }

    .modal-box h2 {
        font-size: 1.7rem;
        padding-top: 1.5rem;
    }

    .modal-box h2 span {
        font-size: 4.5rem;
    }

    .modal-box p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group select {
        height: 54px;
        font-size: 16px;
    }

    .modal-box .btn-main {
        height: 56px;
        font-size: 1rem;
    }
}