/* ==========================================================================
   FEPRA Core — componentes públicos
   Usa as cores do tema quando existem (variáveis --wp--preset--color--*).
   ========================================================================== */
:root {
	--f-night: var(--wp--preset--color--noite, #0E1712);
	--f-green: var(--wp--preset--color--fepra-verde, #037A12);
	--f-green-d: var(--wp--preset--color--fepra-verde-escuro, #015A0A);
	--f-red: var(--wp--preset--color--fepra-vermelho, #D60100);
	--f-ink: var(--wp--preset--color--contrast, #141A16);
	--f-muted: var(--wp--preset--color--contrast-2, #5A665F);
	--f-line: var(--wp--preset--color--linha, #E1E6E2);
	--f-soft: var(--wp--preset--color--base-2, #F3F5F2);
	--f-cond: 78%;
	--f-ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Botões ---------- */
.fepra-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; border: 2px solid transparent; border-radius: 2px; font-weight: 700; font-size: .95rem; font-stretch: 90%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; line-height: 1; transition: background-color .2s, color .2s, border-color .2s; }
.fepra-btn--primary { background: var(--f-green); color: #fff !important; }
.fepra-btn--primary:hover { background: #fff; color: var(--f-ink) !important; }
.fepra-btn--light { border-color: rgba(255,255,255,.8); color: #fff !important; }
.fepra-btn--light:hover { background: #fff; color: var(--f-ink) !important; }
.fepra-btn--outline { border-color: var(--f-ink); color: var(--f-ink) !important; }
.fepra-btn--outline:hover { background: var(--f-ink); color: #fff !important; }
.fepra-btn--dark { background: var(--f-ink); color: #fff !important; }
.fepra-btn--dark:hover { background: var(--f-green); }
.fepra-btn:focus-visible { outline: 3px solid var(--f-green); outline-offset: 3px; }

/* ---------- Animação de entrada ---------- */
.fepra-js .fepra-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--f-ease), transform .8s var(--f-ease); }
.fepra-js .fepra-reveal.is-in { opacity: 1; transform: none; }
.fepra-rows .fepra-row:nth-child(2) { transition-delay: .08s; }
.fepra-rows .fepra-row:nth-child(3) { transition-delay: .16s; }
.fepra-rows .fepra-row:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   Slider (a toda a largura, com fotografia)
   ========================================================================== */
.fepra-slider { position: relative; overflow: hidden; color: #fff; background: var(--f-night); isolation: isolate; }
.fepra-slider__track { display: grid; }
.fepra-slide { grid-area: 1 / 1; position: relative; display: grid; align-items: center; min-height: min(86vh, 780px); }
.fepra-slide[hidden] { display: none; }
.fepra-slide__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.fepra-slide__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.fepra-slide__bg--none { background: var(--f-night); }
.fepra-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,18,13,.92) 0%, rgba(10,18,13,.72) 38%, rgba(10,18,13,.15) 75%), linear-gradient(0deg, rgba(10,18,13,.75) 0%, transparent 35%); }
.fepra-slide.is-active .fepra-slide__bg img { transition: transform 9s linear; transform: scale(1); }
.fepra-slide.is-leaving { z-index: 1; animation: fepra-out .9s var(--f-ease) forwards; }
@keyframes fepra-out { to { opacity: 0; } }

.fepra-slide__inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 7rem var(--wp--preset--spacing--50, 1.5rem) 9rem; box-sizing: border-box; }
.fepra-slide__pre { margin: 0 0 1.1rem; display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: 1rem; color: rgba(255,255,255,.85); }
.fepra-slide__pre::before { content: ""; width: 2.5rem; height: 3px; background: var(--f-red); }
.fepra-slide__title { margin: 0 0 1.4rem; max-width: 13ch; color: #fff; font-size: clamp(2.8rem, 7vw, 6.2rem) !important; line-height: .9 !important; font-weight: 800 !important; font-stretch: var(--f-cond); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
h2.fepra-slide__title { font-size: clamp(2.4rem, 5.5vw, 4.8rem) !important; max-width: 16ch; }
.fepra-slide__title a { color: inherit; text-decoration: none; }
.fepra-slide__lead { margin: 0 0 2.2rem; max-width: 44ch; font-size: 1.2rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.fepra-slide__actions { margin: 0; display: flex; flex-wrap: wrap; gap: .9rem; }

/* Texto entra em cascata quando o slide fica ativo */
.fepra-slide.is-active .fepra-slide__inner > * { animation: fepra-rise .9s var(--f-ease) both; }
.fepra-slide.is-active .fepra-slide__inner > :nth-child(2) { animation-delay: .1s; }
.fepra-slide.is-active .fepra-slide__inner > :nth-child(3) { animation-delay: .2s; }
.fepra-slide.is-active .fepra-slide__inner > :nth-child(4) { animation-delay: .3s; }
@keyframes fepra-rise { from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* O traço do carro do logótipo, em marca de água */
.fepra-slider__mark { position: absolute; z-index: 0; right: -6%; bottom: 7rem; width: min(70vw, 1100px); opacity: .1; pointer-events: none; }

/* Controlos: contador, barras de progresso, setas */
.fepra-slider__controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 2.4rem; max-width: 1240px; margin: 0 auto; padding: 0 var(--wp--preset--spacing--50, 1.5rem); box-sizing: border-box; display: flex; align-items: center; gap: 1.2rem; }
.fepra-slider__count { margin: 0; font-weight: 700; font-stretch: var(--f-cond); font-size: 1.1rem; color: rgba(255,255,255,.6); letter-spacing: .06em; }
.fepra-slider__current { color: #fff; font-size: 1.6rem; }
.fepra-slider__dots { display: flex; gap: .5rem; flex: 0 1 18rem; }
.fepra-slider__dot { flex: 1; height: 1.4rem; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.fepra-slider__dot span { display: block; width: 100%; height: 3px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; }
.fepra-slider__dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.fepra-slider__dot.is-active span::after { transform: scaleX(1); }
.fepra-slider.is-running .fepra-slider__dot.is-active span::after { animation: fepra-progress var(--fepra-interval, 7s) linear both; }
@keyframes fepra-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fepra-slider__arrow, .fepra-slider__pause { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, color .2s; }
.fepra-slider__arrow:first-of-type { margin-left: auto; }
.fepra-slider__arrow:hover, .fepra-slider__pause:hover { background: #fff; color: var(--f-ink); }
.fepra-slider__pause .i-play { display: none; }
.fepra-slider.is-paused .fepra-slider__pause .i-play { display: block; }
.fepra-slider.is-paused .fepra-slider__pause .i-pause { display: none; }
.fepra-slider button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 781px) {
	.fepra-slide { min-height: 78vh; }
	.fepra-slide__inner { padding: 5rem 1.25rem 8rem; }
	.fepra-slide::before { background: linear-gradient(0deg, rgba(10,18,13,.95) 10%, rgba(10,18,13,.55) 60%, rgba(10,18,13,.35) 100%); }
	.fepra-slider__mark { display: none; }
	.fepra-slider__arrow { display: none; }
}

/* ==========================================================================
   Calendário em linhas (página inicial)
   ========================================================================== */
.fepra-rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--f-line); background: #fff; }
.fepra-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding: 1.6rem 2rem; border-bottom: 1px solid var(--f-line); transition: background-color .25s; }
.fepra-row:last-child { border-bottom: 0; }
.fepra-row:nth-child(even) { background: var(--f-soft); }
.fepra-row:hover { background: #fff; box-shadow: inset 4px 0 0 var(--f-green); }
.fepra-row__date { display: grid; justify-items: center; text-align: center; }
.fepra-row__day { font-size: 3rem; line-height: .9; font-weight: 800; font-stretch: var(--f-cond); color: var(--f-ink); }
.fepra-row__month { margin-top: .35rem; font-size: .85rem; font-weight: 700; text-transform: capitalize; color: var(--f-muted); }
.fepra-row__cat { margin: 0 0 .3rem; font-size: .85rem; font-weight: 600; color: var(--f-green); }
.fepra-row__title { margin: 0 0 .3rem !important; font-size: 1.45rem !important; line-height: 1.1 !important; font-weight: 800 !important; font-stretch: var(--f-cond); text-transform: uppercase; }
.fepra-row__title a { color: var(--f-ink); text-decoration: none; }
.fepra-row__title a:hover { color: var(--f-green); }
.fepra-row__where { margin: 0; color: var(--f-muted); font-size: .95rem; }
.fepra-row__state { color: var(--f-red); }
.fepra-row__actions { display: grid; gap: .5rem; min-width: 11rem; }
.fepra-row--cancelado .fepra-row__title a { text-decoration: line-through; }
@media (max-width: 781px) {
	.fepra-row { grid-template-columns: 4.5rem 1fr; gap: 1rem 1.25rem; padding: 1.25rem; }
	.fepra-row__day { font-size: 2.2rem; }
	.fepra-row__actions { grid-column: 1 / -1; grid-auto-flow: column; min-width: 0; }
}

/* ==========================================================================
   Contagem decrescente sobre fotografia
   ========================================================================== */
.fepra-countdown { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--f-night); text-align: center; }
.fepra-countdown__bg { position: absolute; inset: 0; z-index: -2; }
.fepra-countdown__bg img { width: 100%; height: 100%; object-fit: cover; }
.fepra-countdown::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,18,13,.78); }
.fepra-countdown__inner { max-width: 1100px; margin: 0 auto; padding: 6.5rem 1.5rem; }
.fepra-countdown__pre { margin: 0 0 .8rem; display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; color: rgba(255,255,255,.85); }
.fepra-countdown__pre::before, .fepra-countdown__pre::after { content: ""; width: 2rem; height: 3px; background: var(--f-red); }
.fepra-countdown__title { margin: 0 auto .5rem !important; max-width: 24ch; font-size: clamp(1.8rem, 3.6vw, 2.9rem) !important; line-height: 1 !important; font-weight: 800 !important; font-stretch: var(--f-cond); text-transform: uppercase; color: #fff; }
.fepra-countdown__title a { color: inherit; text-decoration: none; }
.fepra-countdown__where { margin: 0 0 2.6rem; color: rgba(255,255,255,.75); }
.fepra-countdown__clock { display: flex; justify-content: center; gap: clamp(1rem, 5vw, 4.5rem); margin: 0 0 2.8rem; }
.fepra-countdown__clock > div { display: grid; justify-items: center; min-width: 5ch; }
.fepra-countdown__clock span { font-size: clamp(3.4rem, 10vw, 8.5rem); line-height: .85; font-weight: 800; font-stretch: 75%; font-variant-numeric: tabular-nums; }
.fepra-countdown__clock small { margin-top: .6rem; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.7); }
.fepra-countdown__actions { margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; }

/* ==========================================================================
   Barra de últimas notícias (topo)
   ========================================================================== */
.fepra-ticker { display: flex; align-items: center; gap: 1rem; min-width: 0; overflow: hidden; }
.fepra-ticker__label { flex: none; padding: .2rem .6rem; background: var(--f-red); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 2px; }
.fepra-ticker__viewport { display: flex; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.fepra-ticker__list { flex: none; display: flex; gap: 3rem; margin: 0; padding: 0 3rem 0 0; list-style: none; animation: fepra-marquee 45s linear infinite; }
.fepra-ticker:hover .fepra-ticker__list { animation-play-state: paused; }
.fepra-ticker__list a { color: rgba(255,255,255,.85); text-decoration: none; white-space: nowrap; font-size: .88rem; }
.fepra-ticker__list a:hover { color: #fff; text-decoration: underline; }
@keyframes fepra-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.fepra-ticker__list { animation: none; }
	.fepra-ticker__list[aria-hidden] { display: none; }
	.fepra-slide.is-active .fepra-slide__inner > *, .fepra-slide.is-leaving { animation: none; }
	.fepra-slide.is-active .fepra-slide__bg img { transition: none; transform: none; }
	.fepra-js .fepra-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Listagens (documentos, regulamentos, circulares)
   ========================================================================== */
.fepra-search { display: flex; gap: .5rem; margin: 0 0 1.5rem; }
.fepra-search input[type="search"] { flex: 1; min-width: 0; padding: .85rem 1rem; border: 1px solid var(--f-line); border-radius: 2px; font: inherit; background: #fff; }
.fepra-search input[type="search"]:focus { outline: 2px solid var(--f-green); outline-offset: 0; border-color: var(--f-green); }
.fepra-search button { padding: .85rem 1.4rem; border: 0; border-radius: 2px; background: var(--f-ink); color: #fff; font: inherit; font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; cursor: pointer; }
.fepra-search button:hover { background: var(--f-green); }

.fepra-doc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--f-ink); }
.fepra-doc { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: 1.1rem .25rem; border-bottom: 1px solid var(--f-line); }
.fepra-doc:hover { background: var(--f-soft); }
.fepra-doc__title { font-weight: 700; font-size: 1.05rem; color: var(--f-ink); text-decoration: none; }
.fepra-doc__title:hover { color: var(--f-green); text-decoration: underline; }
.fepra-doc__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: .1rem 1.25rem; font-size: .9rem; color: var(--f-muted); }
.fepra-doc__badge { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .75rem; font-weight: 700; padding: .3rem .55rem; border: 1px solid var(--f-red); color: var(--f-red); border-radius: 2px; }
.fepra-empty { color: var(--f-muted); }
.fepra-pagination { margin-top: 1.5rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.fepra-pagination .page-numbers { padding: .45rem .8rem; border: 1px solid var(--f-line); text-decoration: none; color: var(--f-ink); }
.fepra-pagination .current { background: var(--f-ink); border-color: var(--f-ink); color: #fff; }

/* Calendário em lista (página Calendário) */
.fepra-cal__month { margin: 2.2rem 0 .6rem !important; font-size: 1.1rem !important; font-weight: 800; text-transform: uppercase; font-stretch: var(--f-cond); color: var(--f-green); }
.fepra-cal__month:first-child { margin-top: 0 !important; }
.fepra-cal__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--f-ink); }
.fepra-cal__item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--f-line); }
.fepra-cal__date { display: grid; justify-items: center; line-height: 1; }
.fepra-cal__date strong { font-size: 2rem; font-weight: 800; font-stretch: var(--f-cond); color: var(--f-ink); }
.fepra-cal__date small { margin-top: .25rem; font-size: .75rem; font-weight: 700; text-transform: capitalize; color: var(--f-muted); }
.fepra-cal__body { display: block; min-width: 0; }
.fepra-cal__body a { font-weight: 700; font-size: 1.05rem; color: var(--f-ink); text-decoration: none; }
.fepra-cal__body a:hover { color: var(--f-green); text-decoration: underline; }
.fepra-cal__meta { display: flex; flex-wrap: wrap; gap: .1rem 1.25rem; margin-top: .15rem; font-size: .9rem; color: var(--f-muted); }
.fepra-cal__state { font-size: .8rem; font-weight: 700; color: var(--f-red); }
.fepra-cal__item--cancelado .fepra-cal__body a { text-decoration: line-through; }
@media (max-width: 600px) { .fepra-cal__item { grid-template-columns: 3.5rem 1fr; } .fepra-cal__state { grid-column: 2; } }

/* Página individual */
.fepra-single { margin: 0 0 2rem; padding: 1.4rem 1.5rem; background: var(--f-soft); border-top: 3px solid var(--f-green); }
.fepra-single__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.fepra-single__meta dt { font-size: .85rem; font-weight: 600; color: var(--f-muted); }
.fepra-single__meta dd { margin: .15rem 0 0; font-weight: 700; }
.fepra-single__download { display: inline-block; margin: 1.2rem .6rem 0 0; }
.fepra-single__download span { margin-left: .5rem; font-size: .85rem; color: var(--f-muted); }
.fepra-btn-alt { background: transparent !important; color: var(--f-ink) !important; border: 2px solid var(--f-ink) !important; }

/* Quadro "próxima prova" (outras páginas) */
.fepra-next { display: grid; grid-template-columns: auto 1fr; background: #fff; color: var(--f-ink); border: 1px solid var(--f-line); border-top: 3px solid var(--f-red); }
.fepra-next__date { display: grid; justify-items: center; align-content: center; padding: 1.2rem 1.5rem; border-right: 1px solid var(--f-line); }
.fepra-next__day { font-size: 3.4rem; line-height: .9; font-weight: 800; font-stretch: var(--f-cond); }
.fepra-next__month { margin-top: .3rem; font-size: .85rem; font-weight: 700; text-transform: capitalize; color: var(--f-muted); }
.fepra-next__body { padding: 1.2rem 1.5rem; }
.fepra-next__label { margin: 0; font-size: .85rem; font-weight: 600; color: var(--f-muted); }
.fepra-next__count { margin: 0 0 .3rem; font-weight: 700; color: var(--f-red); font-size: .9rem; }
.fepra-next__title { margin: 0 0 .5rem !important; font-size: 1.4rem !important; line-height: 1.1 !important; font-stretch: var(--f-cond); text-transform: uppercase; }
.fepra-next__title a { color: inherit; text-decoration: none; }
.fepra-next__facts { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1rem; color: var(--f-muted); font-size: .92rem; }
.fepra-next__actions { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.fepra-next__link { font-weight: 700; color: var(--f-green); }
.fepra-next--empty { display: block; padding: 1.5rem; }

/* ==========================================================================
   v0.6 — componentes da página inicial (fx-*)
   ========================================================================== */
:root { --fx-ink: #101512; --fx-ink2: #56615A; --fx-bg: #F3F5F3; --fx-line: #E3E8E4; --fx-g: #037A12; --fx-g2: #0B5E18; --fx-deep: #0A1A10; --fx-red: #D60100; --fx-r: 14px; --fx-sh: 0 1px 2px rgba(16,21,18,.06), 0 14px 34px -14px rgba(16,21,18,.22); --fx-sh2: 0 2px 4px rgba(16,21,18,.06), 0 26px 50px -18px rgba(16,21,18,.32); --fx-e: cubic-bezier(.2,.75,.2,1); }
.fx-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.fx-hero *, .fx-races *, .fx-cd * { box-sizing: border-box; }
.fx-btn { display: inline-flex; align-items: center; gap: .6rem; height: 48px; padding: 0 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none !important; white-space: nowrap; transition: transform .25s var(--fx-e), box-shadow .25s, background-color .25s, color .25s; }
.fx-btn svg { width: 18px; height: 18px; transition: transform .25s var(--fx-e); }
.fx-btn:hover svg { transform: translateX(4px); }
.fx-btn--green { background: var(--fx-g); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(3,122,18,.7); }
.fx-btn--green:hover { background: #04941a; transform: translateY(-2px); }
.fx-btn--white { background: #fff; color: var(--fx-ink) !important; }
.fx-btn--white:hover { transform: translateY(-2px); box-shadow: var(--fx-sh); }
.fx-btn:focus-visible, .fx-thumb:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fx-chip { display: inline-flex; align-items: center; gap: .5rem; height: 30px; padding: 0 .8rem; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .03em; }
.fx-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--fx-red); box-shadow: 0 0 0 4px rgba(214,1,0,.25); }
.fx-tag { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .25rem .55rem; border-radius: 6px; background: #E7F3E9; color: var(--fx-g2); }

/* Entrada ao scroll */
.fx-js .fx-rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--fx-e), transform .8s var(--fx-e); }
.fx-js .fx-rv.is-in { opacity: 1; transform: none; }

/* ---------- Destaque ---------- */
.fx-hero { position: relative; height: min(78vh, 720px); min-height: 560px; overflow: hidden; background: var(--fx-deep); color: #fff; }
.fx-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--fx-e); }
.fx-hero__slide.is-on { opacity: 1; }
.fx-hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s linear; }
.fx-hero__slide.is-on img { transform: scale(1); }
.fx-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,10,.88) 0%, rgba(6,16,10,.55) 45%, rgba(6,16,10,.1) 75%), linear-gradient(0deg, rgba(6,16,10,.85) 0, transparent 45%); }
.fx-hero__wrap { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 3rem; align-items: end; padding-bottom: 7.5rem; }
.fx-hero__caps { max-width: 720px; }
.fx-hero__title { margin: 1.1rem 0 1rem !important; color: #fff !important; font-size: clamp(2.6rem, 5.2vw, 4.6rem) !important; line-height: .92 !important; font-weight: 800 !important; font-stretch: 82%; text-transform: uppercase; }
.fx-hero__title a { color: inherit !important; text-decoration: none !important; }
.fx-hero__lead { margin: 0 0 1.8rem; font-size: 1.15rem; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 52ch; }
.fx-hero__cap > * { opacity: 0; transform: translateY(24px); }
.fx-hero__cap.is-in > * { opacity: 1; transform: none; transition: opacity .7s var(--fx-e), transform .7s var(--fx-e); }
.fx-hero__cap.is-in > :nth-child(2) { transition-delay: .08s; }
.fx-hero__cap.is-in > :nth-child(3) { transition-delay: .16s; }
.fx-hero__cap.is-in > :nth-child(4) { transition-delay: .24s; }
.fx-hero__thumbs { display: grid; gap: .6rem; }
.fx-thumb { position: relative; overflow: hidden; display: grid; grid-template-columns: 84px 1fr; gap: .9rem; align-items: center; padding: .6rem; border-radius: 12px; text-align: left; background: rgba(8,16,11,.62); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: #fff; font: inherit; cursor: pointer; transition: background-color .25s, border-color .25s; }
.fx-thumb:hover { background: rgba(8,16,11,.74); }
.fx-thumb.is-on { background: rgba(8,16,11,.80); border-color: rgba(255,255,255,.4); }
.fx-thumb img { width: 84px; height: 60px; border-radius: 8px; object-fit: cover; }
.fx-thumb b { display: block; font-size: .95rem; font-stretch: 88%; text-transform: uppercase; line-height: 1.1; }
.fx-thumb small { display: block; margin-top: .25rem; color: rgba(255,255,255,.78); font-size: .78rem; }
.fx-thumb__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--fx-g); }
.fx-thumb.is-on .fx-thumb__bar { animation: fx-progress var(--fx-interval, 7s) linear forwards; }
.fx-hero.is-paused .fx-thumb.is-on .fx-thumb__bar { animation-play-state: paused; }
@keyframes fx-progress { to { width: 100%; } }

/* ---------- Próximas provas ---------- */
.fx-races { position: relative; z-index: 5; margin-top: -4.5rem; }
.fx-races__grid { display: grid; grid-template-columns: 200px repeat(4, minmax(0,1fr)); gap: 12px; }
.fx-race { display: grid; align-content: start; gap: .45rem; padding: 1.1rem 1.15rem; border-radius: var(--fx-r); background: #fff; color: var(--fx-ink) !important; text-decoration: none !important; box-shadow: var(--fx-sh); transition: transform .3s var(--fx-e), box-shadow .3s; }
.fx-race:hover { transform: translateY(-4px); box-shadow: var(--fx-sh2); }
.fx-race--lead { align-content: center; background: var(--fx-g); color: #fff !important; }
.fx-race--lead h2 { margin: 0 !important; color: #fff !important; font-size: 1.5rem !important; line-height: 1 !important; text-transform: uppercase; font-stretch: 82%; }
.fx-race--lead a { color: #fff !important; text-decoration: none; font-weight: 700; font-size: .88rem; opacity: .9; }
.fx-race--vazio .fx-race__title { opacity: .55; }
.fx-race--vazio .fx-race__date b { opacity: .4; }
.fx-race__date { display: flex; align-items: center; gap: .6rem; }
.fx-race__date b { font-size: 2.1rem; font-weight: 800; font-stretch: 75%; line-height: .9; }
.fx-race__date span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fx-ink2); line-height: 1.15; }
.fx-race__title { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.fx-race__place { font-size: .82rem; color: var(--fx-ink2); }

/* ---------- Contagem ---------- */
.fx-cd { position: relative; overflow: hidden; color: #fff; background: var(--fx-deep); isolation: isolate; }
.fx-cd__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.fx-cd::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 85% 50%, rgba(3,122,18,.35), transparent 60%), linear-gradient(90deg, rgba(10,26,16,.95), rgba(10,26,16,.6)); }
.fx-cd__grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.fx-cd__title { margin: 1rem 0 .6rem !important; color: #fff !important; font-size: clamp(2rem, 3.4vw, 3rem) !important; line-height: 1 !important; text-transform: uppercase; font-stretch: 82%; }
.fx-cd__title a { color: inherit !important; text-decoration: none !important; }
.fx-cd__where { margin: 0 0 1.8rem; color: rgba(255,255,255,.75); }
.fx-cd__actions { margin: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.fx-cd__clock { display: grid; grid-template-columns: repeat(4, 108px); gap: 12px; }
.fx-cd__clock div { height: 124px; display: grid; place-content: center; text-align: center; border-radius: var(--fx-r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fx-cd__clock b { font-size: 3.4rem; font-weight: 800; font-stretch: 72%; line-height: 1; font-variant-numeric: tabular-nums; }
.fx-cd__clock small { margin-top: .35rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }

@media (max-width: 1100px) {
	.fx-hero__wrap { grid-template-columns: 1fr; }
	.fx-hero__thumbs { display: none; }
	.fx-races__grid { grid-template-columns: repeat(2, 1fr); }
	.fx-race--lead { grid-column: 1 / -1; }
	.fx-cd__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.fx-wrap { padding: 0 18px; }
	.fx-hero { min-height: 520px; }
	.fx-hero__wrap { padding-bottom: 6.5rem; }
	.fx-races__grid { grid-template-columns: 1fr; }
	.fx-cd__clock { grid-template-columns: repeat(4, 1fr); }
	.fx-cd__clock div { height: 92px; }
	.fx-cd__clock b { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) {
	.fx-hero *, .fx-races *, .fx-cd * { animation: none !important; transition: none !important; }
	.fx-js .fx-rv, .fx-hero__cap > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   Filtros, arquivo de notícias e diretório (clubes / pistas)
   ========================================================================== */
.fepra-filtros { flex-wrap: wrap; align-items: stretch; }
.fepra-filtros input[type="search"] { flex: 1 1 16rem; }
.fepra-filtros select { flex: 0 1 auto; max-width: 100%; padding: .8rem 2rem .8rem .9rem; border: 1px solid var(--f-line); border-radius: 2px; font: inherit; font-size: .95rem; background: #fff; color: var(--f-ink); }
.fepra-filtros select:focus { outline: 2px solid var(--f-green); }
.fepra-filtros__limpar { align-self: center; font-size: .9rem; color: var(--f-muted); }
.fepra-count { margin: -.5rem 0 1rem; font-size: .9rem; color: var(--f-muted); }

.fepra-tabs { display: flex; gap: 0; margin: 0 0 1.5rem; border-bottom: 2px solid var(--f-line); }
.fepra-tabs a { padding: .7rem 1.2rem; margin-bottom: -2px; border-bottom: 3px solid transparent; font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; color: var(--f-muted); text-decoration: none; }
.fepra-tabs a:hover { color: var(--f-ink); }
.fepra-tabs a[aria-current] { color: var(--f-ink); border-bottom-color: var(--f-green); }

.fepra-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.75rem 1.5rem; }
.fepra-card { display: flex; flex-direction: column; }
.fepra-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--f-night); }
.fepra-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--f-ease); }
.fepra-card__img img.is-logo { object-fit: contain; padding: 18% 22%; }
.fepra-card:hover .fepra-card__img img:not(.is-logo) { transform: scale(1.04); }
.fepra-card__body { padding-top: .8rem; }
.fepra-card__meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin: 0 0 .35rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--f-muted); }
.fepra-card__meta span { color: var(--f-green); }
.fepra-card__title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.fepra-card__title a { color: var(--f-ink); text-decoration: none; }
.fepra-card__title a:hover { color: var(--f-green); text-decoration: underline; }

.fepra-dir__index { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; }
.fepra-dir__index a { padding: .35rem .7rem; border: 1px solid var(--f-line); font-size: .85rem; color: var(--f-ink); text-decoration: none; }
.fepra-dir__index a:hover { border-color: var(--f-green); color: var(--f-green); }
.fepra-dir__grupo { margin: 0 0 2.5rem; scroll-margin-top: 6rem; }
.fepra-dir__grupo h2 { margin: 0 0 1rem !important; padding-bottom: .5rem; border-bottom: 2px solid var(--f-ink); font-size: 1.15rem !important; font-weight: 800; text-transform: uppercase; font-stretch: var(--f-cond); color: var(--f-green); }
.fepra-dir__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.fepra-dir__item { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; padding: .9rem; border: 1px solid var(--f-line); background: #fff; }
.fepra-dir__img { display: flex; align-items: center; justify-content: center; width: 5.5rem; height: 5.5rem; overflow: hidden; background: var(--f-soft); text-decoration: none; }
.fepra-dir__img img { width: 100%; height: 100%; object-fit: contain; }
.fepra-dir__img span { font-weight: 800; color: var(--f-muted); font-size: .9rem; }
.fepra-dir__item h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.fepra-dir__item h3 a { color: var(--f-ink); text-decoration: none; }
.fepra-dir__item h3 a:hover { color: var(--f-green); }
.fepra-dir__item p { margin: 0; font-size: .88rem; color: var(--f-muted); }
.fepra-dir__contactos { display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin-top: .3rem !important; }
.fepra-dir__contactos a { color: var(--f-green); }
@media (max-width: 600px) {
	.fepra-filtros select { flex: 1 1 45%; }
	.fepra-dir__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Formulários de pedidos
   ========================================================================== */
.fepra-pedido { scroll-margin-top: 7rem; }
.fepra-form { padding: 1.75rem; border: 1px solid var(--f-line); background: #fff; }
.fepra-form__intro { margin: 0 0 1.25rem; color: var(--f-muted); }
.fepra-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.fepra-form__campo--largo { grid-column: 1 / -1; }
.fepra-form label, .fepra-form legend { display: block; margin: 0 0 .35rem; font-weight: 700; font-size: .92rem; }
.fepra-form fieldset { border: 0; margin: 0; padding: 0; }
.fepra-form input:not([type=checkbox]), .fepra-form select, .fepra-form textarea { width: 100%; box-sizing: border-box; padding: .75rem .85rem; border: 1px solid var(--f-line); border-radius: 2px; font: inherit; background: #fff; color: var(--f-ink); }
.fepra-form input:focus, .fepra-form select:focus, .fepra-form textarea:focus { outline: 2px solid var(--f-green); border-color: var(--f-green); }
.fepra-form__checks { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.fepra-form__checks label { font-weight: 400; display: inline-flex; gap: .4rem; align-items: center; margin: 0; }
.fepra-form__consent { display: flex !important; gap: .6rem; align-items: flex-start; margin: 1.5rem 0 1rem !important; font-weight: 400 !important; font-size: .9rem !important; color: var(--f-muted); }
.fepra-form__consent input { margin-top: .25rem; }
.fepra-form button { border: 0; cursor: pointer; }
.fepra-req { color: var(--f-red); }
.fepra-form__isco { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fepra-aviso { padding: 1rem 1.2rem; margin: 0 0 1.25rem; border-left: 4px solid; }
.fepra-aviso--ok { background: #EAF6EC; border-color: var(--f-green); }
.fepra-aviso--erro { background: #FDECEC; border-color: var(--f-red); }
@media (max-width: 640px) { .fepra-form { padding: 1.1rem; } .fepra-form__grid { grid-template-columns: 1fr; } }
.fepra-form input[type=file] { padding: .6rem; background: var(--f-soft); }
.fepra-form__ajuda { display: block; margin-top: .3rem; font-size: .82rem; color: var(--f-muted); }

.fx-thumb b { text-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* Área de clubes */
.fepra-area { max-width: 1100px; }
.fepra-area__topo { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; margin: 0 0 1.25rem; background: var(--fx-deep, #0A1A10); color: #fff; border-radius: 12px; }
.fepra-area__topo a { color: #9FE0A8; }
.fepra-area__topo strong { font-size: 1.1rem; }
.fepra-area__sigla { display: inline-block; margin-right: .6rem; padding: .15rem .55rem; border-radius: 6px; background: var(--f-green); font-weight: 800; font-size: .85rem; letter-spacing: .04em; }
.fepra-area__filtros { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin: 0 0 1rem; }
.fepra-area__filtros label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .9rem; }
.fepra-area__filtros select, .fepra-area__filtros input { padding: .55rem .7rem; border: 1px solid var(--f-line, #DDE3DE); border-radius: 8px; font: inherit; }
.fepra-area__conta { color: var(--f-muted, #56615A); margin: 0 0 .5rem; }
.fepra-area--entrar { max-width: 460px; }
.fepra-area--entrar form p { display: flex; flex-direction: column; gap: .3rem; }
.fepra-area--entrar input[type=text], .fepra-area--entrar input[type=password] { padding: .7rem .8rem; border: 1px solid var(--f-line, #DDE3DE); border-radius: 8px; font: inherit; }
.fepra-area--entrar .login-remember { flex-direction: row; }
.fepra-area--entrar input[type=submit] { background: var(--f-green); color: #fff; border: 0; border-radius: 8px; padding: .75rem 1.4rem; font-weight: 700; cursor: pointer; }
.fepra-area h3 { margin: 2rem 0 .5rem; }
.fepra-tabela-wrap { overflow-x: auto; }
.fepra-tabela { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fepra-tabela th { text-align: left; padding: .6rem .7rem; border-bottom: 2px solid var(--f-line, #DDE3DE); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--f-muted, #56615A); }
.fepra-tabela td { padding: .6rem .7rem; border-bottom: 1px solid var(--f-line, #E3E8E4); }
.fepra-tabela tbody tr:hover { background: #F6F9F6; }
.fepra-tabela select { padding: .35rem .5rem; border-radius: 6px; }
.fepra-chip { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #EEF1EF; }
.fepra-chip--emitida { background: #DFF3E2; color: #025A0A; }
.fepra-chip--emitida::before, .fepra-chip--pendente::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .4em; border-radius: 50%; background: currentColor; vertical-align: .08em; }
.fepra-chip--pendente { background: #FDE2E2; color: #B00000; }
.fepra-chip--rejeitada, .fepra-chip--suspensa { background: #FDE8E8; color: #A40000; }
@media (max-width: 640px) {
	.fepra-tabela thead { display: none; }
	.fepra-tabela tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--f-line, #E3E8E4); }
	.fepra-tabela td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .2rem .2rem; }
	.fepra-tabela td[data-l]::before { content: attr(data-l); color: var(--f-muted, #56615A); font-size: .85rem; }
}

/* Slider: imagens pequenas sobre fundo gráfico FEPRA, em moldura */
.fx-hero__slide--marca { background:
	radial-gradient(900px 500px at 78% 30%, rgba(3,122,18,.55), transparent 60%),
	radial-gradient(700px 420px at 10% 100%, rgba(214,1,0,.28), transparent 60%),
	repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px),
	linear-gradient(135deg, #06140B 0%, #0A2412 55%, #06140B 100%); }
.fx-hero__slide--marca::before { content: ""; position: absolute; inset: 0; opacity: .55; background: linear-gradient(115deg, transparent 0 58%, rgba(3,122,18,.9) 58% 60.5%, transparent 60.5% 62%, rgba(255,255,255,.85) 62% 62.6%, transparent 62.6% 64%, rgba(214,1,0,.85) 64% 65.2%, transparent 65.2%); }
.fx-hero__slide--marca::after { background: linear-gradient(90deg, rgba(6,16,10,.75) 0%, rgba(6,16,10,.2) 45%, transparent 70%); }
.fx-hero__slide--marca img.fx-hero__peca { display: none; }
.fx-hero__foto { display: block; width: auto; height: min(34vh, 300px); max-width: min(100%, 460px); margin: 0 0 22px; object-fit: cover; border: 6px solid #fff; border-radius: 6px; box-shadow: 0 30px 60px -18px rgba(0,0,0,.7); transform: rotate(-2deg); }
@media (max-width: 900px) {
	.fx-hero__foto { display: none; }
	.fx-hero__slide--marca img.fx-hero__peca, .fx-hero__slide--marca.is-on img.fx-hero__peca { display: block; z-index: 1; object-fit: cover; border: 6px solid #fff; border-radius: 6px; box-shadow: 0 30px 60px -18px rgba(0,0,0,.7); transition: none; width: auto; height: 36%; max-width: 72%; inset: 6% auto auto 50%; transform: translateX(-50%) rotate(-2deg); }
	.fx-hero__slide--marca::before { opacity: .3; }
}

/* 0.11: exportação, responsável do clube, pilotos licenciados */
.fepra-area__barra { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin: 0 0 .5rem; }
.fepra-area__barra .fepra-area__conta { margin: 0; }
.fepra-area__exportar { margin: 0; display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; }
.fepra-area__exportar .fepra-btn { padding: .35rem .8rem; font-size: .85rem; }
.fepra-area__quem { padding: .7rem 1rem; border-radius: 8px; background: var(--f-soft, #F1F6F2); margin: 0 0 1rem; }
.fepra-area h3#gestor { scroll-margin-top: 90px; }
.fepra-clube-pilotos { margin-top: 2.5rem; }
.fepra-licenciados .fepra-tabela td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 0.12: avatares e fotos dos pilotos */
.fepra-avatar { display: inline-flex; flex: none; width: var(--av, 40px); height: var(--av, 40px); border-radius: 50%; overflow: hidden; background: var(--f-soft, #EEF1EF); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--f-line, #DDE3DE); }
.fepra-avatar img, .fepra-avatar svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.fepra-piloto { display: inline-flex; align-items: center; gap: .65rem; }
.fepra-piloto > span { display: flex; flex-direction: column; }
.fepra-piloto__foto { text-decoration: none; line-height: 0; }
.fepra-piloto__acao { font-size: .78rem; color: var(--f-muted, #56615A); }
.fepra-piloto__acao:hover { color: var(--f-green); }
.fepra-foto-edit { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; padding: 1.25rem; border: 1px solid var(--f-line, #DDE3DE); border-radius: 12px; background: #fff; }
.fepra-foto-edit h3 { margin: 0 0 .2rem; }
@media (max-width: 600px) { .fepra-foto-edit { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* 0.12: página do clube */
.fepra-clube__cab { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem; border-radius: 16px; background: linear-gradient(135deg, var(--fx-deep, #0A1A10), #13341E); color: #fff; }
.fepra-clube__logo { flex: none; display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; padding: 12px; box-sizing: border-box; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.fepra-clube__logo img { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; object-fit: contain; }
.fepra-clube__logo span { font-weight: 800; color: var(--f-green, #1B7A34); font-size: 1.3rem; }
.fepra-clube__sigla { display: inline-block; padding: .15rem .6rem; border-radius: 6px; background: var(--f-green, #1B7A34); font-weight: 800; font-size: .85rem; letter-spacing: .05em; }
.fepra-clube__nome { margin: .5rem 0 .25rem; font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 800; line-height: 1.2; }
.fepra-clube__meta { margin: 0; color: #B9D8BF; font-size: .92rem; }
.fepra-clube__corpo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; margin: 0 0 2.5rem; }
.fepra-clube__corpo > :only-child { grid-column: 1 / -1; }
.fepra-clube h2 { margin: 0 0 .9rem !important; font-size: 1.1rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--f-green, #1B7A34); }
.fepra-clube__contactos { padding: 1.25rem; border-radius: 12px; background: var(--f-soft, #F1F6F2); align-self: start; }
.fepra-clube__contactos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.fepra-clube__contactos li span { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--f-muted, #56615A); }
.fepra-clube__contactos a { color: var(--f-ink, #111); overflow-wrap: anywhere; }
.fepra-pilotos { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.fepra-pilotos__item { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border: 1px solid var(--f-line, #DDE3DE); border-radius: 12px; background: #fff; }
.fepra-pilotos__item span { display: flex; flex-direction: column; min-width: 0; }
.fepra-pilotos__item small { color: var(--f-muted, #56615A); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
	.fepra-clube__cab { flex-direction: column; text-align: center; }
	.fepra-clube__corpo { grid-template-columns: 1fr; }
}

/* Diretório: logótipos pequenos não esticam */
.fepra-dir__img img { width: auto; height: auto; max-width: 100%; max-height: 100%; }

/* Pesquisa instantânea: com JavaScript o botão "Procurar" não é preciso */
.fepra-area__filtros.is-live button { display: none; }
.fepra-pesquisa__vazio { padding: 1rem; border-radius: 10px; background: var(--f-soft, #F1F6F2); color: var(--f-muted, #56615A); }

/* 0.13: pedido de licenças (carrinho) e pagamentos */
.fepra-carrinho { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.fepra-carrinho__sec { margin: 0 0 1.75rem; }
.fepra-carrinho__sec h3 { margin: 0 0 .6rem; }
.fepra-carrinho__sec h3 small { font-weight: 400; color: var(--f-muted, #56615A); font-size: .85rem; }
.fepra-carrinho__sec textarea { width: 100%; }
.fepra-carrinho__ren tr.is-sel td { background: #EEF7EF; }
.fepra-carrinho__valor { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fepra-piloto small { color: var(--f-muted, #56615A); }
.fepra-form fieldset.fepra-novo, .fepra-novo { position: relative; margin: 0 0 1rem; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--f-line, #DDE3DE); border-left: 4px solid var(--f-green, #1B7A34); border-radius: 10px; background: #fff; scroll-margin-top: 100px; }
.fepra-novo legend { padding: 0 .4rem; font-weight: 800; }
.fepra-novo__remover { position: absolute; top: .6rem; right: .8rem; border: 0; background: none; color: #B00000; cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; }
noscript .fepra-novo__remover { display: none; }
.fepra-carrinho__resumo { position: sticky; top: 90px; padding: 1.1rem; border-radius: 12px; background: var(--fx-deep, #0A1A10); color: #fff; }
.fepra-carrinho__resumo h3 { margin: 0 0 .75rem; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.fepra-carrinho__linhas { list-style: none; margin: 0; padding: 0; max-height: 45vh; overflow: auto; }
.fepra-carrinho__linhas li { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.fepra-carrinho__linhas li span { display: flex; flex-direction: column; min-width: 0; }
.fepra-carrinho__linhas li small { color: #B9D8BF; }
.fepra-carrinho__linhas li strong { white-space: nowrap; }
.fepra-carrinho__vazio { color: #B9D8BF; border: 0 !important; }
.fepra-carrinho__total { display: flex; justify-content: space-between; align-items: baseline; margin: .9rem 0; font-size: 1.05rem; }
.fepra-carrinho__total strong { font-size: 1.5rem; }
.fepra-carrinho__resumo .fepra-btn { width: 100%; }
.fepra-carrinho__resumo .fepra-btn:disabled { opacity: .5; cursor: not-allowed; }
.fepra-carrinho__resumo > small { display: block; margin-top: .6rem; color: #B9D8BF; font-size: .78rem; overflow-wrap: anywhere; }
.fepra-area__pagamento { margin: 0 0 1rem; padding: .9rem 1.1rem; border: 1px solid var(--f-green, #1B7A34); border-radius: 10px; background: #fff; }
.fepra-chip--anulada { background: #EEE; color: #555; }
@media (max-width: 900px) {
	.fepra-carrinho { grid-template-columns: 1fr; }
	.fepra-carrinho__resumo { position: static; }
}

/* Listas longas: "Mostrar mais" */
.fepra-mais { display: flex; gap: .6rem; align-items: center; justify-content: center; margin: 1rem 0 0; }
.fepra-btn--link { background: none !important; border: 0 !important; text-decoration: underline; box-shadow: none !important; }

/* Notícias e galerias: lista na largura larga do tema (4 por linha em ecrã grande, 3 em médio) */
.is-layout-constrained > .fepra-arquivo:has(.fepra-cards) { max-width: var(--wp--style--global--wide-size, 1240px) !important; }
