/* ============================================================
   A.D. Quinta de Paramos — v2
   Design System · Barlow + Menu Lateral
   ============================================================ */

:root {
    /* Verde Quinta (oficial) */
    --green:         #008C00;
    --green-dark:    #003D00;
    --green-mid:     #006600;
    --green-bright:  #00B000;
    --green-light:   #AEE8A1;
    --green-50:      #E8F5E0;
    --green-100:     #C8E6BC;
    --green-hover:   #F5FBF0;

    /* Vermelho do emblema — acento ocasional */
    --red:           #C8102E;
    --red-50:        #FBE9EC;

    /* Neutros quentes */
    --ink:           #1A1A1A;
    --ink-soft:      #3D3D3A;
    --ink-muted:     #73726C;
    --ink-hint:      #A5A39A;
    --surface-warm:  #F5F3EC;
    --surface:       #FAFAF7;
    --white:         #FFFFFF;
    --border:        rgba(26,26,26,0.10);
    --border-strong: rgba(26,26,26,0.20);

    /* Acentos categoria (2º nível) */
    --coral:         #B94618;
    --coral-50:      #FBEAE4;
    --purple:        #3C3489;
    --purple-50:     #EEEDFE;
    --blue:          #185FA5;
    --blue-50:       #E6F1FB;
    --amber:         #C97B0A;
    --amber-50:      #FAEEDA;

    /* Tipografia */
    --font-sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Barlow Condensed', 'Barlow', sans-serif;
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

    /* Radius */
    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 10px;
    --r-xl: 14px;

    /* Spacing */
    --s-1: 4px;   --s-2: 8px;   --s-3: 12px;
    --s-4: 16px;  --s-5: 20px;  --s-6: 24px;
    --s-8: 32px;  --s-10: 40px; --s-12: 48px;
    --s-16: 64px;

    /* Layout */
    --sidebar-w: 260px;
    --container-max: 1200px;
    --container-pad: 20px;

    /* Transitions */
    --t-fast:   150ms ease;
    --t-medium: 250ms ease;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 15px; line-height: 1.6;
    color: var(--ink); background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
address { font-style: normal; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

.skip-link {
    position: absolute; left: -9999px;
    padding: 12px 16px; background: var(--green-dark); color: var(--white); z-index: 9999;
}
.skip-link:focus { left: 0; top: 0; }

/* ============================================================
   SIDEBAR — colapsada por defeito, expande em hover
   ============================================================ */
:root {
    --sidebar-w-closed: 72px;
    --sidebar-w-open: 260px;
}

.sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: var(--sidebar-w-closed);
    background: var(--green-dark); color: var(--white);
    z-index: 100; overflow-x: hidden; overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
    transition: width 220ms ease;
    box-shadow: 0 0 20px rgba(0,0,0,0);
}
.sidebar:hover,
.sidebar:focus-within {
    width: var(--sidebar-w-open);
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }

.sidebar-inner {
    display: flex; flex-direction: column;
    min-height: 100%; padding: var(--s-5) 0 0;
    width: var(--sidebar-w-open); /* conteúdo já no tamanho final, clip-ado pelo overflow */
}

/* Brand / emblema */
.sidebar-brand {
    display: flex; align-items: center; gap: var(--s-3);
    padding: 0 calc((var(--sidebar-w-closed) - 44px) / 2) var(--s-5);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: var(--s-4);
    white-space: nowrap;
}
.sidebar-brand:hover { color: var(--white); }
.sidebar-emblem {
    width: 44px; height: auto; flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.2));
}
.sidebar-brand-text {
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 160ms ease 40ms, transform 200ms ease 40ms;
}
.sidebar:hover .sidebar-brand-text,
.sidebar:focus-within .sidebar-brand-text {
    opacity: 1; transform: translateX(0);
}
.sidebar-brand-name { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; }
.sidebar-brand-since { font-size: 10px; color: var(--green-light); letter-spacing: 0.03em; }

/* Nav links */
.sidebar-nav { display: flex; flex-direction: column; margin-bottom: var(--s-3); }
.sidebar-link {
    display: flex; align-items: center; gap: 18px;
    padding: 12px calc((var(--sidebar-w-closed) - 20px) / 2 - 3px);
    color: rgba(255,255,255,0.78);
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.04em; text-transform: uppercase;
    border-left: 3px solid transparent;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
    white-space: nowrap;
}
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.sidebar-link.is-active {
    color: var(--white);
    border-left-color: var(--green);
    background: rgba(0,140,0,0.14);
    font-weight: 600;
}
.sidebar-icon {
    width: 20px; height: 20px; flex-shrink: 0;
    stroke: currentColor;
}
.sidebar-link.is-active .sidebar-icon { stroke: var(--green-light); }

.sidebar-link-text {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 160ms ease 60ms, transform 200ms ease 60ms;
}
.sidebar:hover .sidebar-link-text,
.sidebar:focus-within .sidebar-link-text {
    opacity: 1; transform: translateX(0);
}

/* CTA area */
.sidebar-cta {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--s-3) 0;
}
.sidebar-cta-primary {
    display: flex; align-items: center; gap: 18px;
    margin: 0 calc((var(--sidebar-w-closed) - 40px) / 2);
    padding: 10px 0;
    background: var(--green); color: var(--white);
    border-radius: var(--r-sm);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em;
    justify-content: flex-start;
    padding-left: 10px;
    white-space: nowrap;
    transition: background var(--t-fast);
    width: 40px;
    overflow: hidden;
}
.sidebar:hover .sidebar-cta-primary,
.sidebar:focus-within .sidebar-cta-primary {
    width: calc(var(--sidebar-w-open) - 40px);
    margin: 0 var(--s-5);
    padding: 12px var(--s-4);
}
.sidebar-cta-primary:hover { background: var(--green-mid); color: var(--white); }
.sidebar-cta-primary svg { width: 20px; height: 20px; flex-shrink: 0; }

.sidebar-cta-secondary {
    display: flex; align-items: center; gap: 18px;
    padding: 10px calc((var(--sidebar-w-closed) - 20px) / 2 - 3px);
    color: var(--green-light);
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em;
    white-space: nowrap;
    margin-top: 4px;
    border-left: 3px solid transparent;
}
.sidebar-cta-secondary:hover { color: var(--white); }
.sidebar-cta-secondary svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Footer */
.sidebar-footer {
    padding: var(--s-3) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 10px; letter-spacing: 0.1em;
    color: rgba(174,232,161,0.5); text-align: center;
    position: relative;
    height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
}
.sidebar-footer-short {
    position: absolute;
    opacity: 1;
    transition: opacity 120ms ease;
    font-size: 13px;
    letter-spacing: 0;
}
.sidebar-footer-full {
    position: absolute;
    opacity: 0;
    transition: opacity 200ms ease 60ms;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
}
.sidebar:hover .sidebar-footer-short,
.sidebar:focus-within .sidebar-footer-short { opacity: 0; }
.sidebar:hover .sidebar-footer-full,
.sidebar:focus-within .sidebar-footer-full { opacity: 1; }

/* Toggle mobile (hamburger) */
.sidebar-toggle {
    display: none;
    position: fixed; top: 14px; left: 14px;
    z-index: 110;
    width: 44px; height: 44px;
    background: var(--green-dark);
    border: 0; border-radius: var(--r-md);
    padding: 0;
    flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
}
.sidebar-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--white);
    transition: var(--t-medium);
}
.sidebar-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sidebar-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sidebar-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99; opacity: 0;
    transition: opacity var(--t-medium);
}
.sidebar-backdrop.is-visible { display: block; opacity: 1; }

/* Conteúdo principal — NÃO se move quando a sidebar expande */
.app-main {
    margin-left: var(--sidebar-w-closed);
    min-height: 100vh;
    display: flex; flex-direction: column;
}
main { flex: 1; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.container-narrow { max-width: 760px; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--s-2); padding: 11px 22px;
    border-radius: var(--r-sm);
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 700; line-height: 1;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: 0; cursor: pointer; text-decoration: none;
    transition: all var(--t-fast); white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-mid); color: var(--white); }
.btn-dark { background: var(--green-dark); color: var(--white); }
.btn-dark:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-dark); }
.btn-light:hover { background: var(--green-50); color: var(--green-dark); }
.btn-ghost-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: var(--surface-warm); color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn-large { padding: 15px 32px; font-size: 13px; }

/* ============================================================
   HERO
   ============================================================ */
/* ============================================================
   HERO — Raios de luz + emblema discreto (variante B, 15%)
   ============================================================ */

