/* Ajustes finos do cabeçalho e banner conforme a arte em 1920 px. */
@font-face {
  font-family: "AmsiPro";
  src: url("../fonts/AmsiPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AmsiPro";
  src: url("../fonts/AmsiPro-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@media (min-width: 901px) {
  .topbar {
    height: clamp(82px, 7.82vw, 150px);
  }

  .brand img {
    width: clamp(198px, 18.85vw, 362px);
  }

  nav {
    gap: 60px;
  }

  nav a {
    font-size: clamp(12px, 0.94vw, 18px);
    line-height: 1;
  }

  .hero {
    height: min(38.91vw, 730px);
    min-height: 0;
    /* background-color: #ff6a16; */
    background-size: 100% auto;
    background-position: center top;
  }

  .historia {
    display: flex;
    align-items: center;
  }

  .historia-grid {
    width: min(940px, calc(100% - 48px));
    grid-template-columns: 490px 360px;
    gap: 48px;
    align-items: center;
  }

  .collage {
    width: 490px;
    height: 450px;
    max-width: none;
  }

  .foto {
    border-width: 10px;
    box-shadow: 8px 14px 13px rgba(0, 0, 0, 0.25);
  }

  .f1 {
    width: 250px;
    left: 18px;
    top: 12px;
    transform: rotate(-18deg);
    z-index: 2;
  }

  .f2 {
    width: 190px;
    left: 268px;
    top: 13px;
    transform: rotate(20deg);
    z-index: 1;
  }

  .f3 {
    width: 190px;
    left: 5px;
    top: 240px;
    transform: rotate(16deg);
    z-index: 3;
  }

  .f4 {
    width: 188px;
    left: 257px;
    top: 210px;
    transform: none;
    z-index: 4;
  }

  .historia h1 {
    font-size: 74px;
    line-height: 0.86;
    margin-bottom: 24px;
    letter-spacing: -2px;
  }

  .historia p {
    margin: 0;
    max-width: 350px;
    font-size: 18px;
    line-height: 1.48;
  }

  .historia .button {
    margin-top: 22px;
    padding: 11px 30px;
    font-size: 13px;
  }

  .icon-strip {
    height: 92px;
  }

  .icon-strip img {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    object-fit: contain;
  }

  .propostas {
    padding-top: clamp(95px, 10vw, 190px);
  }

  .propostas-head {
    width: 100%;
    max-width: none;
    grid-template-columns: 450px 470px;
    gap: 60px;
    justify-content: start;
    margin-inline: auto;
  }

  .propostas-head span {
    font-size: var(--font-support);
    letter-spacing: 8px;
  }

  .propostas h2 {
    font-size: var(--font-title);
    line-height: 0.86;
    margin-top: 20px;
  }

  .propostas h2 b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 0;
    line-height: 1;
    margin-left: 8px;
    vertical-align: middle;
    transform: translateY(-4px);
  }

  .propostas h2 b::before {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 5px solid var(--orange);
    border-bottom: 5px solid var(--orange);
    transform: rotate(-45deg) translate(-1px, -1px);
  }

  .propostas-head p {
    max-width: 470px;
    font-size: var(--font-text);
    line-height: 1.5;
  }

  .button,
  .contato button {
    font-size: var(--font-button);
  }

  .historia h1,
  .social h2,
  .contato h2 {
    font-size: var(--font-title);
  }

  .historia p {
    font-size: var(--font-text);
  }

  .pautas-list h3 {
    font-size: var(--font-card-title);
  }

  .pautas-list p {
    font-size: var(--font-card-text);
  }

  .social {
    height: min(56.5vw, 1080px);
    min-height: 540px;
    overflow: visible;
    z-index: 2;
  }

  .social-inner {
    align-items: center;
  }

  .dra-social {
    position: absolute;
    left: min(0px, calc((1200px - 100vw) / 2));
    bottom: 0;
    width: min(61.5vw, 1180px);
    max-height: none;
    z-index: 1;
  }

  .social-copy {
    margin-left: 46%;
    transform: translateY(-80px);
    z-index: 3;
  }

  .social h2 {
    font-size: clamp(55px, 3.75vw, var(--font-title));
    line-height: 0.82;
    margin-bottom: 34px;
  }

  .social:after {
    width: 400px;
    height: 400px;
    border-width: 90px;
    right: -175px;
    bottom: -225px;
    z-index: 2;
  }

  .contato {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding-block: var(--section-padding);
  }

  footer {
    height: auto;
    padding: 70px 0 16px;
    z-index: 3;
  }

  footer > img {
    width: 390px;
  }

  .back-top {
    top: -25px;
    width: 66px;
    height: 66px;
    border-width: 7px;
    font-size: 0;
  }

  .footer-bottom {
    width: 510px;
    margin-top: 60px;
    padding-top: 27px;
    gap: 30px;
  }
}

.contato {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 0;
  padding-block: var(--section-padding);
  background: #06366f url("../img/bg-cadastre.jpg") center top / cover no-repeat;
}

.contact-ring {
  display: none;
}

footer {
  z-index: 3;
}

.back-top {
  font-size: 0;
  border: 0;
  background: var(--navy);
}

.back-top svg {
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  fill: none;
  stroke: var(--navy);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand,
.topbar nav {
  animation: header-enter .8s cubic-bezier(.2, .75, .25, 1) both;
}

.topbar nav {
  animation-delay: .16s;
}

.hero {
  animation: hero-enter 1s cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes header-enter {
  from { opacity: 0; translate: 0 -28px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes hero-enter {
  from { opacity: 0; scale: 1.035; }
  to { opacity: 1; scale: 1; }
}

.collage,
.stetho,
.pautas-list article img,
.dra-social,
.social-copy,
.contato form,
footer > img {
  translate: 0 var(--parallax-y, 0);
  will-change: translate;
}

.stetho,
.pautas-list article img {
  rotate: var(--parallax-rotate, 0deg);
  will-change: translate, rotate;
}

.reveal-on-scroll {
  --reveal-x: 0px;
  --reveal-y: 42px;
  opacity: 0;
  scale: .96;
  translate: var(--reveal-x) calc(var(--parallax-y, 0px) + var(--reveal-y));
  transition:
    opacity .75s ease var(--reveal-delay, 0ms),
    scale .75s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms),
    translate .75s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms);
}

.reveal-from-left {
  --reveal-x: -100px;
  --reveal-y: 0px;
}

.reveal-from-right {
  --reveal-x: 100px;
  --reveal-y: 0px;
}

.reveal-from-bottom {
  --reveal-y: 85px;
}

.reveal-zoom {
  --reveal-y: 55px;
  scale: .84;
}

.icon-strip img.reveal-on-scroll {
  --reveal-y: -55px;
  scale: 1;
}

.foto.reveal-on-scroll {
  --reveal-y: 65px;
  scale: .82;
}

.social-links a.reveal-on-scroll {
  --reveal-y: 35px;
  scale: .65;
}

.footer-bottom,
.footer-bottom a {
  opacity: 1;
  visibility: visible;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  scale: 1;
  translate: 0 var(--parallax-y, 0px);
}

.social-links a,
.button,
.contato button {
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.social-links a:hover,
.button:hover,
.contato button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 9px 20px rgba(0, 41, 93, .22);
  filter: brightness(1.06);
}

.contato {
  background-position: center var(--bg-parallax, 0px);
}

@media (prefers-reduced-motion: reduce) {
  .collage,
  .stetho,
  .pautas-list article img,
  .dra-social,
  .social-copy,
  .contato form,
  footer > img {
    translate: none;
    will-change: auto;
  }

  .reveal-on-scroll {
    opacity: 1;
    scale: 1;
    translate: none;
    transition: none;
  }

  .brand,
  .topbar nav,
  .hero {
    animation: none;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .propostas-head {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-padding: 80px;
  }

  .container {
    width: min(680px, calc(100% - 40px));
  }

  .hero {
    min-height: 0;
    /* background-color: #ff6a16; */
  }

  .historia {
    height: auto;
  }

  .propostas-head,
  .pautas-list {
    width: 100%;
  }

  .social {
    overflow: hidden;
  }

  .contato form {
    width: min(470px, 100%);
  }

  footer {
    height: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 60px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .hero {
    height: 38.91vw;
    min-height: 0;
    margin-top: 0;
    z-index: 1;
    background-color: var(--orange);
    background-size: 100% auto;
    background-position: center top;
  }

  .historia {
    padding-block: 60px;
  }

  .collage {
    width: 320px;
    height: 320px;
  }

  .historia h1 {
    font-size: 48px;
  }

  .icon-strip .repeat {
    display: block;
  }

  .propostas {
    padding-block: 70px;
  }

  .propostas h2 {
    font-size: 43px;
  }

  .pautas-list article {
    align-items: start;
  }

  .social {
    height: 600px;
  }

  .social h2 {
    font-size: 38px;
  }

  .contato h2 {
    font-size: 44px;
    margin-bottom: 34px;
  }

  .contato {
    background-position: center center;
  }

  .contato form {
    padding: 36px 24px;
  }

  footer {
    height: auto;
    padding: 70px 0 20px;
  }

  footer > img {
    width: min(280px, calc(100% - 40px));
  }

  .footer-bottom {
    width: calc(100% - 40px);
    margin-top: 45px;
    padding-top: 22px;
  }
}
