/* SECTION 1 */

#section-1 {
  position: relative;
  min-height: 110vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 2rem;
  background: #1d2040;
}

#section-1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fdfdfd 85%);
  z-index: 2;
  pointer-events: none;
}

#hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: brightness(0.35);
  z-index: 0;
}

#hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* #hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: linear-gradient(
    135deg,
    #000000 0%,
    #000000 12%,

    #1b204d 12%,
    #1b204d 30%,

    #2b356d 30%,
    #2b356d 48%,

    #4b5fa3 48%,
    #4b5fa3 66%,

    #a9bdd8 66%,
    #a9bdd8 86%,

    #e3d3b1 86%,
    #e3d3b1 100%
  );
  filter: blur(3px);
}

#hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.12),
    transparent 45%
  );

  pointer-events: none;
} */

#hero-overlay {
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(29, 32, 64, 0.15) 0%,
    rgba(29, 32, 64, 0.35) 55%,
    rgba(29, 32, 64, 0.55) 100%
  );

  z-index: 1;
}

#section-content {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  padding-top: 7rem;
  padding-bottom: 6rem;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  text-align: center;
}

#main-logo-avance {
  width: min(900px, 80vw);
  margin-inline: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
  opacity: 0.9;
}

#section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #e6d5b5;
  font-weight: 600;
  letter-spacing: 0.15rem;
  margin-top: 3rem;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.85),
    0 8px 15px rgba(0, 0, 0, 0.5);
}

#hero-description {
  margin-top: 1.5rem;
  max-width: 45rem;
  margin-inline: auto;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  text-wrap: balance;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 1),
    0 6px 10px rgba(0, 0, 0, 0.8);
}

#hero-center {
  width: 100%;
}

#hero-bottom {
  width: 100%;
  margin-top: 5rem;
}

#buttons-content {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

#comprar-button {
  background: linear-gradient(
    180deg,
    rgba(240, 223, 191, 0.85),
    rgba(230, 213, 181, 0.85)
  );
  color: #1d2040;
  border: 1px solid rgba(230, 213, 181, 0.9);
  box-shadow: 0 1px 30px rgba(230, 213, 181, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

#comprar-button:hover {
  background: linear-gradient(
    180deg,
    rgba(240, 223, 191, 0.8),
    rgba(230, 213, 181, 0.8)
  );
  filter: brightness(1.03);
  transform: translateY(-3px);
  box-shadow: 0 8px 42px rgba(230, 213, 181, 0.25);
}

#comprar-button,
#comprar-button:visited,
#comprar-button:hover,
#comprar-button:active,
#comprar-button:focus {
  color: #1d2040;
  text-decoration: none;
}

#conheca-button {
  background: rgba(29, 32, 64, 0.9);
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  outline: none;
  transform: translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: paint;
}

#conheca-button,
#conheca-button:focus,
#conheca-button:active {
  background: rgba(29, 32, 64, 0.9);
  color: #f5f5f5;
  opacity: 1 !important;
  visibility: visible !important;
}

#conheca-button:hover {
  transform: translateY(-3px);
  background: rgba(29, 32, 64, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.click-buttons {
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 13rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-family: Cabin;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.click-buttons::after {
  font-size: 1rem;
  line-height: 1;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.click-buttons:hover::after {
  transform: translateX(4px);
}

.click-buttons,
.click-buttons:visited,
.click-buttons:hover,
.click-buttons:active {
  text-decoration: none;
}

#hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 1));
}

.hero-trust-item {
  color: #e6d5b5cc;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02rem;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 5px 10px rgba(0, 0, 0, 1);
}

.hero-divider {
  color: rgba(230, 213, 181, 0.5);
  font-size: 1rem;
}

/* CARROSSEL */

#roll-section {
  position: relative;
  z-index: 5;
  background: #fdfdfd;
  width: 100%;
  overflow: hidden;
  padding-block: 2rem;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 25%,
    black 75%,
    transparent 100%
  );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 25%,
    black 75%,
    transparent 100%
  );
}

#roll-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: roll 80s linear infinite;
  will-change: transform;
}

.roll-card {
  width: 420px;
  aspect-ratio: 3 / 4;
  border-radius: 1.25rem;
  overflow: hidden;
  flex-shrink: 0;
}

.roll-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