.hero {
    background:
        linear-gradient(135deg, #002800 0%, #003D00 100%),
        var(--green-dark);
    color: var(--white);
    padding: var(--s-16) 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 600' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='r' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23008C00' stop-opacity='0'/><stop offset='0.5' stop-color='%23008C00' stop-opacity='0.14'/><stop offset='1' stop-color='%23008C00' stop-opacity='0'/></linearGradient></defs><g transform='translate(900 -100) rotate(20)' fill='url(%23r)'><rect x='0' y='0' width='40' height='800'/><rect x='80' y='0' width='20' height='800'/><rect x='140' y='0' width='80' height='800'/><rect x='260' y='0' width='14' height='800'/><rect x='310' y='0' width='50' height='800'/><rect x='400' y='0' width='22' height='800'/><rect x='460' y='0' width='100' height='800'/></g></svg>");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 460px;
    height: 540px;
    background-image: url('/assets/img/emblema.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.16;
    filter: brightness(1.6) saturate(0.5) hue-rotate(330deg);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--green-light);
    padding: 6px 14px;
    border: 1px solid rgba(174, 232, 161, 0.35);
    border-radius: 20px;
    margin-bottom: var(--s-5);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: var(--s-4);
    text-transform: uppercase;
}
.hero-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--green-light);
    margin-bottom: var(--s-6);
    max-width: 520px;
}
.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero::after {
        right: -120px;
        width: 320px;
        height: 380px;
        opacity: 0.12;
    }
}
@media (max-width: 480px) {
    .hero::after {
        right: -160px;
        width: 280px;
        height: 320px;
        opacity: 0.10;
    }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: var(--s-8) 0; border-bottom: 1px solid var(--border); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 0 var(--s-4); text-align: center; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 44px; font-weight: 700;
    color: var(--green);
    letter-spacing: -0.02em; line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 11px; font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--s-12) 0; border-bottom: 1px solid var(--border); }
.section-warm { background: var(--surface-warm); }
.section-head {
    display: flex; justify-content: space-between;
    align-items: baseline; margin-bottom: var(--s-6);
}
.section-head-simple { display: block; margin-bottom: var(--s-6); }
.section-head h2 {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700;
    letter-spacing: -0.01em; text-transform: uppercase;
}
.section-link {
    font-size: 12px; font-weight: 600;
    color: var(--ink-muted); letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-link:hover { color: var(--green); }
.section-sub { margin: 6px 0 0; color: var(--ink-muted); font-size: 14px; }
.section-title-inline {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700;
    letter-spacing: 0.01em; margin-bottom: var(--s-4);
    text-transform: uppercase;
}

.page-header {
    padding: var(--s-12) 0 var(--s-8);
    border-bottom: 1px solid var(--border);
}
.page-header-coral { background: var(--coral-50); }
.page-header-row {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: var(--s-5); flex-wrap: wrap;
}
.page-eyebrow {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--green);
    margin-bottom: var(--s-3);
    text-transform: uppercase;
}
.page-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700; line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: var(--s-3);
    text-transform: uppercase;
}
.page-lead {
    font-size: 16px; color: var(--ink-muted);
    max-width: 640px; line-height: 1.6;
}

/* ============================================================
   NEXT MATCH
   ============================================================ */
