/* =============================================
   FRATERNIDADE DO REINO — Landing Page
   ============================================= */

:root {
    --bg: #051218;
    --bg-alt: #0a141a;
    --surface: rgba(10, 25, 35, 0.55);
    --border: rgba(92, 177, 224, 0.45);
    --border-light: rgba(255, 255, 255, 0.25);
    --accent: #5cb1e0;
    --white: #ffffff;
    --text: rgba(255, 255, 255, 0.92);
    --text-muted: rgba(255, 255, 255, 0.72);

    --font-sans: 'Montserrat', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --max: 1200px;
    --narrow: 760px;
    --pad: clamp(20px, 4vw, 48px);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    position: relative;
    z-index: 2;
}

.container--narrow {
    max-width: var(--narrow);
}

/* ---------- Logo silhouette (sobre only) ---------- */
.sobre .section__silhouette {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
    width: 165%;
    min-width: 900px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.02;
    filter: brightness(2) saturate(0.4);
}

.sobre .section__silhouette img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- Logo ---------- */
.logo {
    width: 300px;
}

.logo__icon {
    width: clamp(56px, 8vw, 72px);
    height: auto;
}

.logo__fraternidade {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--white);
    line-height: 1.1;
}

.logo__reino {
    font-family: var(--font-sans);
    font-size: clamp(0.5rem, 1vw, 0.68rem);
    font-weight: 400;
    letter-spacing: 0.45em;
    color: var(--white);
    text-transform: uppercase;
}

.logo--horizontal {
    flex-direction: row;
    align-items: center;
    gap: clamp(14px, 3vw, 22px);
}

.logo--horizontal .logo__icon {
    width: clamp(64px, 10vw, 90px);
}

.logo--horizontal .logo__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo--horizontal .logo__fraternidade {
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    letter-spacing: 0.08em;
}

.logo--horizontal .logo__reino {
    font-size: clamp(0.55rem, 1.2vw, 0.72rem);
    letter-spacing: 0.5em;
}

/* ---------- Section titles & text ---------- */
.section__title {
    font-size: clamp(2rem, 3rem, 6rem);
    letter-spacing: 0.08em;
	line-height: 1;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
    margin-bottom: clamp(32px, 5vw, 48px);
	font-family: "Bebas Neue", sans-serif;
}

.section__title--sm {
    font-size: clamp(1rem, 2rem, 3rem);
    margin-bottom: clamp(24px, 4vw, 32px);
}

.section__text {
    font-size: clamp(0.9rem, 1.5vw, 1.02rem);
    line-height: 1.75;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 18px;
}

.section__text:last-of-type {
    margin-bottom: 0;
}

.section__divider {
    width: 48px;
    height: 1px;
    background: var(--border);
    margin: 0 auto 28px;
}

.section__divider:last-child {
    margin: 28px auto 0;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(5, 18, 24, 0.92) 0%, rgba(5, 18, 24, 0.75) 50%, rgba(5, 18, 24, 0.55) 100%),
        url('materiais/FOTOS/ANDR0868.jpg') center / cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(100px, 18vw, 180px);
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 2;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 80px) var(--pad);
}

.hero__content .logo {
    align-items: flex-start;
    margin-bottom: clamp(28px, 5vw, 40px);
}

.hero__title {
    font-size: clamp(2rem, 3rem, 6rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
	font-family: "Bebas Neue", sans-serif;
}

.hero__date {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.hero__subtitle {
    font-size: clamp(0.85rem, 1.4vw, 0.98rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 560px;
}

/* ---------- Sections with background ---------- */
.section {
    position: relative;
    padding: clamp(72px, 10vw, 100px) 0;
}

.section--bg .section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.section--bg .section__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 18, 24, 0.86) 0%, rgba(5, 18, 24, 0.92) 100%);
}

/* Sobre */
.sobre {
    overflow: visible;
    margin-top: clamp(-80px, -10vw, -40px);
    padding-top: clamp(100px, 14vw, 140px);
}

.sobre .section__bg {
    background-image: url('materiais/FOTOS/ANDR0904.jpg');
}

.sobre .section__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(120px, 20vw, 200px);
    background: linear-gradient(to bottom, var(--bg) 0%, rgba(5, 18, 24, 0.85) 40%, transparent 100%);
    z-index: 1;
}

