/* =========================================================
   COMUNIDADE UNIDOS EM CRISTO
   STYLE.CSS
   ========================================================= */

/* =========================
   VARIÁVEIS
   ========================= */

:root {
    --red: #b91f1f;
    --red-dark: #7f1010;
    --red-light: #ed3838;

    --gold: #a68b4e;
    --gold-dark: #806522;

    --cream: #fbf6e9;
    --paper: #fffdf8;

    --ink: #171717;
    --muted: #666;
    --white: #ffffff;

    --shadow: 0 14px 35px rgba(65, 30, 12, 0.16);

    --radius: 22px;
    --max: 1180px;
}


/* =========================
   RESET
   ========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}


/* =========================
   ESTRUTURA GERAL
   ========================= */

.container {
    width: min(var(--max), 92%);
    margin: auto;
}

.section {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 42px;
}


/* =========================
   HEADER / MENU
   ========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(95, 10, 10, 0.94);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #fff;

    font-weight: 800;
}

.brand img {
    width: 48px;
    height: 48px;

    object-fit: contain;
}

.brand span {
    font-size: 12px;
    line-height: 1.1;

    text-transform: uppercase;
    letter-spacing: 0.3px;
}


/* MENU */

.menu {
    display: flex;
    align-items: center;

    gap: 26px;

    color: #fff;

    font-size: 13px;
    font-weight: 600;
}

.menu a {
    opacity: 0.9;

    transition: 0.2s;
}

.menu a:hover,
.menu a.active {
    opacity: 1;
    color: #f1d58b;
}


/* BOTÃO DO HEADER */

.nav-cta,
.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border: 0;

    border-radius: 999px;

    padding: 13px 22px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.nav-cta {
    background: #f0d58b;

    color: #4d270f;

    font-size: 12px;
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}


/* BOTÃO MOBILE */

.mobile-toggle {
    display: none;

    background: none;

    border: 0;

    color: #fff;

    font-size: 28px;

    cursor: pointer;
}


/* =========================
   PÁGINA DE LOGIN
   ========================= */

