/* ================================================================
   DESIGN SYSTEM — A Jornada
   Font: Inter (Google Fonts).
   ================================================================ */

/* Fonts loaded via <link> in HTML head — weights 400, 500, 700 */

/* ----------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------- */
:root {
  /* --- Colors: Backgrounds --- */
  --bg-primary:    #0a0a0a;
  --bg-surface:    #101828;
  --bg-light:      #ffffff;
  --bg-btn:        #f3f4f6;

  /* --- Colors: Text --- */
  --text-primary:    #ffffff;
  --text-secondary:  #99a1af;
  --text-muted:      #6a7282;
  --text-light:      #d1d5dc;
  --text-dark:       #4a5565;
  --text-on-light:   #000000;

  /* --- Colors: Borders --- */
  --border:        #1e2939;
  --border-light:  rgba(255, 255, 255, 0.1);

  /* --- Radius --- */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-pill:  30px;
  --radius-full:  9999px;

  /* --- Spacing (4px grid) --- */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  32px;
  --sp-8:  40px;
  --sp-9:  48px;
  --sp-10: 64px;
  --sp-11: 80px;
  --sp-12: 96px;
  --sp-13: 120px;
  --sp-14: 160px;

  /* --- Layout --- */
  --container: 1256px;
  --gutter:    48px;

  /* --- Typography --- */
  --font: 'Inter', sans-serif;
}


/* ----------------------------------------------------------------
   2. BASE / RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }


/* ----------------------------------------------------------------
   3. LAYOUT — Container + Grid
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Standard section spacing */
.section          { padding: var(--sp-13) 0; }
.section--tight   { padding: var(--sp-11) 0; }
.section--flush   { padding: 0; }

/* Two-column split (left info + right content) */
.grid-split {
  display: flex;
  gap: var(--sp-11);
  align-items: flex-start;
}
.grid-split__aside  { flex: 0 0 420px; }
.grid-split__main   { flex: 1; min-width: 0; }

/* Equal columns */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }

/* Header row (title left + desc right) */
.grid-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-10);
  margin-bottom: var(--sp-9);
}
.grid-header__title { flex-shrink: 0; }
.grid-header__desc  { max-width: 448px; padding-top: var(--sp-3); }


/* ----------------------------------------------------------------
   4. TYPOGRAPHY
   ---------------------------------------------------------------- */
.text-h1-alt {
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
}
.text-h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.15;
}
.text-h2-alt {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
}
.text-h3 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}
.text-h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.text-hero {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}
.text-stat {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
}
.text-body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
.text-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.text-body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.text-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Color helpers */
.color-primary   { color: var(--text-primary); }
.color-secondary { color: var(--text-secondary); }
.color-muted     { color: var(--text-muted); }
.color-light     { color: var(--text-light); }
.color-dark      { color: var(--text-dark); }
.color-on-light  { color: var(--text-on-light); }

/* Visibility helpers */
.mobile-show { display: none; }


/* ----------------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bg-btn);
  color: var(--text-on-light);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  transition: background .2s;
}
.btn-pill:hover { background: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 16px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--text-light); color: var(--text-light); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  background: none;
  padding: 10px 0;
  transition: opacity .2s;
}
.btn-ghost:hover { opacity: .7; }

.btn-row {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}


/* ----------------------------------------------------------------
   6. COMPONENTS — Header
   ---------------------------------------------------------------- */
.ds-header {
  padding: var(--sp-6) 0;
}
.ds-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ds-header__brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.ds-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.ds-header--fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: transform .35s ease;
}
.ds-header--hidden {
  transform: translateY(-100%);
}


/* ----------------------------------------------------------------
   7. COMPONENTS — Hero
   ---------------------------------------------------------------- */
.ds-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ds-hero__bg {
  position: absolute;
  inset: 0;
  background: url('img/hero_jornada.webp') center/cover no-repeat;
}
.ds-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,.45));
}
.ds-hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-11);
  padding-bottom: var(--sp-11);
}
.ds-hero__left  { flex: 1; }
.ds-hero__right { max-width: 440px; flex-shrink: 0; padding-bottom: var(--sp-2); }
.ds-hero__right-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: var(--sp-5);
}
.ds-hero__right-text--secondary {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-9);
}


