/* ─── SOBRE AUTORIDADE SECTION ─── */
.sobre-autoridade {
  width: min(calc(100% - 48px), var(--container-max));
  margin: 0 auto;
  padding: 96px 0;
  background-color: #f5f5f5;
  box-shadow: 0 0 0 100vmax #f5f5f5;
  clip-path: inset(0 -100vmax);
  color: #3a3a3a;
}

.sobre-autoridade__container {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
}

/* Left Column: Notched Image */
.sobre-autoridade__image-wrapper {
  flex-shrink: 0;
  width: 691px;
  height: 449px;
  position: relative;
}

.sobre-autoridade__image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
  border-radius: 40px;
  /* Bottom-right notch clip-path on desktop */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 110px),
    calc(100% - 150px) calc(100% - 110px),
    calc(100% - 150px) 100%,
    0 100%
  );
}

.sobre-autoridade__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Negative rounded corners for the notch */
.sobre-autoridade__corner {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: #f5f5f5;
  -webkit-mask: url("../../images/global-384-corner-bottom-left.svg") center / contain no-repeat;
  mask: url("../../images/global-384-corner-bottom-left.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 10;
  margin: 0 !important;
  padding: 0 !important;
}

.sobre-autoridade__corner--1 {
  bottom: 110px;
  right: 150px;
  transform: none; /* Curves inward at the notch corner */
}

.sobre-autoridade__corner--2 {
  bottom: 0;
  right: 150px;
  transform: rotate(-90deg); /* Curves outward at bottom corner */
}

.sobre-autoridade__corner--3 {
  bottom: 110px;
  right: 0;
  transform: rotate(90deg); /* Curves outward at right corner */
}

/* Right Column: Typography & Content */
.sobre-autoridade__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 598px;
}

.sobre-autoridade__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sobre-autoridade__title {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: clamp(32px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.25;
  color: #1c2545;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin: 0;
}

.sobre-autoridade__description {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

.sobre-autoridade__footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sobre-autoridade__callout {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #1c2545;
  margin: 0;
}

.sobre-autoridade__action {
  display: flex;
  justify-content: flex-start;
}

/* ─── RESPONSIVENESS ─── */
@media (max-width: 1200px) {
  .sobre-autoridade__container {
    gap: 40px;
  }
  
  .sobre-autoridade__image-wrapper {
    width: 500px;
    height: 350px;
  }
}

@media (max-width: 990px) {
  .sobre-autoridade {
    padding: 72px 0;
  }

  .sobre-autoridade__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .sobre-autoridade__image-wrapper {
    width: 100%;
    height: 380px;
  }

  .sobre-autoridade__image-container {
    clip-path: none;
    border-radius: 24px;
    overflow: hidden;
  }

  .sobre-autoridade__corner {
    display: none;
  }

  .sobre-autoridade__content {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .sobre-autoridade {
    width: min(calc(100% - 32px), var(--container-max));
    padding: 48px 0;
  }

  .sobre-autoridade__image-wrapper {
    height: 260px;
  }

  .sobre-autoridade__title {
    font-size: 28px;
  }

  .sobre-autoridade__description,
  .sobre-autoridade__callout {
    font-size: 16px;
  }
}
