/* Fase 2 — Home (novo_layout/IMPLEMENTACAO.md) */

.l01-eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8em;
    font-weight: 700;
    color: var(--green-700);
    margin: 0 0 8px;
}

.l01-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.l01-btn--gold {
    background: var(--gold-500);
    color: var(--gold-text) !important;
}

.l01-btn--gold:hover {
    background: var(--gold-600);
}

.l01-btn--outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--ink-900) !important;
}

.l01-btn--outline:hover {
    border-color: var(--green-700);
    color: var(--green-700) !important;
}

.l01-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-700);
    font-weight: 600;
    text-decoration: none;
}

.l01-link:hover {
    color: var(--green-900);
}

.l01-empty {
    color: var(--ink-600);
    text-align: center;
    padding: 40px 0;
}

/* Thumb gradient variants — usados no hero, nos cards de evento e de post,
   até existir foto real de capa (novo_layout/IMPLEMENTACAO.md, seção 4). */
.l01-thumb--green,
.l01-thumb--gold,
.l01-thumb--duo {
    position: relative;
    overflow: hidden;
}

.l01-thumb--green {
    background: linear-gradient(135deg, var(--green-900), var(--green-500));
}

.l01-thumb--gold {
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
}

.l01-thumb--duo {
    background: linear-gradient(135deg, var(--green-500), var(--gold-500));
}

.l01-thumb--green::after,
.l01-thumb--gold::after,
.l01-thumb--duo::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../images/logo-rcc.png);
    background-repeat: no-repeat;
    background-position: bottom -12% right -8%;
    background-size: 60%;
    opacity: 0.22;
    filter: brightness(0) invert(1);
}

/* ===== Hero ===== */
.l01-hero {
    background: var(--cream-50);
    padding: 64px 0;
}

.l01-hero__grid {
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.l01-hero__text h1 {
    font-family: var(--font-heading);
    font-size: 2.6em;
    line-height: 1.15;
    color: var(--ink-900);
    margin: 0 0 16px;
}

.l01-hero__lead {
    color: var(--ink-600);
    font-size: 1.05em;
    line-height: 1.6;
    max-width: 34em;
    margin: 0 0 28px;
}

.l01-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.l01-hero__card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 340px;
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
}

.l01-hero__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.l01-hero__card--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 20, 18, 0) 35%, rgba(15, 20, 18, .75) 100%);
    z-index: 1;
}

.l01-hero__card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.l01-hero__card-body strong {
    font-family: var(--font-heading);
    font-size: 1.4em;
}

.l01-hero__card-body span {
    font-size: 0.9em;
    opacity: 0.9;
}

/* ===== Seções genéricas ===== */
.l01-section {
    padding: 64px 0;
}

.l01-section--muted {
    background: var(--cream-100);
}

.l01-section .content,
.l01-hero .content,
.l01-cta .content {
    max-width: 1280px;
}

.l01-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.l01-section__header h2 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--ink-900);
    margin: 4px 0 0;
}

/* ===== Cards (eventos e posts) ===== */
.l01-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.l01-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.l01-card__thumb {
    display: block;
    aspect-ratio: 16 / 9;
}

.l01-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.l01-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 18px 18px 22px;
}

.l01-tag {
    align-self: flex-start;
    background: var(--cream-100);
    color: var(--ink-600);
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 999px;
}

.l01-tag--gold {
    background: var(--amber-100);
    color: var(--amber-700);
}

.l01-card__body h3 {
    font-family: var(--font-heading);
    font-size: 1.05em;
    line-height: 1.35;
    margin: 2px 0 0;
}

.l01-card__body h3 a {
    color: var(--ink-900);
    text-decoration: none;
}

.l01-card__body h3 a:hover {
    color: var(--green-700);
}

.l01-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82em;
    color: var(--ink-600);
    margin: 0;
}

.l01-card__link {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.88em;
    text-decoration: none;
}

/* ===== Quem somos ===== */
.l01-about {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
}

.l01-about__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: var(--cream-100);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px;
}

.l01-about__visual img {
    width: 80%;
    height: auto;
}

.l01-about__text h2 {
    font-family: var(--font-heading);
    font-size: 1.7em;
    margin: 6px 0 14px;
    color: var(--ink-900);
}

.l01-about__text p {
    color: var(--ink-600);
    line-height: 1.6;
    max-width: 42em;
    margin: 0 0 18px;
}

/* ===== CTA grupo de avisos ===== */
.l01-cta {
    background: var(--cream-50);
    padding: 64px 0;
}

.l01-cta__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--green-900);
    color: #fff;
    border-radius: 24px;
    padding: 40px 48px;
}

.l01-cta__bar h2 {
    font-family: var(--font-heading);
    font-size: 1.4em;
    color: #fff;
    margin: 0 0 6px;
}

.l01-cta__bar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
}

.l01-cta__bar .l01-btn--gold {
    flex-shrink: 0;
}

@media (max-width: 50em) {
    .l01-hero {
        padding: 40px 0;
    }

    .l01-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .l01-hero__text h1 {
        font-size: 1.9em;
    }

    .l01-section {
        padding: 44px 0;
    }

    .l01-section__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .l01-cards {
        grid-template-columns: 1fr;
    }

    .l01-about {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .l01-about__visual {
        max-width: 220px;
        margin: 0 auto;
    }

    .l01-cta__bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
}