.next-match {
    background: linear-gradient(180deg, var(--green-hover) 0%, var(--white) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    margin-bottom: var(--s-3);
}
.next-match-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: var(--s-4);
}
.next-match-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.2em; color: var(--green); text-transform: uppercase;
}
.next-match-meta { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.next-match-body {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: var(--s-5);
}
.team { display: flex; align-items: center; gap: var(--s-3); }
.team-home { justify-content: flex-end; text-align: right; }
.team-away { justify-content: flex-start; text-align: left; }
.team-name { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.team-pos { font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
.team-crest {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface-warm); color: var(--ink-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.team-crest-own { background: var(--green); color: var(--white); }
.vs {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    color: var(--ink-hint);
}
.upcoming-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upcoming-item {
    border: 1px solid var(--border); border-radius: var(--r-md);
    padding: 12px 14px;
    display: flex; justify-content: space-between; align-items: center;
}
.upcoming-date {
    font-size: 10px; font-weight: 600;
    color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.upcoming-opponent { font-size: 13px; font-weight: 500; margin-top: 2px; }
.pill {
    font-size: 10px; font-weight: 700;
    padding: 3px 10px; border-radius: 12px;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.pill-home { background: var(--green-50); color: var(--green); }
.pill-away { background: var(--surface-warm); color: var(--ink-muted); }

/* ============================================================
   PILLARS (3 frentes)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.pillar {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden; color: var(--ink); display: block;
    transition: transform var(--t-medium);
}
.pillar:hover { transform: translateY(-2px); color: var(--ink); }
.pillar-head { padding: var(--s-5); color: var(--white); }
.pillar-num {
    display: block;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: var(--s-2); opacity: 0.85;
}
.pillar-title {
    display: block;
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    line-height: 1; text-transform: uppercase;
}
.pillar-body {
    padding: var(--s-4); margin: 0;
    font-size: 13px; color: var(--ink-muted); line-height: 1.55;
}
.pillar-desporto .pillar-head  { background: var(--green); }
.pillar-desporto .pillar-num   { color: var(--green-light); opacity: 1; }
.pillar-comunidade .pillar-head { background: var(--coral); }
.pillar-comunidade .pillar-num  { color: var(--coral-50); opacity: 1; }
.pillar-cultura .pillar-head   { background: var(--purple); }
.pillar-cultura .pillar-num    { color: var(--purple-50); opacity: 1; }

/* ============================================================
   NEWS (home)
   ============================================================ */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-4); }
.news-card {
    border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; color: var(--ink);
    display: flex; flex-direction: column;
    transition: transform var(--t-medium);
}
.news-card:hover { transform: translateY(-2px); color: var(--ink); }
.news-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    position: relative;
}
.news-card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--white); color: var(--green);
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    padding: 4px 10px; border-radius: 12px;
}
.news-card-date {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,0.45); color: var(--white);
    font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 10px;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.news-card-comunidade .news-card-image { background: linear-gradient(135deg, var(--coral) 0%, #6B2810 100%); }
.news-card-comunidade .news-card-badge { color: var(--coral); }
.news-card-clube .news-card-image { background: linear-gradient(135deg, var(--purple) 0%, #26215C 100%); }
.news-card-clube .news-card-badge { color: var(--purple); }
.news-card-body { padding: var(--s-4); flex: 1; }
.news-card-title {
    font-family: var(--font-display);
    font-size: 19px; font-weight: 700;
    line-height: 1.15; margin-bottom: var(--s-2);
    text-transform: uppercase; letter-spacing: 0.005em;
}
.news-card-excerpt { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin: 0; }

.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item {
    display: flex; gap: 10px; padding: 12px;
    border: 1px solid var(--border); border-radius: var(--r-md);
    color: var(--ink); transition: background var(--t-fast);
}
.news-item:hover { background: var(--surface-warm); color: var(--ink); }
.news-item-thumb { width: 60px; height: 60px; background: var(--green); border-radius: var(--r-sm); flex-shrink: 0; }
.news-item-comunidade .news-item-thumb { background: var(--coral); }
.news-item-clube .news-item-thumb { background: var(--purple); }
.news-item-cat {
    display: block; font-size: 9px; font-weight: 700;
    letter-spacing: 0.15em; color: var(--green);
    margin-bottom: 4px; text-transform: uppercase;
}
.news-item-comunidade .news-item-cat { color: var(--coral); }
.news-item-clube .news-item-cat { color: var(--purple); }
.news-item-title { font-size: 13px; font-weight: 600; line-height: 1.35; }

/* ============================================================
   TIMELINE (home)
   ============================================================ */
.timeline-section { background: var(--surface-warm); padding: var(--s-16) 0; }
.timeline-head { text-align: center; margin-bottom: var(--s-6); }
.timeline-eyebrow {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.3em; color: var(--green);
    display: block; margin-bottom: var(--s-2);
}
.timeline-head h2 {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 700;
    letter-spacing: -0.005em; text-transform: uppercase;
}
.timeline {
    display: flex; justify-content: space-between;
    position: relative; padding: var(--s-5) var(--s-3);
}
.timeline::before {
    content: ""; position: absolute;
    top: 50%; left: var(--s-3); right: var(--s-3);
    height: 2px; background: var(--green); opacity: 0.25;
    transform: translateY(-50%);
}
.timeline-item {
    position: relative;
    background: var(--surface-warm);
    padding: 0 10px; text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-bottom: 12px; }
.timeline-dot-first {
    width: 14px; height: 14px;
    border: 3px solid var(--surface-warm);
    box-shadow: 0 0 0 2px var(--green);
    margin-bottom: 10px;
}
.timeline-year { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.timeline-label {
    font-size: 10px; font-weight: 600; color: var(--ink-muted);
    margin-top: 2px; display: block;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.timeline-item-current .timeline-dot {
    width: 16px; height: 16px; background: var(--green-dark);
    box-shadow: 0 0 0 4px rgba(0,140,0,0.25);
    margin-bottom: 8px;
}
.timeline-item-current .timeline-year { color: var(--green-dark); font-size: 17px; }
.timeline-item-current .timeline-label { color: var(--green); }

/* ============================================================
   CTAs (home)
   ============================================================ */
.ctas { padding: var(--s-12) 0; border-bottom: 1px solid var(--border); }
.ctas-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-4); }
.cta-socio, .cta-shop { padding: var(--s-6); border-radius: var(--r-lg); }
.cta-socio {
    background: var(--green-dark); color: var(--white);
    position: relative; overflow: hidden;
}
.cta-socio::before {
    content: ""; position: absolute;
    right: -30px; top: -30px;
    width: 180px; height: 180px;
    border: 40px solid rgba(174,232,161,0.12);
    border-radius: 50%; pointer-events: none;
}
.cta-shop {
    background: var(--surface-warm);
    display: flex; flex-direction: column; justify-content: space-between;
}
.cta-eyebrow {
    display: block; font-size: 10px; font-weight: 700;
    letter-spacing: 0.25em; margin-bottom: 10px;
    text-transform: uppercase;
}
.cta-socio .cta-eyebrow { color: var(--green-light); }
.cta-shop .cta-eyebrow { color: var(--ink-muted); }
.cta-title {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700;
    line-height: 1.15; margin-bottom: var(--s-2);
    text-transform: uppercase; position: relative;
}
.cta-title-small { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; }
.cta-body { font-size: 13px; color: var(--green-light); line-height: 1.55; margin-bottom: var(--s-4); position: relative; }
.cta-body-small { font-size: 12px; color: var(--ink-muted); line-height: 1.55; margin-bottom: var(--s-4); }
.cta-socio .btn { position: relative; }
.cta-shop .btn { align-self: flex-start; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.7);
    padding: var(--s-12) 0 var(--s-5);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--s-5); margin-bottom: var(--s-6);
}
.footer-about { display: flex; gap: var(--s-3); align-items: flex-start; }
.footer-emblem {
    width: 60px; height: auto; flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    color: var(--white); letter-spacing: 0.02em;
    text-transform: uppercase; margin-bottom: var(--s-2);
}
.footer-address { font-size: 12px; line-height: 1.7; }
.footer-heading {
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.15em; color: var(--green-light);
    margin-bottom: var(--s-3); text-transform: uppercase;
}
.footer-col ul li { font-size: 12px; line-height: 2; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    display: flex; justify-content: space-between;
    padding-top: var(--s-4);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 11px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   INTERIORES (breadcrumbs, filtros, estados)
   ============================================================ */
.breadcrumbs {
    background: var(--surface-warm); padding: 10px 0;
    font-size: 11px; font-weight: 500; color: var(--ink-muted);
    letter-spacing: 0.03em; text-transform: uppercase;
}
.breadcrumbs a { color: var(--ink-muted); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs span[aria-hidden] { margin: 0 8px; opacity: .5; }

.filter-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; }
.filter-inner { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pill-filter {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: var(--surface-warm);
    color: var(--ink-muted);
    border-radius: 20px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    transition: all var(--t-fast);
}
.pill-filter:hover { background: var(--border); color: var(--ink); }
.pill-filter.is-active { background: var(--green); color: var(--white); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pill-dot-green  { background: var(--green); }
.pill-dot-coral  { background: var(--coral); }
.pill-dot-purple { background: var(--purple); }
.pill-dot-blue   { background: var(--blue); }

.empty-state {
    text-align: center; color: var(--ink-muted);
    padding: var(--s-10) 0; font-size: 14px;
}

/* ============================================================
   POSTS / NOTÍCIAS (listagem)
   ============================================================ */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.post-card {
    border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; color: var(--ink);
    display: flex; flex-direction: column;
    transition: transform var(--t-medium);
}
.post-card:hover { transform: translateY(-2px); color: var(--ink); }
.post-card-image { height: 160px; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); position: relative; }
.post-card-desporto   .post-card-image { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.post-card-comunidade .post-card-image { background: linear-gradient(135deg, var(--coral) 0%, #6B2810 100%); }
.post-card-clube      .post-card-image { background: linear-gradient(135deg, var(--purple) 0%, #26215C 100%); }
.post-card-eventos    .post-card-image { background: linear-gradient(135deg, var(--blue) 0%, #0C447C 100%); }
.post-card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--white); color: var(--green);
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    padding: 4px 10px; border-radius: 12px;
}
.post-card-comunidade .post-card-badge { color: var(--coral); }
.post-card-clube      .post-card-badge { color: var(--purple); }
.post-card-eventos    .post-card-badge { color: var(--blue); }
.post-card-date {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,0.45); color: var(--white);
    font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 10px;
    text-transform: uppercase;
}
.post-card-body { padding: var(--s-4); flex: 1; }
.post-card-title {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    line-height: 1.15; margin-bottom: var(--s-2);
    text-transform: uppercase;
}
.post-card-excerpt { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin-bottom: var(--s-3); }
.post-card-meta {
    font-size: 11px; color: var(--ink-hint);
    display: flex; gap: 6px;
    padding-top: var(--s-2);
    border-top: 1px solid var(--border);
    letter-spacing: 0.03em; text-transform: uppercase;
}

/* ============================================================
   ARTIGO (detalhe)
   ============================================================ */
.article-header { background: var(--white); padding: var(--s-12) 0 var(--s-5); text-align: center; }
.article-header-inner { max-width: 700px; margin: 0 auto; padding: 0 var(--container-pad); }
.article-category {
    display: inline-block;
    background: var(--green-50); color: var(--green);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.2em;
    padding: 5px 12px; border-radius: 14px;
    margin-bottom: var(--s-4); text-transform: uppercase;
}
.article-category-comunidade { background: var(--coral-50); color: var(--coral); }
.article-category-clube      { background: var(--purple-50); color: var(--purple); }
.article-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700; line-height: 1.05;
    margin-bottom: var(--s-3); letter-spacing: -0.01em;
    text-transform: uppercase;
}
.article-excerpt { font-size: 16px; color: var(--ink-muted); line-height: 1.6; margin-bottom: var(--s-5); }
.article-meta {
    display: flex; justify-content: center; gap: var(--s-3);
    padding-top: var(--s-3); border-top: 1px solid var(--border);
    font-size: 12px; color: var(--ink-muted);
    flex-wrap: wrap; max-width: 420px; margin: 0 auto;
    letter-spacing: 0.02em;
}
.article-cover {
    height: 320px; border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    margin-bottom: var(--s-8);
}
.article-cover-comunidade { background: linear-gradient(135deg, var(--coral) 0%, #6B2810 100%); }
.article-cover-clube      { background: linear-gradient(135deg, var(--purple) 0%, #26215C 100%); }
.article-body {
    max-width: 700px; margin: 0 auto;
    padding: 0 var(--container-pad) var(--s-10);
    font-size: 16px; line-height: 1.75;
}
.article-body p { margin: var(--s-4) 0; }
.article-body .lead {
    font-family: var(--font-serif);
    font-size: 19px; color: var(--ink-soft);
    line-height: 1.55; margin-top: 0;
}
.article-body h2 {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    margin: var(--s-8) 0 var(--s-3);
    text-transform: uppercase; letter-spacing: -0.005em;
}
.article-body blockquote {
    border-left: 4px solid var(--green);
    background: var(--green-hover);
    margin: var(--s-6) 0;
    padding: var(--s-4) var(--s-5);
}
.article-body blockquote p {
    font-family: var(--font-serif);
    font-size: 18px; font-style: italic;
    margin: 0; line-height: 1.55;
}
.article-body blockquote cite {
    display: block;
    margin-top: var(--s-3);
    font-size: 11px; font-style: normal;
    letter-spacing: 0.1em; color: var(--ink-muted);
    text-transform: uppercase; font-weight: 600;
}
.match-card {
    max-width: 700px; margin: 0 auto var(--s-8);
    padding: var(--s-5);
    background: var(--surface-warm);
    border-radius: var(--r-lg);
}
.match-card-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.2em; color: var(--ink-muted);
    margin-bottom: var(--s-3); text-transform: uppercase;
}
.match-card-body {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: var(--s-4); margin-bottom: var(--s-3);
}
.match-team-side { text-align: center; }
.match-team-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: var(--s-2); text-transform: uppercase; }
.match-team-score {
    font-family: var(--font-display);
    font-size: 42px; font-weight: 700;
    color: var(--ink-hint); letter-spacing: -0.03em; line-height: 1;
}
.match-team-score-win { color: var(--green); }
.match-card-sep { color: var(--ink-hint); }
.match-card-meta {
    display: flex; justify-content: space-between;
    font-size: 10px; font-weight: 600; letter-spacing: 0.05em;
    color: var(--ink-muted);
    padding-top: var(--s-3); border-top: 1px solid var(--border);
    flex-wrap: wrap; gap: 8px; text-transform: uppercase;
}
.article-footer {
    max-width: 700px; margin: 0 auto;
    padding: var(--s-5) var(--container-pad);
    border-top: 1px solid var(--border);
}
.article-share { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.article-share-label {
    font-size: 11px; font-weight: 600;
    color: var(--ink-muted); margin-right: 6px;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.share-btn {
    width: 32px; height: 32px;
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    color: var(--ink-muted); transition: all var(--t-fast);
}
.share-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.related-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--r-md); overflow: hidden;
    color: var(--ink); transition: transform var(--t-medium);
}
.related-card:hover { transform: translateY(-2px); color: var(--ink); }
.related-thumb { height: 90px; background: var(--green); }
.related-card-comunidade .related-thumb { background: var(--coral); }
.related-card-clube .related-thumb { background: var(--purple); }
.related-body { padding: 12px; }
.related-cat {
    display: block; font-size: 9px; font-weight: 700;
    letter-spacing: 0.15em; color: var(--green);
    margin-bottom: 4px; text-transform: uppercase;
}
.related-card-comunidade .related-cat { color: var(--coral); }
.related-card-clube .related-cat { color: var(--purple); }
.related-title {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    line-height: 1.2; text-transform: uppercase;
}

/* ============================================================
   FUTEBOL
   ============================================================ */
.football-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-8); }
.standings-wrapper { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: 13px; }
.standings th {
    text-align: left; font-weight: 700;
    font-size: 10px; letter-spacing: 0.08em;
    color: var(--ink-muted); padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
}
.standings td { padding: 12px 8px; border-bottom: 1px solid var(--border); }
.standings-club a { color: var(--ink); font-weight: 500; }
.standings-club a:hover { color: var(--green); }
.standings-pts { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--green); }
.standings-own { background: var(--green-hover); }
.standings-own td { font-weight: 600; }

.match-list { display: flex; flex-direction: column; gap: 10px; }
.match-row {
    display: grid; grid-template-columns: 56px 1fr; gap: 12px;
    align-items: center; padding: 12px;
    border: 1px solid var(--border); border-radius: var(--r-md);
}
.match-row-date { text-align: center; }
.match-row-day {
    display: block; font-size: 10px; font-weight: 600;
    color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.match-row-num {
    font-family: var(--font-display);
    display: block; font-size: 28px; font-weight: 700;
    color: var(--green); letter-spacing: -0.02em; line-height: 1;
}
.match-row-month {
    display: block; font-size: 10px; font-weight: 600;
    color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.match-row-teams { font-size: 13px; font-weight: 600; line-height: 1.4; }
.match-row-vs { color: var(--ink-muted); font-weight: 400; }
.match-row-meta { font-size: 10px; color: var(--ink-muted); margin-top: 2px; letter-spacing: 0.03em; }

.results-list { display: flex; flex-direction: column; gap: 0; }
.result-row {
    display: grid; grid-template-columns: 40px 70px 1fr 80px 1fr;
    gap: var(--s-3); align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.result-jornada { font-size: 10px; font-weight: 700; color: var(--ink-muted); letter-spacing: 0.05em; }
.result-date { color: var(--ink-muted); font-size: 11px; letter-spacing: 0.02em; }
.result-team { font-weight: 600; }
.result-team-home { text-align: right; }
.result-score {
    font-family: var(--font-display); text-align: center;
    font-weight: 700; font-size: 16px; color: var(--ink);
}

.squad-group { margin-bottom: var(--s-6); }
.squad-position {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    color: var(--ink-muted); letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: var(--s-3);
}
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.squad-card {
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-3);
    border: 1px solid var(--border); border-radius: var(--r-md);
    color: var(--ink); transition: all var(--t-fast);
}
.squad-card:hover { background: var(--green-hover); border-color: var(--green); color: var(--ink); }
.squad-card-captain { border-color: var(--green); background: var(--green-hover); }
.squad-number {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700;
    color: var(--green); min-width: 32px;
    letter-spacing: -0.03em; line-height: 1;
}
.squad-name { font-size: 13px; font-weight: 600; flex: 1; }
.squad-badge {
    font-size: 9px; background: var(--green); color: var(--white);
    padding: 2px 7px; border-radius: 10px;
    letter-spacing: 0.08em; font-weight: 700;
}

.player-hero {
    background: var(--green-dark); color: var(--white);
    padding: var(--s-10) 0 var(--s-8);
    position: relative; overflow: hidden;
}
.player-number-bg {
    position: absolute; left: var(--s-5); top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 260px; font-weight: 800;
    color: rgba(174,232,161,0.07);
    line-height: 1; letter-spacing: -0.08em;
    pointer-events: none;
}
.player-hero-grid { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: center; }
.player-hero-tag {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.25em; color: var(--green-light);
    padding: 5px 12px; border: 1px solid rgba(174,232,161,0.3);
    border-radius: 14px; margin-bottom: var(--s-4); text-transform: uppercase;
}
.player-hero-name {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 56px);
    font-weight: 700; line-height: 0.95;
    letter-spacing: -0.02em; margin-bottom: var(--s-2);
    text-transform: uppercase;
}
.player-hero-sub { font-size: 14px; color: var(--green-light); margin-bottom: var(--s-5); }
.player-facts { display: flex; gap: var(--s-6); flex-wrap: wrap; }
.player-facts > div { min-width: 80px; }
.player-facts dt { font-size: 10px; font-weight: 600; color: var(--green-light); letter-spacing: 0.12em; margin-bottom: 4px; text-transform: uppercase; }
.player-facts dd { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0; }
.player-hero-photo {
    width: 140px; height: 180px;
    background: var(--green);
    border-radius: var(--r-lg);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: var(--s-3);
    font-size: 11px; color: var(--green-light);
}

.stat-heading {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.2em; color: var(--ink-muted);
    margin-bottom: var(--s-4); text-transform: uppercase;
}
.player-stats {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-md); overflow: hidden;
}
.player-stat { background: var(--white); padding: var(--s-4) 0; text-align: center; }
.player-stat-value {
    font-family: var(--font-display);
    display: block; font-size: 32px; font-weight: 700;
    color: var(--green); letter-spacing: -0.02em;
    line-height: 1; margin-bottom: 4px;
}
.player-stat-warn .player-stat-value { color: var(--amber); }
.player-stat-label {
    font-size: 10px; font-weight: 600;
    color: var(--ink-muted); letter-spacing: 0.05em;
    text-transform: uppercase;
}

.player-about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-5); }
.player-bio { color: var(--ink-soft); line-height: 1.7; font-size: 15px; }
.player-career {
    background: var(--white);
    border: 1px solid var(--border); border-radius: var(--r-md);
    padding: var(--s-4);
}
.player-career-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
    color: var(--ink-muted); margin-bottom: var(--s-3);
    display: block; text-transform: uppercase;
}
.player-career-list { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.player-career-list div { display: flex; justify-content: space-between; font-size: 13px; }
.player-career-list dt { color: var(--ink-muted); margin: 0; }
.player-career-list dd { margin: 0; font-weight: 600; }

.player-matches { display: flex; flex-direction: column; }
.player-match-row {
    display: grid; grid-template-columns: 60px 1fr auto 50px auto;
    gap: var(--s-3); align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.player-match-date { font-size: 11px; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.player-match-opponent { display: flex; align-items: center; gap: 8px; }
.player-match-score { font-family: var(--font-display); font-weight: 700; color: var(--ink-muted); }
.player-match-minutes { font-size: 10px; background: var(--surface-warm); padding: 3px 8px; border-radius: 10px; color: var(--ink-muted); text-align: center; font-weight: 600; }
.player-match-events { font-size: 11px; display: flex; gap: 6px; }
.event-goal { color: var(--green); font-weight: 700; }
.event-assist { color: var(--blue); font-weight: 700; }
.event-yellow { color: var(--amber); }

.match-hero {
    background: var(--green-dark); color: var(--white);
    padding: var(--s-8); border-radius: var(--r-lg); text-align: center;
}
.match-hero-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.2em; color: var(--green-light);
    margin-bottom: var(--s-4); text-transform: uppercase;
}
.match-hero-body {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: var(--s-5); margin-bottom: var(--s-4);
}
.match-hero-team { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; }
.match-hero-score {
    font-family: var(--font-display);
    display: flex; gap: var(--s-3); align-items: center;
    font-size: 56px; font-weight: 700;
    letter-spacing: -0.03em; line-height: 1;
}
.match-hero-sep { color: var(--green-light); }
.match-hero-meta {
    display: flex; justify-content: center; gap: var(--s-4);
    font-size: 11px; font-weight: 600; color: var(--green-light);
    padding-top: var(--s-4);
    border-top: 1px solid rgba(174,232,161,0.15);
    text-transform: uppercase; letter-spacing: 0.05em;
}

/* ============================================================
   EVENTOS
   ============================================================ */
.events-group { margin-bottom: var(--s-6); }
.events-group-label {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.2em; color: var(--ink-muted);
    margin-bottom: var(--s-4); text-transform: uppercase;
}
.event-row {
    display: grid; grid-template-columns: 80px 1fr;
    gap: var(--s-4); padding: var(--s-4) 0;
    border-bottom: 1px solid var(--border);
}
.event-date { text-align: center; }
.event-date-dow { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink-muted); text-transform: uppercase; }
.event-date-num {
    font-family: var(--font-display);
    display: block; font-size: 36px; font-weight: 700;
    line-height: 1; letter-spacing: -0.03em; margin: 4px 0;
}
.event-date-mon { display: block; font-size: 10px; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.event-body { border-left: 3px solid var(--green); padding-left: var(--s-3); }
.event-body-coral { border-left-color: var(--coral); }
.event-body-purple { border-left-color: var(--purple); }
.event-body-blue { border-left-color: var(--blue); }
.event-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.event-cat {
    font-size: 9px; font-weight: 700;
    background: var(--green-50); color: var(--green);
    padding: 3px 8px; border-radius: 10px;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.event-cat-coral { background: var(--coral-50); color: var(--coral); }
.event-cat-purple { background: var(--purple-50); color: var(--purple); }
.event-cat-blue { background: var(--blue-50); color: var(--blue); }
.event-time { font-size: 10px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.event-tag { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.event-tag-muted { background: var(--surface-warm); color: var(--ink-muted); }
.event-tag-success { background: #EAF3DE; color: #27500A; }
.event-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 3px; text-transform: uppercase; }
.event-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin-bottom: 8px; }
.event-cta { display: inline-block; font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: 0.05em; text-transform: uppercase; }
.event-cta-coral { color: var(--coral); }
.event-cta-purple { color: var(--purple); }
.event-cta-blue { color: var(--blue); }
.calendar-subscribe { display: flex; gap: 8px; flex-wrap: wrap; }
.event-hero-meta { display: flex; gap: var(--s-4); color: var(--ink-muted); flex-wrap: wrap; }
.event-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--s-5); }
.event-detail-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: var(--s-5); }

/* ============================================================
   GALERIA
   ============================================================ */
.album-featured {
    display: grid; grid-template-columns: 1.5fr 1fr;
    border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; background: var(--white);
    margin-bottom: var(--s-4);
    color: var(--ink); transition: transform var(--t-medium);
}
.album-featured:hover { transform: translateY(-2px); color: var(--ink); }
.album-featured-image {
    height: 260px;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-bright) 100%);
}
.album-featured-body { padding: var(--s-6); display: flex; flex-direction: column; justify-content: center; }
.album-featured-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--ink-muted); margin-bottom: var(--s-2); text-transform: uppercase; }
.album-featured-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: var(--s-3); text-transform: uppercase; }
.album-featured-desc { font-size: 14px; color: var(--ink-muted); line-height: 1.6; margin-bottom: var(--s-3); }
.album-featured-link { color: var(--green); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }

