/* Associação de Raça — v1.8 · site público */

:root {
  --accent: #D9A441;
  --green: #23402F;
  --green-2: #2E5440;
  --ink: #1B1F1A;
  --muted: #4A5249;
  --muted-2: #5E6259;
  --line: #E2DCCF;
  --ground: #F3EFE6;
  --soft: #E6EDE8;
  --brown: #8A5716;
  --foot: #16241C;
  --ph: #D9D2C3;
  --pad: 80px;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Manrope, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .15s; }
a:hover { color: #B8742A; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent, var(--ink)); font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--md { height: 48px; font-size: 15px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--accent { background: var(--accent); color: var(--on-accent, var(--ink)); }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); color: var(--on-accent, var(--ink)); }
.btn--line-light { padding: 0 18px; border: 1.5px solid rgba(255,255,255,.75); color: #fff; font-weight: 600; }
.btn--line-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--glass { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.75); color: #fff; font-weight: 600; }
.btn--glass:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-2); color: #fff; }
.btn--outline { border: 1.5px solid var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

/* ---------- Topo (imagem + menu sobreposto) ---------- */
.hero { position: relative; height: 880px; color: #fff; background: #101813; }
.hero--page { height: 520px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,19,.86) 0%, rgba(16,24,19,.62) 42%, rgba(16,24,19,.08) 75%); }
.hero--page .hero__scrim { background: linear-gradient(90deg, rgba(16,24,19,.88) 0%, rgba(16,24,19,.66) 50%, rgba(16,24,19,.2) 85%); }
.hero__scrim-top { position: absolute; left: 0; top: 0; width: 100%; height: 180px; background: linear-gradient(180deg, rgba(16,24,19,.55), rgba(16,24,19,0)); }

.topbar { position: relative; z-index: 5; height: 40px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.18); }
.topbar__group { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.topbar__group--right { gap: 20px; }
.topbar a { color: #fff; display: flex; align-items: center; }
.topbar a:hover { color: var(--accent); }

.nav { position: relative; z-index: 5; height: 96px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.brand__logo { width: 52px; height: 52px; flex-shrink: 0; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.brand__sub { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; white-space: nowrap; }

.menu { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.menu__item { position: relative; }
.menu__link { display: flex; align-items: center; gap: 6px; padding: 8px 0; color: #fff; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu__link:hover { color: var(--accent); }
.menu__link.is-active { border-bottom-color: var(--accent); }
.menu__mobile-only { display: none; }
.submenu { position: absolute; top: 100%; left: -20px; min-width: 240px; padding: 10px; margin-top: 12px; border-radius: 16px; background: #fff; box-shadow: 0 24px 48px -20px rgba(16,24,19,.45); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.submenu a { padding: 11px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 600; }
.submenu a:hover, .submenu a.is-current { background: var(--soft); color: var(--green); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.nav__toggle-close { display: none; }
.menu-open .nav__toggle-open { display: none; }
.menu-open .nav__toggle-close { display: flex; }

.hero__content { position: relative; z-index: 2; height: 520px; padding: 0 var(--pad); max-width: calc(760px + var(--pad) * 2); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero--page .hero__content { height: 384px; max-width: calc(900px + var(--pad) * 2); gap: 20px; }
.hero__title { font-family: var(--serif); font-size: 76px; font-weight: 600; line-height: 1.02; letter-spacing: -.02em; }
.hero--page .hero__title { font-size: 60px; line-height: 1.05; }
.hero__lead { max-width: 600px; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.9); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.kicker--accent { color: var(--accent); }

.quickbar { position: absolute; z-index: 2; left: 0; bottom: 0; width: 100%; height: 144px; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: rgba(16,24,19,.72); border-top: 1px solid rgba(255,255,255,.16); }
.quick { display: flex; align-items: center; gap: 18px; padding: 0 32px; color: #fff; border-right: 1px solid rgba(255,255,255,.16); min-width: 0; }
.quick:first-child { padding-left: 0; }
.quick:last-child { padding-right: 0; border-right: 0; }
.quick:hover { color: #fff; }
.quick:hover .quick__title { color: var(--accent); }
.quick__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.quick__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.quick__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.quick__title { font-size: 18px; font-weight: 600; transition: color .15s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Secções ---------- */
.section { padding: 112px var(--pad) 96px; display: flex; flex-direction: column; gap: 48px; }
.section--white { background: #fff; }
.section--litters { padding-bottom: 112px; }
.section--article { gap: 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head__titles { display: flex; flex-direction: column; gap: 14px; }
.section-head__lead { width: 460px; max-width: 100%; font-size: 17px; line-height: 1.6; color: var(--muted); }
.head-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h2 { font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1.1; color: var(--green); }
.h2--sm { font-size: 40px; }
.more { font-size: 15px; font-weight: 700; white-space: nowrap; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card-link { height: 280px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-link:hover { color: var(--ink); transform: translateY(-4px); border-color: #D2C9B6; box-shadow: 0 18px 40px -24px rgba(27,31,26,.35); }
.card-link__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.card-link__body { display: flex; flex-direction: column; gap: 10px; }
.card-link__title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--green); }
.card-link__text { font-size: 15px; line-height: 1.55; color: var(--muted); }

.placeholder { background: var(--ph); color: var(--muted-2); display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

/* Agenda + notícias */
.split { padding: 96px var(--pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 64px; background: #fff; }
.split__left { grid-column: span 5; display: flex; flex-direction: column; gap: 32px; }
.split__right { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 32px; }
.col-head { min-height: 58px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.agenda { display: flex; flex-direction: column; }
.agenda--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.agenda-item { display: flex; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink); }
.agenda-item > svg { color: var(--green); }
.agenda-item:hover { color: var(--ink); }
.agenda-item:hover .agenda-item__title { color: var(--green); }
.agenda-item--card { padding: 20px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.agenda-item--card:hover { border-color: #D2C9B6; box-shadow: 0 18px 40px -28px rgba(27,31,26,.35); }
.date-badge { width: 76px; height: 76px; flex-shrink: 0; border-radius: 16px; background: var(--green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.date-badge__day { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; }
.date-badge__mon { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.agenda-item__body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.meta { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); }
.agenda-item__title { font-size: 18px; font-weight: 700; transition: color .15s; }
.agenda-item__place { font-size: 14px; color: var(--muted); }

.news-date { font-size: 13px; font-weight: 700; color: var(--brown); }
.news-main { display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.news-main:hover { color: var(--ink); }
.news-main:hover .news-main__title { color: var(--green-2); }
.news-main__img { width: 100%; height: 280px; border-radius: 20px; object-fit: cover; }
.news-main__body { display: flex; flex-direction: column; gap: 8px; }
.news-main__title { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--green); }
.news-main__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.news-small { display: flex; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); }
.news-small:hover { color: var(--green); }
.news-small__img { width: 96px; height: 96px; flex-shrink: 0; border-radius: 14px; object-fit: cover; }
.news-small__img.placeholder svg, .news-small__img.placeholder span:empty { display: none; }
.news-small__body { display: flex; flex-direction: column; gap: 6px; }
.news-small__title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.news-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(27,31,26,.35); }
.news-card__img { width: 100%; height: 240px; object-fit: cover; }
.news-card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.news-card__title { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--green); }
.news-card__text { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Sócios */
.members { height: 600px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); background: var(--green); color: #fff; }
.members__img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.members__body { padding: 0 var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.members .h2 { color: #fff; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; font-size: 16px; line-height: 1.5; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.benefits svg { margin-top: 2px; color: var(--accent); }
.members__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.members__fee { font-size: 15px; color: rgba(255,255,255,.85); }

/* Ninhadas, criadores, adoção */
.litter, .breeder, .adopt { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.litter:hover, a.breeder:hover { color: var(--ink); transform: translateY(-4px); border-color: #D2C9B6; box-shadow: 0 18px 40px -24px rgba(27,31,26,.35); }
.litter__img, .adopt__img { width: 100%; height: 220px; object-fit: cover; }
.litter__body, .adopt__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.litter__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.litter__kennel { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green); }
.litter__parents { font-size: 14px; color: var(--muted); }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--green); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill--reservas, .pill--reservado { background: #F6E7C8; color: #6B4510; }
.pill--prevista { background: #E4E9F2; color: #2C3E5C; }
.pill--esgotada, .pill--adotado { background: #ECE8E0; color: var(--muted-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14px; }
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact > span { color: var(--muted-2); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.tag svg { color: var(--green); }
.breeder__img { width: 100%; height: 200px; object-fit: cover; }
.breeder__body { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.breeder__name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--green); }
.breeder__owner { font-size: 15px; color: var(--muted); }
.breeder__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 14px; color: var(--muted-2); }
.breeder__meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.adopt.is-done { opacity: .7; }
.adopt__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.adopt .btn { align-self: flex-start; margin-top: auto; }

/* Destaques */
.promos { padding: 0 var(--pad) 112px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.promo { min-height: 280px; padding: 48px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.promo--accent { background: var(--accent); color: var(--on-accent, var(--ink)); }
.promo--soft { background: var(--soft); color: var(--green); }
.promo__head { display: flex; flex-direction: column; gap: 12px; }
.promo__kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.promo__title { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.15; }
.promo .btn { align-self: flex-start; }

/* ---------- Conteúdo editorial ---------- */
.prose { max-width: none; font-size: 18px; line-height: 1.75; color: #2A2F29; }
.prose--flush { max-width: none; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.2; color: var(--green); margin-top: 1.6em; }
.prose h3 { font-size: 22px; font-weight: 700; color: var(--green); margin-top: 1.4em; }
.prose h4 { font-size: 18px; font-weight: 700; margin-top: 1.2em; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--green); }
.prose img { border-radius: 16px; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }

.empty { padding: 48px; border: 1px dashed #CFC6B3; border-radius: 20px; background: rgba(255,255,255,.5); text-align: center; font-size: 16px; color: var(--muted); }
.empty--inline { padding: 28px; }
.empty--big { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 72px 48px; color: var(--muted); }
.empty--big svg { color: var(--green); }
.empty--big strong { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--green); }

/* Filtros e formulários */
.filterbar { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.filterbar__field { display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.filterbar__field--grow { flex-grow: 1; }
.filterbar__end { margin-left: auto; }
.filterbar label, .field > label { font-size: 13px; font-weight: 700; color: var(--muted); }
.filter { display: flex; gap: 12px; align-items: center; }
.input, .select { width: 100%; height: 48px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-family: var(--sans); font-size: 15px; color: var(--ink); transition: border-color .15s; }
textarea.input { height: auto; padding: 14px 18px; line-height: 1.6; resize: vertical; }
.input:focus, .select:focus { outline: none; border-color: var(--green); }
.select { appearance: none; padding-right: 44px; font-weight: 600; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2323402F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 16px center; }
.filter .select { width: auto; min-width: 120px; border-radius: 999px; border-color: var(--green); }

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.contact__form { grid-column: span 8; display: flex; flex-direction: column; gap: 24px; }
.form { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.form__grid { width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--6 { grid-column: span 6; }
.field--12 { grid-column: span 12; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex-shrink: 0; }
.check a { text-decoration: underline; }
.notice { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 16px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.notice--ok { background: var(--soft); color: var(--green); }
.notice--err { background: #F8E3DC; color: #7A2E17; }

.contact-card { grid-column: 9 / span 4; padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.5; }
.contact-card > a, .contact-card > span { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.contact-card > a:hover { color: var(--green); }
.contact-card svg { color: var(--green); margin-top: 1px; }
.contact-card__title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--green); }
.contact-card__note { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.contact-card__social { display: flex; gap: 16px; padding-top: 8px; }
.contact-card--green { background: var(--green); border-color: var(--green); color: #fff; }
.contact-card--green .contact-card__title, .contact-card--green > a, .contact-card--green > span, .contact-card--green svg, .contact-card--green .contact-card__social a { color: #fff; }
.contact-card--green > a:hover, .contact-card--green .contact-card__social a:hover { color: var(--accent); }

.profile { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.profile__main { grid-column: span 8; display: flex; flex-direction: column; gap: 32px; }
.profile__img { width: 100%; height: 420px; border-radius: 24px; object-fit: cover; }
.profile .contact-card { grid-column: 9 / span 4; }

/* Evento e resultados */
.event-facts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.event-fact { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.event-fact svg { color: var(--green); }
.event-fact > span { display: flex; flex-direction: column; gap: 2px; }
.event-fact small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); }
.event-facts__cta { margin-left: auto; }

.results { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.results__events { grid-column: span 8; display: flex; flex-direction: column; gap: 16px; }
.ranking { grid-column: 9 / span 4; position: sticky; top: 24px; padding: 36px; border-radius: 24px; background: var(--green); color: #fff; display: flex; flex-direction: column; gap: 24px; }
.ranking__title { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.ranking__group h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.ranking__list { list-style: none; margin: 0; padding: 0; }
.ranking__list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.ranking__pos { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.ranking__list li:first-child .ranking__pos { background: var(--accent); color: var(--on-accent, var(--ink)); }
.ranking__dog { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 700; }
.ranking__dog small { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); }
.ranking__pts { font-family: var(--serif); font-size: 22px; font-weight: 600; white-space: nowrap; }
.ranking__pts small { font-family: var(--sans); font-size: 12px; }
.ranking__empty { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.7); }
.ranking__note { font-size: 13px; color: rgba(255,255,255,.7); }

.table-wrap { width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.rtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.rtable th { padding: 16px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.rtable td { padding: 16px; border-bottom: 1px solid #EEE9DE; vertical-align: top; }
.rtable tr:last-child td { border-bottom: 0; }
.rtable tr.group td { padding: 12px 16px; background: var(--ground); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.rtable .num { text-align: right; }
.pos { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--soft); color: var(--green); font-size: 13px; font-weight: 800; }
.pos--1 { background: var(--accent); color: var(--on-accent, var(--ink)); }
.dog { display: block; font-weight: 700; }
.sub { display: block; font-size: 13px; color: var(--muted-2); }
.award { display: inline-block; margin: 0 4px 4px 0; padding: 3px 8px; border-radius: 6px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; }

.pager { display: flex; justify-content: center; gap: 8px; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; }
.pager__btn:hover { border-color: var(--green); }
.pager__btn.is-current { background: var(--green); border-color: var(--green); color: #fff; }
.pager__gap { align-self: center; color: var(--muted-2); }

/* ---------- Rodapé ---------- */
.footer { padding: 80px var(--pad) 40px; background: var(--foot); color: rgba(255,255,255,.85); display: flex; flex-direction: column; gap: 64px; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.footer__about { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; font-size: 15px; line-height: 1.6; }
.brand--footer .brand__name, .brand--footer .brand__sub { white-space: normal; }
.footer__col { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.footer__news { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
.footer__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: var(--accent); }
.footer .brand, .footer .brand:hover { color: #fff; }
.affil { display: flex; gap: 12px; align-items: center; }
.affil__ph { height: 56px; padding: 0 16px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.4); display: flex; align-items: center; font-size: 13px; font-weight: 700; }
.affil__logo { height: 56px; width: auto; max-width: 140px; object-fit: contain; }
.newsletter { display: flex; gap: 10px; }
.newsletter input[type=email] { flex-grow: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-family: var(--sans); font-size: 15px; }
.newsletter input[type=email]::placeholder { color: rgba(255,255,255,.6); }
.newsletter input[type=email]:focus { outline: none; border-color: var(--accent); }
.footer__msg { font-size: 14px; font-weight: 600; color: #F2B8A4; }
.footer__msg.is-ok { color: var(--accent); }
.footer__contacts { margin-top: 8px; }
.footer__social { display: flex; gap: 16px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.7); }
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom a { color: rgba(255,255,255,.7); }

/* Itens de grelha nunca forçam largura extra */
.split > *, .contact > *, .profile > *, .results > *, .footer__grid > *, .grid > *, .members > * { min-width: 0; }

/* ---------- Responsivo ---------- */
/* Menu compacto: 9 itens + botões não cabem com o espaçamento total abaixo de 1680 px */
@media (max-width: 1680px) {
  .nav { gap: 20px; }
  .menu { gap: 18px; font-size: 14px; }
  .brand__name { font-size: 18px; }
  .nav__actions .btn--line-light { width: 44px; padding: 0; gap: 0; font-size: 0; }
}

@media (max-width: 1440px) {
  .hero__title { font-size: 68px; }
}

@media (max-width: 1400px) {
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn--line-light { display: none; }
  .menu { position: fixed; inset: 0; z-index: 40; padding: 120px var(--pad) 48px; background: rgba(16,24,19,.97); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; font-size: 22px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav__toggle { position: relative; z-index: 50; }
  .menu-open .brand { position: relative; z-index: 50; }
  .menu__item { width: 100%; }
  .menu__link { padding: 10px 0; border-bottom: 0; }
  .menu__link svg { display: none; }
  .menu__link.is-active { color: var(--accent); }
  .submenu { position: static; min-width: 0; margin: 0 0 8px; padding: 0 0 0 16px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; border-left: 2px solid rgba(255,255,255,.18); }
  .submenu::before { display: none; }
  .submenu a { padding: 8px 12px; color: rgba(255,255,255,.8); font-size: 17px; }
  .submenu a:hover, .submenu a.is-current { background: none; color: var(--accent); }
  .menu__mobile-only { display: block; margin-top: 24px; }
}

@media (max-width: 1024px) {
  :root { --pad: 40px; }
  .topbar__group > span { display: none; }
  .hero { height: auto; min-height: 760px; display: flex; flex-direction: column; }
  .hero--page { min-height: 0; }
  .hero__content { height: auto; flex-grow: 1; padding-top: 72px; padding-bottom: 72px; }
  .hero--page .hero__content { height: auto; padding-top: 56px; padding-bottom: 72px; }
  .hero__title { font-size: 56px; }
  .hero--page .hero__title { font-size: 46px; }
  .quickbar { position: relative; height: auto; grid-template-columns: 1fr; }
  .quick { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .quick:first-child { padding-left: 0; }
  .quick:last-child { border-bottom: 0; }
  .quick__title { white-space: normal; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h2 { font-size: 40px; }
  .split { display: flex; flex-direction: column; }
  .results, .contact, .profile { display: flex; flex-direction: column; gap: 32px; }
  .results > *, .contact > *, .profile > * { width: 100%; }
  .agenda--grid { grid-template-columns: 1fr; }
  .members { height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .members__img { height: 360px; }
  .members__body { padding: 72px var(--pad); }
  .promos { grid-template-columns: 1fr; }
  .footer__about, .footer__news { grid-column: span 12; }
  .footer__col { grid-column: span 6; }
  .results__events, .ranking, .contact__form, .contact-card, .profile__main, .profile .contact-card { grid-column: 1 / -1; }
  .ranking { position: static; }
  .section { padding: 88px var(--pad); }
  .split { padding: 88px var(--pad); }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .topbar { display: none; }
  .nav { height: 80px; }
  .brand__mark, .brand__logo { width: 44px; height: 44px; font-size: 17px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 11px; }
  .nav__actions .btn--accent { display: none; }
  .hero { min-height: 0; }
  .hero__content { padding-top: 48px; padding-bottom: 56px; gap: 20px; }
  .hero__title, .hero--page .hero__title { font-size: 38px; }
  .hero__lead { font-size: 17px; }
  .hero__ctas .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card-link { height: auto; gap: 32px; }
  .h2, .h2--sm { font-size: 32px; }
  .col-head { height: auto; }
  .section, .split { padding: 64px var(--pad); gap: 36px; }
  .section--article { gap: 24px; }
  .agenda-item { gap: 16px; }
  .agenda-item--card { flex-wrap: wrap; }
  .date-badge { width: 64px; height: 64px; }
  .benefits { grid-template-columns: 1fr; }
  .members__img { height: 260px; }
  .promos { padding-bottom: 64px; }
  .promo { padding: 32px; }
  .promo__title { font-size: 28px; }
  .field--6 { grid-column: span 12; }
  .filterbar__field { min-width: 0; width: 100%; }
  .filterbar .btn { width: 100%; }
  .filterbar__end { margin-left: 0; }
  .filter { width: 100%; }
  .event-facts__cta { margin-left: 0; width: 100%; }
  .prose { font-size: 17px; }
  .profile__img { height: 260px; }
  .footer__col { grid-column: span 12; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .newsletter { flex-direction: column; }
  .newsletter .btn { width: 100%; }
  .empty { padding: 32px 20px; }
}

/* ---------- Área de sócio (v1.1) ---------- */
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; gap: 8px; }
.btn--block { width: 100%; }
.field--3 { grid-column: span 3; } .field--4 { grid-column: span 4; } .field--5 { grid-column: span 5; } .field--8 { grid-column: span 8; }
.field__help { font-size: 13px; color: var(--muted-2); line-height: 1.45; }
.field__error { font-size: 13px; font-weight: 700; color: #A63A1F; }
.field__opt { font-weight: 500; color: var(--muted-2); }
.field__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.input.is-invalid, .select.is-invalid { border-color: #A63A1F; }
.pill--q-paga { background: var(--soft); color: var(--green); }
.pill--q-pendente { background: #F6E7C8; color: #6B4510; }
.pill--q-isenta { background: #ECE8E0; color: var(--muted-2); }

.area { gap: 24px; padding-top: 48px; }
.area > .back { margin-bottom: -4px; }
.area-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.area-nav__links { display: flex; gap: 4px; flex-wrap: wrap; }
.area-nav__link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 15px; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 700; }
.area-nav__link:hover { background: var(--ground); color: var(--green); }
.area-nav__link.is-active { background: var(--green); color: #fff; }
.area-nav__user { display: flex; align-items: center; gap: 14px; margin-left: auto; padding-right: 6px; font-size: 14px; color: var(--muted); }
.area-nav__user form { margin: 0; }

.area-grid { display: grid; gap: 24px; align-items: stretch; }
.area-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.area-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.area-grid--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.area-grid > * { min-width: 0; }

.area-card { padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.area-card--link { transition: transform .2s, box-shadow .2s, border-color .2s; }
.area-card--link:hover { color: var(--ink); transform: translateY(-3px); border-color: #D2C9B6; box-shadow: 0 18px 40px -26px rgba(27,31,26,.35); }
.area-card--accent { border-color: var(--accent); box-shadow: inset 5px 0 0 var(--accent); }
.area-card--green { background: var(--green); border-color: var(--green); color: #fff; }
.area-card--green .area-card__title { color: #fff; }
.area-card--green p { color: rgba(255,255,255,.88); line-height: 1.6; }
.area-card--green .btn { align-self: flex-start; }
.area-card--row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.area-card--row form { margin: 0; }
.area-card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.area-card__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); }
.area-card__big { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; color: var(--green); }
.area-card__big .pill { font-family: var(--sans); font-size: 15px; padding: 8px 16px; }
.area-card__big--sm { font-size: 26px; }
.area-card__big--muted { color: var(--muted-2); font-size: 28px; }
.area-card__meta { font-size: 15px; color: var(--muted); line-height: 1.5; }
.area-card__alert { margin-top: auto; padding: 10px 14px; border-radius: 12px; background: #F6E7C8; color: #6B4510; font-size: 14px; font-weight: 700; }
.area-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.area-card__title { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--green); }
.area-card__note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.area-card__note a { text-decoration: underline; }
.area-card p { line-height: 1.6; }

.area-auth { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.area-auth--single { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.area-card.form { align-items: stretch; }
.area-card.form > .btn:not(.btn--block) { align-self: flex-start; }
.area-auth .form { gap: 20px; }
.area-form { align-items: stretch; gap: 28px; }
.area-form__legend { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--green); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.area-form__legend ~ .area-form__legend { margin-top: 8px; }
.area-form__bar { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.area-form__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.area-form__head > div { display: flex; flex-direction: column; gap: 6px; }
.area-form .field .check + .check { margin-top: 10px; }
.area-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--ground); }
.area-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.area-facts dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.area-upload { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 16px; border: 1.5px dashed var(--line); border-radius: 16px; }
.area-upload__img { width: 180px; height: 120px; border-radius: 12px; object-fit: cover; }
.area-upload > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.area-checks { display: flex; gap: 12px 28px; flex-wrap: wrap; padding: 4px 0; }
.area-toolbar { display: flex; justify-content: flex-end; }
.area-empty { color: var(--muted); line-height: 1.6; }
.area-text { font-size: 16px; line-height: 1.7; color: var(--ink); }
.area .table-wrap .area-empty { padding: 28px; }
.area .agenda-item:first-child { border-top: 0; }

.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li + li { border-top: 1px solid var(--line); }
.doc-list a { display: flex; align-items: center; gap: 14px; padding: 16px 0; color: var(--ink); }
.doc-list a > svg:first-child { color: var(--green); }
.doc-list a > svg:last-child { margin-left: auto; color: var(--muted-2); }
.doc-list a:hover strong { color: var(--green); }
.doc-list span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.doc-list strong { font-size: 16px; transition: color .15s; }
.doc-list small { font-size: 13px; color: var(--muted-2); line-height: 1.45; }

/* com muitas secções, o nome do sócio sai da barra para caber tudo numa linha */
@media (min-width: 1025px) and (max-width: 1680px) {
  .area-nav__link { padding: 0 12px; font-size: 14px; }
  .area-nav__user > span { display: none; }
}
@media (min-width: 1025px) and (max-width: 1540px) {
  .area-nav__link svg { display: none; }
}
@media (min-width: 1025px) and (max-width: 1300px) {
  .area-nav__link { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 1024px) {
  .area-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid--2, .area-grid--2-1, .area-auth { grid-template-columns: minmax(0, 1fr); }
  .area-nav__user { width: 100%; justify-content: space-between; padding: 6px 8px 2px; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .area { padding-top: 32px; }
  .area-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .area-card { padding: 24px; border-radius: 20px; }
  .area-nav__links { width: 100%; }
  .area-nav__link { flex: 1 1 calc(50% - 4px); justify-content: flex-start; padding: 0 12px; font-size: 14px; }
  .field--3, .field--4, .field--5, .field--8 { grid-column: span 12; }
  .area-facts { grid-template-columns: minmax(0, 1fr); }
  .area-form__bar .btn { width: 100%; }
  .area-toolbar .btn { width: 100%; }
}

/* ---------- Pagamentos (v1.3) ---------- */
.notice--warn { background: #F6E7C8; color: #6B4510; }
.area-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.pay { align-items: stretch; }
.pay__method { gap: 20px; }
.pay__method form { margin: 0; }
.pay__head { display: flex; align-items: center; gap: 16px; }
.pay__head > div { display: flex; flex-direction: column; gap: 4px; }
.pay__logo { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 800; line-height: 1; color: #fff; }
.pay__logo--mb { background: #1E5AA8; }
.pay__logo--mbway { background: #D6001C; font-size: 12px; }
.pay__logo--card { background: #635BFF; color: #fff; }   /* Stripe */
.pay__ref { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px; border-radius: 16px; background: var(--ground); }
.pay__ref dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.pay__ref dd { margin: 6px 0 0; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--green); white-space: nowrap; }
.pay__wait { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #F6E7C8; color: #6B4510; }
.pay__wait > div { display: flex; flex-direction: column; gap: 4px; }
.pay__spinner { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 3px solid rgba(107,69,16,.25); border-top-color: #6B4510; animation: pay-spin 1s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.pay__form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pay__form .field { flex: 1 1 200px; }
.pay-done { justify-content: flex-start; gap: 20px; }
.pay-done .btn { margin-left: auto; }

@media (max-width: 640px) {
  .pay__ref { grid-template-columns: minmax(0, 1fr); }
  .pay__ref dd { font-size: 22px; }
  .pay__form .btn, .area-actions .btn { width: 100%; }
  .pay-done .btn { margin-left: 0; width: 100%; }
}

/* ---------- Eventos e inscrições (v1.5) ---------- */
.pill--i-pendente { background: #F6E7C8; color: #6B4510; }
.pill--i-paga, .pill--i-confirmada { background: var(--soft); color: var(--green); }
.pill--i-cancelada { background: #ECE8E0; color: var(--muted-2); }
.select--sm { width: auto; height: 40px; padding: 0 36px 0 14px; border-radius: 10px; font-size: 14px; background-position: right 12px center; }
.insc-caes { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.insc-cao { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; flex-wrap: wrap; }
.insc-cao + .insc-cao { border-top: 1px solid var(--line); }
.insc-cao.is-done { background: var(--ground); }
.insc-cao .check span { display: flex; flex-direction: column; gap: 2px; }
.insc-cao .check strong { color: var(--ink); }
.insc-cao .check small { font-size: 13px; color: var(--muted-2); }
.insc-total { font-size: 17px; color: var(--muted); }
.insc-total strong { font-family: var(--serif); font-size: 26px; color: var(--green); }
.area-form__bar .insc-total { margin-right: auto; }
.area-facts--col { grid-template-columns: minmax(0, 1fr); }
.ev-card { gap: 18px; }
.ev-card__head { display: flex; gap: 18px; align-items: center; }
.ev-card__head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-card__title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green); }
.ev-card__facts { display: flex; gap: 10px 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.ev-card__facts span { display: inline-flex; align-items: center; gap: 6px; }
.ev-card__facts svg { color: var(--green); }
.ev-card__bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.event-fact--price svg { color: var(--brown); }
.muted-note { font-size: 15px; font-weight: 600; color: var(--muted); }
.event-note { font-size: 15px; color: var(--muted); }
.event-cta { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.event-note a { text-decoration: underline; }

@media (max-width: 640px) {
  .insc-cao .select--sm { width: 100%; }
  .area-form__bar .insc-total { width: 100%; }
  .ev-card__bar .btn { width: 100%; }
  .event-cta .btn { width: 100%; }
}

/* ---------- Custo das chamadas, RGPD e cookies (v1.6) ---------- */
.tel-nota { font-size: .85em; font-weight: 500; opacity: .75; white-space: nowrap; }
.fact .tel-nota { display: block; font-size: 12px; color: var(--muted-2); opacity: 1; white-space: normal; }
.topbar__tel { display: inline-flex; align-items: baseline; gap: 6px; }
.topbar__tel .tel-nota { font-size: 12px; }
.contact-card > .contact-card__tel { display: flex; align-items: flex-start; gap: 12px; }
.contact-card__tel > span { display: flex; flex-direction: column; gap: 2px; }
.contact-card__tel a { color: inherit; }
.contact-card__tel .tel-nota { font-size: 13px; }
.rgpd { font-size: 13px; line-height: 1.55; color: var(--muted-2); margin: 0; }
.rgpd a { text-decoration: underline; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter__rgpd { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.75); cursor: pointer; }
.newsletter__rgpd input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.newsletter__rgpd a { color: rgba(255,255,255,.9); text-decoration: underline; }

.cookies { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; padding: 20px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px;
  background: var(--foot); color: rgba(255,255,255,.88); box-shadow: 0 -12px 40px -20px rgba(0,0,0,.5); border-top: 1px solid rgba(255,255,255,.12); }
.cookies[hidden] { display: none; }
.cookies__texto { margin: 0; flex: 1 1 auto; font-size: 15px; line-height: 1.55; }
.cookies__texto a { color: var(--accent); text-decoration: underline; white-space: nowrap; }
.cookies .btn { flex-shrink: 0; }

@media (max-width: 1280px) {
  .topbar__tel .tel-nota { display: none; }
}
.topbar__group:not(.topbar__group--right) { min-width: 0; overflow: hidden; }
.topbar__group--right { flex-shrink: 0; }
@media (max-width: 640px) {
  .cookies { flex-direction: column; align-items: stretch; padding: 18px var(--pad) calc(18px + env(safe-area-inset-bottom)); }
  .cookies__texto { font-size: 14px; }
}

/* ---------- Seletor de idioma (v1.7) ---------- */
.langs { display: flex; align-items: center; gap: 2px; }
.langs a { min-width: 30px; height: 24px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.8); }
.langs a:hover { color: var(--accent); }
.langs a.is-current { background: rgba(255,255,255,.16); color: #fff; }
.menu__langs .langs { gap: 6px; margin-top: 16px; }
.menu__langs .langs a { min-width: 44px; height: 36px; font-size: 14px; border: 1px solid rgba(255,255,255,.25); }

/* ---------- v1.13 · Galeria ---------- */
.album-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.album-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(27,31,26,.35); }
.album-card__img { display: block; aspect-ratio: 4 / 3; background: var(--ph); overflow: hidden; }
.album-card__img img, .album-card__img .placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.album-card__title { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--green); }
.album-card__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.album-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.album-bar .back { margin: 0; }
.album-bar__info { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; color: var(--muted-2); }
.album-bar__info a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gal__item { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ph); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.gal__item:hover img, .gal__item:focus-visible img { transform: scale(1.04); }
.gal__item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lb { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(12,18,14,.94);
  padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0); }
.lb.is-open { display: flex; }
html.lb-aberta { overflow: hidden; }
.lb__fig { margin: 0; width: 100%; height: 100%; padding: 64px 96px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lb__img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 6px; transition: opacity .2s; }
.lb__img.is-loading { opacity: .35; }
.lb__leg { max-width: 900px; color: #F3EFE6; font-size: 15px; line-height: 1.5; text-align: center; }
.lb__cont { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: rgba(243,239,230,.8); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.lb__btn { position: absolute; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .15s; }
.lb__btn:hover, .lb__btn:focus-visible { background: rgba(255,255,255,.25); outline: none; }
.lb__fechar { top: 14px; right: 18px; }
.lb__ant { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__seg { right: 20px; top: 50%; transform: translateY(-50%); }
.lb.is-unica .lb__ant, .lb.is-unica .lb__seg { display: none; }
@media (max-width: 760px) {
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gal__item { border-radius: 10px; }
  .lb__fig { padding: 64px 12px 84px; }
  .lb__ant, .lb__seg { top: auto; bottom: 16px; transform: none; }
  .lb__ant { left: calc(50% - 64px); }
  .lb__seg { right: calc(50% - 64px); }
  .lb__cont { top: 26px; left: 20px; transform: none; }
}
/* Área de sócio · Fotografias */
.foto-up { display: flex; flex-direction: column; gap: 18px; }
.foto-up__drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 170px; padding: 24px;
  border: 2px dashed #D6CFBF; border-radius: 16px; background: var(--ground); color: var(--green); text-align: center; cursor: pointer; }
.foto-up__drop:hover, .foto-up__drop.is-over { border-color: var(--green); background: var(--soft); }
.foto-up__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.foto-up.is-busy .foto-up__drop { pointer-events: none; opacity: .6; }
.foto-up__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 16px; }
.foto-up__lista:empty { display: none; }
.foto-up__lista li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 8px; background: var(--ground); font-size: 14px; }
.foto-up__lista li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foto-up__lista li small { flex-shrink: 0; font-weight: 700; color: var(--muted-2); }
.foto-up__lista li.is-ok small { color: var(--green); }
.foto-up__lista li.is-err { background: #F6E3DD; }
.foto-up__lista li.is-err small { color: #A63A1F; white-space: normal; text-align: right; }
.label.is-invalid, label.is-invalid { color: #A63A1F; }
.fotos-minhas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.foto-minha { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.foto-minha__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--ground); display: flex; align-items: center; justify-content: center; color: var(--muted-2); }
.foto-minha__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-minha__info { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.foto-minha form { margin: 0; }
.pill--q-rejeitada { background: #F6E3DD; color: #8A2E17; }
.foto-up__lista li.is-fim { grid-column: 1 / -1; background: var(--soft); font-weight: 700; }
/* v1.13 · com 9 secções, entre 1025 e 1180 px o nome e "Sair" passam para uma segunda linha alinhada (como nos tablets) */
@media (min-width: 1025px) and (max-width: 1180px) {
  .area-nav__user { width: 100%; justify-content: space-between; padding: 6px 8px 2px; border-top: 1px solid var(--line); }
  .area-nav__user > span { display: block; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  .area-nav__link { padding: 0 8px; }
}

/* ---------- v1.15 · Pesquisa ---------- */
.topbar__search { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: #fff; font: inherit; cursor: pointer; transition: background .15s, color .15s; }
.topbar__search:hover, .topbar__search[aria-expanded="true"] { background: rgba(255,255,255,.14); color: var(--accent); }
.topbar__search:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.searchbar { position: absolute; top: 100%; left: var(--pad); right: var(--pad); z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px;
  background: rgba(12, 18, 14, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.searchbar[hidden] { display: none; }
.searchbar__input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: 500 17px var(--sans); }
.searchbar__input:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.searchbar__btn { height: 52px; flex-shrink: 0; }
.searchbar__fechar { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; }
.searchbar__fechar:hover { background: rgba(255,255,255,.14); }
.pq-form { display: flex; gap: 12px; margin-bottom: 36px; }
.pq-form__input { flex: 1; min-width: 0; height: 56px; font-size: 17px; }
.pq-tipos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.pq-tipos a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; }
.pq-tipos a:hover { border-color: var(--green); color: var(--green); }
.pq-tipos span, .pq-grupo__titulo span { display: inline-flex; min-width: 24px; height: 24px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 999px; background: var(--soft); color: var(--green); font: 700 12px var(--sans); }
.pq-grupo { margin-bottom: 44px; scroll-margin-top: 24px; }
.pq-grupo__titulo { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 28px/1.2 var(--serif); color: var(--green); }
.pq-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pq-item { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pq-item__titulo { font: 600 20px/1.3 var(--serif); color: var(--green); }
.pq-item__titulo:hover { text-decoration: underline; text-underline-offset: 3px; }
.pq-item__excerto { margin: 0; color: var(--muted); line-height: 1.6; }
.pq-item__excerto mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--ink); padding: 0 2px; border-radius: 3px; }
@media (max-width: 760px) {
  .searchbar { left: 16px; right: 16px; padding: 10px; flex-wrap: wrap; }
  .searchbar__input { height: 48px; flex-basis: calc(100% - 56px); }
  .searchbar__btn { flex: 1; height: 48px; }
  .pq-form { flex-direction: column; }
  .pq-item { padding: 16px 18px; }
}
.menu__pesquisa form { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 6px 6px 16px; border-radius: 14px; background: rgba(255,255,255,.1); }
.menu__pesquisa input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: #fff; font: 500 16px var(--sans); }
.menu__pesquisa input::placeholder { color: rgba(255,255,255,.7); }
.menu__pesquisa input:focus { outline: none; }
.menu__pesquisa form:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.menu__pesquisa button { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent, var(--ink)); cursor: pointer; }

/* ---------- v1.16 · Patrocinadores (antes do rodapé) ---------- */
.sponsors { padding: 40px 0; }
.sponsors__viewport { padding: 0 var(--pad); overflow: hidden; }
.sponsors__track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 64px; }
.sponsors__item { flex-shrink: 0; display: flex; align-items: center; }
.sponsors__item a, .sponsors__item span { display: flex; align-items: center; border-radius: 8px; }
.sponsors__item a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.sponsors__item img { height: var(--sponsors-h, 56px); width: auto; max-width: calc(var(--sponsors-h, 56px) * 4); object-fit: contain; transition: transform .2s; }
.sponsors__item a:hover img { transform: scale(1.05); }
/* em movimento: fita contínua (os logótipos são duplicados e a fita desliza metade do comprimento) */
.sponsors.is-moving .sponsors__viewport { padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sponsors.is-moving .sponsors__track { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: sponsors-passar var(--sponsors-dur, 40s) linear infinite; }
.sponsors.is-moving .sponsors__item { padding: 0 32px; }
.sponsors.is-moving .sponsors__viewport:hover .sponsors__track, .sponsors.is-moving .sponsors__viewport:focus-within .sponsors__track { animation-play-state: paused; }
@keyframes sponsors-passar { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .sponsors { padding: 28px 0 32px; }
  .sponsors__item img { height: calc(var(--sponsors-h, 56px) * .8); max-width: calc(var(--sponsors-h, 56px) * 3.2); }
  .sponsors.is-moving .sponsors__item { padding: 0 22px; }
}

/* ---------- v1.17 · Inscrição de não sócios ---------- */
.notice--info { background: var(--soft); color: var(--green); }
.notice--info a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ins { display: flex; flex-direction: column; gap: 24px; }
.ins .back { margin: 0; }
.ins__resumo { gap: 20px; }
.ins__resumo-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ins__resumo-head .area-card__title { margin: 0; }
.ins__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin: 0; }
.ins__caes { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.ins__cao { margin: 0; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.ins__cao legend { padding: 0 8px; font-weight: 700; color: var(--green); }
.ins__valor { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .ins__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ins__facts { grid-template-columns: minmax(0, 1fr); } }

/* v1.17.1 · inscrição de sócios e de não sócios, lado a lado */
.event-inscr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: 24px; row-gap: 0; }
/* grelha partilhada: antetítulo, valor, botão e nota ficam à mesma altura nos dois blocos */
.event-inscr__card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 12px; align-items: start; justify-items: start;
  padding: 28px 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.event-inscr__card .kicker { margin: 0; }
.event-inscr__valor { font: 600 24px/1.25 var(--serif); color: var(--green); }
.event-inscr__card .btn { margin-top: 4px; align-self: center; }
.event-inscr__card .event-note { margin: 0; }
@media (max-width: 760px) {
  .event-inscr { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 16px; }
  .event-inscr__card { grid-template-rows: none; grid-row: auto; padding: 22px 20px; }
  .event-inscr__card .btn { width: 100%; }
}

/* ---------- v1.18 · Mapa do evento ---------- */
.event-mapa { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.event-mapa .kicker { margin: 0; }
.event-mapa__caixa { position: relative; height: 420px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--soft); }
.event-mapa__caixa iframe { width: 100%; height: 100%; border: 0; display: block; }
.event-mapa__capa { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--green);
  background-image: radial-gradient(color-mix(in srgb, var(--green) 14%, transparent) 1px, transparent 1px); background-size: 18px 18px; }
.event-mapa__capa strong { font: 600 22px/1.3 var(--serif); }
.event-mapa__capa small { max-width: 420px; color: var(--muted); font-size: 13px; }
.event-mapa__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.event-mapa__links a { font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .event-mapa__caixa { height: 320px; } }

/* v1.18.1 · agenda da página inicial: eventos realizados a completar */
.agenda__sep { display: block; margin: 0; padding: 22px 0 6px; border-top: 1px solid var(--line); }
.agenda__vazio { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); }
.agenda-item--realizado .date-badge { background: var(--soft); color: var(--green); }
.agenda__sep + .agenda-item--realizado { border-top: 0; }
.agenda-item__res { color: var(--green); font-weight: 700; }
