/* ==========================================================================
   Plantel FBS — Fazenda Bom Sossego
   Identidade: cores da logo — grafite, cobre e branco.
   ========================================================================== */

:root {
  /* Cores */
  --ink: #1F1F1F;
  --leather: #333333;
  --saddle: #B56E2F;
  --forest: #9A5A24;
  --forest-deep: #6E3F17;
  --brass: #C7843F;
  --brass-soft: #E8B98C;
  --ember: #B56E2F;
  --ember-hover: #333333;
  --bone: #FFFFFF;
  --bone-2: #F9F4F0;
  --white: #FFFFFF;
  --text: #2E2E2E;
  --muted: #6B6B6B;
  --line: rgba(51, 51, 51, .12);
  --line-light: rgba(255, 255, 255, .14);

  /* Forma e profundidade */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --arch: 999px 999px var(--radius) var(--radius);
  --shadow-sm: 0 2px 8px rgba(31, 31, 31, .06);
  --shadow: 0 18px 40px -18px rgba(31, 31, 31, .28);
  --shadow-lg: 0 30px 70px -24px rgba(31, 31, 31, .45);

  /* Tipografia */
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;

  /* Movimento */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --edge: max(16px, calc((100% - 1180px) / 2 + 16px));

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bone); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; color: var(--leather); line-height: 1.08; margin: 0 0 .55em; letter-spacing: -.015em; font-variation-settings: "opsz" 144; }
h1, .h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; font-variation-settings: "opsz" 36; }
h4 { font-size: 1.1rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
::selection { background: var(--ember); color: var(--white); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.mt { margin-top: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ember); color: var(--white); padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }

/* Kicker: rótulo com fio de latão */
.kicker { font-family: var(--font-body); font-weight: 700; font-size: .74rem; letter-spacing: .24em; color: var(--saddle); text-transform: uppercase; margin-bottom: 1.1em; display: inline-flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 36px; height: 1px; background: var(--brass); flex: none; }
.kicker-light { color: var(--brass-soft); }
.kicker-sub { color: rgba(255,255,255,.75); max-width: 36em; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ember); color: var(--white); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; padding: 17px 30px; border-radius: 999px; text-decoration: none; border: 1px solid var(--ember); overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease); box-shadow: 0 10px 26px -10px rgba(181,110,47,.7); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ember-hover); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover { translate: 0 -2px; box-shadow: 0 16px 32px -12px rgba(181,110,47,.8); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { translate: 0 0; }
.btn-sm { padding: 11px 20px; font-size: .72rem; box-shadow: none; }
.btn-outline { background: transparent; color: var(--leather); border-color: rgba(51,51,51,.35); box-shadow: none; }
.btn-outline::before { background: var(--leather); }
.btn-outline:hover { color: var(--bone); border-color: var(--leather); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }

/* --------------------------------------------------------------------------
   Fotos provisórias
   -------------------------------------------------------------------------- */
.photo { position: relative; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #C98445 0%, var(--saddle) 35%, var(--leather) 100%); color: rgba(255,255,255,.85); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; overflow: hidden; transition: scale .9s var(--ease); }
.photo::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .18; mix-blend-mode: overlay; pointer-events: none; }
.photo-alt { background: radial-gradient(120% 90% at 30% 20%, #C98445 0%, var(--forest) 40%, var(--forest-deep) 100%); }
.photo span { position: relative; z-index: 1; padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(0,0,0,.18); backdrop-filter: blur(4px); text-align: center; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo:has(> img)::after { opacity: .06; }
.photo-4x3 { aspect-ratio: 4 / 3; }
.photo-16x9 { aspect-ratio: 16 / 9; }
.photo-portrait { aspect-ratio: 4 / 5; border-radius: var(--arch); }

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: .8rem; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 9px; padding-bottom: 9px; }
.topbar-text { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.topbar-text::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(199,132,63,.18); }
.topbar-text a { color: var(--brass-soft); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(232,185,140,.4); transition: border-color .3s; }
.topbar-text a:hover { border-color: var(--brass-soft); }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; transition: color .3s; }
.topbar-phone:hover { color: var(--brass-soft); }
.topbar-phone .ico { color: var(--brass); }
.topbar .btn-sm { padding: 7px 16px; font-size: .68rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s, background .4s; }
.header.is-scrolled { background: rgba(255,255,255,.94); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(31,31,31,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); transition: min-height .4s var(--ease); }
.header.is-scrolled .header-inner { min-height: 64px; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--brass), var(--ember)); transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { transition: transform .6s var(--ease), width .4s var(--ease), height .4s var(--ease); }
.brand img { width: auto; height: 56px; }
.brand:hover img { transform: scale(1.03); }
.header.is-scrolled .brand img { width: auto; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-title); font-weight: 700; color: var(--leather); font-size: 1.3rem; letter-spacing: -.01em; }
.brand-text small { color: var(--saddle); font-weight: 700; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--leather); padding: 10px 16px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-current { color: var(--saddle); }
.nav-toggle { position: relative; z-index: 2; display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--leather); border: 0; padding: 0; cursor: pointer; transition: background .3s; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--bone); border-radius: 2px; margin: 4px auto; transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] { background: var(--ember); }
.nav-toggle[aria-expanded="true"] span { background: var(--white); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: radial-gradient(70% 90% at 85% 20%, rgba(201,132,69,.55), transparent 60%), radial-gradient(60% 70% at 10% 100%, rgba(181,110,47,.45), transparent 60%), linear-gradient(160deg, var(--forest-deep) 0%, var(--ink) 75%); color: var(--white); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .09; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
/* Vídeo de fundo do hero com degradê para leitura do texto */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroFade 1.6s var(--ease) both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(20,15,11,.9) 0%, rgba(20,15,11,.72) 30%, rgba(20,15,11,.3) 58%, rgba(20,15,11,.08) 80%),
  linear-gradient(0deg, rgba(20,15,11,.7) 0%, rgba(20,15,11,0) 35%),
  linear-gradient(180deg, rgba(20,15,11,.45) 0%, rgba(20,15,11,0) 22%); }
