/* =============================================================================
   GLORIOUS SPIRIT HORSES — styles.css
   Paleta: tinta quase preta, creme/pedra, bronze dourado.
   ============================================================================= */
:root {
  /* Cores do logótipo Luso Lusitano */
  --ink: #001f57; --ink-2: #062a6d; --ink-3: #0b3583;      /* azul-marinho */
  --royal: #1f4fb0;                                         /* azul azulejo */
  --stone: #f1f4fa; --stone-2: #e2e8f4; --paper: #ffffff;
  --gold: #d4980a; --gold-2: #f0bf3a; --gold-ink: #9a6a00; --gold-soft: rgba(212, 152, 10, .16);
  --text: #18213d; --muted: #5d6680; --line: rgba(0, 31, 87, .12); --line-l: rgba(255, 255, 255, .16);
  --ok: #4d7a52; --warn: #b07a2a; --sold: #8a3b32;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Jost", system-ui, sans-serif;
  --maxw: 1240px; --r: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 860px; }
.pad-y { padding-block: clamp(4rem, 8vw, 7rem); }
.pad-top { padding-top: 7.5rem; }
.eyebrow { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 1rem; font-weight: 500; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.sec-title { font-size: clamp(2rem, 4vw, 3.1rem); }
.sec-sub { color: var(--muted); max-width: 520px; margin: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.8rem; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--r); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; cursor: pointer; transition: .25s; }
.btn:hover { background: var(--gold); border-color: var(--gold-ink); }
.btn-gold { background: var(--gold); border-color: var(--gold-ink); }
.btn-gold:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: #1f7a4d; border-color: #1f7a4d; }
.btn-wa:hover { background: #18613d; border-color: #18613d; }
.link-arrow { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; white-space: nowrap; }
.link-arrow:hover { color: var(--ink); }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: .3s; }
.site-header.is-over:not(.scrolled):not(.nav-open) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.logo { display: flex; align-items: center; gap: .8rem; }
.logo-mark { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px var(--line); flex: none; }
.logo-mark img { width: 112%; height: 112%; object-fit: contain; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-txt strong { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.logo-txt em { font-style: normal; font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: .4rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: .3s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-tools { display: flex; align-items: center; gap: .9rem; }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.fav-count { position: absolute; top: 2px; right: 0; background: var(--gold); color: var(--ink); font-size: .62rem; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.lang-switch { position: relative; display: flex; align-items: center; border: 1px solid currentColor; border-radius: 20px; opacity: .9; }
.lang-switch::after { content: ""; position: absolute; right: .7rem; top: 50%; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang-switch select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: .35rem 1.7rem .35rem .8rem; font-size: .72rem; letter-spacing: .12em; cursor: pointer; color: inherit; outline: none; }
.lang-switch select option { color: var(--ink); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.nav-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,20,58,.75) 0%, rgba(0,20,58,.35) 55%, rgba(0,20,58,0) 100%),
  linear-gradient(180deg, rgba(0,20,58,.35) 0%, rgba(0,20,58,.2) 40%, rgba(0,20,58,.92) 100%),
  url("../img/hero.jpg?v=2") 65% 70%/cover no-repeat,
  radial-gradient(ellipse at 75% 30%, #1f4fb0 0%, #062a6d 55%, #001338 100%); transform: scale(1.04); animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero-mono { position: absolute; right: -2vw; top: 10%; font-family: var(--serif); font-style: italic; font-size: clamp(14rem, 34vw, 36rem); line-height: .8; color: rgba(240, 191, 58, .08); pointer-events: none; user-select: none; }
.hero-inner { position: relative; padding: 9rem 0 4rem; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); font-weight: 400; max-width: 14ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-sub { max-width: 560px; font-size: 1.08rem; color: rgba(255,255,255,.78); font-weight: 300; margin: 0 0 2.4rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-search { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4, 1fr) auto; background: rgba(255,255,255,.08); border: 1px solid var(--line-l); backdrop-filter: blur(10px); border-radius: var(--r); }
.hero-search label { padding: .9rem 1.2rem; border-right: 1px solid var(--line-l); display: flex; flex-direction: column; }
.hero-search span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.hero-search select { background: transparent; border: 0; color: #fff; padding: .2rem 0; outline: none; cursor: pointer; }
.hero-search select option { color: var(--ink); }
.hero-search .btn { border-radius: 0 var(--r) var(--r) 0; height: 100%; }
.stats { display: flex; gap: 3.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-l); flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--gold-2); }
.stats span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .4rem; }

/* ---------- Cartões ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem 1.6rem; }
.hcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .35s; display: flex; flex-direction: column; }
.hcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0,20,58,.45); }
.hcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); }
.hcard-media > img, .hcard-media > .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hcard:hover .hcard-media > * { transform: scale(1.05); }
.hcard.is-sold { opacity: .7; }
.badge { position: absolute; top: 14px; left: 14px; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .7rem; color: #fff; border-radius: 2px; z-index: 2; }
.badge-reservado { background: var(--warn); } .badge-vendido { background: var(--sold); }
.badge-gold { left: auto; right: 58px; background: rgba(0,20,58,.75); color: var(--gold-2); }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.fav-btn svg { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.fav-btn.on svg { fill: var(--sold); stroke: var(--sold); }
.fav-btn:hover { transform: scale(1.08); }
.hcard-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.hcard-top { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ref { color: var(--gold-ink); }
.hcard h3 { font-size: 1.9rem; margin: .35rem 0 .6rem; }
.hcard h3 a:hover { color: var(--gold-ink); }
.hcard-facts { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.hcard-facts li { font-size: .78rem; background: var(--stone); padding: .2rem .6rem; border-radius: 20px; }
.hcard-disc { font-size: .85rem; color: var(--muted); margin: 0 0 1.1rem; }
.hcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); gap: 1rem; }
.price { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

/* Placeholder sem foto: tom de acordo com a pelagem */
.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.9); background: linear-gradient(140deg, #3a342c, #15130f); }
.ph::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.18); }
.ph-letter { font-family: var(--serif); font-style: italic; font-size: 5.5rem; line-height: 1; }
.ph-txt { font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; opacity: .65; margin-top: .4rem; }
.ph-ruco { background: linear-gradient(140deg, #b9b4aa, #6f6a62); }
.ph-castanho { background: linear-gradient(140deg, #7a4b2c, #2e1b10); }
.ph-alazao { background: linear-gradient(140deg, #b0673a, #5a2c14); }
.ph-preto { background: linear-gradient(140deg, #3b3833, #0d0c0a); }
.ph-baio { background: linear-gradient(140deg, #c39a5f, #5d4422); }
.ph-palomino { background: linear-gradient(140deg, #e2c58c, #a27b3e); }

/* ---------- Disciplinas ---------- */
.dark { background: var(--ink); color: #fff; }
.dark .sec-sub { color: rgba(255,255,255,.6); }
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.disc-tile { padding: 2.4rem 2rem; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); display: flex; flex-direction: column; gap: .3rem; transition: .3s; min-height: 190px; }
.disc-tile:hover { background: var(--ink-2); }
.disc-n { font-size: .72rem; letter-spacing: .2em; color: var(--gold-ink); }
.disc-tile strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-top: auto; }
.disc-tile em { font-style: normal; font-size: .8rem; color: rgba(255,255,255,.5); letter-spacing: .1em; }
.disc-tile:hover em { color: var(--gold-2); }

/* ---------- Porquê / processo ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why { border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.why .ic { font-family: var(--serif); font-size: 1rem; color: var(--gold-ink); font-style: italic; }
.why h3 { font-size: 1.5rem; margin: .6rem 0 .5rem; }
.why p { color: var(--muted); margin: 0; font-size: .95rem; }
.stone { background: var(--stone); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.step { padding: 0 1.4rem 0 0; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); font-family: var(--serif); font-size: 1.3rem; background: var(--stone); position: relative; z-index: 1; margin-bottom: 1.2rem; }
.step::after { content: ""; position: absolute; top: 28px; left: 56px; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.cta-band { background: var(--ink); color: #fff; text-align: center; padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.cta-band::before { content: "L"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-style: italic; font-size: 28rem; color: rgba(240,191,58,.06); line-height: 1; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta-band p { color: rgba(255,255,255,.7); max-width: 580px; margin: 0 auto 2rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Página interior: cabeçalho ---------- */
.page-head { padding: 9rem 0 3.5rem; background: var(--stone); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.page-head p { color: var(--muted); margin: 0; max-width: 620px; font-size: 1.05rem; }

/* ---------- Catálogo ---------- */
.cat-layout { display: grid; grid-template-columns: 270px 1fr; gap: 3rem; padding-block: 3rem 6rem; }
.filters { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 1.1rem; }
.filters h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.filters label { display: flex; flex-direction: column; gap: .35rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filters input[type=search], .filters select { width: 100%; padding: .75rem .85rem; border: 1px solid var(--line); background: #fff; border-radius: var(--r); font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.filters input:focus, .filters select:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold-ink); }
.filters input[type=range] { accent-color: var(--gold-ink); }
.range-row { display: flex; justify-content: space-between; }
.range-row output { color: var(--text); letter-spacing: 0; text-transform: none; }
.check { flex-direction: row !important; align-items: center; gap: .6rem !important; cursor: pointer; }
.check input { accent-color: var(--gold-ink); width: 16px; height: 16px; }
.btn-reset { background: none; border: 0; padding: 0; text-align: left; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); cursor: pointer; }
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.cat-bar #count { font-family: var(--serif); font-size: 1.4rem; }
.cat-bar select { padding: .55rem .8rem; border: 1px solid var(--line); background: #fff; border-radius: var(--r); }
.cat-bar .sort { display: flex; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#toggle-filters { display: none; }
.favs-note { background: var(--gold-soft); padding: .7rem 1rem; border-radius: var(--r); margin-bottom: 1.4rem; font-size: .9rem; display: flex; justify-content: space-between; gap: 1rem; }
.favs-note button { background: none; border: 0; color: var(--gold-ink); cursor: pointer; font-size: .9rem; }
.empty { color: var(--muted); font-size: 1.05rem; padding: 3rem 0; grid-column: 1 / -1; }

/* ---------- Ficha ---------- */
.back { display: inline-block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.back:hover { color: var(--gold-ink); }
.detail-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3.5rem; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--stone-2); }
.gallery-main > img, .gallery-main > .ph { width: 100%; height: 100%; object-fit: cover; }
.gallery-main > img { object-fit: contain; background: var(--ink); }
.photo-credit { font-size: .75rem; color: var(--muted); margin: .5rem 0 0; }
.gallery-main .ph-letter { font-size: 11rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .6rem; margin-top: .6rem; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: none; }
.thumbs button.on { border-color: var(--gold-ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-side { position: sticky; top: 100px; }
.detail-side h1 { font-size: clamp(3rem, 6vw, 4.6rem); margin-bottom: .2rem; }
.approved { color: var(--gold-ink); font-size: .85rem; letter-spacing: .06em; margin: 0 0 .5rem; }
.detail-price { font-family: var(--serif); font-size: 2rem; margin: .6rem 0 1.5rem; }
.facts { margin: 0 0 1.8rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.facts dt { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .15rem; }
.facts dd { margin: 0; }
.detail-actions { display: grid; grid-template-columns: 1fr; gap: .7rem; }
.detail-mini { display: flex; gap: 1.4rem; margin: 1.1rem 0 1.8rem; }
.mini { background: none; border: 0; padding: 0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.mini:hover, .mini.on { color: var(--sold); }
.includes { background: var(--stone); padding: 1.3rem 1.5rem; border-radius: var(--r); }
.includes h4 { margin: 0 0 .6rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.includes ul { margin: 0; padding: 0; list-style: none; }
.includes li { padding: .25rem 0 .25rem 1.4rem; position: relative; font-size: .93rem; }
.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); }
.detail-more { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 5rem; }
.detail-more h2 { font-size: 2.2rem; }
.desc p { font-size: 1.08rem; color: var(--text); }
.video { aspect-ratio: 16/9; } .video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r); }
.ped-tree { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: .6rem; align-items: stretch; }
.ped-self { display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 1.5rem; border-radius: var(--r); padding: 1rem; text-align: center; }
.ped-col { display: grid; gap: .6rem; }
.ped-box { background: #fff; border: 1px solid var(--line); border-left: 3px solid; padding: .7rem .9rem; border-radius: var(--r); display: flex; flex-direction: column; justify-content: center; font-family: var(--serif); font-size: 1.15rem; }
.ped-box small { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ped-box.sire { border-left-color: #4a6378; } .ped-box.dam { border-left-color: #a45f6b; }
.enquire-band { background: var(--stone); padding: 5rem 0; }
.enquire-band h2 { font-size: 2.4rem; }

/* ---------- Formulários ---------- */
.enquiry { display: grid; gap: 1rem; }
.enquiry .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enquiry label { display: flex; flex-direction: column; gap: .35rem; }
.enquiry label span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.enquiry input, .enquiry textarea { padding: .85rem 1rem; border: 1px solid var(--line); background: #fff; border-radius: var(--r); resize: vertical; }
.enquiry input:focus, .enquiry textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold-ink); }
.enquiry .btn { justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Exportação / Sobre / Contacto ---------- */
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.srv { background: var(--paper); padding: 2.4rem 2rem; }
.srv .n { font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-size: 1.2rem; }
.srv h3 { font-size: 1.7rem; margin: .7rem 0 .5rem; }
.srv p { color: var(--muted); margin: 0; }
.regions { display: flex; flex-wrap: wrap; gap: .6rem; }
.regions span { border: 1px solid var(--line-l); padding: .55rem 1.1rem; border-radius: 30px; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: #fff; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .ph { position: absolute; inset: 0; }
.lead { font-family: var(--serif); font-size: 1.7rem; line-height: 1.3; color: var(--ink); }
.values { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.values li { padding: .8rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; }
.values li::before { content: "— "; color: var(--gold-ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; padding-block: 4rem 6rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-list div { border-top: 1px solid var(--line); padding-top: .9rem; }
.contact-list small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list p { font-family: var(--serif); font-size: 1.45rem; margin: 0; }
.contact-list a:hover { color: var(--gold-ink); }
.sell-note { background: var(--stone); padding: 1.3rem 1.5rem; border-left: 3px solid var(--gold); border-radius: var(--r); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding-top: 4.5rem; }
.site-footer .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.foot-grid > div { display: flex; flex-direction: column; gap: .55rem; }
.foot-grid h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 .5rem; font-weight: 500; }
.foot-grid a:hover { color: var(--gold-2); }
.foot-tag { max-width: 330px; margin-top: 1rem; font-size: .93rem; }
.foot-bottom { border-top: 1px solid var(--line-l); padding: 1.5rem 0; font-size: .8rem; color: rgba(255,255,255,.45); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); transition: .25s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .main-nav { position: fixed; inset: 78px 0 auto; background: var(--paper); color: var(--text); flex-direction: column; gap: 0; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: .35s; z-index: -1; }
  .nav-open .main-nav { transform: none; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .burger { display: block; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .disc-grid, .srv-grid { grid-template-columns: 1fr 1fr; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search label:nth-child(2) { border-right: 0; }
  .hero-search label { border-bottom: 1px solid var(--line-l); }
  .hero-search .btn { grid-column: 1 / -1; border-radius: 0 0 var(--r) var(--r); padding: 1.1rem; }
  .cat-layout { grid-template-columns: 1fr; gap: 0; }
  .filters { position: static; display: none; padding: 1.4rem; background: var(--stone); border-radius: var(--r); margin-bottom: 1.6rem; }
  .filters-open .filters { display: flex; }
  #toggle-filters { display: inline-flex; padding: .6rem 1.1rem; }
  .detail-grid, .detail-more, .split, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 0; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .logo-txt em { display: none; }
  .logo-txt strong { font-size: 1.15rem; }
  .logo-mark { width: 42px; height: 42px; }
  .icon-btn { display: none; }
  .why-grid, .disc-grid, .srv-grid, .steps, .foot-grid, .enquiry .row2 { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .stats { gap: 2rem; }
  .facts div { grid-template-columns: 110px 1fr; }
  .ped-tree { grid-template-columns: 1fr 1fr; }
  .ped-self { grid-column: 1 / -1; }
  .ped-gp { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 7rem; }
}
@media (prefers-reduced-motion: reduce) { *, .reveal { animation: none !important; transition: none !important; opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fav-count[hidden] { display: none; }
[hidden] { display: none !important; }

/* ---------- Marca Luso Lusitano: ajustes em fundos escuros ---------- */
.hero .eyebrow, .dark .eyebrow, .cta-band .eyebrow, .disc-n { color: var(--gold-2); }
.site-header.is-over:not(.scrolled):not(.nav-open) .logo-txt strong { color: #fff; }
.site-header.is-over:not(.scrolled):not(.nav-open) .logo-txt em { color: var(--gold-2); }
.site-footer .logo-txt strong { color: #fff; }
.site-footer .logo-txt em { color: var(--gold-2); }
.site-footer { border-top: 3px solid var(--gold); }
.main-nav a.active { color: var(--ink); font-weight: 500; }
.site-header.is-over:not(.scrolled):not(.nav-open) .main-nav a.active { color: #fff; }
.page-head { background: linear-gradient(180deg, var(--stone) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-head h1, .sec-title, .detail-side h1, .hcard h3 { color: var(--ink); }
.dark .sec-title, .cta-band h2 { color: #fff; }
.price, .detail-price { color: var(--ink); }
.step::before { background: #fff; }
.hcard { border-color: var(--line); }
.hcard:hover { border-color: rgba(212, 152, 10, .5); }
.cta-band { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); }
.dark { background: var(--ink); }
.split-media { background: #fff; border: 1px solid var(--line); }
.split-media img { object-fit: contain; padding: 1.5rem; }
.logo-txt strong { white-space: nowrap; }
@media (max-width: 640px) { .logo-txt strong { font-size: 1.05rem; letter-spacing: .02em; } }

/* ---------- Menu com submenu ---------- */
.main-nav { gap: 1.7rem; align-items: center; }
.has-sub { position: relative; }
.has-sub > a .caret { font-size: .6rem; margin-left: .35rem; opacity: .7; }
.sub-menu { position: absolute; top: calc(100% + 14px); left: -1.2rem; min-width: 230px; background: #fff; color: var(--text);
  border-top: 2px solid var(--gold); box-shadow: 0 18px 40px -18px rgba(0, 20, 58, .35); padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 60; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: .6rem 1.3rem; letter-spacing: .12em; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a.on { background: var(--stone); color: var(--ink); }
@media (max-width: 1180px) {
  .main-nav { position: fixed; inset: 78px 0 auto; background: var(--paper); color: var(--text); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: .35s; z-index: -1; max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav-open .main-nav { transform: none; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .main-nav a::after { display: none; }
  .burger { display: block; }
  .site-header.is-over:not(.scrolled):not(.nav-open) .main-nav a.active { color: var(--ink); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; background: none; }
  .sub-menu::before { display: none; }
  .main-nav .sub-menu a { padding: .65rem 0; font-size: .78rem; color: var(--muted); }
  .has-sub > a .caret { display: none; }
  .has-sub > a { display: block; }
}

/* ---------- Catálogo: mensagem quando não há cavalos ---------- */
.empty p { margin: 0 0 1.2rem; max-width: 560px; }

/* ---------- Vender o seu cavalo ---------- */
.sell-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; padding-block: 4rem 6rem; align-items: start; }
.vsteps { list-style: none; counter-reset: v; padding: 0; margin: 2rem 0; }
.vsteps li { counter-increment: v; position: relative; padding: 0 0 1.8rem 4.2rem; }
.vsteps li::before { content: "0" counter(v); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; background: #fff; }
.vsteps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 50px; bottom: 6px; width: 1px; background: var(--line); }
.vsteps h3 { font-size: 1.45rem; color: var(--ink); margin: .3rem 0 .3rem; }
.vsteps p { margin: 0; color: var(--muted); }
.sell-card { background: var(--stone); padding: 2.2rem; border-radius: var(--r); border-top: 3px solid var(--gold); }
.sell-form h3 { font-size: 1.5rem; color: var(--ink); margin: .4rem 0 0; }
.enquiry .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.enquiry select { padding: .85rem 1rem; border: 1px solid var(--line); background: #fff; border-radius: var(--r); }

/* ---------- Perguntas frequentes ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--gold-ink); transition: .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--royal); }
.faq-a { padding: 0 3rem 1.6rem 0; color: var(--text); font-size: 1.02rem; }
.faq-a a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .sell-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .enquiry .row3 { grid-template-columns: 1fr 1fr; }
  .sell-card { padding: 1.4rem; }
  .faq-item summary { font-size: 1.25rem; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Contacto só por formulário ---------- */
.contact-intro .lead { margin-top: 0; }
.sell-note a, .contact-intro a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: var(--sold); margin: 0; font-size: .92rem; }
.form-done { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1.6rem 1.8rem; border-radius: var(--r); }
.form-done h3 { font-size: 1.6rem; color: var(--ink); margin: 0 0 .4rem; }
.form-done p { margin: 0; color: var(--muted); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Línguas e SEO ---------- */
.foot-langs { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--line-l); font-size: .82rem; }
.foot-langs a { color: rgba(255,255,255,.6); }
.foot-langs a:hover, .foot-langs a.on { color: var(--gold-2); }
.lang-hint { position: fixed; left: 18px; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: .6rem; background: var(--ink); color: #fff; padding: .7rem .8rem .7rem 1.1rem; border-radius: 30px; box-shadow: 0 14px 30px -12px rgba(0,20,58,.5); font-size: .88rem; max-width: calc(100vw - 36px); }
.lang-hint a { color: #fff; }
.lang-hint a:hover { color: var(--gold-2); }
.lang-hint button { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
/* Conteúdo estático (para o Google e sem JavaScript), substituído pelo site interativo */
.seo-static { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.seo-static a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
#site-header .seo-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 1.4rem 1.25rem; font-size: .85rem; }
.horse-static { padding-top: 8rem; padding-bottom: 4rem; }
.horse-static img { max-width: 100%; height: auto; margin: 1rem 0; }

/* ---------- Logótipo novo: nome em letra Didone (Didot / Bodoni Moda) ---------- */
.logo-txt strong { font-family: "Bodoni Moda", Didot, "Bodoni 72", var(--serif); font-weight: 400; letter-spacing: .1em; font-size: 1.3rem; }
.logo-txt em { letter-spacing: .3em; margin-top: .25rem; }
@media (max-width: 640px) { .logo-txt strong { font-size: 1rem; letter-spacing: .06em; } }
