/* =========================
   TABLET — 768px a 1199px
========================= */

@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --header-height: 88px;
    --section-scroll-offset: calc(var(--header-height) + 22px);
  }

  .header,
  .header__content {
    height: var(--header-height);
  }

  .header__content {
    padding: 8px 20px 0;
  }

  .logo__image {
    width: 190px;
    height: auto;
  }

  .menu-button {
    width: 70px;
    height: 70px;
  }

  .menu-button span {
    width: 28px;
    height: 4px;
  }

  .mobile-menu {
    width: min(46vw, 390px);
    padding: 165px 42px 65px;
  }

  .mobile-menu__link {
    font-size: 32px;
  }

  .mobile-menu__link + .mobile-menu__link {
    margin-top: 38px;
  }

  .mobile-menu__button {
    min-height: 56px;
    font-size: 19px;
  }

  /* HERO — TABLET */

  .hero {
    min-height: 720px;
    padding: 110px 48px 64px;
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(290px, 0.9fr) minmax(340px, 1.1fr);
    width: 100%;
    max-width: 980px;
    min-height: auto;
    align-items: center;
    gap: 48px;
  }

  .hero__photo-wrapper {
    width: min(100%, 360px);
    height: 478px;
    margin: 0;
    justify-self: center;
  }

  .hero__logo {
    width: min(100%, 310px);
    height: auto;
    margin: 0 0 12px;
  }

  .hero__profession,
  .hero__attendance,
  .hero__description {
    margin-left: 0;
  }

  .hero__profession {
    margin-bottom: 3px;
    font-size: 32px;
  }

  .hero__attendance {
    margin-bottom: 28px;
    font-size: 23px;
  }

  .hero__description {
    width: min(100%, 420px);
    margin-bottom: 36px;
    font-size: 19px;
    line-height: 1.2;
  }

  .hero__button {
    width: min(100%, 410px);
    min-height: 64px;
    margin-top: 0;
    font-size: 20px;
  }

  /* =====================================================
   PARA QUEM É? — TABLET
   Mantém a composição original do Figma
===================================================== */