.albums-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.album-card {
    background: var(--white);
    border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; color: var(--ink);
    transition: transform var(--t-medium);
}
.album-card:hover { transform: translateY(-2px); color: var(--ink); }
.album-card-image { height: 140px; background: var(--green); position: relative; }
.album-card-jogos .album-card-image { background: var(--green); }
.album-card-comunidade .album-card-image { background: var(--coral); }
.album-card-festas .album-card-image { background: var(--purple); }
.album-card-arquivo .album-card-image { background: var(--surface-warm); border-bottom: 1px solid var(--border); }
.album-card-badge {
    position: absolute; top: 8px; left: 8px;
    background: var(--white); color: var(--green);
    font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
    padding: 3px 8px; border-radius: 10px; text-transform: uppercase;
}
.album-card-comunidade .album-card-badge { color: var(--coral); }
.album-card-festas .album-card-badge { color: var(--purple); }
.album-card-arquivo .album-card-badge { background: var(--ink); color: var(--white); }
.album-card-count { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.55); color: var(--white); font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 8px; }
.album-card-year {
    position: absolute; top: 12px; right: 12px;
    background: rgba(26,26,26,0.1); color: var(--ink-soft);
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700; padding: 3px 8px;
    border-radius: var(--r-sm); letter-spacing: 0.02em;
}
.album-card-body { padding: 12px; }
.album-card-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; text-transform: uppercase; }
.album-card-date { font-size: 10px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.02em; text-transform: uppercase; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: var(--s-5); }
.photo-grid-item {
    aspect-ratio: 1; background: var(--green);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 11px; font-weight: 700;
}
.photo-grid-item-0 { background: var(--green); }
.photo-grid-item-1 { background: var(--coral); }
.photo-grid-item-2 { background: var(--purple); }
.photo-grid-item-3 { background: var(--blue); }
.photo-grid-item-4 { background: var(--ink-muted); }
.gallery-placeholder-note { font-size: 12px; color: var(--ink-muted); text-align: center; padding-top: var(--s-5); border-top: 1px solid var(--border); }

