:root { --paper: #f8f5ee; --gold: #e0bf86; --ink: #172a1f; }
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100%; margin: 0; background: var(--ink); color: var(--paper); font-family: 'DM Sans', sans-serif; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 50; padding: .8rem 1rem; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.home-header { position: absolute; z-index: 5; top: 1.5rem; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
.home-brand { width: clamp(160px, 16vw, 230px); padding: 12px; border: 1px solid #f8f5ee80; border-radius: 16px; background: rgb(248 245 238 / 94%); }
.home-brand img { display: block; width: 100%; height: auto; }
.experience { display: flex; min-height: 100svh; }
.experience-card { position: relative; display: flex; flex: 1 1 50%; min-width: 0; min-height: 100svh; align-items: flex-end; overflow: hidden; isolation: isolate; color: inherit; text-decoration: none; background: #253b30; }
.experience-card + .experience-card { border-left: 1px solid #ffffff40; }
.experience-card__video, .experience-card__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.experience-card__video { z-index: -2; object-fit: cover; object-position: center top; transform: scale(1.015); transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.experience-card--criadouro .experience-card__video { object-position: center top; }
.experience-card__overlay { z-index: -1; background: linear-gradient(180deg, #10241915, #10241930 30%, #0c1c14e8 100%); pointer-events: none; }
.experience-card__content { width: 100%; padding: clamp(2rem, 4.5vw, 5rem); padding-bottom: clamp(5.5rem, 10vh, 7rem); }
.experience-card__eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.experience-card h2 { margin: 0 0 1.3rem; font: 600 clamp(2.8rem, 5.1vw, 5.6rem)/1.02 'Playfair Display', serif; letter-spacing: -.035em; }
.experience-card h2 em { font-weight: 500; }
.experience-card__description { max-width: 34ch; min-height: 3.4em; margin: 0 0 1.6rem; color: #f0f1e8; font-size: clamp(.95rem, 1.15vw, 1.05rem); line-height: 1.7; }
.experience-card__cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .9rem 1.2rem; border: 1px solid #f8f5eeaa; border-radius: 999px; background: #15271d70; font-size: .875rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.experience-card__cta span { transition: transform .25s; }
.experience-card:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.experience-card:focus-visible .experience-card__cta { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.home-controls { position: fixed; z-index: 10; right: 1.5rem; bottom: max(1.25rem, env(safe-area-inset-bottom)); }
.media-control { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .75rem 1rem; border: 1px solid #ffffff70; border-radius: 999px; background: #172a1fe8; color: var(--paper); font: 500 .8rem 'DM Sans', sans-serif; cursor: pointer; }
.media-control[hidden] { display: none; }
.media-control__icon { min-width: 1em; text-align: center; }
.media-control:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (hover: hover) {
  .experience-card:hover .experience-card__video { transform: scale(1.055); }
  .experience-card:hover .experience-card__cta { background: var(--paper); border-color: var(--paper); color: var(--ink); }
  .experience-card:hover .experience-card__cta span { transform: translate(.15rem,-.15rem); }
}
@media (min-width: 769px) and (max-height: 650px) {
  .home-header { top: 1rem; }
  .home-brand { width: 145px; padding: 9px; }
  .experience-card__content { padding-top: 12rem; padding-bottom: 5.5rem; }
  .experience-card h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
}
@media (max-width: 768px) {
  .home-header { position: relative; top: auto; padding: .85rem; background: var(--ink); }
  .home-brand { width: 138px; padding: 8px; border-radius: 12px; }
  .experience { flex-direction: column; min-height: 0; }
  .experience-card { flex: none; min-height: 350px; }
  .experience-card + .experience-card { border-top: 1px solid #ffffff40; border-left: 0; }
  .experience-card__content { padding: 2rem 7vw; }
  .experience-card h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 7.6vw, 3.4rem); }
  .experience-card__eyebrow { font-size: .65rem; margin-bottom: .75rem; }
  .experience-card__description { max-width: 34ch; min-height: 0; margin-bottom: 1.25rem; font-size: .95rem; }
  .experience-card__cta { font-size: .85rem; }
  .home-controls { position: static; display: flex; justify-content: center; padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom)); background: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .experience-card .experience-card__video { transform: none; }
}