/* ----------------------------------------------------------------
   8. COMPONENTS — AHA Quiz
   ---------------------------------------------------------------- */
.aha {
  padding: var(--sp-13) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.aha__header {
  text-align: center;
  margin-bottom: var(--sp-9);
}
.aha__header h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: var(--sp-2);
}
.aha__header p {
  font-size: 16px;
  color: var(--text-muted);
}
.aha__quiz {
  max-width: 620px;
  width: 100%;
}
.aha__step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
  width: 100%;
  animation: ahaFade .4s ease forwards;
}
.aha__step.active { display: flex; }
@keyframes ahaFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.aha__step-question {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}
.aha__step-sub {
  font-size: 16px;
  color: var(--text-muted);
}
.aha__input-wrap {
  position: relative;
  width: 100%;
}
.aha__input-wrap .ds-input {
  padding-right: 52px;
}
.aha__currency {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-dark);
  pointer-events: none;
}
.aha__result-numbers {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.aha__result-current {
  font-size: 36px;
  font-weight: 500;
  color: var(--text-muted);
}
.aha__result-arrow {
  color: var(--text-dark);
  font-size: 14px;
}
.aha__result-potential {
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
}
.aha__graph {
  width: 100%;
  max-width: 380px;
  height: 110px;
  margin: var(--sp-1) 0 var(--sp-3);
}
.aha__graph canvas { width: 100%; height: 100%; }
.aha__result-msg {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
}
.aha__result-msg strong { color: var(--text-primary); }


/* ----------------------------------------------------------------
   9. COMPONENTS — Reconhece Cards
   ---------------------------------------------------------------- */
.reconhece-card {
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.reconhece-card__photo {
  height: 180px;
  overflow: hidden;
}
.reconhece-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.reconhece-card__body {
  padding: var(--sp-6);
}
.reconhece-card__title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-3);
}
.reconhece-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ----------------------------------------------------------------
   10. COMPONENTS — Concept Visual
   ---------------------------------------------------------------- */
.concept-visual {
  margin-top: var(--sp-7);
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.concept-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}


/* ----------------------------------------------------------------
   11. COMPONENTS — How Steps
   ---------------------------------------------------------------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-7);
}
.how-step {
  position: relative;
  padding-top: var(--sp-9);
}
.how-step__number {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  letter-spacing: -2px;
}
.how-step__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: var(--sp-3);
}
.how-step__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ----------------------------------------------------------------
   12. COMPONENTS — Layer Items
   ---------------------------------------------------------------- */
.layer-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.layer-item {
  display: flex;
  border: 1px solid var(--border);
  overflow: hidden;
}
.layer-item__photo {
  flex: 0 0 240px;
  overflow: hidden;
}
.layer-item__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.layer-item__body {
  flex: 1;
  padding: var(--sp-7) var(--sp-8);
  display: flex;
  flex-direction: column;
}
.layer-item__head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.layer-item__num {
  font-size: 36px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -1px;
  line-height: 1;
}
.layer-item__en {
  font-size: 11px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.layer-item__name {
  font-size: 24px;
  font-weight: 500;
  margin-left: auto;
}
.layer-item__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
  max-width: 560px;
}
.layer-item__stats {
  display: flex;
  gap: var(--sp-9);
  margin-top: auto;
}


/* ----------------------------------------------------------------
   13. COMPONENTS — Story Cards (horizontal scroll)
   ---------------------------------------------------------------- */
.story-wrap {
  position: relative;
  overflow: hidden;
}
.story-scroll {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-5);
  scrollbar-width: none;
}
.story-scroll::-webkit-scrollbar { display: none; }

.story-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: none;
  color: #000;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.story-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.story-arrow--right { right: var(--sp-4); }
.story-arrow--left  { left: var(--sp-4); display: none; }

.story-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.story-card:last-child { margin-right: var(--sp-11); }