/* ============================================================
   LOJA
   ============================================================ */
.shop-featured {
    display: grid; grid-template-columns: 1.5fr 1fr;
    background: linear-gradient(100deg, var(--green-dark) 0%, var(--green) 100%);
    color: var(--white);
    border-radius: var(--r-lg); overflow: hidden;
    margin-bottom: var(--s-4);
}
.shop-featured:hover { color: var(--white); }
.shop-featured-image { height: 200px; background-image: repeating-linear-gradient(90deg, transparent 0 20px, rgba(255,255,255,0.08) 20px 40px); }
.shop-featured-body { padding: var(--s-6); display: flex; flex-direction: column; justify-content: center; }
.shop-featured-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--green-light); margin-bottom: var(--s-3); text-transform: uppercase; }
.shop-featured-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: var(--s-3); text-transform: uppercase; }
.shop-featured-tagline { font-size: 14px; color: var(--green-light); margin-bottom: var(--s-4); }
.shop-featured-link { color: var(--white); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product-card {
    background: var(--white);
    border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; color: var(--ink);
    transition: transform var(--t-medium); position: relative;
}
.product-card:hover { transform: translateY(-2px); color: var(--ink); }
.product-card-oos { opacity: 0.65; }
.product-card-image { height: 180px; position: relative; background: var(--green); }
.product-image-stripes       { background: repeating-linear-gradient(90deg, var(--green) 0 18px, var(--white) 18px 36px); }
.product-image-solid-dark    { background: var(--green-dark); }
.product-image-solid-green   { background: var(--green); }
.product-image-solid-warm    { background: var(--surface-warm); }
.product-image-solid-black   { background: var(--ink); }
.product-image-solid-mint    { background: var(--green-light); }
.product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--red); color: var(--white);
    font-size: 9px; font-weight: 700; letter-spacing: 0.15em;
    padding: 3px 9px; border-radius: 10px; text-transform: uppercase;
}
.product-badge-oos { background: var(--ink-muted); }
.product-card-body { padding: 14px; }
.product-cat { display: block; font-size: 9px; font-weight: 700; color: var(--ink-muted); letter-spacing: 0.15em; margin-bottom: 4px; text-transform: uppercase; }
.product-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; text-transform: uppercase; }
.product-price-row { display: flex; justify-content: space-between; align-items: baseline; }
.product-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.product-price-socio { font-size: 10px; font-weight: 700; color: var(--green); margin-left: 6px; letter-spacing: 0.03em; text-transform: uppercase; }
.product-variants { font-size: 10px; color: var(--ink-muted); font-weight: 600; }