@keyframes heroFade { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
.slides { position: relative; z-index: 1; display: grid; }
.slide-copy { max-width: 620px; text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: 56px; min-height: min(86vh, 800px); padding-top: 72px; padding-bottom: 170px; }
.slide h1, .slide .h1 { color: var(--white); font-weight: 500; overflow-wrap: break-word; }
.slide .lead { font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 30em; margin-bottom: 2.2em; }
.slide.is-active .slide-copy > * { animation: rise 1.1s var(--ease) both; }
.slide.is-active .slide-copy > *:nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide-copy > *:nth-child(3) { animation-delay: .24s; }
.slide.is-active .slide-copy > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { opacity: 0; clip-path: inset(100% 0 0 0 round 999px 999px 20px 20px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 999px 999px 20px 20px); } }

.hero-arrow { position: absolute; bottom: 92px; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: transparent; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .35s var(--ease), border-color .35s, color .35s, scale .35s var(--ease); }
.hero-arrow:hover { background: var(--ember); border-color: var(--ember); color: var(--white); scale: 1.06; }
.hero-arrow.prev { right: calc(var(--edge) + 64px); }
.hero-arrow.next { right: var(--edge); }
.hero-dots { position: absolute; z-index: 3; left: var(--edge); bottom: 116px; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 3px; border-radius: 3px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; padding: 0; position: relative; overflow: hidden; transition: width .5s var(--ease); }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active { width: 64px; }
.hero-dots button.is-active::after { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-diagonal { position: absolute; left: -10%; right: -10%; bottom: -1px; height: 72px; background: var(--bone); border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 2; }

/* --------------------------------------------------------------------------
   Diferenciais
   -------------------------------------------------------------------------- */
.features { position: relative; z-index: 4; margin-top: -84px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(199,132,63,.25); }
.feature { position: relative; padding: 38px 34px 36px; transition: background .4s var(--ease); }
.feature + .feature { border-left: 1px solid var(--line); }

.feature:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.feature:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.feature:hover { background: #FBF6F1; }
.feature h3 { position: relative; font-size: clamp(1.45rem, 2vw, 1.7rem); font-weight: 700; color: var(--leather); letter-spacing: -.02em; line-height: 1.15; margin-bottom: .65em; padding-bottom: .55em; }
.feature h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 3px; background: var(--ember); transition: width .5s var(--ease); }
.feature:hover h3::after { width: 72px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Faixa em movimento */
.marquee { width: 104%; margin: 88px 0 0 -2%; background: var(--forest); color: var(--bone); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); box-shadow: var(--shadow); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-title); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.1rem); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .7em; color: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */
.section { position: relative; padding: 120px 0; }
.section-cream { background: var(--bone-2); }
.section-green { background: var(--leather); color: var(--white); margin: 0 clamp(0px, 1.6vw, 24px); border-radius: clamp(0px, 3vw, 40px); overflow: hidden; isolation: isolate; }
.section-green::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.section-green::after { content: ""; position: absolute; left: 50%; top: -30%; width: 90%; height: 80%; translate: -50% 0; background: radial-gradient(closest-side, rgba(199,132,63,.16), transparent); pointer-events: none; z-index: -1; }
.section-green h2, .section-green h3, .section-green h4 { color: var(--white); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head-row h2 { margin: 0; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card, .horse { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.card:hover, .horse:hover { translate: 0 -8px; box-shadow: var(--shadow); border-color: rgba(199,132,63,.5); }
.card:hover .photo, .horse:hover .photo { scale: 1.06; }
.card > .photo, .horse > .photo { border-radius: 0; }
.card-body { position: relative; z-index: 1; background: inherit; padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body h3:last-child { margin: 0; transition: color .3s; }
.card:hover .card-body h3:last-child { color: var(--saddle); }
.link-more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest); text-decoration: none; text-transform: uppercase; font-size: .76rem; letter-spacing: .14em; padding-bottom: 4px; background: linear-gradient(var(--ember), var(--ember)) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.link-more:hover { color: var(--saddle); background-size: 100% 1px; }
.support-list { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.support-list li { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); padding: 12px 22px; border-radius: 999px; font-weight: 600; color: var(--leather); font-size: .9rem; transition: border-color .3s, translate .4s var(--ease); }
.support-list li::before { content: "✦"; color: var(--brass); font-size: .8em; }
.support-list li:hover { border-color: var(--brass); translate: 0 -2px; }

/* --------------------------------------------------------------------------
   Quem somos
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
.about-media { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); padding: 20px 20px 0 0; }
.about-media::before { content: ""; position: absolute; inset: 0 0 52px 20px; border: 1px solid var(--brass); border-radius: var(--arch); }
.about-media .photo { position: relative; box-shadow: var(--shadow-lg); translate: 0 var(--py, 0); }
.about-media figcaption { margin-top: 20px; color: var(--muted); font-size: .92rem; padding-left: 4px; }
.about-media figcaption strong { font-family: var(--font-title); font-size: 1.15rem; color: var(--leather); }
.about-copy > p:not([class]) { color: #4A4A4A; font-size: 1.04rem; }
.about-copy h2 + p:not([class])::first-letter, .about-copy h2 + .about-highlight + p::first-letter { float: left; font-family: var(--font-title); font-size: 4.2em; line-height: .8; padding: 6px 12px 0 0; color: var(--saddle); }
.about-highlight { font-size: 1.15rem; color: var(--forest); border-left: 2px solid var(--brass); padding-left: 18px; }
.practical { display: inline-flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--leather); margin-top: 1em; box-shadow: var(--shadow-sm); }
.practical .ico { color: var(--ember); width: 1.3em; height: 1.3em; }

/* --------------------------------------------------------------------------
   Missão, visão e valores
   -------------------------------------------------------------------------- */
.section-green > .container { position: relative; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 88px; }
.mv-item { position: relative; padding: 44px 40px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line-light); transition: border-color .5s, background .5s; }
.mv-item:hover { border-color: rgba(199,132,63,.5); }
.mv-item h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 400; font-style: italic; color: var(--brass-soft); margin-bottom: .4em; }
.mv-item p { margin: 0; color: rgba(255,255,255,.82); font-size: 1.1rem; line-height: 1.65; }
.section-green .values-title { display: flex; align-items: center; gap: 24px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; font-style: italic; color: var(--brass-soft); margin-bottom: 36px; }
.section-green .values-title::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--leather); color: var(--white); padding: 34px 30px; transition: background .5s var(--ease); }
.value:hover { background: #404040; }
.section-green .value h4 { position: relative; color: var(--white); font-size: clamp(1.4rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .65em; padding-bottom: .55em; }
.section-green .value h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--ember); transition: width .5s var(--ease); }
.value:hover h4::after { width: 68px; }
.value p { margin: 0; color: rgba(255,255,255,.66); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Etapas (linha do tempo)
   -------------------------------------------------------------------------- */
.steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps::before { content: ""; position: absolute; left: 36px; right: 36px; top: 36px; height: 1px; background: linear-gradient(90deg, var(--brass), var(--ember)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.steps.is-drawn::before { transform: scaleX(1); }
.steps li { position: relative; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 26px; border-radius: 50%; background: var(--bone); border: 1px solid var(--brass); font-family: var(--font-title); font-size: 1.5rem; font-weight: 500; color: var(--leather); transition: background .5s var(--ease), color .5s, scale .5s var(--ease); }
.steps li:hover .step-num { background: var(--leather); color: var(--brass-soft); scale: 1.06; }
.steps h3 { font-family: var(--font-body); font-weight: 800; letter-spacing: .2em; font-size: .85rem; color: var(--forest); }
.steps p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Plantel
   -------------------------------------------------------------------------- */
.horses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.horse > .photo { aspect-ratio: 4 / 5; }
.horse .card-body { padding: 24px; }
.horse .meta { display: inline-block; align-self: flex-start; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; line-height: 1.5; color: var(--forest); background: rgba(154,90,36,.08); border-radius: 12px; padding: 5px 12px; margin-bottom: .9em; }
.horse h3 { font-size: 1.45rem; margin-bottom: .35em; }
.horse .card-body > p:not(.meta) { font-size: .93rem; }
.horse .btn { margin-top: auto; align-self: flex-start; }
.highlight { position: relative; margin-top: 40px; display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; background: var(--ink); color: var(--bone); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.highlight::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(199,132,63,.25); box-shadow: 0 0 0 40px rgba(199,132,63,.04); z-index: -1; pointer-events: none; }
.highlight .photo { min-height: 340px; translate: 0 var(--py, 0); scale: 1.12; }
.highlight-body { padding: 56px; align-self: center; }
.highlight-body h3 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; }
.highlight-body p { color: rgba(255,255,255,.75); }
.highlight-body .kicker { color: var(--brass-soft); }

/* --------------------------------------------------------------------------
   Chamada com vídeo
   -------------------------------------------------------------------------- */
.cta-video { position: relative; background: radial-gradient(80% 120% at 50% 0%, #C98445 0%, var(--forest) 40%, var(--forest-deep) 100%); color: var(--white); padding: 130px 0; overflow: hidden; isolation: isolate; }
.cta-video::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .1; mix-blend-mode: overlay; z-index: -1; pointer-events: none; }
.cta-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; translate: -50% calc(-50% + var(--py, 0px)); border-radius: 50%; border: 1px solid rgba(232,185,140,.18); box-shadow: 0 0 0 80px rgba(232,185,140,.03), 0 0 0 180px rgba(232,185,140,.02); z-index: -1; pointer-events: none; }
.cta-video-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; text-align: center; }
.cta-video-inner:has(.video:not([hidden])) { grid-template-columns: 1.1fr .9fr; text-align: left; }
.cta-video-inner:has(.reels) { grid-template-columns: auto 1fr; gap: 72px; text-align: left; }
.reels { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 40px; }
.reel { position: relative; margin: 0; width: min(230px, 40vw); aspect-ratio: 478 / 850; border-radius: 24px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); outline: 1px solid rgba(255,255,255,.35); outline-offset: 8px; transition: translate .5s var(--ease); }
.reel:nth-child(2) { translate: 0 40px; }
.reel:hover { translate: 0 -6px; }
.reel:nth-child(2):hover { translate: 0 34px; }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 12px; top: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(31,31,31,.62); backdrop-filter: blur(6px); color: var(--white); font-family: var(--font-title); font-size: .95rem; font-weight: 600; pointer-events: none; }
.cta-copy { max-width: 760px; margin: 0 auto; }
.cta-copy h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; }
.cta-copy p { color: rgba(255,255,255,.78); font-size: 1.15rem; margin-bottom: 2em; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); outline: 1px solid rgba(199,132,63,.45); outline-offset: 10px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background-size: cover; background-position: center; display: grid; place-items: center; }
.play { width: 84px; height: 84px; border-radius: 50%; background: var(--ember); position: relative; animation: ring 2.4s var(--ease) infinite; }
.play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid var(--white); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(181,110,47,.5); } 100% { box-shadow: 0 0 0 26px rgba(181,110,47,0); } }