.story-card__top {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.story-card__avatar {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}
.story-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-card__name {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 2px;
}
.story-card__role {
  font-size: 13px;
  color: var(--text-muted);
}
.story-card__body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.story-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--sp-2);
}
.story-card__label--before { color: var(--text-muted); }
.story-card__label--after  { color: var(--text-primary); }
.story-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.story-card__text--after {
  color: var(--text-light);
}
.story-card__result {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.story-card__number {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
}
.story-card__result-label {
  font-size: 12px;
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   14. COMPONENTS — Form / Preform
   ---------------------------------------------------------------- */
.ds-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 24px;
  color: var(--text-primary);
  outline: none;
  font-family: var(--font);
}
.ds-input:focus { border-color: var(--text-secondary); }
.ds-input::placeholder { color: var(--text-dark); }

.ds-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.ds-progress__bar {
  height: 100%;
  background: var(--text-primary);
  border-radius: 2px;
}

.preform__fields {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.preform__input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s;
}
.preform__input::placeholder { color: var(--text-muted); }
.preform__input:focus { border-color: var(--text-muted); }

.preform__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.preform__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-primary);
  cursor: pointer;
  margin-top: 2px;
  transition: border-color .2s, background .2s;
}
.preform__consent input[type="checkbox"]:checked {
  background: var(--text-primary);
  border-color: var(--text-primary);
}
.preform__consent input[type="checkbox"]:checked::after {
  content: '\2713';
  display: block;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  color: var(--bg-primary);
  font-weight: 700;
}
.preform__consent label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.preform__consent label a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.preform__consent label a:hover {
  color: var(--text-primary);
}


/* ----------------------------------------------------------------
   15. COMPONENTS — Accordion (FAQ)
   ---------------------------------------------------------------- */
.ds-accordion-item {
  border-bottom: 1px solid var(--border);
}
.ds-accordion-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  cursor: pointer;
}
.ds-accordion-item__question {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}
.ds-accordion-item__icon {
  font-size: 20px;
  color: var(--text-secondary);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  margin-left: var(--sp-6);
}
.ds-accordion-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.ds-accordion-item.active .ds-accordion-item__answer { max-height: 600px; }
.ds-accordion-item__answer p {
  padding-bottom: var(--sp-6);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ----------------------------------------------------------------
   16. COMPONENTS — Form Popup
   ---------------------------------------------------------------- */
.form-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0,0,0,.85);
  align-items: center;
  justify-content: center;
  padding: var(--sp-7);
}
.form-popup.active { display: flex; }
.form-popup__card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  position: relative;
}
.form-popup__left {
  flex: 0 0 380px;
  padding: var(--sp-9);
  border-right: 1px solid var(--border);
}
.form-popup__right {
  flex: 1;
  min-width: 0;
  padding: var(--sp-9);
}
.form-popup__price {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1;
}
.form-popup__includes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.form-popup__includes li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}
.form-popup__includes li:last-child {
  border-bottom: none;
}
.form-popup__close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
}
.form-popup__close:hover { color: var(--text-primary); }


/* ----------------------------------------------------------------
   17. COMPONENTS — Cookie Banner
   ---------------------------------------------------------------- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: var(--sp-5) var(--sp-7);
}
.cookie-banner.active { display: block; }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.cookie-banner__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}
.cookie-banner__text a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.cookie-banner__btn {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cookie-banner__btn--accept {
  background: var(--bg-btn);
  color: var(--text-on-light);
  border: none;
}
.cookie-banner__btn--accept:hover { background: #fff; }
.cookie-banner__btn--reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.cookie-banner__btn--reject:hover { border-color: var(--text-secondary); color: var(--text-secondary); }


/* ----------------------------------------------------------------
   18. COMPONENTS — Footer
   ---------------------------------------------------------------- */