.shop-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); padding: var(--s-5) 0; }
.shop-trust-item { display: flex; gap: 12px; align-items: center; }
.shop-trust-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--green-50); color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; flex-shrink: 0;
}
.shop-trust-title { font-size: 13px; font-weight: 700; }
.shop-trust-sub { font-size: 11px; color: var(--ink-muted); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.product-detail-image { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--green); position: relative; }
.product-detail-name { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1.1; margin: var(--s-2) 0 var(--s-4); letter-spacing: -0.01em; text-transform: uppercase; }
.product-detail-prices { margin-bottom: var(--s-5); }
.product-price-big { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.product-price-socio-big { display: block; font-size: 13px; font-weight: 700; color: var(--green); margin-top: 4px; letter-spacing: 0.03em; text-transform: uppercase; }
.product-description { color: var(--ink-soft); line-height: 1.7; margin-bottom: var(--s-5); font-size: 15px; }
.product-form label.product-label {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em; color: var(--ink-muted);
    text-transform: uppercase; margin-top: var(--s-4); margin-bottom: var(--s-2);
}
.product-variants-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.product-variant { cursor: pointer; }
.product-variant input { position: absolute; opacity: 0; }
.product-variant span {
    display: inline-block; padding: 11px 18px;
    border: 1px solid var(--border); border-radius: var(--r-md);
    font-size: 13px; font-weight: 600; transition: all var(--t-fast);
}
.product-variant input:checked + span { border-color: var(--green); background: var(--green-hover); color: var(--green); }
.product-qty {
    width: 80px; padding: 10px 12px;
    border: 1px solid var(--border); border-radius: var(--r-md);
    font: inherit; font-size: 14px; margin-bottom: var(--s-4);
}

/* ============================================================
   COMUNIDADE / HISTÓRIA / CONTACTOS
   ============================================================ */
.initiatives-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.initiative {
    padding: var(--s-5);
    background: var(--white);
    border: 1px solid var(--border); border-radius: var(--r-lg);
}
.initiative-tag {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.15em; color: var(--coral);
    background: var(--coral-50); padding: 3px 9px;
    border-radius: 10px; margin-bottom: var(--s-3);
    text-transform: uppercase;
}
.initiative-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: var(--s-2); text-transform: uppercase; }
.initiative-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin: 0; }

.timeline-vertical { margin: var(--s-6) 0; padding-left: var(--s-5); border-left: 2px solid var(--green); }
.timeline-vertical-item {
    display: grid; grid-template-columns: 140px 1fr;
    gap: var(--s-3); padding: 10px 0; position: relative;
}
.timeline-vertical-item::before {
    content: ""; position: absolute;
    left: calc(var(--s-5) * -1 - 5px); top: 18px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.timeline-vertical-item-current::before {
    width: 12px; height: 12px;
    left: calc(var(--s-5) * -1 - 7px);
    box-shadow: 0 0 0 3px rgba(0,140,0,0.2);
}
.timeline-vertical-year { font-family: var(--font-display); font-weight: 700; color: var(--green); font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; }
.timeline-vertical-text { font-size: 14px; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s-8); }
.contact-block { margin-bottom: var(--s-5); }
.contact-label {
    display: block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.15em; color: var(--ink-muted);
    margin-bottom: var(--s-2); text-transform: uppercase;
}
.contact-block a { display: inline-block; font-weight: 600; color: var(--ink); font-size: 15px; }
.contact-block a:hover { color: var(--green); }
.contact-hint { font-size: 11px; color: var(--ink-muted); margin-left: var(--s-2); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; }

.contact-form {
    background: var(--white); padding: var(--s-5);
    border: 1px solid var(--border); border-radius: var(--r-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-bottom: var(--s-3); }
.form-field { display: flex; flex-direction: column; margin-bottom: var(--s-3); }
.form-field label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em; color: var(--ink-muted);
    margin-bottom: 6px; text-transform: uppercase;
}
.form-field input,
.form-field textarea {
    padding: 11px 14px;
    border: 1px solid var(--border); border-radius: var(--r-md);
    font: inherit; font-size: 14px;
    transition: border-color var(--t-fast);
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none; border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0,140,0,0.1);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.alert { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); margin-bottom: var(--s-4); font-size: 13px; font-weight: 500; }
.alert-success { background: var(--green-50); color: var(--green-dark); }
.alert-error { background: var(--red-50); color: var(--red); }

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-page {
    padding: var(--s-16) 0;
    min-height: 60vh;
    display: flex; align-items: center;
}
.error-content { text-align: center; max-width: 480px; margin: 0 auto; }
.error-code {
    font-family: var(--font-display);
    font-size: 96px; font-weight: 700;
    color: var(--green);
    letter-spacing: -0.03em; line-height: 1;
    display: block; margin-bottom: var(--s-4);
}
.error-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: var(--s-3); text-transform: uppercase; }
.error-body { color: var(--ink-muted); margin-bottom: var(--s-5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--t-medium);
        width: 280px !important; /* sempre aberta em mobile */
    }
    .sidebar.is-open { transform: translateX(0); }
    .sidebar:hover { width: 280px !important; box-shadow: 4px 0 24px rgba(0,0,0,0.2); }

    /* Em mobile, texto sempre visível quando aberto */
    .sidebar .sidebar-brand-text,
    .sidebar .sidebar-link-text {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    .sidebar .sidebar-cta-primary {
        width: calc(280px - 40px) !important;
        margin: 0 var(--s-5) !important;
        padding: 12px var(--s-4) !important;
    }
    .sidebar .sidebar-footer-short { opacity: 0 !important; }
    .sidebar .sidebar-footer-full { opacity: 1 !important; }

    .sidebar-toggle { display: flex; }
    .app-main { margin-left: 0; padding-top: 68px; }

    .posts-grid          { grid-template-columns: 1fr 1fr; }
    .football-grid       { grid-template-columns: 1fr; }
    .albums-grid         { grid-template-columns: 1fr 1fr; }
    .products-grid       { grid-template-columns: 1fr 1fr; }
    .shop-trust          { grid-template-columns: 1fr; }
    .product-detail      { grid-template-columns: 1fr; }
    .contact-grid        { grid-template-columns: 1fr; }
    .initiatives-grid    { grid-template-columns: 1fr 1fr; }
    .player-about-grid   { grid-template-columns: 1fr; }
    .page-header-row     { flex-direction: column; align-items: flex-start; }
    .footer-grid         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4) 0; }
    .stat { padding: var(--s-3) var(--s-3); }
    .stat:nth-child(3) { border-left: 0; }
    .stat-value { font-size: 32px; }

    .pillars { grid-template-columns: 1fr; }
    .upcoming-list { grid-template-columns: 1fr; }
    .ctas-grid { grid-template-columns: 1fr; }

    .next-match-head { flex-direction: column; align-items: flex-start; gap: 4px; }
    .next-match-body { grid-template-columns: 1fr; text-align: center; }
    .team-home, .team-away { justify-content: center; text-align: center; flex-direction: column; }
    .vs { padding: var(--s-2) 0; }

    .timeline { flex-direction: column; align-items: flex-start; gap: var(--s-4); padding-left: var(--s-5); }
    .timeline::before { top: var(--s-5); bottom: var(--s-5); left: 10px; right: auto; width: 2px; height: auto; transform: none; }
    .timeline-item { flex-direction: row; align-items: center; gap: var(--s-3); padding: 0; background: transparent; }
    .timeline-dot { margin-bottom: 0; flex-shrink: 0; }

    .posts-grid, .albums-grid, .products-grid, .initiatives-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .player-stats { grid-template-columns: repeat(2, 1fr); }
    .standings .hide-mobile { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .player-hero-grid { grid-template-columns: 1fr; }
    .player-hero-photo { display: none; }
    .player-number-bg { font-size: 180px; }
    .shop-featured, .album-featured { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .result-row { grid-template-columns: 40px 1fr 60px 1fr; }
    .result-date { display: none; }
    .match-hero-body { grid-template-columns: 1fr; }
    .match-hero-score { justify-content: center; margin: var(--s-3) 0; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* ============================================================
   CLUB CREST — emblemas de clubes (PNG em assets/img/equipas/)
   ============================================================ */

/* Base — comum a todos os tamanhos.
   O <img> ou <span> herda estas propriedades. */
.club-crest {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    flex-shrink: 0;
    line-height: 1;
}

/* Fallback textual — quando não há logo, renderizamos <span> com iniciais */
.club-crest-text {
    background: var(--surface-warm);
    color: var(--ink-muted);
    font-weight: 700;
    text-align: center;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Emblema do ADQP em fundos claros — destacar ligeiramente */
.club-crest-own.club-crest-text { background: var(--green); color: var(--white); }

/* ---- Tamanhos ---- */

/* SM — para tabelas, listas, inline com texto */
.club-crest-sm { width: 20px; height: 20px; font-size: 9px; }

/* MD — destaque médio (próximo jogo na home) */
.club-crest-md { width: 48px; height: 48px; font-size: 11px; }

/* LG — hero de partida, página do clube */
.club-crest-lg { width: 88px; height: 88px; font-size: 16px; }

/* ============================================================
   Integrações com blocos existentes
   ============================================================ */

/* Classificação — link com emblema + nome alinhados */
.standings-club-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 500;
}
.standings-club-link:hover { color: var(--green); }

/* Próximos jogos (sidebar do /futebol) — empilhar equipas com emblema inline */
.match-row-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.match-row-team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.match-row-vs {
    color: var(--ink-muted);
    font-weight: 400;
    font-size: 11px;
    margin: 2px 0;
}

/* Resultados — alinhamento dos emblemas com texto */
.result-team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.result-team-home { justify-content: flex-end; text-align: right; }
.result-team-away { justify-content: flex-start; text-align: left; }
.result-team-name { flex: 0 1 auto; }

/* Hero da partida — emblema centrado acima do nome */
.match-hero-body .match-hero-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.match-hero-team-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}
/* O emblema no fundo verde escuro do hero: dar um ligeiro círculo branco por trás
   para que logos com cores escuras se vejam bem */
.match-hero .club-crest {
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    padding: 6px;
}
.match-hero .club-crest-text {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 0;
}

/* Próximo jogo (home.php) — mantém estrutura .team flex.
   Já tem gap e alinhamento do .team existente; só garantir rounded visual. */
.next-match .club-crest-md {
    background: var(--surface-warm);
    border-radius: 50%;
    padding: 4px;
}
.next-match .club-crest-own {
    background: var(--green-50);
}
.next-match .club-crest-text { padding: 0; }

/* Home — lista de próximos jogos (upcoming-list) */
.upcoming-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Página do clube — header com emblema à esquerda, texto à direita */
.page-header-club .club-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.page-header-club .club-crest {
    background: var(--white);
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 700px) {
    .club-crest-lg { width: 64px; height: 64px; }
    .match-hero-team-name { font-size: 14px; }
    .page-header-club .club-header { flex-direction: column; text-align: center; }
}

/* ============================================================
   FICHA DE JOGO — /v2/futebol/jogo/{id}
   ============================================================ */

/* Estado agendado — a hero mostra data em vez de resultado */
.match-hero-score-pending {
    font-size: 24px;
    font-weight: 600;
    color: var(--green-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.match-hero-status {
    background: rgba(255,255,255,0.15);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Seção compacta para meta */
.section-compact { padding-top: var(--s-4); padding-bottom: var(--s-4); }

/* Meta do jogo — lista horizontal */
.match-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.match-meta-item { display: flex; flex-direction: column; gap: 2px; }
.match-meta-item dt {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    text-transform: uppercase;
}
.match-meta-item dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

/* ============================================================
   TIMELINE DE EVENTOS
   ============================================================ */
.match-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--white);
}
.match-event {
    display: grid;
    grid-template-columns: 56px 32px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.match-event:last-child { border-bottom: 0; }
.match-event-own { background: var(--green-hover); }
.match-event-opponent { background: var(--surface); }

.match-event-minute {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
    text-align: center;
    letter-spacing: -0.01em;
}
.match-event-icon { font-size: 22px; text-align: center; line-height: 1; }
.match-event-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.match-event-type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    text-transform: uppercase;
}
.match-event-actor {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.match-event-num {
    display: inline-block;
    min-width: 20px;
    padding: 1px 6px;
    background: var(--ink);
    color: var(--white);
    border-radius: 3px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    margin-right: 4px;
}
.match-event-detail { color: var(--ink-muted); font-weight: 400; }
.match-event-club { display: flex; align-items: center; }

/* ============================================================
   ALINHAMENTO
   ============================================================ */
.lineup-block { margin-top: var(--s-5); }
.lineup-block:first-of-type { margin-top: var(--s-3); }
.lineup-block-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--green);
    display: inline-block;
}

.lineup-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 6px;
}
.lineup-list-muted .lineup-item { opacity: 0.7; }

.lineup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    transition: border-color 120ms ease;
}
.lineup-item:hover { border-color: var(--green); }