.sobre .section__bg::after {
    background: linear-gradient(
        180deg,
        rgba(5, 18, 24, 0.7) 0%,
        rgba(5, 18, 24, 0.82) 20%,
        rgba(5, 18, 24, 0.88) 60%,
        rgba(5, 18, 24, 0.94) 100%
    );
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.info-card {
    padding: clamp(22px, 3vw, 30px) clamp(24px, 4vw, 40px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    backdrop-filter: blur(4px);
}

.info-card p {
    font-size: clamp(0.88rem, 1.4vw, 0.98rem);
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

/* Propósito */
.proposito {
    padding: clamp(64px, 8vw, 80px) 0;
}

.proposito .section__bg {
    background-image: url('materiais/FOTOS/ANDR0751.jpg');
}

.proposito .section__bg::after {
    background:
        linear-gradient(to bottom, var(--bg) 0%, transparent 22%),
        linear-gradient(to top, var(--bg-alt) 0%, transparent 22%),
        linear-gradient(180deg, rgba(5, 18, 24, 0.82) 0%, rgba(5, 18, 24, 0.9) 100%);
}

/* Encontra */
.encontra {
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
    max-width: 880px;
    margin: 0 auto;
}

.feature-card {
    padding: clamp(24px, 3vw, 34px) clamp(24px, 3.5vw, 36px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(10, 25, 35, 0.4);
}

.feature-card h3 {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: clamp(0.85rem, 1.3vw, 0.92rem);
    line-height: 1.65;
    color: var(--text-muted);
}

/* Impacto + Evento */
.impacto-evento {
    padding: clamp(80px, 12vw, 120px) 0;
    overflow: visible;
}

.impacto-evento__silhouette {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -28%);
    width: 155%;
    min-width: 900px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
}

.impacto-evento__silhouette img {
    width: 100%;
    height: auto;
    display: block;
}

.impacto-evento .section__bg {
    background-image: url('materiais/FOTOS/ANDR1296.jpg');
}

.impacto-evento .section__bg::after {
    background:
        linear-gradient(to bottom, var(--bg-alt) 0%, transparent 20%),
        linear-gradient(to top, var(--bg) 0%, transparent 22%),
        linear-gradient(180deg, rgba(4, 22, 38, 0.88) 0%, rgba(6, 32, 52, 0.92) 50%, rgba(4, 22, 38, 0.9) 100%);
}

.impacto-evento__spacer {
    height: clamp(48px, 8vw, 72px);
}

.cta-btn {
    display: inline-block;
    margin-top: clamp(28px, 4vw, 40px);
    padding: 14px 40px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    font-weight: 500;
    color: var(--white);
    text-align: center;
    transition: background 0.3s ease, border-color 0.3s ease;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.cta-btn:hover {
    background: rgba(92, 177, 224, 0.12);
    border-color: var(--accent);
}

.cta-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* ---------- Galeria ---------- */
.galeria {
    background: var(--bg);
    padding: clamp(40px, 6vw, 56px) var(--pad) 0;
}

.galeria__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 20px);
    max-width: var(--max);
    margin: 0 auto;
}

.galeria__item {
    border-radius: clamp(20px, 4vw, 40px);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin: 0;
}

.galeria__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galeria__item:hover img {
    transform: scale(1.03);
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    background: linear-gradient(180deg, var(--bg) 0%, #071016 100%);
    padding: clamp(56px, 8vw, 80px) var(--pad) clamp(48px, 6vw, 60px);
    text-align: center;
    overflow: hidden;
}

.footer__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 4vw, 36px);
}

.footer__date {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 500;
    color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero__content .logo--stacked {
        display: block;
        margin-inline: auto;
        margin-bottom: clamp(28px, 5vw, 40px);
    }

    .hero__content .logo--stacked img {
        margin-inline: auto;
    }

    .hero__inner {
        text-align: center;
    }

    .hero__subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

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

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

    .logo--horizontal {
        flex-direction: column;
        gap: 12px;
    }

    .logo--horizontal .logo__text {
        align-items: center;
    }
}

@media (max-width: 520px) {
    .galeria__grid {
        grid-template-columns: 1fr;
    }

    .galeria__item {
        aspect-ratio: 16 / 9;
    }
}