@media (min-width: 768px) and (max-width: 1199px) {
  .audience {
    width: 100%;
    min-height: auto;
    padding: 64px 0 82px;
    overflow: hidden;
  }

  .audience__content {
    position: relative;
    width: min(calc(100% - 64px), 960px);
    min-height: 850px;
    margin: 0 auto;
  }

  .audience__title {
    position: absolute;
    top: 0;
    left: 7%;

    margin: 0;
    font-size: clamp(42px, 5vw, 54px);
    line-height: 0.95;
    letter-spacing: -3px;
  }

  .audience__subtitle {
    position: absolute;
    top: 62px;
    left: 7%;

    margin: 0;
    font-size: clamp(14px, 1.7vw, 17px);
    line-height: 1.2;
  }

  .audience__item {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 10px;

    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;

    transform: none;
  }

  .audience__item p {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 17px);
    line-height: 1.12;
  }

  .audience__arrow {
    flex: 0 0 auto;
    width: 18px;
    height: auto;
    margin-top: 2px;
  }

  /* Primeiro grupo de textos */

  .audience__item--one {
    top: 120px;
    left: 2%;
    width: 38%;
  }

  .audience__item--two {
    top: 220px;
    left: 2%;
    width: 40%;
  }

  .audience__item--three {
    top: 345px;
    left: 2%;
    width: 50%;
  }

  /* Texto central */

  .audience__item--four {
    top: 455px;
    left: 2%;
    width: 58%;
  }

  /* Textos da parte inferior direita */

  .audience__item--five {
    top: 625px;
    right: 4%;
    width: 34%;
  }

  .audience__item--six {
    top: 735px;
    right: 4%;
    width: 30%;
  }

  /* Ilustração superior */

  .audience__illustration--top {
    position: absolute;
    top: 92px;
    right: 4%;

    width: clamp(190px, 27vw, 260px);
    margin: 0;
    transform: none;
  }

  .audience__illustration--top img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Ilustração inferior */

  .audience__illustration--bottom {
    position: absolute;
    bottom: 0;
    left: -4%;

    width: clamp(240px, 34vw, 330px);
    margin: 0;
    transform: none;
  }

  .audience__illustration--bottom img {
    display: block;
    width: 100%;
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .audience__content {
    width: calc(100% - 48px);
    min-height: 790px;
  }

  .audience__title {
    left: 5%;
    font-size: 42px;
  }

  .audience__subtitle {
    top: 52px;
    left: 5%;
    font-size: 14px;
  }

  .audience__item p {
    font-size: 14px;
  }

  .audience__item--one {
    top: 102px;
    left: 0;
    width: 42%;
  }

  .audience__item--two {
    top: 190px;
    left: 0;
    width: 43%;
  }

  .audience__item--three {
    top: 302px;
    left: 0;
    width: 55%;
  }

  .audience__item--four {
    top: 405px;
    left: 0;
    width: 62%;
  }

  .audience__item--five {
    top: 575px;
    right: 0;
    width: 36%;
  }

  .audience__item--six {
    top: 680px;
    right: 0;
    width: 34%;
  }

  .audience__illustration--top {
    top: 90px;
    right: -1%;
    width: 205px;
  }

  .audience__illustration--bottom {
    bottom: 0;
    left: -7%;
    width: 265px;
  }
}
  /* TRABALHO — TABLET */

  .work {
    padding: 70px 40px 80px;
  }

  .work__content {
    width: 100%;
    max-width: 940px;
  }

  .work__title {
    font-size: 58px;
  }

  .work__subtitle {
    font-size: 21px;
  }

  .work__heading {
    margin-bottom: 40px;
  }

  .work__timeline {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 28px 0;
  }

  .work-card {
    width: 100%;
    min-height: 300px;
    padding: 42px 38px;
  }

  .work-card:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .work-card:nth-of-type(2) {
    grid-column: 3;
    grid-row: 2;
  }

  .work-card:nth-of-type(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .work__connector {
    width: 70px;
    height: 100%;
    min-height: 90px;
  }

  .work__connector:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .work__connector:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2 / 4;
  }

  .work-card__title {
    font-size: 42px;
  }

  .work-card__description {
    font-size: 20px;
    line-height: 1.2;
  }

  /* ATENDIMENTO — TABLET */

  .attendance {
    padding: 70px 40px 42px;
  }

  .attendance__content {
    max-width: 900px;
  }

  .attendance__title {
    margin-bottom: 50px;
    font-size: 62px;
  }

  .attendance__information,
  .attendance__types {
    padding-inline: 80px;
  }

  .attendance__row {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .attendance__icon,
  .attendance__type-icon {
    width: 48px;
    height: 48px;
  }

  .attendance__row-text strong,
  .attendance__row-text p,
  .attendance__type strong,
  .attendance__list li {
    font-size: 19px;
  }

  .attendance__button {
    width: min(100%, 500px);
    min-height: 70px;
    font-size: 24px;
  }

  .attendance__social {
    max-width: 720px;
    margin-inline: auto;
    font-size: 14px;
  }

  .footer {
    padding: 22px 30px;
  }

  .footer__content {
    max-width: 900px;
  }

  .footer__logo {
    width: 112px;
  }

  .footer__copyright {
    width: 260px;
    font-size: 11px;
  }
}

/* TABLETS MENORES — 768px a 899px */

@media (min-width: 768px) and (max-width: 899px) {
  .audience {
    padding-inline: 56px;
  }

  .audience__content {
    max-width: 660px;
  }

  .audience__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .audience__column {
    gap: 22px;
  }

  .audience__illustration img {
    width: min(100%, 210px);
    max-width: 210px;
  }
}

/* TABLETS MAIORES — 900px a 1199px */

@media (min-width: 900px) and (max-width: 1199px) {
  .audience__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(48px, 7vw, 84px);
  }
}

/* ==========================================
   TABLETS GRANDES (912px até 1199px)
========================================== */

@media (min-width: 900px) and (max-width: 1199px) {

  /* Imagem superior */
  .audience__illustration--top {
    right: 2%;
    width: 220px;
  }

  /* Imagem inferior */
  .audience__illustration--bottom {
    left: -2%;
    width: 260px;
  }

  /* Últimos textos mais afastados da imagem */

  .audience__item--five {
    top: 610px;
    right: 2%;
    width: 30%;
  }

  .audience__item--six {
    top: 710px;
    right: 2%;
    width: 30%;
  }

}