/* --------------------------------------------------------------------------
   Números
   -------------------------------------------------------------------------- */
#numeros { margin-top: 24px; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border-radius: var(--radius); overflow: hidden; text-align: center; }
.counter { background: var(--leather); padding: 40px 20px; }
.counter strong { display: block; font-family: var(--font-title); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; color: var(--brass-soft); margin-bottom: 12px; }
.counter span { font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   Depoimentos
   -------------------------------------------------------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial { position: relative; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px 30px; transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.testimonial::before { content: "“"; position: absolute; top: 4px; left: 26px; font-family: var(--font-title); font-size: 5rem; line-height: 1; color: var(--brass); opacity: .5; }
.testimonial:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: rgba(199,132,63,.5); }
.testimonial blockquote { position: relative; margin: 0 0 22px; font-family: var(--font-title); font-size: 1.15rem; line-height: 1.5; color: var(--leather); }
.testimonial-who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-who strong { display: block; color: var(--leather); }
.testimonial-who span { font-size: .85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.footer { position: relative; background: var(--ink); color: rgba(255,255,255,.78); border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: 40px; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .07; mix-blend-mode: overlay; z-index: -1; pointer-events: none; }
.footer a { color: rgba(255,255,255,.86); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--brass-soft); }
.footer .btn, .footer .btn:hover { color: var(--white); }
.cta-video .btn, .newsletter-inner .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.cta-video .btn:hover, .newsletter-inner .btn:hover { color: var(--white); }
.newsletter { padding: 64px 0 0; }
.newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--forest) 0%, var(--forest-deep) 100%); box-shadow: inset 0 0 0 1px rgba(199,132,63,.25); }
.newsletter p { margin: 0; font-family: var(--font-title); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; color: var(--white); max-width: 18em; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 56px; padding-top: 72px; padding-bottom: 64px; }
.footer-brand img { margin-bottom: 20px; transition: transform .8s var(--ease); }
.footer-brand img:hover { transform: scale(1.04); }
.footer-brand p strong { font-family: var(--font-title); font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--white); white-space: nowrap; }
.footer-title { color: var(--brass-soft); font-size: 1.5rem; font-weight: 400; font-style: italic; }
.footer-contact { font-style: normal; }
.footer-contact .ico { color: var(--brass); }
.footer-contact p { word-break: break-word; }
.footer-map { min-height: 260px; }
.footer-map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; border-radius: var(--radius); filter: grayscale(.35) contrast(1.05); outline: 1px solid rgba(199,132,63,.35); outline-offset: 6px; transition: filter .5s; }
.footer-map iframe:hover { filter: none; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { font-weight: 600; font-size: .85rem; padding: 8px 16px; border: 1px solid var(--line-light); border-radius: 999px; }
.social a:hover { border-color: var(--brass); }
.copyright { border-top: 1px solid var(--line-light); padding: 22px 0; font-size: .82rem; text-align: center; color: rgba(255,255,255,.5); }

/* --------------------------------------------------------------------------
   WhatsApp flutuante
   -------------------------------------------------------------------------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: scale .4s var(--ease); }
.wa-float:hover { scale: 1.1; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: pulse 2.6s var(--ease) infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

/* --------------------------------------------------------------------------
   Revelar ao rolar (as propriedades de hover ficam sem atraso)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms), translate .5s var(--ease), box-shadow .5s var(--ease), border-color .5s, background .5s var(--ease); }
.reveal[data-reveal="left"] { transform: translateX(-48px); }
.reveal[data-reveal="right"] { transform: translateX(48px); }
.reveal[data-reveal="zoom"] { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .steps::before { transform: none; }
  .about-media .photo, .highlight .photo { translate: none; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .horses { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-map { grid-column: 1 / -1; }
  .about { gap: 56px; }
  .feature { padding: 34px 26px 30px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: 100dvh; flex-direction: column; gap: 0; padding: 24px 24px 120px; background: var(--ink); visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility .45s; overflow-y: auto; }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav a { font-family: var(--font-title); font-weight: 500; font-size: 2rem; color: var(--bone); padding: 16px 0; border-bottom: 1px solid var(--line-light); opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
  .nav a::after { display: none; }
  .nav a.is-current { color: var(--brass-soft); }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .06s; }
  .nav.is-open a:nth-child(3) { transition-delay: .12s; }
  .nav.is-open a:nth-child(4) { transition-delay: .18s; }
  .nav.is-open a:nth-child(5) { transition-delay: .24s; }
  .header.is-scrolled .header-inner { min-height: 60px; }

  .slide-inner { grid-template-columns: 1fr; min-height: min(84svh, 720px); align-content: end; text-align: center; gap: 44px; padding-top: 56px; padding-bottom: 190px; }
  .slide-copy { max-width: 100%; margin: 0 auto; }
  .hero-video { object-position: 50% 50%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(20,15,11,.95) 0%, rgba(20,15,11,.85) 48%, rgba(20,15,11,.5) 72%, rgba(20,15,11,.35) 88%, rgba(20,15,11,.55) 100%); }
  .slide-copy { order: 2; }
  .slide .lead { margin-left: auto; margin-right: auto; }
  .slide .kicker { justify-content: center; text-align: center; letter-spacing: .18em; }
  .slide .kicker::before { display: none; }
  .hero-dots { left: 50%; translate: -50% 0; bottom: 150px; }
  .hero-arrow { bottom: 82px; width: 46px; height: 46px; }
  .hero-arrow.prev { right: auto; left: calc(50% - 54px); }
  .hero-arrow.next { right: calc(50% - 54px); }

  .features { margin-top: -64px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .feature:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .marquee { margin-top: 64px; }
  .marquee-track { animation-duration: 22s; }

  .section { padding: 88px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-media { position: static; max-width: 380px; }
  .mv { grid-template-columns: 1fr; margin-bottom: 64px; }
  .mv-item { padding: 34px 28px; }
  .highlight { grid-template-columns: 1fr; }
  .highlight .photo { min-height: 260px; }
  .highlight-body { padding: 36px 28px 40px; }
  .cta-video { padding: 100px 0; }
  .cta-video-inner, .cta-video-inner:has(.video:not([hidden])), .cta-video-inner:has(.reels) { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .reels { justify-content: center; gap: 14px; padding-bottom: 24px; }
  .reel { width: min(200px, 42vw); border-radius: 18px; outline-offset: 6px; }
  .reel:nth-child(2) { translate: 0 24px; }
  .reel:nth-child(2):hover { translate: 0 18px; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { padding: 32px 28px; }
}

@media (max-width: 560px) {
  .topbar-text { display: none; }
  .topbar-inner { justify-content: center; }
  .brand img { width: auto; height: 46px; }
  .brand-text strong { font-size: 1.12rem; }
  .brand-text small { font-size: .56rem; letter-spacing: .2em; }
  h1, .h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .horses, .values { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; }
  .steps li .step-num { grid-row: span 2; margin: 0; }
  .steps li h3 { align-self: end; margin-bottom: .3em; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-inner { justify-content: center; text-align: center; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .marquee { padding: 16px 0; }
}

/* ==========================================================================
   Selo (logo redondo)
   ========================================================================== */
.brand img { border-radius: 50%; filter: drop-shadow(0 4px 10px rgba(31,31,31,.18)); }
.footer-brand img { width: 96px; height: 96px; border-radius: 50%; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }

/* ==========================================================================
   Nossos Cavaleiros (seção da página inicial)
   ========================================================================== */
.riders { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.riders > .rider-card { flex: 0 1 340px; min-width: 0; }
.rider-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: var(--white); text-decoration: none; background: var(--leather); box-shadow: var(--shadow-lg); outline: 1px solid rgba(199,132,63,.45); outline-offset: 10px; transition: translate .6s var(--ease), box-shadow .6s var(--ease), outline-offset .6s var(--ease); }
.rider-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; transition: scale 1.2s var(--ease); }
.rider-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,11,.05) 30%, rgba(20,15,11,.55) 62%, rgba(20,15,11,.94) 100%); transition: opacity .6s var(--ease); }
.rider-card-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 30px 28px 28px; }
.rider-card-tag { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--ember); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rider-card-name { font-family: var(--font-title); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; margin-top: 8px; }
.rider-card-meta { color: rgba(255,255,255,.78); font-size: .92rem; }
.rider-card-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.rider-card-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); font-size: 1.1rem; letter-spacing: 0; transition: background .4s var(--ease), border-color .4s, translate .4s var(--ease); }
.rider-card:hover, .rider-card:focus-visible { translate: 0 -6px; outline-offset: 14px; box-shadow: 0 34px 70px -24px rgba(31,31,31,.6); }
.rider-card:hover > img, .rider-card:focus-visible > img { scale: 1.07; }
.rider-card:hover .rider-card-arrow, .rider-card:focus-visible .rider-card-arrow { background: var(--ember); border-color: var(--ember); translate: 6px 0; }

