/* V42 · Editorial hierarchy for the three hero scenes.
   Reuses the local Inter families. All changes are scoped to this hero. */
#hero.cam40 .cam-words {
  width: 100%;
  max-inline-size: 450px;
  min-inline-size: 0;
}

#hero.cam40 .cam-words h1,
#hero.cam40 .cam-words h2 {
  max-inline-size: 100%;
  margin: 0 0 25px;
  color: #242b29;
  font-family: var(--f-titulo);
  font-size: clamp(39px, 3.67vw, 52px);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -.024em;
  font-kerning: normal;
  text-wrap: initial;
  overflow-wrap: normal;
  word-break: normal;
}

#hero.cam40 .cam-words h1 {
  font-size: clamp(46px, 4.12vw, 60px);
}

#hero.cam40 .cam-words em {
  color: var(--cam-blue);
  font-weight: inherit;
  font-style: normal;
}

#hero.cam40 .cam-words p {
  max-inline-size: 390px;
  margin: 0 0 27px;
  color: #5d655f;
  font-family: var(--f-texto);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.008em;
  text-wrap: pretty;
}

#hero.cam40 .cam-actions {
  gap: 13px;
}

#hero.cam40 .cam-primary {
  max-inline-size: 100%;
  min-block-size: 50px;
  padding: 15px 22px;
  gap: 22px;
  font-family: var(--f-texto);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-wrap: balance;
}

#hero.cam40 .cam-primary span {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}

#hero.cam40 .cam-support {
  gap: 22px;
  padding-block: 9px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.005em;
}

/* A controlled text measure leaves the photographic composition clear. */
@media (min-width: 1200px) {
  :is(#hero.cam40.motion, .hc-pending #hero.cam40) .cam-scene {
    width: min(35%, 450px);
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  #hero.cam40 .cam-words h1,
  #hero.cam40 .cam-words h2 {
    margin-bottom: 21px;
  }

  #hero.cam40 .cam-words h2 {
    font-size: clamp(34px, 3.82vw, 44px);
  }

  #hero.cam40 .cam-words p {
    max-inline-size: 355px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 23px;
  }

  #hero.cam40 .cam-primary {
    min-block-size: 47px;
    padding: 14px 19px;
    gap: 18px;
    font-size: 12px;
  }
}

@media (min-width: 761px) and (max-width: 900px) and (orientation: landscape) {
  #hero.cam40 .cam-words h1 {
    font-size: clamp(34px, 4.12vw, 38px);
  }

  #hero.cam40 .cam-words h2 {
    font-size: clamp(28px, 3.7vw, 34px);
  }

  #hero.cam40 .cam-words p {
    font-size: 13px;
    line-height: 1.55;
  }
}

/* Portrait copy is measured beneath the camera's square by the existing engine. */
@media (max-width: 760px), (max-width: 900px) and (orientation: portrait) {
  #hero.cam40 .cam-words {
    max-inline-size: 600px;
    margin-inline: auto;
  }

  #hero.cam40 .cam-words h1,
  #hero.cam40 .cam-words h2 {
    max-inline-size: 100%;
    margin-bottom: 15px;
    font-size: clamp(32px, 8.7vw, 42px);
    line-height: 1.08;
    letter-spacing: -.022em;
  }

  #hero.cam40 .cam-words h2 br:first-of-type {
    display: initial;
  }

  #hero.cam40 .cam-words p {
    max-inline-size: 53ch;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.52;
    letter-spacing: -.005em;
  }

  #hero.cam40 .cam-actions {
    gap: 8px;
  }

  #hero.cam40 .cam-primary {
    min-block-size: 44px;
    padding: 12px 18px;
    gap: 19px;
    font-size: 12px;
    line-height: 1.35;
  }

  #hero.cam40 .cam-primary span {
    font-size: 20px;
  }

  #hero.cam40 .cam-support {
    padding-block: 6px;
    font-size: 11px;
    line-height: 1.4;
  }
}

@media (min-width: 600px) and (max-width: 900px) and (orientation: portrait) {
  #hero.cam40 .cam-words p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* Compact phones keep readable copy and enough height for the upper square. */
@media (max-width: 760px) and (max-height: 720px) {
  #hero.cam40 .cam-words h1,
  #hero.cam40 .cam-words h2 {
    font-size: clamp(29px, 8vw, 32px);
    line-height: 1.07;
    margin-bottom: 12px;
  }

  #hero.cam40 .cam-words p {
    font-size: 12.5px;
    line-height: 1.46;
    margin-bottom: 14px;
  }

  #hero.cam40 .cam-primary {
    min-block-size: 42px;
    padding: 11px 17px;
  }

  #hero.cam40 .cam-support {
    padding-block: 5px;
  }
}

/* Short landscape screens use the side-by-side composition. */
@media (min-width: 560px) and (max-height: 560px) {
  #hero.cam40 .cam-words h1,
  #hero.cam40 .cam-words h2 {
    font-size: clamp(25px, 3.45vw, 36px);
    line-height: 1.08;
    margin-bottom: 10px;
  }

  #hero.cam40 .cam-words p {
    font-size: 11.5px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  #hero.cam40 .cam-primary {
    min-block-size: 38px;
    padding: 10px 15px;
    gap: 16px;
    font-size: 11px;
  }
}
