/* =========================
   DESKTOP — 1200px a 1699px
   Escala proporcional ao frame 1920px do Figma
========================= */

@media (min-width: 1200px) and (max-width: 1699px) {
  :root {
    --header-height: 88px;
  }

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

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

  .logo__image {
    width: 190px;
    
  }

  .menu-button {
    width: 64px;
    height: 64px;
    margin-right: 4px;
  }

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

  .mobile-menu {
    width: min(34vw, 440px);
    padding: 160px 52px 64px;
  }

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

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

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

  /* HERO DESKTOP */

  .hero {
    min-height: 860px;
    padding: 108px 5vw 62px;
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(390px, 510px) minmax(470px, 570px);
    width: 100%;
    max-width: 1180px;
    min-height: auto;
    align-items: center;
    justify-content: center;
    gap: clamp(62px, 6.2vw, 85px);
  }

  .hero__photo-wrapper {
    width: min(37vw, 510px);
    height: min(78vh, 675px);
    margin: 0;
  }

  .hero__logo {
    width: 307px;
    height: auto;
    margin: 0 0 10px;
  }

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

  .hero__profession {
    margin-bottom: 2px;
    font-size: 37px;
  }

  .hero__attendance {
    margin-bottom: 38px;
    font-size: 29px;
  }

  .hero__description {
    width: min(100%, 510px);
    margin-bottom: 48px;
    font-size: 28px;
    line-height: 1.18;
  }

  .hero__button {
    width: 436px;
    min-height: 72px;
    margin: 0 0 0 30px;
    font-size: 22px;
  }

  /* PARA QUEM É — DESKTOP */

  .audience {
    padding: 70px 0 95px;
  }

  .audience__content {
    position: relative;
    width: min(90vw, 1232px);
    max-width: none;
    height: 1178px;
  }

  .audience__title {
    top: 34px;
    left: 43%;
    font-size: 47px;
    letter-spacing: -3px;
  }

  .audience__subtitle {
    top: 86px;
    left: 43%;
    font-size: 23px;
  }

  .audience__item {
    gap: 17px;
  }

  .audience__item p {
    font-size: 25px;
    line-height: 1.2;
  }

  .audience__arrow {
    width: 25px;
    height: auto;
    margin-top: 4px;
  }

  .audience__item--one {
    top: 225px;
    left: 44%;
  }

  .audience__item--two {
    top: 355px;
    left: 44%;
  }

  .audience__item--three {
    top: 510px;
    left: 44%;
  }

  .audience__item--four {
    top: 700px;
    left: 14%;
  }

  .audience__item--five {
    top: 830px;
    left: 14%;
  }

  .audience__item--six {
    top: 960px;
    left: 14%;
  }

  .audience__illustration--top {
    top: 0;
    right: auto;
    left: 0;
    width: 430px;
    height: 640px;
  }

  .audience__illustration--bottom {
    right: 0;
    bottom: 0;
    left: auto;
    width: 548px;
    height: 678px;
  }

  /* TRABALHO — DESKTOP */

  .work {
    min-height: auto;
    padding: 70px 0 100px;
  }

  .work__content {
    width: min(92vw, 1180px);
    max-width: none;
    margin-inline: auto;
  }

  .work__heading {
    width: 100%;
    margin: 0 auto 56px;
    text-align: center;
  }

  .work__title {
    font-size: 47px;
    line-height: 1;
    letter-spacing: -3px;
  }

  .work__subtitle {
    margin-top: 12px;
    font-size: 23px;
    line-height: 1.2;
  }

  .work__timeline {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr) 82px minmax(0, 1fr);
    align-items: stretch;
    min-height: auto;
    gap: 0;
  }

  .work-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 330px;
    padding: 40px 34px;
    border-radius: 30px;
  }

  .work-card:nth-of-type(1),
  .work-card:nth-of-type(2),
  .work-card:nth-of-type(3) {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .work-card__title {
    margin-bottom: 24px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -1.5px;
  }

  .work-card__description {
    font-size: 18px;
    line-height: 1.25;
  }

  .work__connector {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    transform: none;
  }

  .work__connector::before {
    position: absolute;
    top: 50%;
    right: 10px;
    bottom: auto;
    left: 10px;
    width: auto;
    height: 0;
    border: 0;
    border-top: 2px dashed rgba(244, 243, 237, 0.45);
    content: "";
    transform: translateY(-50%);
  }

  .work__connector::after {
    position: absolute;
    top: 50%;
    right: 4px;
    bottom: auto;
    left: auto;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid rgba(244, 243, 237, 0.58);
    background: transparent;
    content: "";
    transform: translateY(-50%);
  }

  .work__connector span {
    display: none;
  }

  /* ATENDIMENTO — DESKTOP */

  .attendance {
    padding: 65px 0 32px;
  }

  .attendance__content {
    display: grid;
    width: min(90vw, 854px);
    max-width: none;
    grid-template-columns: 1fr 1px 1fr;
    column-gap: 48px;
  }

  .attendance__title {
    grid-column: 1 / -1;
    margin-bottom: 70px;
    font-size: 65px;
    letter-spacing: -4px;
  }

  .attendance__information {
    grid-column: 3;
    grid-row: 2;
    padding: 0;
    gap: 35px;
  }

  .attendance__types {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
  }

  .attendance__divider {
    grid-column: 2;
    grid-row: 2;
    width: 1px;
    height: 320px;
    margin: 0;
    align-self: center;
  }

  .attendance__row {
    grid-template-columns: 61px 1fr;
    gap: 20px;
  }

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

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

  .attendance__type {
    grid-template-columns: 61px 1fr;
    gap: 22px;
    margin-bottom: 28px;
  }

  .attendance__list {
    gap: 22px;
    margin-top: 50px;
  }

  .attendance__list-icon {
    width: 25px;
    height: auto;
  }

  .attendance__button {
    grid-column: 1 / -1;
    width: 348px;
    min-height: 61px;
    margin-top: 70px;
    font-size: 20px;
  }

  .attendance__social {
    grid-column: 1 / -1;
    width: 430px;
    margin: 38px auto 0;
    font-size: 12px;
  }

  .footer {
    min-height: 80px;
    padding: 16px 28px;
  }

  .footer__content {
    max-width: 1366px;
  }

  .footer__logo {
    width: 110px;
  }

  .footer__copyright {
    width: 310px;
    font-size: 10px;
  }
}