.lineup-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    flex: 1;
    min-width: 0;
}
.lineup-link:hover { color: var(--green); }

.lineup-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 4px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.lineup-name { font-size: 14px; font-weight: 600; }
.lineup-captain {
    display: inline-block;
    margin-left: 4px;
    padding: 0 5px;
    background: var(--ink);
    color: var(--white);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: middle;
}
.lineup-pos {
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: 0.03em;
    margin-left: auto;
    padding-right: 4px;
}

.lineup-stats { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.lineup-stat {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0;
    white-space: nowrap;
}
.lineup-sub { color: var(--ink-muted); font-size: 11px; }
.lineup-sub-in { color: var(--green); }

/* ============================================================
   ESTADO VAZIO
   ============================================================ */
.match-empty {
    padding: 32px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    color: var(--ink-muted);
    font-size: 14px;
}

/* ============================================================
   CRÓNICA
   ============================================================ */
.match-cronica {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px 28px;
    max-width: 760px;
    margin: 0 auto;
}
.match-cronica-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}
.match-cronica-head h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.match-cronica-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.match-cronica-lead {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.5;
}
.match-cronica-body { font-size: 15px; line-height: 1.65; color: var(--ink); }
.match-cronica-body p { margin: 0 0 14px; }
.match-cronica-body h2 { font-family: var(--font-display); font-size: 18px; margin: 20px 0 10px; }
.match-cronica-body h3 { font-family: var(--font-display); font-size: 16px; margin: 16px 0 8px; }
.match-cronica-body ul, .match-cronica-body ol { margin: 0 0 14px 20px; }
.match-cronica-body a { color: var(--green); text-decoration: underline; }
.match-cronica-link { margin-top: 16px; font-size: 13px; }
.match-cronica-link a { color: var(--green); font-weight: 600; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 700px) {
    .match-event { grid-template-columns: 42px 24px 1fr auto; gap: 8px; padding: 10px 12px; }
    .match-event-minute { font-size: 15px; }
    .match-event-icon { font-size: 18px; }
    .lineup-list { grid-template-columns: 1fr; }
    .match-meta { grid-template-columns: 1fr 1fr; }
    .match-cronica { padding: 18px; }
}

/* ============================================================
   CALENDÁRIO — /v2/futebol/calendario
   ============================================================ */
.jornada {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: 20px;
    overflow: hidden;
}
.jornada-finished .jornada-head { background: var(--green-hover); }

.jornada-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-alt);
    flex-wrap: wrap;
}
.jornada-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
}
.jornada-meta { display: flex; gap: 10px; align-items: center; }
.jornada-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.jornada-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}
.jornada-status-done {
    background: var(--green-50);
    color: var(--green);
}

.jornada-games {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jornada-game {
    border-bottom: 1px solid var(--border);
}
.jornada-game:last-child { border-bottom: 0; }
.jornada-game-own { background: var(--green-hover); }

.jornada-game-link {
    display: grid;
    grid-template-columns: 64px 1fr 120px;
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
    color: var(--ink);
    transition: background 120ms ease;
}
.jornada-game-link:hover { background: var(--surface-alt); color: var(--ink); }
.jornada-game-own .jornada-game-link:hover { background: var(--green-50); }

.jornada-game-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    text-align: center;
}
.jornada-game-day {
    font-size: 9px;
    font-weight: 700;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.jornada-game-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: -0.02em;
}
.jornada-game-mon {
    font-size: 9px;
    font-weight: 700;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jornada-game-teams {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    gap: 10px;
    align-items: center;
}
.jornada-game-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    min-width: 0;
}
.jornada-game-team:first-child { justify-content: flex-end; text-align: right; }
.jornada-game-team:last-child { justify-content: flex-start; text-align: left; }
.jornada-game-team:first-child .club-crest { order: 2; }
.jornada-game-team:first-child .jornada-game-name { order: 1; }
.jornada-game-team.is-own { color: var(--green); font-weight: 700; }
.jornada-game-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.jornada-game-score {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.jornada-game-score-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
}

.jornada-game-venue {
    font-size: 12px;
    color: var(--ink-muted);
    text-align: right;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 800px) {
    .jornada-game-link {
        grid-template-columns: 48px 1fr;
        row-gap: 6px;
    }
    .jornada-game-venue {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 11px;
    }
    .jornada-game-teams {
        grid-template-columns: 1fr 70px 1fr;
        gap: 6px;
    }
    .jornada-game-team { font-size: 12px; }
    .jornada-game-score { font-size: 16px; }
    .jornada-game-num { font-size: 18px; }
}