.login-page {
    min-height: 100vh;

    display: grid;
    place-items: center;

    padding: 110px 20px 40px;

    background:
        radial-gradient(circle at 20% 20%, rgba(240, 213, 139, 0.28), transparent 32%),
        linear-gradient(145deg, #fffaf0, #f6edda 65%, #ead7a4);
}

.login-card {
    width: min(100%, 440px);

    padding: 42px;

    background: rgba(255, 253, 248, 0.96);
    border-top: 5px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.register-card {
    width: min(100%, 500px);
}

.login-logo {
    display: block;

    margin: 0 auto 18px;
}

.login-logo img {
    width: 128px;
    height: 128px;

    object-fit: contain;

    margin: 0 auto;
}

.login-card h1 {
    color: var(--red-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 2.7rem);
    text-align: center;
}

.login-card > p {
    margin: 8px auto 30px;

    color: var(--muted);
    text-align: center;
}

.register-note {
    padding: 12px 14px;

    border-left: 3px solid var(--gold);

    background: #f6edda;
    color: #6a5732;
    font-size: 0.82rem;
    text-align: left;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form label {
    display: grid;
    gap: 7px;

    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 700;
}

.login-form input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d8c9a9;
    border-radius: 8px;

    background: #fff;
    color: var(--ink);
    font: inherit;
}

.login-form input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
    border-color: var(--gold);
}

.login-submit {
    width: 100%;
    margin-top: 4px;
}

.login-help {
    display: block;

    color: var(--red);
    font-size: 0.82rem;
    text-align: center;
}

.login-help:hover {
    text-decoration: underline;
}

.login-back {
    width: 100%;

    border: 1px solid var(--gold);

    color: var(--red-dark);
    font-size: 0.9rem;
}

.login-back:hover {
    background: #f6edda;
}

.utility-page,
.member-page,
.document-page {
    min-height: 100vh;
    padding: 70px 20px;

    background:
        radial-gradient(circle at 80% 15%, rgba(240, 213, 139, 0.3), transparent 30%),
        linear-gradient(145deg, #fffaf0, #f6edda 65%, #ead7a4);
}

.utility-page {
    display: grid;
    place-items: center;
}

.utility-card {
    width: min(100%, 520px);
    padding: 46px 42px;

    background: rgba(255, 253, 248, 0.96);
    border-top: 5px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.status-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.status-success { background: #3e8560; }
.status-pending { background: var(--gold); }
.status-error { background: var(--red); }

.utility-card h1 {
    color: var(--red-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 2.7rem);
}

.utility-card p {
    margin: 14px auto 26px;
    max-width: 410px;
    color: var(--muted);
}

.utility-link,
.document-back {
    display: block;
    margin-top: 18px;
    color: var(--red);
    font-size: 0.85rem;
}

.utility-link:hover,
.document-back:hover {
    text-decoration: underline;
}

.member-page {
    padding-top: 90px;
}

.member-panel {
    width: min(var(--max), 92%);
    margin: auto;
    padding: clamp(28px, 5vw, 56px);

    background: rgba(255, 253, 248, 0.96);
    border-top: 5px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.member-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.member-header h1 {
    margin: 4px 0 8px;
    color: var(--red-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.member-header p {
    color: var(--muted);
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.member-item {
    padding: 24px;
    border: 1px solid #e1d5bd;
    border-radius: 12px;
    background: #fff;
}

.member-item > span {
    color: var(--gold-dark);
    font-size: 1.8rem;
}

.member-item h2 {
    margin: 12px 0 7px;
    color: var(--red-dark);
    font-size: 1.05rem;
}

.member-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

.document-page {
    padding-top: 50px;
}

.document-card {
    width: min(100%, 820px);
    margin: auto;
    padding: clamp(28px, 6vw, 64px);

    background: rgba(255, 253, 248, 0.96);
    border-top: 5px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.document-card h1 {
    margin: 30px 0 14px;
    color: var(--red-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.3rem);
}

.document-card h2 {
    margin: 30px 0 8px;
    color: var(--red-dark);
    font-size: 1.2rem;
}

.document-card p {
    color: #4d463d;
}

.document-intro {
    font-size: 1.05rem;
}

.document-note {
    margin-top: 36px;
    padding: 14px;
    border-left: 3px solid var(--gold);
    background: #f6edda;
    font-size: 0.85rem;
}


/* =========================
   HERO
   ========================= */

.hero {
    padding: 128px 0 70px;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(255, 255, 255, 0.95),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #fffaf0,
            #f6edda 65%,
            #ead7a4
        );

    border-bottom: 8px solid var(--gold);
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 48px;

    align-items: center;
}

.hero-logo {
    width: 230px;

    margin: 0 auto 16px;
}

.hero-copy {
    text-align: center;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.1rem);

    line-height: 1.03;

    text-transform: uppercase;
}

.hero-title .gold {
    color: var(--gold-dark);
}

.hero-title .red {
    color: var(--red);
}

.hero-copy p {
    margin: 24px auto;

    max-width: 570px;
}

.hero-actions {
    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* BOTÕES */

.btn-red {
    background: var(--red);

    color: #fff;

    box-shadow:
        0 8px 20px rgba(139, 16, 16, 0.3);
}

.btn-gold {
    background: var(--gold);

    color: #fff;
}


/* BLOCO ASSOCIADO */

.associate {
    text-align: center;

    border-left: 1px solid #c9a85f;

    padding-left: 42px;
}

.script {
    font-family: "Playfair Display", serif;

    font-style: italic;

    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.script span {
    color: var(--red);
}

.hero-mini {
    display: flex;

    justify-content: center;

    gap: 22px;

    margin-top: 35px;
}

.hero-mini img {
    width: 112px;
    height: 112px;

    object-fit: cover;

    border-radius: 14px;

    box-shadow: var(--shadow);
}

.hero-mini img:first-child {
    transform: scaleX(-1);
}


/* =========================
   SEÇÃO BEM-VINDOS
   ========================= */

.welcome {
    background:
        linear-gradient(
            135deg,
            #8e1010,
            #d91f1f 55%,
            #a91212
        );

    color: #fff;
}

.welcome::after,
.red-section::after {
    content: "";

    position: absolute;

    left: -10%;
    right: -10%;
    bottom: -65px;

    height: 130px;

    background: var(--paper);

    border-radius:
        50% 50% 0 0 /
        40% 40% 0 0;
}

.video-wrap {
    width: min(720px, 100%);

    margin: auto;

    position: relative;

    aspect-ratio: 16 / 9;
}

.video-preview,
.video-wrap iframe {
    width: 100%;
    height: 100%;

    border-radius: 24px;

    border: 3px solid #2d2d2d;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35);
}

.video-preview {
    position: relative;

    display: block;

    padding: 0;

    overflow: hidden;

    cursor: pointer;
}

.video-preview img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 72px;
    height: 50px;

    border-radius: 14px;

    background: rgba(255, 0, 0, 0.68);

    color: #fff;

    display: grid;

    place-items: center;

    font-size: 24px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3);
}


/* =========================
   QUEM SOMOS
   ========================= */

.about {
    background: #fff;
}

.about-grid {
    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    gap: 60px;

    align-items: center;
}

.eyebrow {
    color: var(--red);

    font-weight: 800;

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 1px;
}

.about h2 {
    text-align: left;

    margin: 8px 0 16px;
}

.about-photo {
    border: 8px solid #fff;

    border-radius: 22px;

    box-shadow: var(--shadow);

    outline: 5px solid var(--gold);
}


/* INDICADORES */

.stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 34px;
}

.stat strong {
    display: block;

    color: var(--red);

    font-size: 1.35rem;
}

.stat small {
    color: var(--muted);
}


/* =========================
   COMO ATUAMOS
   ========================= */

.red-section {
    background:
        linear-gradient(
            145deg,
            #ed2c2c,
            #ad1515
        );

    color: #fff;
}


/* CARDS */

.cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.card {
    background: #fff;

    color: var(--ink);

    padding: 28px;

    border-radius: 22px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.2);

    min-height: 230px;
}

.card-icon {
    font-size: 25px;

    font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif;

    color: var(--red-dark);

    text-align: center;

    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.05rem;

    margin-bottom: 12px;
}

.card p {
    font-size: 0.9rem;

    color: #555;
}

.center-btn {
    display: flex;

    justify-content: center;

    margin-top: 35px;
}


/* =========================
   FUNDADORES
   ========================= */

.founders {
    background: #fff;
}

.founder-grid {
    display: grid;

    grid-template-columns:
        0.85fr 1fr 0.95fr;

    gap: 40px;

    align-items: center;
}

.founder-photos {
    display: grid;

    gap: 18px;
}

.founder-photos img {
    border-radius: 20px;

    border: 6px solid #fff;

    outline: 4px solid var(--gold);

    box-shadow: var(--shadow);
}

.founder-copy h2 {
    text-align: left;

    margin-bottom: 20px;
}

.founder-copy p {
    color: #666;

    margin-bottom: 22px;
}


/* CARDS DOS FUNDADORES */

.founder-cards {
    display: grid;

    gap: 16px;
}

.founder-card {
    background: #a89663;

    color: #fff;

    border-radius: 20px;

    padding: 22px;

    box-shadow: var(--shadow);
}

.founder-card h3 {
    font-size: 1rem;

    margin-bottom: 5px;
}

.founder-card p {
    font-size: 0.85rem;
}


/* =========================
   COMUNHÃO
   ========================= */

.communion {
    background: #fdfaf1;
}

.communion-box {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    background: #a89663;

    border-radius: 26px;

    padding: 20px;

    color: #fff;

    box-shadow: var(--shadow);
}

.communion-box img {
    border-radius: 20px;

    border: 6px solid #fff;
}

.values {
    padding: 30px 40px;

    display: grid;

    gap: 25px;
}

.value h3 {
    font-size: 1.05rem;
}

.value p {
    font-size: 0.9rem;

    opacity: 0.92;
}


/* =========================
   ASSOCIAÇÃO
   ========================= */

.plans-section {
    background:
        linear-gradient(
            145deg,
            #d92525,
            #a91010
        );

    color: #fff;
}

.plans {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    align-items: stretch;
}


/* PLANO */

.plan {
    position: relative;

    background: #fff;

    color: var(--ink);

    border-radius: 20px;

    padding: 35px 25px 28px;

    text-align: center;

    box-shadow: var(--shadow);
}

.plan-badge {
    position: absolute;

    top: -20px;
    left: 50%;

    transform: translateX(-50%);

    width: 54px;
    height: 54px;

    border-radius: 50%;

    background: var(--gold);

    border: 3px solid #fff;

    display: grid;

    place-items: center;

    color: #fff;

    font-size: 22px;
}

.plan-badge img {
    width: 36px;
    height: 36px;

    object-fit: contain;
}

.plan h3 {
    font-size: 1.5rem;

    margin: 12px 0;
}

.plan hr {
    width: 80px;

    margin: 10px auto;

    border: 0;

    border-top: 2px solid var(--gold);
}

.plan p {
    font-size: 0.88rem;
}

.price {
    font-size: 1.9rem;

    font-weight: 800;

    color: #2795c8;

    margin: 16px 0;
}

.price span {
    font-size: 1rem;

    color: var(--gold);
}

.plan ul {
    list-style: none;

    text-align: left;

    margin: 18px 0;

    font-size: 0.82rem;

    color: #555;
}

.plan li {
    margin: 6px 0;
}

.plan li::before {
    content: "✓";

    color: #1688b9;

    font-weight: 800;

    margin-right: 7px;
}


/* =========================
   DOAÇÕES
   ========================= */

.donations {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;

    margin-top: 20px;
}

.donation {
    background: #ead27f;

    color: #3b2b0d;

    border-radius: 18px;

    padding: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.donation h3 {
    font-size: 1.1rem;
}

.donation p {
    font-size: 0.9rem;
}

.security {
    text-align: center;

    font-size: 0.8rem;

    margin-top: 22px;
}


/* =========================
   NOTÍCIAS
   ========================= */

#noticias {
    background: #fff;
}


/* =========================
   VERSÍCULO
   ========================= */

.verse {
    background: #fff;

    padding: 65px 0;

    border-top:
        12px solid #f5c5c5;

    border-bottom:
        12px solid #f06a6a;
}

.verse blockquote {
    max-width: 980px;

    margin: auto;

    text-align: center;

    font-family:
        "Playfair Display",
        serif;

    font-style: italic;

    font-size:
        clamp(1.1rem, 2vw, 1.55rem);

    color: #777;
}

.verse cite {
    display: block;

    text-align: right;

    margin-top: 18px;

    font-family: Inter, sans-serif;

    font-size: 0.9rem;

    color: var(--red);
}


/* =========================
   RODAPÉ
   ========================= */

footer {
    background: #640909;

    color: #fff;

    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.25fr 1fr 1fr 1fr;

    gap: 30px;

    align-items: start;
}

.footer-brand .brand {
    display: inline-flex;
}

.footer-brand .brand img {
    width: 48px;
    height: 48px;

    object-fit: contain;
}

.footer-brand > p,
.footer-address p {
    color: rgba(255, 255, 255, 0.74);

    font-size: 0.82rem;
}

.footer-brand > p {
    max-width: 220px;

    margin-top: 14px;
}

.footer-grid h2 {
    color: #f1d58b;

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    margin-bottom: 14px;
}

.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 7px;

    font-size: 0.85rem;
}

.footer-links a {
    transition: 0.2s;
}

.footer-links a:hover {
    color: #f1d58b;
}

.social {
    display: flex;

    justify-content: flex-start;

    gap: 15px;
}

.social a {
    width: 38px;
    height: 38px;

    border:
        1px solid rgba(255, 255, 255, 0.3);

    border-radius: 50%;

    display: grid;

    place-items: center;

    transition: 0.2s;
}

.social svg {
    width: 18px;
    height: 18px;

    color: #fff;
}

.social a:hover {
    background: var(--gold);

    border-color: var(--gold);

    transform: translateY(-3px);
}

.copyright {
    text-align: center;

    font-size: 0.72rem;

    opacity: 0.7;

    margin-top: 28px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);
}


/* =========================
   RESPONSIVIDADE
   TABLET
   ========================= */

@media (max-width: 980px) {

    .menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-grid,
    .about-grid,
    .founder-grid,
    .communion-box {
        grid-template-columns: 1fr;
    }

    .associate {
        border-left: 0;

        border-top:
            1px solid #c9a85f;

        padding:
            35px 0 0;
    }

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

    .founder-grid {
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-brand > p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        align-items: center;
    }

    .social {
        justify-content: center;
    }
}


/* =========================
   RESPONSIVIDADE
   CELULAR
   ========================= */

@media (max-width: 640px) {

    .section {
        padding: 65px 0;
    }

    .nav {
        min-height: 68px;
    }

    .brand span {
        font-size: 10px;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-logo {
        width: 190px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .cards,
    .plans,
    .donations,
    .stats {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto;
    }

    .communion-box {
        padding: 12px;
    }

    .values {
        padding: 25px 15px;
    }

    .donation {
        display: block;

        text-align: center;
    }

    .donation .btn {
        margin-top: 12px;
    }

    .social {
        margin-top: 10px;
    }

    .login-card {
        padding: 32px 22px;
    }

    .utility-card {
        padding: 36px 22px;
    }

    .member-header {
        display: block;
    }

    .member-header .btn {
        margin-top: 18px;
    }

    .member-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   ACESSIBILIDADE
   ========================= */

:focus-visible {
    outline: 3px solid #f0d58b;

    outline-offset: 4px;
}


/* =========================
   ANIMAÇÃO SUAVE
   ========================= */

@media (prefers-reduced-motion: no-preference) {

    .card,
    .plan,
    .founder-card,
    .donation {
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;
    }

    .card:hover,
    .plan:hover,
    .founder-card:hover,
    .donation:hover {
        transform: translateY(-5px);

        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.18);
    }
}