/* ============================================================
   DOSARA · Site
   Editorial-luxury dark theme
   Display: Cormorant Garamond  ·  Body: Manrope
   ============================================================ */

:root {
  --bg: #0a0d18;
  --bg-alt: #0e1220;
  --bg-card: rgba(255, 255, 255, 0.025);
  --border: rgba(201, 168, 122, 0.16);
  --border-strong: rgba(201, 168, 122, 0.32);
  --text: #e8e2d4;
  --text-muted: #8a8478;
  --text-dim: #5a5448;
  --gold: #c9a87a;
  --gold-deep: #8a7656;
  --blue: #5aa3ff;
  --max-w: 1280px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --display: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--bg); }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

em {
  font-style: italic;
  font-weight: 300;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  background: rgba(10, 13, 24, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 14px;
  color: var(--text);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav__links a {
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a:hover { color: var(--gold); }

.nav__cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.nav__cta:hover { color: var(--text); border-color: var(--gold); }

@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(201, 168, 122, 0.05), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero__content { max-width: 620px; }

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
  color: var(--text);
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 540px;
  font-weight: 300;
}

.hero__support {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0 0 3rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo {
  width: 100%;
  max-width: 420px;
  position: relative;
}

.hero__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: block;
}

.placeholder-tag {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold-deep), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleX(1); opacity: 0.8; }
  50% { transform: scaleX(0.4); opacity: 0.3; }
}

@media (max-width: 880px) {
  .hero { padding-top: 6rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 360px; }
  .hero__photo { max-width: 280px; }
  .hero__scroll { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--text);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--large {
  padding: 1.25rem 2.5rem;
  font-size: 13px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 8rem var(--gutter);
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.section__header {
  max-width: 880px;
  margin-bottom: 4rem;
}

.section__number {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 400;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.section__lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0;
  font-weight: 300;
}

.section__body { margin-top: 3rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 880px) {
  .section { padding: 5rem var(--gutter); }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .section__header { margin-bottom: 3rem; }
}

/* ============================================================
   PROSE
   ============================================================ */

.prose p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 1.5rem;
  font-weight: 300;
}

.prose p:last-child { margin-bottom: 0; }

.prose__emphasis {
  font-family: var(--display) !important;
  font-style: italic;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: var(--gold) !important;
  line-height: 1.4 !important;
}

/* ============================================================
   CALLOUT (OMS stat)
   ============================================================ */

.callout {
  background: linear-gradient(135deg, rgba(201, 168, 122, 0.06), rgba(201, 168, 122, 0.02));
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 2px;
  position: relative;
}

.callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 60%;
  background: var(--gold);
}

.callout__big {
  font-family: var(--display);
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.callout__body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.callout__source {
  font-size: 11px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim) !important;
  margin: 0 !important;
}

/* ============================================================
   PULL QUOTES
   ============================================================ */

.pullquote {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  font-weight: 400;
  color: var(--text);
  text-align: center;
  margin: 6rem auto 0;
  max-width: 900px;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-style: normal;
  position: relative;
}