/* =========================
   DESKTOP GRANDE — 1700px+
   Medidas originais do frame 1920px
========================= */

@media (min-width: 1700px) {
  :root {
    --header-height: 138px;
  }

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

  .header__content {
    padding: 14px 15px 0;
  }

  .logo__image {
    width: 294px;
    height: 124px;
  }

  .menu-button {
    width: 103px;
    height: 103px;
    margin-right: 15px;
  }

  .menu-button span {
    width: 41px;
    height: 6px;
  }

  .mobile-menu {
    width: min(44vw, 650px);
    padding: 230px 84px 100px;
  }

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

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

  .mobile-menu__button {
    width: 488px;
    max-width: 100%;
    min-height: 85px;
    align-self: center;
    font-size: 27px;
  }

  .hero {
    min-height: 1220px;
    padding: 146px 4.8vw 125px;
  }

  .hero__content {
    display: grid;
    grid-template-columns: 719px 760px;
    width: 100%;
    max-width: 1735px;
    min-height: 949px;
    align-items: center;
    gap: 164px;
  }

  .hero__photo-wrapper {
    width: 719px;
    height: 949px;
    margin: 0;
  }

  .hero__logo {
    width: 433px;
    height: 198px;
    margin: 0 0 10px;
  }

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

  .hero__profession {
    font-size: 52px;
  }

  .hero__attendance {
    margin-bottom: 58px;
    font-size: 48px;
  }

  .hero__description {
    width: 716px;
    margin-bottom: 82px;
    font-size: 40px;
  }

  .hero__button {
    width: 614px;
    min-height: 101px;
    margin-left: 43px;
    font-size: 32px;
  }

  .hero__button-icon {
    width: 42px;
    height: 42px;
  }

  .audience__content {
    width: 1732px;
    height: 1656px;
  }

  .audience__title {
    top: 48px;
    left: 597px;
    font-size: 66px;
  }

  .audience__subtitle {
    top: 121px;
    left: 597px;
    font-size: 32px;
  }

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

  .audience__item--one { top: 314px; left: 672px; }
  .audience__item--two { top: 484px; left: 672px; }
  .audience__item--three { top: 694px; left: 672px; }
  .audience__item--four { top: 948px; left: 248px; }
  .audience__item--five { top: 1118px; left: 248px; }
  .audience__item--six { top: 1288px; left: 248px; }

  .audience__illustration--top {
    top: 0;
    left: 0;
    width: 606px;
    height: 902px;
  }

  .audience__illustration--bottom {
    right: 0;
    bottom: 0;
    width: 771px;
    height: 954px;
  }

  .work {
    min-height: 1852px;
  }

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

  .work__title {
    font-size: 66px;
  }

  .work__subtitle {
    font-size: 32px;
  }

  .work__timeline {
    min-height: 1550px;
  }

  .work-card {
    width: 549px;
    min-height: 470px;
    padding: 74px 56px;
  }

  .work-card:nth-of-type(1) { top: 40px; left: 18%; }
  .work-card:nth-of-type(2) { top: 550px; right: 18%; }
  .work-card:nth-of-type(3) { top: 1060px; left: 18%; }

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

  .work-card__description {
    font-size: 28px;
  }

  .attendance__content {
    width: 1199px;
  }

  .attendance__title {
    font-size: 92px;
  }

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

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

  .attendance__button {
    width: 488px;
    min-height: 85px;
    font-size: 28px;
  }

  .footer {
    min-height: 113px;
  }

  .footer__logo {
    width: 155px;
  }

  .footer__copyright {
    width: 434px;
    font-size: 14px;
  }
}

