:root {
  --gray: #4d4d4d;
  --blue: #006cd1;
  --pink: #d1006c;
  --green: #00d1ce;
  --blue-soft: #e6f0fa;
  --mint: #e6fafb;
  --white: #fff;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', system-ui, sans-serif;
  color: var(--gray);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.br-desk { display: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(2.4rem); }
  to { opacity: 1; transform: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero */
.hero {
  background: #1a6fd6 url('../imagens/sumitomo-banner.jpg') 72% center / cover no-repeat;
  color: var(--white);
}

.hero__inner {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  min-height: 42rem;
}

.hero__title {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 9.5vw, 4.4rem);
  line-height: 1.1;
  animation: rise .9s var(--ease) both;
}

.hero__line { display: block; }
.hero__line--strong { font-weight: 700; }
.hero__title em { font-weight: 700; font-style: italic; }

.hero__text {
  margin-top: 1.6rem;
  max-width: 34rem;
  font-size: clamp(1.1rem, 4.2vw, 1.5rem);
  line-height: 1.3;
  animation: rise .9s .2s var(--ease) both;
}

.hero__text strong { font-weight: 700; }

.hero__logos {
  width: min(100%, 24rem);
  margin-top: 2.4rem;
  animation: rise .9s .4s var(--ease) both;
}

/* Por que contratar */
.why {
  background: var(--white);
  padding: 3rem 1.5rem 0;
  text-align: center;
}

.why__title {
  font-weight: 400;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  line-height: 1.3;
}

.why__title strong { font-weight: 900; }
.why__accent { display: block; font-weight: 900; color: var(--blue); }

.why__grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem auto 0;
  max-width: 34rem;
  text-align: left;
}

.why__photo { width: 100%; }

.why__list { display: grid; gap: .75rem; }