.ds-footer {
  padding: var(--sp-11) 0 0;
  border-top: 1px solid var(--border);
}
.ds-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-9);
  padding-bottom: var(--sp-9);
}
.ds-footer__bottom {
  border-top: 1px solid var(--border-light);
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ----------------------------------------------------------------
   X. COMPONENTS — Author Block
   ---------------------------------------------------------------- */
.autor-meta__name {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}
.autor-meta__role {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.autor-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.autor-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autor-avatar-round {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-full);
  overflow: hidden;
}
.autor-avatar-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autor-stats {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-9);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.autor-photo-mobile { display: none; }


/* ----------------------------------------------------------------
   19. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container          { padding: 0 var(--sp-6); }
  .grid-split         { flex-direction: column; gap: var(--sp-8); }
  .grid-split__aside  { flex: none; }
  .grid-header        { flex-direction: column; gap: var(--sp-4); }
  .grid-4             { grid-template-columns: repeat(2, 1fr); }
  .ds-footer__grid    { grid-template-columns: 1fr 1fr; }

  /* Author: hide desktop portrait, show round avatar + caption above text */
  .autor-photo-desktop { display: none; }
  .autor-photo-mobile  { display: block; margin-bottom: var(--sp-7); }
  .autor-stats         { gap: var(--sp-6); margin-top: var(--sp-8); }
}

@media (max-width: 768px) {
  /* Hero */
  .ds-hero__left      { display: none; }
  .ds-hero__content   { flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sp-7); padding-top: 70px; padding-bottom: var(--sp-9); }
  .ds-hero__right     { max-width: 100%; }
  .ds-hero__right     { display: flex; flex-direction: column; gap: var(--sp-7); }
  .ds-hero__right h2  { margin-bottom: 0 !important; }
  .ds-hero__right-text { font-size: 14px; margin-bottom: 0 !important; }

  /* Header */
  .ds-header          { padding: var(--sp-3) 0; }
  .ds-header__brand   { font-size: 16px; }
  .ds-header__actions .btn-ghost { font-size: 11px; white-space: nowrap; }

  /* Visibility */
  .mobile-hide        { display: none; }
  .mobile-show        { display: inline; }

  /* AHA */
  .aha__header h2     { font-size: 30px; }
  .aha__step-question { font-size: 22px; }
  .aha__result-numbers { flex-direction: column; gap: var(--sp-2); }
  .aha__result-current,
  .aha__result-potential { font-size: 28px; }

  /* Concept */
  .concept-visual     { height: 120px; }

  /* Steps */
  .how-steps          { grid-template-columns: 1fr 1fr; }

  /* Layers */
  .layer-item         { flex-direction: column; }
  .layer-item__photo  { flex: none; height: 200px; }
  .layer-item__body   { padding: var(--sp-6); }
  .layer-item__head   { flex-wrap: wrap; }
  .layer-item__name   { margin-left: 0; flex-basis: 100%; }
  .layer-item__stats  { flex-direction: column; gap: var(--sp-4); }

  /* Stories */
  .story-card         { flex: 0 0 320px; }
  .story-card:last-child { margin-right: var(--sp-5); }
  .story-arrow        { width: 40px; height: 40px; font-size: 18px; }
  .story-arrow--right { right: var(--sp-3); }
  .story-arrow--left  { left: var(--sp-3); }

  /* Grid */
  .grid-4             { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .ds-footer__grid    { grid-template-columns: 1fr; }
  .ds-footer__bottom  { flex-direction: column; gap: var(--sp-3); text-align: center; }

  /* Form popup */
  .form-popup         { padding: var(--sp-4); }
  .form-popup__card   { flex-direction: column; }
  .form-popup__left   { flex: none; border-right: none; border-bottom: 1px solid var(--border); padding: var(--sp-6); }
  .form-popup__right  { padding: var(--sp-6); }
  .form-popup__price  { font-size: 28px; }

  /* Cookie */
  .cookie-banner__inner   { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner__actions { justify-content: center; }
}

@media (max-width: 480px) {
  .container                  { padding: 0 var(--sp-4); }
  .grid-4                     { grid-template-columns: 1fr; }
  .how-steps                  { grid-template-columns: 1fr; }
  .ds-header__actions .btn-ghost { font-size: 10px; }
}