@keyframes roll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

/* INSTAGRAM */

#social-showcase {
  background: #fdfdfd;
  padding: 5rem 1.5rem 4rem;
}

#social-showcase-container {
  max-width: 80rem;
  margin-inline: auto;
}

#social-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

#social-showcase-eyebrow {
  color: #40528c;
  font-weight: 600;
  letter-spacing: 0.08rem;
  font-size: 1.2rem;
  cursor: pointer;
}

#social-showcase-title {
  margin-top: 0.6rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  color: #1d2040;
  font-weight: 700;
}

#social-showcase-text {
  margin-top: 1rem;
  color: #5f636f;
  font-size: 1.05rem;
  line-height: 1.7;
}

#social-showcase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: fit-content;
  min-width: 220px;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: #1d2040;
  color: #fdfdfd;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(29, 32, 64, 0.12);
}

#social-instagram-svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

#social-showcase-button:hover {
  background: #262a57;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(29, 32, 64, 0.2);
}

#social-showcase-grid::-webkit-scrollbar {
  display: none;
}

#social-banner-carousel {
  max-width: 72rem;
  margin-inline: auto;
  margin-top: 3.5rem;

  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  gap: 1.2rem;
}

#social-banner-viewport {
  position: relative;

  height: min(68vh, 560px);
  overflow: hidden;

  background: transparent;
  border-radius: 2rem;

  cursor: grab;
  touch-action: pan-y;
}

#social-banner-viewport:active {
  cursor: grabbing;
}

#social-banner-track {
  position: relative;
  width: 100%;
  height: 100%;
  --drag: 0;
}

.social-banner-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(420px, 62vw);
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 2rem;
  background: #fdfdfd;
  box-shadow: 0 24px 60px rgba(29, 32, 64, 0.14);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    filter 0.35s ease;
}

.social-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #fdfdfd;
}

.social-slide-active {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: translateX(calc(-50% + (var(--drag, 0) * 70px))) scale(1);
}

.social-slide-prev {
  z-index: 2;
  opacity: 0.45;
  filter: brightness(0.85);
  transform: translateX(calc(-118% + (var(--drag, 0) * 70px))) scale(0.78);
}

.social-slide-next {
  z-index: 2;
  opacity: 0.45;
  filter: brightness(0.85);
  transform: translateX(calc(18% + (var(--drag, 0) * 70px))) scale(0.78);
}

#social-banner-track.is-dragging .social-banner-slide {
  transition: none;
}

.social-slide-hidden {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.7);
}

.social-slide-prev::after,
.social-slide-next::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.social-slide-prev::after {
  background: linear-gradient(
    to left,
    rgba(253, 253, 253, 0),
    rgba(253, 253, 253, 0.85)
  );
}

.social-slide-next::after {
  background: linear-gradient(
    to right,
    rgba(253, 253, 253, 0),
    rgba(253, 253, 253, 0.85)
  );
}

.social-banner-arrow {
  width: 3rem;
  height: 3rem;

  border: none;
  border-radius: 50%;

  background: #ffffff;
  color: #1d2040;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.social-banner-arrow:hover {
  background: #e6d5b5;
  transform: scale(1.06);
}

.social-banner-arrow svg {
  width: 1.4rem;
  height: 1.4rem;
  transition: transform 0.25s ease;
}

#social-banner-next:hover svg {
  transform: translateX(4px);
}

#social-banner-prev:hover svg {
  transform: translateX(-4px);
}

#social-banner-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;

  margin-top: 1.4rem;
}

.social-banner-dot {
  width: 0.45rem;
  height: 0.45rem;

  border-radius: 50%;
  border: none;

  background: rgba(29, 32, 64, 0.25);
  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.social-banner-dot-active {
  width: 1.5rem;
  border-radius: 999px;
  background: #1d2040;
}

#social-banner-viewport {
  cursor: grab;
  touch-action: pan-y;
}

#social-banner-viewport:active {
  cursor: grabbing;
}

/* HISTÓRIA */

#history-container {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

#history-grid-container {
  max-width: 80rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  padding-inline: 1.5rem;
  gap: 5rem;
  align-items: stretch;
}

#history-img-container {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  height: 100%;
}

#history-img {
  object-fit: cover;
  object-position: 80%;
  width: 100%;
  height: 100%;
}

