/* Responsive */

@media (min-width: 761px) {
  .site-fixed-bg {
    display: block;
  }

  .hero-bg {
    display: none;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: calc(var(--header-height) - 6px);
    right: 18px;
    left: auto;
    display: grid;
    width: min(245px, calc(100vw - 36px));
    gap: 3px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(22px);
    box-shadow:
      0 24px 70px rgba(57, 38, 96, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  body.nav-open .main-nav {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 13px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.1;
  }

  .main-nav a:hover {
    background: linear-gradient(
      135deg,
      var(--color-primary-soft),
      var(--color-blue-soft)
    );
    color: var(--color-primary-dark);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 8px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(
      135deg,
      var(--color-primary-dark),
      var(--color-primary)
    );
    color: #fff !important;
    font-size: 0.84rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 14px 32px rgba(91, 60, 164, 0.24);
  }

  .nav-mobile-cta:hover {
    background: linear-gradient(
      135deg,
      var(--color-primary-dark),
      var(--color-primary)
    );
    color: #fff !important;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 62px) 0 58px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content {
    max-width: 820px;
  }

  .hero-visual {
    width: min(100%, 560px);
    min-height: 520px;
    margin-inline: auto;
    justify-content: center;
  }

  .hero-person-card {
    width: min(100%, 390px);
    min-height: 520px;
  }

  .hero-person {
    height: min(62vh, 520px);
  }

  .about-grid,
  .faq-grid,
  .contact-grid,
  .rt-layout,
  .courses-head {
    grid-template-columns: 1fr;
  }

  .rt-panel {
    max-width: 100%;
    min-height: 430px;
  }

  .rt-panel-inner {
    min-height: 430px;
  }

  .rt-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rt-panel,
  .about-media,
  .courses-image {
    max-width: 680px;
  }

  .services-grid,
  .courses-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-cta {
    grid-template-columns: 1fr;
  }

  .services-cta__media,
  .services-cta__media img {
    min-height: 360px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .about-floating-card {
    right: 20px;
  }

  .process-steps::before {
    display: none;
  }

  .process-card {
    min-height: 240px;
  }

  .process-card span {
    margin-bottom: 28px;
  }

  .courses-head {
    gap: 28px;
  }

  .courses-image {
    min-height: 300px;
  }

  .courses-image img {
    min-height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-about {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .whatsapp-float {
    display: none !important;
  }
}

@media (min-width: 981px) {
  .mobile-whatsapp-bar {
    display: none !important;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 30px 0;
  }

  .section-heading {
    margin-bottom: 32px;
    text-align: center;
    margin-inline: auto;
  }

  .section-heading h2,
  .rt-content h2,
  .about-content h2,
  .contact-content h2 {
    font-size: clamp(2.1rem, 10vw, 3.35rem);
  }

  .section-heading p,
  .rt-content > p,
  .about-content > p,
  .contact-content > p {
    font-size: 0.98rem;
  }

  .section-kicker,
  .rt-head .section-kicker,
  .process-head .section-kicker,
  .authority-carousel__head .section-kicker,
  .section-heading-center .section-kicker,
  .courses-head .section-kicker {
    margin-inline: auto;
  }

  .brand-logo {
    max-width: 200px;
    height: auto;
    max-height: 100px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-height) + 4px) 0 22px;
    align-items: flex-start;
    overflow: hidden;
  }

  .hero-bg {
    display: block;
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.86) 42%,
        rgba(255, 255, 255, 0.44) 70%,
        rgba(255, 255, 255, 0.1) 100%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.46) 0%,
        rgba(255, 255, 255, 0.12) 58%,
        rgba(251, 249, 255, 0.96) 100%
      ),
      url("/assets/images/banner.png");
    background-size: cover;
    background-position: 52% top;
    background-repeat: no-repeat;
  }

  .hero::after {
    height: 90px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(251, 249, 255, 0.98) 100%
    );
  }

  .hero-container {
    position: relative;
    display: block;
    min-height: calc(100svh - var(--header-height) - 26px);
  }

  .hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: none;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .hero-kicker {
    min-height: 27px;
    margin-bottom: 10px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.84);
    font-size: 0.6rem;
    letter-spacing: 0.035em;
    box-shadow: 0 8px 20px rgba(85, 51, 151, 0.06);
  }

  .hero h1 {
    width: min(58vw, 232px);
    max-width: 232px;
    font-size: clamp(1.72rem, 7.6vw, 2.28rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    color: #23172f;
  }

  .hero h1::after {
    width: 68px;
    height: 4px;
    margin-top: 12px;
  }

  .hero p {
    width: min(58vw, 236px);
    max-width: 236px;
    margin-top: 13px;
    color: rgba(86, 76, 102, 0.96);
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 650;
  }

  .hero-mobile-points {
    display: none !important;
  }

  .hero-actions {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 336px);
    max-width: 336px;
    margin: 20px auto 0;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 0 18px;
    font-size: 0.86rem;
    line-height: 1.12;
  }

  .hero-visual {
    position: absolute;
    z-index: 2;
    top: -24px;
    right: -74px;
    bottom: 18px;
    width: min(76%, 360px);
    height: auto;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
    pointer-events: none;
  }

  .hero-person {
    width: auto !important;
    max-width: none !important;
    height: min(78svh, 590px) !important;
    max-height: calc(100svh - 80px) !important;
    object-fit: contain;
    object-position: bottom right;
    transform: translateY(-10px) scale(1.035);
    transform-origin: bottom right;
    filter: drop-shadow(0 18px 24px rgba(35, 23, 47, 0.13));
  }

  .hero-person-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
  }

  .hero-person-card::before,
  .hero-person-card::after,
  .hero-person-glow,
  .hero-person-badge {
    display: none !important;
  }

  .btn {
    width: 100%;
    min-height: 47px;
    padding: 0 20px;
    font-size: 0.9rem;
  }

  .intro-strip {
    padding: 22px 0 62px;
  }

  .authority-carousel {
    padding: 48px 0 42px;
  }

  .authority-carousel__head {
    margin-bottom: 26px;
    text-align: center;
  }

  .authority-carousel__head h2 {
    font-size: clamp(2rem, 9.6vw, 3.25rem);
    line-height: 0.98;
  }

  .authority-carousel__head p {
    margin-top: 14px;
    font-size: 0.94rem;
  }

  .authority-carousel__viewport::before,
  .authority-carousel__viewport::after {
    width: 42px;
  }

  .authority-carousel__track {
    gap: 12px;
    padding-bottom: 12px;
  }

  .authority-carousel__item {
    flex-basis: min(78vw, 310px);
    height: min(92vw, 380px);
    padding: 8px;
    border-radius: 24px;
  }

  .authority-carousel__item::before,
  .authority-carousel__item img {
    border-radius: 18px;
  }

  .authority-carousel__item::before {
    inset: 8px;
  }

  .services-grid,
  .courses-grid,
  .process-steps,
  .rt-benefits,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .services-cta {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
    padding: 14px;
    border-radius: 26px;
  }

  .services-cta__content {
    padding: 20px;
  }

  .services-cta__content h3 {
    font-size: clamp(1.85rem, 8.5vw, 2.6rem);
  }

  .services-cta__content p {
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .services-cta__content .btn {
    width: 100%;
    min-width: 0;
    margin-top: 20px;
  }

  .services-cta__media,
  .services-cta__media img {
    min-height: 260px;
  }

  .services-cta__media {
    border-radius: 22px;
  }

  .rt-head,
  .process-head {
    margin-bottom: 32px;
    text-align: center;
  }

  .rt-head h2,
  .process-head h2 {
    font-size: clamp(2.2rem, 10.6vw, 3.45rem);
    line-height: 0.98;
  }

  .rt-head p,
  .process-head p {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .rt-layout {
    gap: 14px;
  }

  .rt-panel {
    min-height: auto;
    border-radius: 26px;
  }

  .rt-panel-inner {
    min-height: auto;
    padding: 24px;
    gap: 70px;
  }

  .panel-number {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    font-size: 1.35rem;
  }

  .rt-panel h3 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .rt-panel p {
    font-size: 0.94rem;
  }

  .rt-benefits {
    gap: 12px;
  }

  .rt-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: auto;
    padding: 18px;
    border-radius: 22px;
  }

  .rt-benefit-card > span {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 13px;
  }

  .rt-benefit-card h3 {
    margin-bottom: 5px;
    font-size: 1rem;
  }

  .rt-benefit-card p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .image-slot,
  .about-media img {
    min-height: 420px;
  }

  .about-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 100%;
    margin-top: -62px;
    margin-inline: 18px;
  }

  .process-steps {
    gap: 12px;
  }

  .process-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    min-height: auto;
    padding: 18px;
    border-radius: 22px;
  }

  .process-card span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    border-radius: 15px;
    font-size: 0.86rem;
  }

  .process-card h3 {
    margin-bottom: 2px;
    font-size: 1.05rem;
  }

  .process-card p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .courses-head {
    gap: 22px;
    margin-bottom: 28px;
  }

  .courses-image {
    min-height: 210px;
    padding: 8px;
    border-radius: 24px;
  }

  .courses-image::before,
  .courses-image img {
    border-radius: 18px;
  }

  .courses-image::before {
    inset: 8px;
  }

  .courses-image img {
    min-height: 194px;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    padding: 54px 0 100px;
    text-align: center;
  }

  .footer-grid {
    gap: 34px;
    justify-items: center;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-about {
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 100%;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    margin-bottom: 0;
  }

  .footer-logo-card {
    min-width: 200px;
    min-height: 120px;
    border-radius: 22px;
  }

  .footer-logo-card img {
    max-width: 250px;
    max-height: 150px;
  }

  .footer-grid p {
    max-width: 360px;
    margin-inline: auto;
    font-size: 0.95rem;
    text-align: center;
  }

  .footer-column {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .footer-column strong {
    margin-bottom: 12px;
    text-align: center;
  }

  .footer-column a,
  .footer-column span {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 9px;
    font-size: 0.95rem;
    text-align: center;
  }

  .footer-column a:hover {
    transform: none;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
    margin-top: 36px;
    padding-top: 22px;
  }

  .footer-bottom p {
    max-width: 360px;
    margin-inline: auto;
    font-size: 0.84rem;
    text-align: center;
  }

  .footer-puralead {
    justify-self: center;
    min-width: 146px;
    min-height: 46px;
    padding: 8px 14px;
  }

  .footer-puralead img {
    max-width: 118px;
    max-height: 28px;
  }
}

@media (min-width: 421px) and (max-width: 480px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-top: calc(var(--header-height) + 4px);
    padding-bottom: 22px;
  }

  .hero-container {
    min-height: calc(100svh - var(--header-height) - 24px);
  }

  .hero-content {
    padding-top: 12px;
  }

  .hero h1 {
    width: min(55vw, 236px);
    max-width: 236px;
    font-size: clamp(2.1rem, 8.05vw, 2.38rem);
    line-height: 0.93;
    margin-top: 18px;
  }

  .hero h1::after {
    width: 70px;
    height: 4px;
    margin-top: 12px;
  }

  .hero p {
    width: min(54vw, 232px);
    max-width: 232px;
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .hero-actions {
    width: min(100%, 338px);
    max-width: 338px;
    gap: 10px;
    margin-top: 104px;
  }

  .hero-actions .btn {
    min-height: 49px;
    font-size: 0.87rem;
  }

  .hero-visual {
    top: -30px;
    right: -198px;
    bottom: 18px;
    width: 396px;
    max-width: none;
  }

  .hero-person {
    height: min(78svh, 600px) !important;
    max-height: calc(100svh - 78px) !important;
    transform: translateY(-8px) scale(1.03);
  }
}

@media (min-width: 421px) and (max-width: 440px) {
  .hero h1 {
    width: min(55vw, 235px);
    max-width: 235px;
    font-size: clamp(2.1rem, 8.15vw, 2.34rem);
  }

  .hero p {
    width: min(54vw, 230px);
    max-width: 230px;
    font-size: 0.87rem;
  }

  .hero-actions {
    margin-top: 108px;
  }

  .hero-visual {
    right: -202px;
    width: 400px;
  }

  .hero-person {
    height: min(78svh, 598px) !important;
    max-height: calc(100svh - 78px) !important;
  }
}

@media (max-width: 560px) {
  .mobile-whatsapp-bar {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-whatsapp-bar__link {
    min-height: 68px;
    padding: 12px 15px;
    border-radius: 20px;
    gap: 12px;
  }

  .mobile-whatsapp-bar__icon-wrap {
    width: 42px;
    height: 42px;
  }

  .mobile-whatsapp-bar__icon {
    width: 22px;
    height: 22px;
  }

  .mobile-whatsapp-bar__title {
    font-size: 0.9rem;
  }

  .mobile-whatsapp-bar__text {
    font-size: 0.77rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .main-nav {
    top: calc(var(--header-height) - 4px);
    right: 12px;
    width: min(230px, calc(100vw - 24px));
    padding: 11px;
    border-radius: 20px;
  }

  .main-nav a {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.86rem;
  }

  .nav-mobile-cta {
    min-height: 40px;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2px);
    padding-bottom: 20px;
  }

  .hero-container {
    min-height: calc(100svh - var(--header-height) - 24px);
  }

  .hero-content {
    padding-top: 8px;
  }

  .hero-kicker {
    min-height: 25px;
    margin-bottom: 9px;
    padding: 0 9px;
    font-size: 0.55rem;
  }

  .hero h1 {
    width: min(58vw, 226px);
    max-width: 200px;
    font-size: clamp(1.98rem, 8.4vw, 3.2rem);
    line-height: 0.94;
    margin-top: 20px;
  }

  .hero h1::after {
    width: 62px;
    height: 3px;
    margin-top: 10px;
  }

  .hero p {
    width: min(58vw, 226px);
    max-width: 180px;
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .hero-actions {
    width: min(100%, 326px);
    max-width: 326px;
    gap: 10px;
    margin-top: 70px;
  }

  .hero-actions .btn {
    min-height: 46px;
    font-size: 0.84rem;
  }

  .hero-visual {
    top: -26px;
    right: -160px;
    bottom: 18px;
    width: min(78%, 348px);
  }

  .hero-person {
    height: min(77svh, 575px) !important;
    max-height: calc(100svh - 78px) !important;
    transform: translateY(-12px) scale(1.035);
  }

  .services-cta__content {
    padding: 18px 16px;
  }

  .services-cta__media,
  .services-cta__media img {
    min-height: 230px;
  }

  .btn {
    min-height: 45px;
  }

  .rt-panel-inner {
    padding: 22px;
    gap: 54px;
  }

  .rt-panel-tags span {
    min-height: 29px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .rt-benefit-card {
    padding: 16px;
  }

  .process-card {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .process-card span {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .process-card h3 {
    font-size: 1rem;
  }

  .process-card p {
    font-size: 0.88rem;
  }

  .authority-carousel__item {
    flex-basis: min(82vw, 300px);
    height: min(96vw, 360px);
  }
}

@media (max-width: 390px) {
  .mobile-whatsapp-bar__link {
    min-height: 64px;
    padding: 11px 14px;
    gap: 10px;
  }

  .mobile-whatsapp-bar__title {
    font-size: 0.86rem;
  }

  .mobile-whatsapp-bar__text {
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .hero-kicker {
    font-size: 0.5rem;
  }

  .hero h1 {
    width: min(56vw, 204px);
    max-width: 198px;
    font-size: clamp(1.48rem, 7.1vw, 1.9rem);
  }

  .hero p {
    width: min(56vw, 204px);
    max-width: 198px;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .hero-actions {
    width: min(100%, 304px);
    max-width: 304px;
    margin-top: 52px;
  }

  .hero-actions .btn {
    min-height: 43px;
    font-size: 0.78rem;
  }

  .hero-visual {
    top: -24px;
    right: -158px;
    bottom: 16px;
    width: min(88vw, 340px);
  }

  .hero-person {
    height: min(74svh, 532px) !important;
    max-height: calc(100svh - 84px) !important;
    transform: translateY(-8px) scale(1.02);
  }
}

@media (max-width: 360px) {
  .hero h1 {
    width: min(57vw, 198px);
    max-width: 190px;
    font-size: clamp(1.38rem, 6.95vw, 1.78rem);
  }

  .hero p {
    width: min(57vw, 198px);
    max-width: 190px;
    font-size: 0.7rem;
  }

  .hero-actions {
    width: min(100%, 288px);
    margin-top: 42px;
  }

  .hero-visual {
    right: -172px;
    width: min(94vw, 328px);
  }

  .hero-person {
    height: min(73svh, 510px) !important;
    max-height: calc(100svh - 76px) !important;
  }
}

@media (max-height: 720px) and (max-width: 760px) {
  .hero {
    min-height: 700px;
  }

  .hero-container {
    min-height: 604px;
  }

  .hero-person {
    height: 565px !important;
    max-height: 565px !important;
  }
}

@media (max-height: 720px) and (max-width: 380px) {
  .hero-person {
    height: 520px !important;
    max-height: 520px !important;
  }

  .hero-actions {
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__link,
  .whatsapp-float__link::before {
    animation: none !important;
  }

  [data-reveal] {
    transition: none;
  }
}

/* Correção hero mobile iPhone/Safari */

@media (max-width: 760px) {
  .hero .hero-content,
  .hero .hero-visual,
  .hero .hero-person-card,
  .hero .hero-person {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero .hero-content,
  .hero .hero-visual {
    transform: none !important;
    transition: none !important;
  }

  .hero-visual {
    display: flex !important;
  }

  .hero-person {
    display: block !important;
  }
}

/* Ajuste fino para iPhone 15 Pro e telas próximas */

@media (min-width: 381px) and (max-width: 420px) {
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 2px);
    padding-bottom: 20px;
  }

  .hero-container {
    min-height: calc(100svh - var(--header-height) - 24px);
  }

  .hero h1 {
    width: min(57vw, 216px);
    max-width: 216px;
    font-size: clamp(2rem, 8.15vw, 2.28rem);
    line-height: 0.93;
    margin-top: 18px;
  }

  .hero p {
    width: min(54vw, 198px);
    max-width: 198px;
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.36;
  }

  .hero-actions {
    width: min(100%, 326px);
    max-width: 326px;
    margin-top: 76px;
  }

  .hero-visual {
    top: -22px;
    right: -166px;
    bottom: 18px;
    width: 368px;
    max-width: none;
  }

  .hero-person {
    height: min(77svh, 575px) !important;
    max-height: calc(100svh - 78px) !important;
    transform: translateY(-10px) scale(1.03);
  }
}

@supports (height: 100dvh) {
  @media (max-width: 760px) {
    .hero {
      min-height: 100dvh;
    }

    .hero-container {
      min-height: calc(100dvh - var(--header-height) - 26px);
    }

    .hero-person {
      max-height: calc(100dvh - 78px) !important;
    }
  }

  @media (min-width: 381px) and (max-width: 420px) {
    .hero-container {
      min-height: calc(100dvh - var(--header-height) - 24px);
    }

    .hero-person {
      height: min(77dvh, 575px) !important;
      max-height: calc(100dvh - 78px) !important;
    }
  }
}