/* ==========================================================================
   Página do cavaleiro
   ========================================================================== */
.rider-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: radial-gradient(70% 80% at 85% 20%, rgba(201,132,69,.45), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(181,110,47,.35), transparent 60%), linear-gradient(160deg, #2a2420 0%, var(--ink) 70%); }
.rider-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .09; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.rider-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding-top: 72px; padding-bottom: 120px; }
.rider-back { display: flex; width: max-content; align-items: center; gap: 10px; color: rgba(255,255,255,.75); text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 34px; transition: color .3s, gap .3s var(--ease); }
.rider-back:hover { color: var(--brass-soft); gap: 14px; }
.rider-hero h1 { color: var(--white); font-size: clamp(3.4rem, 9vw, 6.6rem); font-weight: 700; line-height: .92; letter-spacing: -.035em; margin: .15em 0 .3em; }
.rider-hero .lead { color: rgba(255,255,255,.8); font-size: 1.18rem; max-width: 30em; margin-bottom: 2em; }
.rider-hero-media { position: relative; justify-self: center; width: min(100%, 420px); }
.rider-portrait { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; outline: 1px solid rgba(199,132,63,.6); outline-offset: 14px; box-shadow: var(--shadow-lg); animation: unveil 1.4s var(--ease) backwards; }
.rider-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; display: block; }
.rider-hero-badge { position: absolute; left: -56px; bottom: -48px; width: 40%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; border: 5px solid var(--ink); box-shadow: var(--shadow-lg); rotate: -5deg; }
.rider-hero-badge img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; display: block; }
.rider-hero-curve { position: absolute; left: -10%; right: -10%; bottom: -1px; height: 64px; background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

.rider-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.rider-quote { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; font-family: var(--font-title); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; color: var(--leather); padding-left: 28px; border-left: 3px solid var(--ember); }
.rider-story-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.rider-story-text p { font-size: 1.08rem; color: #4A4A4A; }
.rider-story-text p:first-of-type::first-letter { float: left; font-family: var(--font-title); font-size: 4.2em; line-height: .8; padding: .08em .1em 0 0; color: var(--ember); }

.rider-partner { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.rider-partner h2 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.rider-partner p { color: rgba(255,255,255,.78); font-size: 1.1rem; }
.rider-partner .reels { padding-bottom: 40px; }

.rider-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.rider-gallery button { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--leather); box-shadow: var(--shadow-sm); }
.rider-gallery button:nth-child(1) { grid-row: span 2; }
.rider-gallery button:nth-child(4) { grid-row: span 2; }
.rider-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale 1s var(--ease), filter .5s; }
.rider-gallery button:hover img, .rider-gallery button:focus-visible img { scale: 1.06; }
.rider-gallery button::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(31,31,31,.6); color: var(--white); font-size: 1.3rem; opacity: 0; translate: 0 6px; transition: opacity .4s, translate .4s var(--ease); }
.rider-gallery button:hover::after, .rider-gallery button:focus-visible::after { opacity: 1; translate: 0 0; }