#history-text-container {
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#history-text-title {
  color: #34468e;
  font-weight: 500;
  font-size: 1.1rem;
}

#history-text-sub-title {
  white-space: pre-line;
  text-wrap: balance;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1;
  font-weight: 700;
  margin-top: 0.5rem;
}

#avance-history {
  text-wrap: balance;
  color: #5f636f;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 100%;
  margin-top: 1.5rem;
  max-width: 90%;
  text-align: justify;
  word-break: normal;
}

#timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 1.8rem;
  margin-top: 6.5rem;
}

#timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 1px;
  height: 90%;
  background: #d7d7d7;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 10px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #31479d;
  position: absolute;
  left: -1.71rem;
  top: 10px;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.timeline-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.timeline-year {
  font-size: 25px;
  font-weight: 700;
  color: #1f1f1f;
}

.timeline-title {
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #31479d;
}

.timeline-text {
  font-size: 16px;
  color: #6a6f7c;
  margin-top: 0.5rem;
}

/* LOCALIZAÇÃO */

#map-section {
  padding-block: 5rem;
}

#map-container {
  padding-inline: 1.5rem;
  max-width: 80rem;
  margin-inline: auto;
}

#map-header {
  text-align: center;
  margin-bottom: 3rem;
}

#map-title {
  color: #34468e;
  font-weight: 500;
  font-size: 1rem;
}

#map-sub-title {
  text-wrap: balance;
  font-size: clamp(1.9rem, 6vw, 3.8rem);
  font-weight: 700;
  margin-top: 0.5rem;
}

#map-sub-title-complement {
  background: linear-gradient(180deg, #162152, #34468e);
  color: transparent;
  background-clip: text;
}

#map-text {
  text-wrap: balance;
  color: #5f636f;
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 36rem;
  margin-top: 1rem;
  margin-inline: auto;
  white-space: pre-line;
}

#location-grid {
  gap: 2.5rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  display: grid;
}

#map-visual {
  aspect-ratio: auto;
  grid-column: span 3 / span 3;
  border: solid 1px #e8e4dd;
  border-radius: 1.8rem;
  overflow: hidden;
  position: relative;
}

#map-location {
  min-height: 22.5rem;
}

#location-info {
  grid-column: span 2 / span 2;
  padding: 2.5rem;
  background-color: #f7f5f1;
  border-radius: 1.8rem;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

#company-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.info-detail {
  gap: 1rem;
  display: flex;
}

#location-svg {
  color: #34468e;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
}

#clock-svg {
  color: #34468e;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
}

#phone-svg {
  color: #34468e;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
}

.info-detail-title {
  font-weight: 500;
  font-size: 1.2rem;
}

.info-detail-subtitle {
  color: #5f636f;
  font-size: 1rem;
  margin-top: 0.25rem;
  white-space: pre-line;
  line-height: 1.8;
}

#location-button {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  background: #1d2040;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  margin-top: 2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(29, 32, 64, 0.18);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

#location-button:hover {
  transform: translateY(-2px);
  background: #252a57;
  box-shadow: 0 20px 44px rgba(29, 32, 64, 0.24);
}

/* FOOTER */
#footer {
  background:
    radial-gradient(
      circle at top left,
      rgba(64, 82, 140, 0.28),
      transparent 35%
    ),
    linear-gradient(180deg, #1d2040, #12162e);

  padding: 4.5rem 1.5rem 2rem;

  color: #fdfdfd;
}

#footer-container {
  max-width: 80rem;
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 4rem;
}

#footer-logo {
  width: min(260px, 72vw);
  opacity: 0.9;

  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28))
    drop-shadow(0 12px 30px rgba(0, 0, 0, 0.18));
}

#footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  max-width: 28rem;
  margin-top: 1.5rem;
  text-align: left;
}

#footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-column h3 {
  font-size: 0.95rem;
  color: #e6d5b5;
  margin-bottom: 0.6rem;

  font-weight: 700;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-column a {
  width: fit-content;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-column a:hover {
  color: #e6d5b5;
  transform: translateX(4px);
}

.footer-column p {
  cursor: default;
}

#footer-bottom {
  max-width: 80rem;
  margin-inline: auto;
  margin-top: 3rem;
  padding-top: 1.5rem;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.52);
}