.why__list li {
  background: var(--blue-soft);
  border-radius: 1.2rem;
  padding: 1rem 1.2rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.why__partners {
  margin-top: 2.6rem;
  font-weight: 400;
  font-size: clamp(1.5rem, 5.6vw, 2.2rem);
  line-height: 1.3;
}

.why__partners strong { font-weight: 900; }

.carousel {
  overflow: hidden;
  margin-top: .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carousel__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.carousel__group { display: flex; flex: none; }

.carousel__group li {
  flex: none;
  width: 11rem;
  margin-right: 4rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Produtos */
.products {
  background: var(--mint);
  padding: 2.5rem 1.5rem 3.5rem;
}

.products__wrap { max-width: 34rem; margin: 0 auto; }

.products__head { text-align: center; }

.products__title {
  font-weight: 400;
  font-size: clamp(1.6rem, 6.4vw, 2.4rem);
  line-height: 1.5;
}

.marker {
  display: inline-block;
  padding: 0 .9em;
  font-weight: 900;
  color: var(--white);
  background: url('../imagens/marcador-sumitomo.png') 30.9% 61.5% / 108.9% 144.3% no-repeat;
}

.products__sub {
  margin-top: .4rem;
  font-size: clamp(1rem, 3.8vw, 1.3rem);
}

.product {
  --tone: var(--blue);
  margin-top: 3.2rem;
}

.product[data-tone='pink'] { --tone: var(--pink); }
.product[data-tone='green'] { --tone: var(--green); }

.product__head { text-align: center; }

.product__title {
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--tone);
}

.product__title strong { font-weight: 900; }

.product__desc {
  margin: .5rem auto 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.product__body { margin-top: 1.4rem; }

.product__photo {
  width: min(100%, 22rem);
  margin: 0 auto;
}

.quote-btn {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 20rem);
  margin: -2.6rem auto 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 1rem;
  animation: float 3s ease-in-out infinite;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}

.quote-btn:hover,
.quote-btn:focus-visible {
  animation-play-state: paused;
  transform: scale(1.05);
  filter: drop-shadow(0 .6rem 1rem rgb(0 0 0 / .25));
}

.quote-btn:active { transform: scale(.98); }

@keyframes float {
  50% { transform: translateY(-.4rem); }
}

.product__lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.info__icon { width: 2.8rem; height: auto; margin-bottom: .6rem; }

.info__tag {
  display: inline-block;
  padding: .2rem 1.4rem .2rem .5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  background: var(--tone);
  border-radius: 0 1rem 1rem 0;
}

.info__list {
  padding: .4rem 0 0 .6rem;
  border-left: 2px solid var(--tone);
  font-size: 1rem;
  line-height: 1.25;
}

.info__list li + li { margin-top: .6rem; }

.info__list em { font-style: italic; }

/* Rodapé */
.footer {
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  background: var(--gray);
}

.footer img { width: min(100%, 22rem); }

.noscript {
  padding: 1rem;
  text-align: center;
  background: #fff3cd;
}

/* Pop-up */
.modal {
  --tone: var(--blue);
  font-size: clamp(16px, .55vw + 11px, 24px);
  width: min(100% - 2em, 34em);
  max-width: none;
  max-height: 94dvh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray);
  overflow: visible;
}

.modal[data-tone='pink'] { --tone: var(--pink); }
.modal[data-tone='green'] { --tone: var(--green); }

.modal::backdrop {
  background: rgb(20 28 40 / .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal[open] { animation: modal-in .35s var(--ease); }
.modal[open]::backdrop { animation: fade-in .35s var(--ease); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(1.5em) scale(.97); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

.modal__panel {
  position: relative;
  display: grid;
  padding: 2.6em 2.4em 2.2em;
  max-height: 94dvh;
  overflow: auto;
  background: var(--white);
  border-radius: 1.5em;
  box-shadow: 0 2em 5em rgb(0 0 0 / .35);
}

.modal__close {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  padding: 0;
  color: var(--gray);
  background: rgb(255 255 255 / .9);
  border: 0;
  border-radius: 50%;
  transition: transform .3s var(--ease), background .2s;
}

.modal__close:hover { transform: rotate(90deg); background: var(--white); }

.modal__close svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.form { display: grid; gap: 1em; }

.form__progress {
  height: 0.3em;
  background: color-mix(in srgb, var(--tone) 18%, #fff);
  border-radius: 1em;
  overflow: hidden;
}

.form__progress span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--tone);
  border-radius: inherit;
  transition: width .4s var(--ease);
}

.form__step { font-size: 0.8em; font-weight: 700; color: var(--tone); }

.form__pane { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 1em; }
.form__pane:not([hidden]) { animation: pane-in .35s var(--ease); }

@keyframes pane-in {
  from { opacity: 0; transform: translateX(1em); }
}

.form__legend { padding: 0; margin-bottom: 0.6em; font-size: 1.15em; font-weight: 700; }

.field { display: grid; gap: 0.35em; }
.field__label { font-size: 0.85em; font-weight: 700; }

.field__input {
  width: 100%;
  padding: 0.8em 0.9em;
  font: inherit;
  font-size: 1em;
  color: var(--gray);
  background: var(--white);
  border: 2px solid #d5dde5;
  border-radius: 0.7em;
  transition: border-color .2s, box-shadow .2s;
}

.field__input:focus {
  outline: 0;
  border-color: var(--tone);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 20%, transparent);
}

.field__input[aria-invalid='true'] { border-color: #c62828; }

.check { display: flex; gap: 0.6em; align-items: flex-start; font-size: 0.82em; line-height: 1.4; }
.check input { flex: none; width: 1.1em; height: 1.1em; margin-top: 0.1em; accent-color: var(--tone); }

.form__captcha { min-height: 4em; }

.form__error { min-height: 1.2em; font-size: 0.85em; font-weight: 700; color: #c62828; }

.form__actions { display: flex; gap: 0.7em; justify-content: flex-end; }

.btn {
  padding: 0.8em 1.6em;
  font-size: 1em;
  font-weight: 700;
  color: var(--white);
  background: var(--tone);
  border: 2px solid var(--tone);
  border-radius: 0.7em;
  transition: transform .2s var(--ease), box-shadow .2s, opacity .2s;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0.5em 1em color-mix(in srgb, var(--tone) 35%, transparent);
}

.btn:disabled { opacity: .6; cursor: progress; }

.btn--ghost { color: var(--tone); background: transparent; }

.btn[hidden], .form[hidden], .form__pane[hidden], .success[hidden] { display: none; }

.success { display: grid; justify-items: center; gap: 0.8em; text-align: center; padding: 1em 0; animation: pane-in .4s var(--ease); }
.success:focus { outline: 0; }

.success__icon { width: 4em; height: 4em; fill: none; stroke: var(--tone); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success__icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s .1s var(--ease) forwards; }
.success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s var(--ease) forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }

.success__title { font-size: 1.5em; color: var(--tone); }
.success__text { line-height: 1.5; max-width: 26em; }

.modal__product { margin-bottom: .3em; font-size: .85em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tone); }

@media (min-width: 640px) {
  .why__grid { max-width: 44rem; }
  .products__wrap { max-width: 44rem; }
  .hero__inner { padding: 7rem 3rem 4rem; }
}

@media (min-width: 1025px) {
  html { font-size: calc(min(100vw, 1440px) / 192); }

  .br-desk { display: inline; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(3rem); }
    to { opacity: 1; transform: none; }
  }

  .hero { background-position: center 20%; }

  .hero__inner {
    max-width: 192rem;
    height: 108rem;
    min-height: 0;
    padding: 22rem 0 0 10.7rem;
  }

  .hero__title { font-size: 9.8rem; line-height: 10rem; }

  .hero__text {
    max-width: none;
    margin-top: 5.5rem;
    font-size: 4.4rem;
    line-height: 5rem;
    letter-spacing: -.02em;
  }

  .hero__logos { width: 100.9rem; max-width: none; margin-top: 11rem; }

  .why { padding: 5.1rem 0 .7rem; }

  .why__title { font-size: 6.6rem; line-height: 8.5rem; }

  .why__grid {
    grid-template-columns: 55.2rem 1fr;
    gap: 2rem;
    max-width: 192rem;
    margin: 4.5rem auto 0;
    padding: 0 9.8rem;
  }

  .why__photo { width: 55.2rem; }

  .why__list { grid-auto-rows: 1fr; gap: 2rem; }

  .why__list li {
    display: flex;
    align-items: center;
    padding: 0 3rem;
    border-radius: 3rem;
    font-size: 4.4rem;
    line-height: 5.3rem;
  }

  .why__partners { margin-top: 8.8rem; font-size: 6.6rem; line-height: 8.5rem; }

  .carousel { margin-top: -1.8rem; }

  .carousel__group li { width: 30rem; margin-right: 20rem; }

  .carousel__track { animation-duration: 70s; }

  .products { padding: 3rem 0 4rem; }

  .products__wrap { max-width: 192rem; }

  .products__title { font-size: 7.6rem; line-height: 9.2rem; }

  .marker { height: 9rem; padding: 0 2.4rem; margin-left: 1rem; white-space: nowrap; font-size: 7rem; line-height: 9rem; vertical-align: top; }

  .products__sub { margin-top: 1.4rem; font-size: 4.4rem; line-height: 5.6rem; }

  .product { margin-top: 0; padding-top: 8.1rem; padding-bottom: 0; }
  .product + .product { padding-top: 0; margin-top: 3.8rem; }

  .product__head { text-align: left; padding-left: 21rem; }
  .product--right .product__head { text-align: right; padding: 0 21.2rem 0 0; }

  .product__title { font-size: 7.2rem; line-height: 9.1rem; }

  .product__desc { max-width: 148rem; margin: 2rem 0 0; font-size: 4.4rem; line-height: 5.6rem; letter-spacing: -.01em; }
  .product--right .product__desc { margin-left: auto; }

  .product__body { position: relative; min-height: 62.7rem; margin-top: 4.8rem; }

  .product__photo { position: absolute; top: 0; left: var(--img); width: var(--iw); max-width: none; margin: 0; }

  .quote-btn {
    position: absolute;
    top: calc(var(--ih) - 7.5rem);
    left: calc(var(--img) + var(--bx, 2rem));
    width: 59.4rem;
    margin: 0;
    border-radius: 2rem;
  }

  .product__lists {
    position: relative;
    display: flex;
    margin: 0 0 0 var(--c1);
    padding-top: 4.8rem;
  }

  .info:first-child { width: var(--gap); }

  .info__icon { width: auto; height: auto; margin-bottom: 2.4rem; }
  .info:first-child .info__icon { margin-left: -.6rem; }
  .info:last-child .info__icon { margin-left: .8rem; }

  .info__tag { height: 5.2rem; padding: 0 4rem 0 1.6rem; font-size: 3.6rem; line-height: 5.2rem; border-radius: 0 2.6rem 2.6rem 0; }

  .info__list { padding: 1.3rem 0 0 1.6rem; border-left-width: .3rem; font-size: 3.6rem; line-height: 4.3rem; }
  .info:first-child .info__list { max-width: calc(var(--w1, 25rem)); }
  .info:last-child .info__list { max-width: var(--w2, 25rem); }
  .info__list li + li { margin-top: 2.5rem; }

  .footer { height: 40rem; padding: 0; }
  .footer img { width: 64rem; }

  .product--auto { --iw: 62.7rem; --ih: 62.3rem; --img: 14.3rem; --c1: 86rem; --gap: 36rem; }
  .product--moto { --iw: 58.9rem; --ih: 61.3rem; --img: 117.5rem; --c1: 46rem; --gap: 36rem; --bx: 0rem; }
  .product--bike { --iw: 62.7rem; --ih: 64.1rem; --img: 14.3rem; --c1: 86rem; --gap: 42rem; --w2: 49rem; }
  .product--bike .product__body { min-height: 64.1rem; }
  .product--vida { --iw: 65.3rem; --ih: 62.5rem; --img: 115.7rem; --c1: 30.5rem; --gap: 42.1rem; --bx: 0rem; --w1: 33rem; --w2: 38rem; }
  .product--vida .product__desc { max-width: 94rem; }
  .product--viagem { --iw: 62.3rem; --ih: 58.9rem; --img: 15.8rem; --c1: 85.7rem; --gap: 43.2rem; }
  .product--celular { --iw: 62.9rem; --ih: 62.6rem; --img: 115rem; --c1: 40.5rem; --gap: 36.8rem; --bx: 0rem; --w2: 31rem; }
  .product--residencial { --iw: 62.9rem; --ih: 62.5rem; --img: 15.8rem; --c1: 85.7rem; --gap: 42.1rem; --w1: 28rem; }
  .product--portateis { --iw: 63.5rem; --ih: 63.6rem; --img: 115rem; --c1: 29.7rem; --gap: 43rem; --bx: 0rem; --w1: 36rem; --w2: 36rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quote-btn { animation: none; }
}