/* =========================
   MENU HORIZONTAL DESKTOP
========================= */

@media (min-width: 1200px) {
  .header {
    background: #1d1d1d;
  }

  .header__content {
    max-width: 1440px;
    margin-inline: auto;
  }

  .desktop-navigation {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3vw, 52px);
    margin-left: auto;
  }

  .desktop-navigation__link {
    position: relative;
    color: #f4f3ed;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    transition: opacity 0.2s ease;
  }

  .desktop-navigation__link::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .desktop-navigation__link:hover::after,
  .desktop-navigation__link:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .desktop-navigation__link:focus-visible {
    outline: 2px solid #f4f3ed;
    outline-offset: 8px;
  }

  .menu-button,
  .mobile-menu {
    display: none;
  }
}

/* =========================
   REFINAMENTO DA HERO DESKTOP
========================= */

@media (min-width: 1200px) and (max-width: 1699px) {
  .hero {
    min-height: 720px;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 48px;
  }

  .hero__content {
    grid-template-columns: minmax(360px, 460px) minmax(430px, 540px);
    max-width: 1080px;
    gap: clamp(48px, 5vw, 70px);
  }

  .hero__photo-wrapper {
    width: min(34vw, 460px);
    height: 610px;
  }

  .hero__logo {
    width: 285px;
  }

  .hero__profession {
    font-size: 34px;
  }

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

  .hero__description {
    max-width: 490px;
    margin-bottom: 36px;
    font-size: 25px;
  }

  .hero__button {
    width: 410px;
    min-height: 66px;
    margin-left: 0;
    font-size: 20px;
  }
}

@media (min-width: 1700px) {
  .hero {
    min-height: 980px;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 80px;
  }

  .hero__content {
    grid-template-columns: 590px 660px;
    max-width: 1480px;
    min-height: auto;
    gap: 120px;
  }

  .hero__photo-wrapper {
    width: 590px;
    height: 780px;
  }

  .hero__logo {
    width: 390px;
    height: auto;
  }

  .hero__profession {
    font-size: 45px;
  }

  .hero__attendance {
    margin-bottom: 42px;
    font-size: 39px;
  }

  .hero__description {
    width: 620px;
    margin-bottom: 56px;
    font-size: 34px;
  }

  .hero__button {
    width: 540px;
    min-height: 86px;
    margin-left: 0;
    font-size: 27px;
  }
}


/* =========================
   NAVEGAÇÃO POR ÂNCORA — DESKTOP
========================= */

@media (min-width: 1200px) {
  :root {
    --section-scroll-offset: calc(var(--header-height) + 26px);
  }
}

/* =========================
   TRABALHO — DESKTOP GRANDE
========================= */

@media (min-width: 1700px) {
  .work {
    min-height: auto;
    padding: 92px 0 130px;
  }

  .work__content {
    width: min(90vw, 1540px);
    margin-inline: auto;
  }

  .work__heading {
    margin-bottom: 74px;
  }

  .work__title {
    font-size: 62px;
    line-height: 1;
  }

  .work__subtitle {
    margin-top: 16px;
    font-size: 30px;
  }

  .work__timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr) 110px minmax(0, 1fr);
    align-items: stretch;
    min-height: auto;
  }

  .work-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 430px;
    padding: 54px 48px;
    border-radius: 42px;
  }

  .work-card:nth-of-type(1),
  .work-card:nth-of-type(2),
  .work-card:nth-of-type(3) {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .work-card__title {
    margin-bottom: 32px;
    font-size: 46px;
  }

  .work-card__description {
    font-size: 25px;
    line-height: 1.25;
  }

  .work__connector {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    transform: none;
  }

  .work__connector::before {
    top: 50%;
    right: 14px;
    left: 14px;
    width: auto;
    border-top-width: 3px;
  }

  .work__connector::after {
    top: 50%;
    right: 5px;
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 15px;
  }
}