/* WHATSAPP BUTTON */

#whatsapp-button {
  position: fixed;
  bottom: 3rem;
  right: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: auto;
  height: auto;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  color: white;
  z-index: 999;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.15);
  outline: none;
}

#whatsapp-button:hover {
  transform: translateY(-3px);
  background: #1ebe5d;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.35);
}

#whatsapp-svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: white;
  flex-shrink: 0;
}

#whatsapp-text {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

/* CARREGAMENTO DE PAGINA */

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;

  background: #1d2040;
  color: #e6d5b5;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

#loader-brand {
  width: min(360px, 72vw);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

#loader-line {
  width: 9rem;
  height: 1px;
  overflow: hidden;
  background: rgba(230, 213, 181, 0.25);
}

#loader-line::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: #e6d5b5;
  animation: loaderMove 1.2s ease-in-out infinite;
}

@keyframes loaderMove {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(260%);
  }
}

@media (max-width: 1024px) {
  /* SECTION 1 */

  #section-1 {
    min-height: 110vh;
    padding-inline: 2rem;
  }

  #section-content {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  #main-logo-avance {
    width: min(720px, 82vw);
  }

  #section-title {
    font-size: 1.55rem;
    margin-top: 3rem;
  }

  #hero-description {
    max-width: 40rem;
    font-size: 1rem;
  }

  #buttons-content {
    gap: 2rem;
  }

  .hero-trust-item {
    font-size: 1rem;
  }

  #hero-trust-bar {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* CARROSSEL */

  .roll-card {
    width: 320px;
  }

  /* INSTAGRAM */

  #social-banner-carousel {
    max-width: 38rem;
  }

  /* HISTÓRIA */

  #history-grid-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-inline: 2.5rem;
  }

  #avance-history {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 80rem;
  }

  /* LOCALIZAÇÃO */

  #map-container {
    padding-inline: 2.5rem;
  }

  #location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #map-visual {
    grid-column: auto;
  }

  #location-info {
    grid-column: auto;
  }

  #map-sub-title {
    font-size: clamp(2rem, 6vw, 3.8rem);
  }

  #map-location {
    min-height: 28rem;
  }

  /* FOOTER */

  #footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-inline: 2.5rem;
  }

  #footer-brand p {
    max-width: 100%;
  }

  #footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  #footer-bottom {
    margin-inline: 2.5rem;
  }
}

@media (max-width: 950px) {
  /* WHATSAPP BUTTON */

  #whatsapp-text {
    display: none;
  }

  #whatsapp-button {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    padding: 0;
  }
}