/* ============================================================
   /futebol — rows clicáveis (match-row, result-row)
   Os <a> herdam o grid já definido; aqui só estilo de link
   ============================================================ */
a.match-row {
    text-decoration: none;
    color: var(--ink);
    transition: background 120ms ease, border-color 120ms ease;
}
a.match-row:hover {
    background: var(--green-hover);
    border-color: var(--green);
    color: var(--ink);
}

a.result-row {
    text-decoration: none;
    color: var(--ink);
    transition: background 120ms ease;
    cursor: pointer;
}
a.result-row:hover { background: var(--green-hover); color: var(--ink); }
a.result-row .result-team-name { color: var(--ink); }
a.result-row:hover .result-team-name { color: var(--green); }

/* ============================================================
   IMAGENS REAIS — quando featured_image existe
   Aspect-ratio 1:1 (formato Facebook quadrado — as fotos são
   alimentadas a partir da página do clube no FB).
   Override ao height fixo dos placeholders.
   ============================================================ */
.news-card-image.has-image,
.post-card-image.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    aspect-ratio: 1 / 1;
}
.news-item-thumb.has-image,
.related-thumb.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* news-item-thumb já é 60×60 e related-thumb é 90px de altura
       com larguras pré-definidas — mantém-se */
}
.related-thumb.has-image {
    aspect-ratio: 1 / 1;
    height: auto;
}

/* Capa do artigo — figura com imagem 1:1 centrada e limitada */
.article-cover-figure {
    margin: 0 auto 24px;
    max-width: 600px;
}
.article-cover-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Galeria de imagens dentro do artigo */
.article-gallery {
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.article-gallery-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--ink, #0F0F0E);
}
.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.article-gallery-item {
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4ee;
}
.article-gallery-item a { display: block; }
.article-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 200ms ease;
}
.article-gallery-item a:hover img {
    transform: scale(1.03);
}
.article-gallery-item figcaption {
    padding: 8px 12px;
    font-size: 12px;
    color: #6B6A62;
}

/* ============================================================
   LIGHTBOX — overlay para galerias
   ============================================================ */
body.lb-no-scroll { overflow: hidden; }

.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px 60px;
}
.lb-overlay.is-open { display: flex; }

.lb-figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lb-img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    background: #111;
}
.lb-caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    text-align: center;
    max-width: 720px;
    padding: 0 10px;
}

.lb-close,
.lb-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 0;
    font-size: 28px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease, transform 100ms ease;
}
.lb-close:hover,
.lb-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}
.lb-close:active,
.lb-nav:active {
    transform: scale(0.95);
}

.lb-close {
    top: 16px;
    right: 16px;
    font-size: 24px;
    font-weight: 300;
}
.lb-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    line-height: 1;
}
.lb-nav:active { transform: translateY(-50%) scale(0.95); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Cursor visual da thumb */
[data-lightbox] a { cursor: zoom-in; }

@media (max-width: 600px) {
    .lb-overlay { padding: 16px; }
    .lb-close { top: 8px; right: 8px; }
    .lb-prev { left: 4px; }
    .lb-next { right: 4px; }
    .lb-nav, .lb-close { width: 40px; height: 40px; }
}

/* ============================================================
   SPONSORS — faixa monocromática (home) + página completa
   Adicionar no fim de main.css
   ============================================================ */

/* ---------- FAIXA (home) ---------- */
.sponsors-strip {
    background: #FFFFFF;
    padding: var(--s-12) 0;
}
.sponsors-strip-head {
    text-align: center;
    margin-bottom: var(--s-8);
}
.sponsors-strip-eyebrow {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--ink-muted, #6B6A62);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--s-2);
}
.sponsors-strip-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--ink, #1A1A1A);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin: 0 0 var(--s-2);
}
.sponsors-strip-sub {
    font-size: 14px;
    color: var(--ink-muted, #6B6A62);
    margin: 0;
}

.sponsors-strip-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--s-4);
    align-items: center;
}
.sponsors-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.sponsors-strip-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 140px;
    padding: 12px;
    text-decoration: none;
    transition: transform 220ms ease;
}
.sponsors-strip-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 220ms ease;
}
.sponsors-strip-logo:hover,
.sponsors-strip-logo:focus-visible {
    transform: translateY(-2px);
}

.sponsors-strip-foot {
    text-align: center;
    margin-top: var(--s-8);
}
.sponsors-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--green, #008C00);
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 160ms ease;
}
.sponsors-strip-link:hover,
.sponsors-strip-link:focus-visible {
    border-bottom-color: var(--green, #008C00);
}

/* Responsive faixa */
@media (max-width: 1024px) {
    .sponsors-strip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
    .sponsors-strip-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
    .sponsors-strip-item { min-height: 110px; }
    .sponsors-strip-logo { height: 110px; }
}

/* ============================================================
   PÁGINA /sponsors — grid de cards
   ============================================================ */

.page-hero-sponsors {
    background: linear-gradient(135deg, #002800 0%, #003D00 100%);
    color: var(--white, #fff);
    padding: var(--s-12) 0 var(--s-10);
}
.page-hero-eyebrow {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--green-light, #AEE8A1);
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid rgba(174,232,161,0.35);
    border-radius: 20px;
    padding: 6px 14px;
    margin-bottom: var(--s-4);
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.0;
    margin: 0 0 var(--s-4);
}
.page-hero-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--green-light, #AEE8A1);
    max-width: 580px;
    margin: 0;
}

/* Grid cards */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    margin-top: var(--s-8);
}
.sponsor-card {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    background: var(--white, #fff);
    border: 0.5px solid var(--border, rgba(0,0,0,0.08));
    border-radius: 10px;
    padding: var(--s-5);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.sponsor-card:hover {
    transform: translateY(-3px);
    border-color: var(--green, #008C00);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.sponsor-card-logo {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-3);
}
.sponsor-card-logo img {
    max-width: 90%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 540px) {
    .sponsor-card-logo { height: 130px; }
}

.sponsor-card-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sponsor-card-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink, #1A1A1A);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.005em;
}
.sponsor-card-desc {
    font-size: 13px;
    color: var(--ink-muted, #6B6A62);
    line-height: 1.5;
    margin: 0;
}
.sponsor-card-long {
    font-size: 13px;
    color: var(--ink, #1A1A1A);
    line-height: 1.6;
    margin: var(--s-2) 0 0;
}
.sponsor-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: center;
    margin-top: var(--s-3);
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--green, #008C00);
    text-decoration: none;
    border: 1px solid var(--green, #008C00);
    border-radius: 4px;
    transition: background 140ms ease, color 140ms ease;
}
.sponsor-card-link:hover,
.sponsor-card-link:focus-visible {
    background: var(--green, #008C00);
    color: var(--white, #fff);
}

/* Responsive grid */
@media (max-width: 900px) {
    .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .sponsors-grid { grid-template-columns: 1fr; }
}

/* CTA fundo da página /sponsors */
.sponsors-cta {
    margin-top: var(--s-12);
    padding: var(--s-8) var(--s-6);
    background: var(--bg, #FAFAF7);
    border: 1px solid var(--border, rgba(0,0,0,0.06));
    border-radius: 12px;
    text-align: center;
}
.sponsors-cta-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ink, #1A1A1A);
    margin: 0 0 var(--s-2);
    letter-spacing: -0.005em;
}
.sponsors-cta-lead {
    font-size: 14px;
    color: var(--ink-muted, #6B6A62);
    max-width: 520px;
    margin: 0 auto var(--s-5);
    line-height: 1.6;
}

/* Empty state */
.empty-state {
    text-align: center;
    color: var(--ink-muted, #6B6A62);
    padding: var(--s-8) 0;
    font-size: 14px;
}

/* ============================================================
   INSTITUCIONAL — faixa antes do footer (ADP / Junta / CM Espinho)
   ============================================================ */
.institucional-strip {
    background: #FFFFFF;
    padding: var(--s-10, 32px) 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.institucional-eyebrow {
    display: block;
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--ink-muted, #6B6A62);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--s-6, 20px);
}
.institucional-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4, 16px);
    align-items: center;
}
.institucional-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 220ms ease;
}
.institucional-item img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}
.institucional-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink, #1A1A1A);
    text-align: center;
    letter-spacing: 0.01em;
}
.institucional-item:hover {
    transform: translateY(-2px);
}
@media (max-width: 640px) {
    .institucional-grid { grid-template-columns: 1fr; gap: var(--s-3, 12px); }
    .institucional-item img { width: 90px; height: 90px; }
}