.rider-videos { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.rider-videos .reel { width: min(200px, 42vw); }
.rider-videos .reel:nth-child(2) { translate: none; }
.rider-videos .reel:nth-child(even) { translate: 0 36px; }

.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: rgba(15,12,10,.92); display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); font-size: 1.6rem; cursor: pointer; }
.lightbox-close:hover { background: var(--ember); border-color: var(--ember); }

@media (max-width: 860px) {
  .rider-hero-inner { grid-template-columns: 1fr; gap: 56px; padding-top: 40px; padding-bottom: 110px; text-align: center; }
  .rider-hero-copy { order: 2; }
  .rider-back { margin-left: auto; margin-right: auto; }
  .rider-hero .lead { margin-left: auto; margin-right: auto; }
  .rider-hero-media { width: min(78%, 340px); }
  .rider-hero-badge { left: -26px; bottom: -26px; border-width: 4px; }
  .rider-story { grid-template-columns: 1fr; gap: 36px; }
  .rider-quote { position: static; }
  .rider-partner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .rider-partner .reels { justify-content: center; }
  .rider-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .rider-gallery button:nth-child(4) { grid-row: span 1; }
  .rider-videos { gap: 14px; }
  .rider-videos .reel { width: min(200px, 43vw); }
  .rider-videos .reel:nth-child(even) { translate: 0 24px; }
}
.reel > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rider-cta-text { max-width: 34em; margin: 0 auto 2em; color: var(--muted); font-size: 1.1rem; }
.rider-nick { margin: -.4em 0 1em; font-family: var(--font-title); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--brass-soft); }
.rider-quote p { margin: 0; }
.rider-quote cite { display: block; margin-top: 1em; font-family: var(--font-body); font-style: normal; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.rider-story-text strong { color: var(--leather); }
.rider-story-text .rider-story-end { margin-top: 1.4em; font-family: var(--font-title); font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--ember); }
/* Vídeo em destaque (gravado deitado: girado para ficar na horizontal) */
.video-feature { max-width: 920px; margin: 0 auto 72px; }
.video-feature-frame { position: relative; aspect-ratio: 848 / 480; container-type: size; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); outline: 1px solid rgba(199,132,63,.55); outline-offset: 12px; }
.video-feature-frame video { position: absolute; left: 50%; top: 50%; width: 100cqh; height: 100cqw; object-fit: cover; translate: -50% -50%; rotate: -90deg; }
.video-feature-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(20,15,11,.45) 0%, rgba(20,15,11,0) 30%); }
.video-feature-play { position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; background: transparent; cursor: pointer; }
.video-feature-play::before { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; background: var(--ember); opacity: 0; transition: opacity .3s; }
.video-feature-play::after { content: ""; position: absolute; left: calc(50% + 4px); top: 50%; translate: -50% -50%; border-left: 24px solid var(--white); border-top: 16px solid transparent; border-bottom: 16px solid transparent; opacity: 0; transition: opacity .3s; }
.video-feature.is-paused .video-feature-play::before, .video-feature.is-paused .video-feature-play::after { opacity: 1; }
.video-feature figcaption { margin-top: 26px; text-align: center; font-weight: 800; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--saddle); }
@media (max-width: 860px) {
  .video-feature { margin-bottom: 52px; }
  .video-feature-frame { border-radius: 18px; outline-offset: 7px; }
  .video-feature-play::before { width: 64px; height: 64px; }
}
/* Frase de destaque na página do cavaleiro */
.rider-statement { max-width: 900px; text-align: center; }
.rider-statement .kicker { justify-content: center; }
.rider-statement-text { margin: 0; font-family: var(--font-title); font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.25; color: var(--white); letter-spacing: -.01em; }
.rider-statement-text em { display: block; margin-top: .4em; font-style: italic; color: var(--brass-soft); }
/* História em capítulos com fotos (página do cavaleiro) */
.chapter-lead { margin-top: 1.2em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: 1rem !important; }
.story-chapters { display: flex; flex-direction: column; gap: 110px; margin-top: 96px; }
.chapter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.chapter:nth-child(even) .chapter-text { order: 2; }
.chapter-num { display: block; font-family: var(--font-title); font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 700; line-height: 1; color: var(--ember); opacity: .28; margin-bottom: 10px; }
.chapter h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--leather); letter-spacing: -.02em; margin-bottom: .6em; }
.chapter p { font-size: 1.08rem; color: #4A4A4A; margin: 0; }
.chapter p strong { color: var(--leather); }
.chapter-media { margin: 0; }
.chapter-photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.chapter-photos button { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--leather); box-shadow: var(--shadow-sm); }
.chapter-photos button:first-child { grid-row: span 2; }
.chapter-photos.is-wide-first { grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr; }
.chapter-photos.is-wide-first button:first-child { grid-row: auto; grid-column: span 2; }
.chapter-photos.is-two { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.chapter-photos.is-two button:first-child { grid-row: auto; }
.chapter-photos img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.chapter-photos button:hover img, .chapter-photos button:focus-visible img { scale: 1.05; }
.chapter-media figcaption { margin-top: 14px; font-size: .86rem; font-style: italic; color: var(--muted); }
@media (max-width: 860px) {
  .story-chapters { gap: 72px; margin-top: 64px; }
  .chapter { grid-template-columns: 1fr; gap: 26px; }
  .chapter:nth-child(even) .chapter-text { order: 0; }
  .chapter-photos { height: 400px; gap: 10px; }
  .chapter-photos.is-two { height: 300px; }
}

/* Cartão de cavalo sem foto ainda */
.photo-soon span { background: rgba(0,0,0,.25); }

/* Momentos FBS: mosaico de fotos e vídeo */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.moment { position: relative; margin: 0; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--leather); box-shadow: var(--shadow-sm); }
button.moment { cursor: zoom-in; }
.moment-tall { grid-row: span 2; }
.moment-wide { grid-column: span 2; grid-row: span 2; }
.moment:nth-child(4), .moment:nth-child(5) { grid-column: span 2; }
.moment img, .moment video { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.moment-video video { scale: 1.22; transform-origin: 50% 0; object-position: 50% 0; }
button.moment:hover img, button.moment:focus-visible img { scale: 1.05; }
@media (max-width: 860px) {
  .moments { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .moment-wide { grid-column: span 2; grid-row: span 2; }
}

/* Página com história ainda por vir */
.rider-story-soon { padding: 22px 26px; border-radius: var(--radius); border: 1px dashed rgba(181,110,47,.55); background: #FBF6F1; color: var(--muted) !important; font-size: .98rem !important; }
/* Galeria com poucas fotos */
.rider-gallery-few { grid-template-columns: repeat(2, minmax(0, 360px)); grid-auto-rows: 460px; justify-content: center; }
.rider-gallery-few button:nth-child(n) { grid-row: auto; }
@media (max-width: 860px) { .rider-gallery-few { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; } }
.rider-card-body { padding: 26px 22px 24px; }
.rider-card-cta { white-space: nowrap; letter-spacing: .1em; font-size: .72rem; }
.reel-crop video { scale: 1.22; transform-origin: 50% 0; object-position: 50% 0; }

.rider-gallery-three { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 380px; }
.rider-gallery-three .rider-gallery-wide { grid-column: 1 / -1; grid-row: auto; height: 520px; }
@media (max-width: 860px) {
  .rider-gallery-three { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .rider-gallery-three .rider-gallery-wide { height: 260px; }
}
.footer-seo { margin-top: -.4em; font-size: .86rem; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 30em; }

/* Nossa origem (história das três) */
.origin-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.origin-photos { position: sticky; top: calc(var(--header-h) + 32px); padding-bottom: 40px; }
.origin-photo { position: relative; margin: 0; rotate: -2deg; padding: 14px 14px 56px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-lg); transition: rotate .8s var(--ease); }
.origin-photo:hover { rotate: 0deg; }
.origin-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 4px; }
.origin-photo figcaption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--font-title); font-style: italic; font-size: 1.15rem; color: var(--leather); }
.origin-text h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.origin-text p { font-size: 1.06rem; color: #4A4A4A; }
.origin-intro { font-family: var(--font-title); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.32rem) !important; line-height: 1.55; color: var(--leather) !important; padding-left: 22px; border-left: 3px solid var(--ember); margin-bottom: 1.6em; }
.origin-words { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.origin-words li { padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px solid rgba(181,110,47,.35); font-weight: 700; font-size: .9rem; color: var(--saddle); box-shadow: var(--shadow-sm); }
.origin-close { margin-top: 1.4em; font-family: var(--font-title); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important; line-height: 1.35; color: var(--ember) !important; }
.origin-sign { margin-top: 1.6em; font-family: var(--font-title); font-size: 1.2rem !important; color: var(--leather) !important; }
.origin-sign span { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--muted); }
.origin-sign small { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 800; font-size: .74rem; letter-spacing: .16em; color: var(--saddle); }
@media (max-width: 860px) {
  .origin-inner { grid-template-columns: 1fr; gap: 48px; }
  .origin-photos { position: relative; top: auto; max-width: 420px; margin: 0 auto; padding-bottom: 0; }
}
.origin-photo-2 { width: 58%; margin: -20% 0 0 auto; rotate: 3deg; z-index: 2; padding: 10px 10px 44px; }
.origin-photo-2 figcaption { bottom: 12px; font-size: .98rem; }
.origin-photo-2 img { aspect-ratio: 4 / 5; }
.origin-photos .origin-photo:first-child { width: 80%; }
.origin { overflow-x: clip; }
.origin-photo figcaption { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
@media (max-width: 860px) {
  .origin-photo-2 figcaption { font-size: .82rem; }
  .origin-photo figcaption { font-size: .95rem; }
}