@media (max-width: 768px) {
  /* SECTION 1 */

  #section-1 {
    min-height: 110vh;
    padding-inline: 1.5rem;
  }

  #section-content {
    padding-top: 3rem;
    padding-bottom: 4rem;
    min-height: 80vh;
  }

  #main-logo-avance {
    width: min(620px, 88vw);
  }

  #section-title {
    font-size: 1.4rem;
    margin-top: 3rem;
    letter-spacing: 0.06rem;
  }

  #hero-description {
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1.2rem;
  }

  #hero-bottom {
    margin-top: 5rem;
  }

  #buttons-content {
    gap: 1rem;
  }

  .click-buttons {
    padding: 0.85rem 1.25rem;
    font-size: 0.8rem;
  }

  #hero-trust-bar {
    gap: 0.7rem;
  }

  .hero-trust-item {
    font-size: 0.9rem;
  }

  .hero-divider {
    font-size: 0.8rem;
  }

  /* CARROSSEL */

  #roll-section {
    padding-bottom: 2rem;
    padding-top: 0;
  }

  .roll-card {
    width: 240px;
  }

  /* INSTAGRAM */

  #social-banner-carousel {
    max-width: 100%;
    grid-template-columns: 2.5rem 1fr 2.5rem;
  }

  #social-banner-viewport {
    height: min(62vh, 500px);
  }

  .social-banner-slide {
    width: min(340px, 72vw);
    border-radius: 1.5rem;
  }

  .social-slide-prev {
    transform: translateX(-108%) scale(0.72);
  }

  .social-slide-next {
    transform: translateX(8%) scale(0.72);
  }

  #social-showcase-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  #social-showcase-text-content {
    width: 100%;
  }

  #social-showcase-button {
    width: fit-content;
    max-width: 100%;
    min-width: 0;

    align-self: flex-start;

    padding: 0.9rem 1.25rem;
    white-space: nowrap;
  }

  /* HISTÓRIA */

  #history-container {
    padding-block: 4rem;
  }

  #history-grid-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #history-img-container {
    max-height: 500px;
  }

  #avance-history {
    max-width: 100%;
    font-size: 0.9rem;
  }

  #timeline {
    padding-left: 1.5rem;
  }

  .timeline-text {
    font-size: 0.9rem;
  }

  .timeline-dot {
    width: 8px;
    height: 8px;
    left: -1.35rem;
  }

  /* LOCALIZAÇÃO */

  #map-section {
    padding-block: 3rem;
  }

  #map-container {
    padding-inline: 1rem;
  }

  #map-header {
    margin-bottom: 2rem;
  }

  #map-title {
    font-size: 0.95rem;
  }

  #map-sub-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  #map-text {
    font-size: 1rem;
  }

  #location-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #map-visual {
    border-radius: 1.25rem;
  }

  #map-location {
    min-height: 20rem;
  }

  #location-info {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  #company-info {
    gap: 1.5rem;
  }

  .info-detail {
    gap: 0.75rem;
  }

  .info-detail-title {
    font-size: 1rem;
  }

  .info-detail-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  #location-button {
    width: 100%;
    margin-top: 2rem;
  }

  /* FOOTER */

  #footer {
    padding: 3rem 1rem 2rem;
  }

  #footer-container {
    padding-inline: 1rem;
    gap: 2.5rem;
  }

  #footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  #footer-brand h2 {
    font-size: 1.3rem;
  }

  #footer-brand p {
    font-size: 0.95rem;
  }

  #footer-bottom {
    margin-inline: 1rem;
  }

  #footer-bottom p {
    font-size: 0.85rem;
  }
}