.pullquote::before, .pullquote::after {
  content: '·';
  position: absolute;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.pullquote::before { top: -0.6rem; left: 50%; transform: translateX(-50%); }
.pullquote::after { bottom: -1.4rem; left: 50%; transform: translateX(-50%); }

.pullquote em {
  color: var(--gold);
  font-style: italic;
}

.pullquote--small {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: 4rem;
  padding: 2rem;
}

/* ============================================================
   GRID
   ============================================================ */

.grid {
  display: grid;
  gap: 2rem;
}

.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.card__index {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.card__title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.card__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  font-weight: 300;
}

/* Validation cards — slightly different */
.card--validation .card__title {
  font-size: 1.15rem;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.card--validation {
  padding: 2rem 1.75rem;
}

/* Market cards — bigger label */
.card--market .card__index {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

/* ============================================================
   STEPS (Como funciona)
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 1.8rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong), transparent);
}

.step {
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
}

.step__num {
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold);
  background: var(--bg);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  position: relative;
  z-index: 1;
}

.section--alt .step__num { background: var(--bg-alt); }

.step__title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.step__body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  font-weight: 300;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { display: none; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
  .step__num { margin: 0; }
}

/* ============================================================
   ORDERED LIST (Próximos passos / Foco)
   ============================================================ */

.ordered-list {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.ordered-list__title {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.ordered-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ordered-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(201, 168, 122, 0.08);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
}

.ordered-list li:last-child { border-bottom: none; }

.ordered-list li span {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
}

/* ============================================================
   FOUNDERS
   ============================================================ */

.founders__quote {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text);
  border-left: 2px solid var(--gold);
  padding-left: 1.75rem;
  margin: 2.5rem 0 0;
  font-weight: 400;
  font-style: normal;
}

.founders__quote em {
  color: var(--gold);
  font-style: italic;
}

.founders-single {
  max-width: 760px;
  margin: 0 auto;
  display: block;
}

.prose--centered {
  text-align: center;
}

.prose--centered .founders__quote {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PROCESS PHOTO (compartment opening, after Como funciona steps)
   ============================================================ */

.process-photo {
  margin: 4rem 0 0;
  text-align: center;
}

.process-photo__img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto 1.25rem;
}

.process-photo__caption {
  font-family: var(--display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   TECHNICAL SHEET (large engineering doc image)
   ============================================================ */

.technical-sheet {
  margin: 4rem 0 0;
}

.technical-sheet__img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.technical-sheet__caption {
  font-family: var(--display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ============================================================
   VISUAL FRAME (for capacity SVG)
   ============================================================ */

.visual-frame {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1px;
  overflow: hidden;
}

.section--alt .visual-frame {
  background: var(--bg);
}

.capacity-svg {
  width: 100%;
  display: block;
}

/* ============================================================
   LINE CARDS (Core / Plus / Premium)
   ============================================================ */

.grid--lines { gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.line-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s ease;
}

.line-card:last-child { border-right: none; }

.line-card:hover { background: rgba(255, 255, 255, 0.02); }

.line-card__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 1rem;
}

.line-card__name {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.line-card__pos {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-weight: 300;
}

.line-card--accent .line-card__name {
  color: var(--gold);
  font-style: italic;
}

.line-card__visual {
  width: calc(100% + 4rem);
  margin: -2.5rem -2rem 1.75rem;
  aspect-ratio: 4/3;
  background: #0a0d18;
  position: relative;
  overflow: hidden;
}

.line-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
  transition: filter 0.3s ease, transform 0.5s ease;
}

.line-card:hover .line-card__img {
  filter: brightness(1.05);
  transform: scale(1.02);
}

.line-card--accent .line-card__visual {
  box-shadow: inset 0 -1px 0 rgba(201, 168, 122, 0.25);
}

@media (max-width: 880px) {
  .line-card { border-right: none; border-bottom: 1px solid var(--border); }
  .line-card:last-child { border-bottom: none; }
}

.footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2rem;
  font-style: italic;
  font-family: var(--display);
}

/* ============================================================
   CTA BLOCK
   ============================================================ */

.cta-block {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg);
  padding: 5rem var(--gutter) 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__brand {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.4em;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.footer__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 0 3rem;
  font-weight: 400;
}

.footer__triplet {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.footer__triplet span {
  position: relative;
}

.footer__triplet span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -1.7rem;
  color: var(--gold);
}

.footer__meta {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.footer__link {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.footer__link:hover { color: var(--gold); }

.footer__copy {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin: 0;
  text-transform: uppercase;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.section, .hero__content, .hero__visual {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section.is-visible, .hero__content.is-visible, .hero__visual.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section, .hero__content, .hero__visual {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
  .hero__scroll-line { animation: none; }
}

/* ============================================================
   RESPONSIVE FINE-TUNING
   ============================================================ */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 1rem var(--gutter); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .callout { padding: 2rem 1.5rem; }
  .callout__big { font-size: 3.5rem; }
  .footer__triplet { gap: 1.5rem; flex-direction: column; }
  .footer__triplet span:not(:last-child)::after { display: none; }
}