@media (max-width: 560px) {
  /* SECTION 1 */

  #section-1 {
    min-height: 110vh;
    padding-inline: 1.25rem;
  }

  #section-content {
    padding-top: 5rem;
    padding-bottom: 3.5rem;
    min-height: 80vh;
  }

  #main-logo-avance {
    width: min(500px, 92vw);
  }

  #section-title {
    font-size: 1.3rem;
    margin-top: 2.5rem;
    letter-spacing: 0.04rem;
  }

  #hero-description {
    max-width: 28rem;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-top: 1rem;
  }

  #hero-bottom {
    margin-top: 2rem;
  }

  #hero-center {
    padding-inline: 0.8rem;
  }

  #buttons-content {
    gap: 0.8rem;
  }

  .click-buttons {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  #hero-trust-bar {
    max-width: 20rem;
    margin-inline: auto;
    gap: 0.6rem;
    margin-top: 3rem;
  }

  .hero-trust-item {
    font-size: 0.82rem;
  }

  .hero-divider {
    display: none;
  }

  /* INSTAGRAM */

  #social-banner-carousel {
    max-width: 100%;
    grid-template-columns: 2.4rem 1fr 2.4rem;
    gap: 0.6rem;
    margin-top: 2.5rem;
  }

  .social-banner-arrow {
    width: 2.4rem;
    height: 2.4rem;
  }

  .social-banner-arrow svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  /* FOOTER */

  #footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-column {
    gap: 0.7rem;
  }

  .footer-column h3 {
    font-size: 0.95rem;
  }

  .footer-column a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  /* SECTION 1 */

  #section-1 {
    min-height: 110vh;
    padding-inline: 1rem;
  }

  #section-content {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
    min-height: 80vh;
  }

  #main-logo-avance {
    width: min(420px, 94vw);
  }

  #section-title {
    font-size: 1.2rem;
    margin-top: 2.5rem;
  }

  #hero-description {
    max-width: 24rem;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 1rem;
  }

  #hero-center {
    padding-inline: 0.8rem;
  }

  #buttons-content {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .click-buttons {
    width: min(100%, 250px);
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  #hero-trust-bar {
    max-width: 18rem;
    margin-top: 3rem;
  }

  .hero-trust-item {
    font-size: 0.78rem;
  }

  /* CARROSSEL */

  #roll-section {
    padding-block: 1rem;
  }

  #roll-track {
    gap: 1rem;
  }

  .roll-card {
    width: 180px;

    border-radius: 1rem;
  }

  .roll-card {
    aspect-ratio: 2 / 3.2;
  }

  /* INSTAGRAM */

  #social-showcase {
    padding-inline: 1.25rem;
    overflow: hidden;
  }

  #social-showcase-button {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  #social-showcase-title {
    max-width: 100%;
  }

  #social-showcase-text {
    max-width: 100%;
  }

  #social-banner-carousel {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .social-banner-arrow {
    display: none;
  }

  #social-banner-viewport {
    height: min(58vh, 430px);
    width: 100%;
    overflow: hidden;
  }

  .social-banner-slide {
    width: min(310px, 78vw);
    border-radius: 1.2rem;
    width: min(300px, 76vw);
  }

  .social-slide-prev {
    transform: translateX(-96%) scale(0.65);
  }

  .social-slide-next {
    transform: translateX(-4%) scale(0.65);
  }

  /* HISTÓRIA */

  #history-container {
    padding-top: 5rem;
    padding-bottom: 1rem;
  }

  #history-grid-container {
    padding-inline: 2rem;
    gap: 1.5rem;
  }

  #history-text-title {
    font-size: 0.9rem;
  }

  #history-text-sub-title {
    font-size: 2rem;
    line-height: 0.95;
  }

  #avance-history {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  #timeline {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .timeline-year {
    font-size: 1.2rem;
  }

  .timeline-title {
    font-size: 0.8rem;
  }

  .timeline-text {
    font-size: 0.7rem;
  }

  .timeline-dot {
    width: 8px;
    height: 8px;
    left: -1.35rem;
  }

  /* LOCALIZAÇÃO */

  #map-section {
    padding-top: 5rem;
  }

  #map-sub-title {
    font-size: 1.9rem;
  }

  #map-location {
    min-height: 16rem;
  }

  #location-info {
    padding: 1.25rem;
  }

  .info-detail-subtitle {
    font-size: 0.9rem;
  }

  /* WHATSAPP BUTTON */

  #whatsapp-text {
    display: none;
  }

  #whatsapp-button {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    padding: 0;
    right: 1rem;
  }

  /* FOOTER */

  #footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  #footer-container {
    padding-inline: 0;
    gap: 2rem;
  }

  #footer-brand h2 {
    font-size: 1.2rem;
  }

  #footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  #footer-columns {
    gap: 1.7rem;
  }

  #footer-bottom {
    margin-inline: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 420px) {
  /* SECTION 1 */

  #section-1 {
    min-height: 100vh;
  }

  #section-content {
    padding-top: 4rem;
    padding-bottom: 2.8rem;
    min-height: 80vh;
  }

  #main-logo-avance {
    width: min(360px, 95vw);
  }

  #section-title {
    font-size: 1.1rem;
    letter-spacing: 0.03rem;
  }

  #hero-description {
    max-width: 21rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  #hero-bottom {
    margin-top: 1.7rem;
  }

  .click-buttons {
    width: min(100%, 230px);
    font-size: 0.8rem;
    padding: 0.75rem 0.95rem;
  }

  #hero-trust-bar {
    max-width: 16rem;
    gap: 0.45rem;
    margin-top: 3rem;
  }

  .hero-trust-item {
    font-size: 0.74rem;
  }

  /* INSTAGRAM */

  #social-banner-viewport {
    border-radius: 1rem;
  }

  .social-banner-dot {
    width: 0.4rem;
    height: 0.4rem;
  }

  .social-banner-dot-active {
    width: 1.25rem;
  }

  /* WHATSAPP BUTTON */

  #whatsapp-text {
    display: none;
  }

  #whatsapp-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    padding: 0;
    right: 1rem;
  }

  /* FOOTER */

  #footer-brand h2 {
    font-size: 1.1rem;
  }

  #footer-brand p {
    font-size: 0.85rem;
  }

  .footer-column a,
  .footer-column p {
    font-size: 0.85rem;
  }

  #footer-bottom p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* Remove hover preso no mobile/touch */
@media (hover: hover) and (pointer: fine) {
  #social-prev-button:hover,
  #social-next-button:hover {
    transform: scale(1.06);
    background: #e6d5b5;
  }
}

body.hero-loaded #section-content {
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
