@keyframes badge-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero {
  position: relative;
  z-index: 10;
  background-color: var(--color-bg);
  background-image:
    linear-gradient(180deg, rgba(24,20,15,.45) 0, rgba(24,20,15,0) 160px),
    linear-gradient(100deg, rgba(24,20,15,.94) 0%, rgba(24,20,15,.8) 26%, rgba(24,20,15,.4) 50%, rgba(24,20,15,.08) 72%),
    linear-gradient(180deg, rgba(24,20,15,.45) 0%, rgba(24,20,15,.6) 55%, rgba(24,20,15,.85) 100%),
    url('../assets/img/hero/hero-mobile-oficina.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-position: center, center, center, 76% center;
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding: 40px var(--margin-mobile) 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.hero__title-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.hero__h1 {
  font-family: 'Gloock', serif;
  font-size: clamp(2.986rem, 1.245vw + 2.519rem, 3.815rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}

.hero__h1-gold {
  color: var(--color-gold);
}

.hero__h1-white {
  color: var(--color-white);
}

.hero__lead {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  max-width: 28rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 290px;
  max-width: 100%;
}

.hero__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 20px;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .hero__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -8px rgba(24, 20, 15, 0.45);
    background-color: var(--color-cta-hover);
  }
  .hero__btn--secondary:hover {
    color: var(--color-cta);
  }
}

.hero__btn--primary {
  background: var(--color-cta);
  color: var(--color-black);
  font-weight: 800;
  gap: 12px;
}

.hero__btn--secondary {
  background: transparent;
  color: var(--color-white);
  font-weight: 500;
  width: auto;
  padding: 14px 22px;
  gap: 8px;
}

.hero__btn-arrow {
  flex: none;
}

.hero__note {
  color: var(--color-white);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.hero__visual {
  display: none;
}

.hero__media {
  display: none;
  margin-top: 0;
}

.hero__frame {
  display: none;
}

.hero__broche {
  display: none;
}

.hero__picture {
  display: contents;
}

.hero__broche-notch {
  display: none;
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.hero__watermark {
  display: none;
  background: linear-gradient(180deg, rgba(24,20,15,0) 0%, rgba(24,20,15,0.47) 86.63%), linear-gradient(to left, rgba(255,255,255,0.2), rgba(255,255,255,0.2));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Cormorant Garamond', 'Gloock', serif;
  font-size-adjust: cap-height 0.75;
  font-size: clamp(1.728rem, 3.134vw + 0.993rem, 3.815rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  margin-top: 22px;
  z-index: 1;
  width: max-content;
  justify-self: end;
  pointer-events: none;
}

.hero__stats {
  position: relative;
  z-index: 3;
  height: 67px;
  margin-top: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: start;
}

.hero__stats-group {
  display: none;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 77px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.hero__stat-value {
  color: var(--color-white);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.hero__stat-label {
  color: var(--color-white);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.5px;
  text-align: center;
}

.hero__stat-divider {
  width: 2px;
  height: 77px;
  background: rgba(157, 119, 51, 0.75);
  flex-shrink: 0;
}

.hero__badge {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  background: var(--color-gold);
  border-radius: 50%;
  overflow: visible;
  z-index: 7;
  grid-area: 1 / 2;
  grid-template: 1fr / 1fr;
  align-self: start;
  margin-bottom: -45px;
}

.hero__badge::before {
  content: '';
  width: 76px;
  height: 76px;
  background: var(--color-bg);
  border-radius: 50%;
  z-index: 0;
  grid-area: 1 / 1;
}

.hero__badge-ring {
  width: 100%;
  height: 100%;
  animation: badge-spin 22s linear infinite;
  grid-area: 1 / 1;
  display: block;
}

.hero__badge-ring text {
  fill: var(--color-cream);
  font-size: 9.3px !important;
  letter-spacing: 1.2px;
}

.hero__badge-arrow {
  display: block;
  width: 20px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 1;
  grid-area: 1 / 1;
  position: relative;
}

@media (min-width: 1256px) {
  .hero__visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: calc(245.42px * 396 / 465);
    margin-top: 28px;
    align-self: start;
  }
  .hero {
    background-image: none;
    align-items: flex-start;
    gap: 42px;
    padding: 30px var(--margin-tablet) 0;
  }
  .hero__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    align-self: stretch;
    display: grid;
    grid-template-columns: minmax(0, 445px) auto;
  }
  .hero__content {
    flex-shrink: 0;
    align-items: flex-start;
  }
  .hero__title-group {
    align-items: flex-start;
  }
  .hero__h1 {
    font-size: 39.81px;
    text-align: left;
  }
  .hero__lead {
    text-align: left;
  }
  .hero__actions {
    width: 290px;
    align-items: flex-start;
  }
  .hero__buttons {
    align-items: flex-start;
  }
  .hero__note {
    text-align: left;
  }
  .hero__media {
    display: block;
    flex: none;
    width: auto;
    aspect-ratio: 396 / 465;
    height: 245.42px;
    z-index: 2;
  }
  .hero__photo-wrap {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  }
  .hero__photo {
    display: block;
    width: 100%;
    height: 313.48px;
    object-fit: cover;
    object-position: center top;
    margin-top: -59px;
    z-index: 2;
    overflow: visible;
    filter: drop-shadow(1.58px -1.06px 3.69px rgba(157,119,51,0.10)) drop-shadow(5.28px -4.75px 6.86px rgba(157,119,51,0.09)) drop-shadow(12.14px -10.56px 9.50px rgba(157,119,51,0.05)) drop-shadow(21.64px -18.47px 11.61px rgba(157,119,51,0.01));
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10px);
    mask-image: linear-gradient(180deg, transparent 0, #000 10px);
    grid-area: 1 / 1;
    align-self: start;
  }
  .hero__photo-wrap::after {
    content: '';
    margin-top: -8.44px;
    margin-left: -15.83px;
    margin-right: 2.11px;
    margin-bottom: -68.06px;
    background: linear-gradient(180deg, rgba(24,20,15,0) 0%, rgba(24,20,15,0) 28%, rgba(24,20,15,0.15) 48%, rgba(24,20,15,0.4) 64%, rgba(24,20,15,0.65) 78%, rgba(24,20,15,0.85) 90%, rgba(24,20,15,1) 100%);
    pointer-events: none;
    z-index: 3;
    grid-area: 1 / 1;
  }
  .hero__frame {
    display: block;
    margin-top: -8.44px;
    margin-left: 13.14px;
    margin-right: 13.14px;
    height: 196.34px;
    border: 2px solid rgba(157, 119, 51, 0.5);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    pointer-events: none;
    z-index: 1;
    grid-area: 1 / 1;
    align-self: start;
  }
  .hero__watermark {
    display: block;
    margin-top: 0;
    text-align: right;
    white-space: nowrap;
    font-size: 22px;
    line-height: normal;
    background: linear-gradient(180deg, rgba(24,20,15,0) 0%, rgba(24,20,15,0.95) 86.63%), linear-gradient(to left, rgba(255,255,255,0.2), rgba(255,255,255,0.2));
    background-clip: text;
    -webkit-background-clip: text;
    z-index: 3;
  }
  .hero__stats {
    gap: 0;
    height: auto;
    margin-top: 0;
    padding: 0 0 20px;
    grid-template-rows: auto;
  }
  .hero__stats-group {
    display: flex;
    flex: 1;
    min-width: 0;
    height: auto;
  }
  .hero__stats-group--left {
    justify-content: flex-end;
    padding-right: 18px;
  }
  .hero__stats-group--right {
    justify-content: flex-start;
    padding-left: 18px;
  }
  .hero__stat {
    gap: 8px;
  }
  .hero__stat-value {
    font-size: 14px;
  }
  .hero__stat-label {
    font-size: 12.64px;
  }
  .hero__stat-divider {
    height: 72px;
  }
  .hero__badge {
    margin-top: 20px;
    margin-bottom: -60px;
  }
}

@media (min-width: 1256px) {
  .hero__visual {
    width: calc(330.67px * 396 / 465);
  }
  .hero__inner {
    grid-template-columns: minmax(0, 550px) auto;
  }
  .hero {
    padding: 30px var(--margin-laptop) 0;
  }
  .hero__media {
    height: 330.67px;
    margin-top: 28px;
    margin-top: 0;
  }
  .hero__frame {
    margin-top: -11.38px;
    margin-left: -21.33px;
    margin-right: 2.84px;
    height: 264.53px;
  }
  .hero__photo {
    height: 422.37px;
    filter: drop-shadow(2.13px -1.42px 4.98px rgba(157,119,51,0.10)) drop-shadow(7.11px -6.40px 9.24px rgba(157,119,51,0.09)) drop-shadow(16.36px -14.22px 12.80px rgba(157,119,51,0.05)) drop-shadow(29.16px -24.89px 15.64px rgba(157,119,51,0.01));
  }
  .hero__photo-wrap::after {
    margin-top: -11.38px;
    margin-left: -21.33px;
    margin-right: 2.84px;
    margin-bottom: -91.7px;
  }
  .hero__stat-value {
    font-size: 18px;
  }
  .hero__stat-label {
    font-size: 16px;
  }
  .hero__stats {
    z-index: 6;
  }
  .hero__broche-notch {
    display: block;
    bottom: -54px;
    left: 50%;
    transform: translateX(-50%);
    width: 1024px;
    height: 104px;
    filter: drop-shadow(0 0 20px rgba(24,20,15,0.55)) drop-shadow(0 2px 5px rgba(24,20,15,0.10)) drop-shadow(0 9px 9px rgba(24,20,15,0.09)) drop-shadow(0 20px 12px rgba(24,20,15,0.05)) drop-shadow(0 36px 14px rgba(24,20,15,0.01));
  }
  .hero__broche-notch path {
    fill: var(--color-bg);
  }
}

@media (min-width: 1256px) {
  .hero__visual {
    width: 396px;
    margin-top: 0;
    align-self: stretch;
    grid-template-rows: minmax(var(--hero-photo-height), 1fr) auto;
  }
  .hero__inner {
    z-index: 6;
  }
  .hero {
    --collar-ring: 14.055;
    --collar-fillet: 20;
    --hero-photo-height: 465px;
    --hero-caption-size: 48.83px;
    --hero-caption-overlap: 18px;
    min-height: 706px;
    display: block;
    padding: 0;
  }
  .hero__broche-notch {
    display: none;
  }
  .hero__inner {
    grid-template-columns: minmax(0, clamp(653.6px, 214px + 35vw, 886px)) 396px;
    align-items: start;
    gap: 0;
    padding: 68px var(--margin-desktop) 0;
  }
  .hero__content {
    width: auto;
    min-height: var(--hero-photo-height);
    margin-bottom: calc(var(--hero-caption-size) * 1.15 - var(--hero-caption-overlap));
    padding-block: calc(var(--hero-caption-overlap) * 2);
    justify-content: center;
  }
  .hero__h1 {
    font-size: 61.04px;
  }
  .hero__lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 32rem;
  }
  .hero__actions {
    gap: 28px;
    width: 100%;
  }
  .hero__buttons {
    flex-direction: row;
    width: auto;
    gap: 10px;
    flex-wrap: wrap;
  }
  .hero__btn {
    padding: 16px 22px;
    width: auto;
  }
  .hero__media {
    height: var(--hero-photo-height);
  }
  .hero__photo-wrap {
    width: 396px;
    height: var(--hero-photo-height);
  }
  .hero__photo {
    height: 614px;
    padding-top: 20px;
    margin-top: -100px;
    filter: drop-shadow(3px -2px 7px rgba(157,119,51,0.10)) drop-shadow(10px -9px 13px rgba(157,119,51,0.09)) drop-shadow(23px -20px 18px rgba(157,119,51,0.05)) drop-shadow(41px -35px 22px rgba(157,119,51,0.01));
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, transparent 19.35%, rgba(0,0,0,0.3) 38.7%, rgba(0,0,0,0.55) 53.2%, rgba(0,0,0,0.8) 67.7%, #000 82.2%), linear-gradient(180deg, transparent 0, #000 20px);
    mask-image: linear-gradient(0deg, transparent 0%, transparent 19.35%, rgba(0,0,0,0.3) 38.7%, rgba(0,0,0,0.55) 53.2%, rgba(0,0,0,0.8) 67.7%, #000 82.2%), linear-gradient(180deg, transparent 0, #000 20px);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .hero__photo-wrap::after {
    margin-top: -16px;
    margin-left: -30px;
    margin-right: 4px;
    margin-bottom: -129px;
    background: linear-gradient(180deg, rgba(24,20,15,0) 0%, rgba(24,20,15,0) 85%, rgba(24,20,15,0.5) 85.5%, rgba(24,20,15,1) 86%);
    opacity: 1;
  }
  .hero__frame {
    margin-top: -16px;
    margin-left: -30px;
    margin-right: 4px;
    height: 372px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, transparent 20%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.8) 70%, #000 85%);
    mask-image: linear-gradient(0deg, transparent 0%, transparent 20%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.8) 70%, #000 85%);
  }
  .hero__watermark {
    margin-top: calc(-1 * var(--hero-caption-overlap));
    font-size: var(--hero-caption-size);
    line-height: 1.15;
  }
  .hero__broche {
    display: block;
    position: absolute;
    top: auto;
    bottom: -153px;
    left: 50%;
    transform: translateX(-50%);
    width: 1256px;
    height: 280px;
    background: var(--color-bg);
    clip-path: path('M 0,0 L 1256,0 L 1256,127 L 728.866,127 A 20,20 0 0 0 709.74,141.15 A 86,86 0 0 1 545.26,141.15 A 20,20 0 0 0 526.134,127 L 0,127 Z');
    filter: drop-shadow(0 0 20px rgba(24,20,15,0.55)) drop-shadow(0 2px 5px rgba(24,20,15,0.10)) drop-shadow(0 9px 9px rgba(24,20,15,0.09)) drop-shadow(0 20px 12px rgba(24,20,15,0.05)) drop-shadow(0 36px 14px rgba(24,20,15,0.01));
    pointer-events: none;
    z-index: 5;
  }
  .hero__stats {
    margin-top: 30.85px;
    min-height: 104px;
    padding: 0 var(--margin-desktop);
  }
  .hero__stats-group {
    position: static;
    width: auto;
    min-height: 104px;
    gap: 22px;
  }
  .hero__stats-group--left,
  .hero__stats-group--right {
    min-width: 0;
  }
  .hero__stats-group--left {
    padding-right: 33.055px;
    transform: none;
  }
  .hero__stats-group--right {
    padding-left: 33.055px;
    transform: none;
  }
  .hero__stat {
    flex: 0 0 auto;
    min-width: 0;
    height: auto;
    align-self: stretch;
    padding: 22px 0;
    gap: 16px;
  }
  .hero__stat-value {
    font-size: 16px;
    font-weight: 700;
  }
  .hero__stat-label {
    font-size: 14px;
    white-space: nowrap;
  }
  .hero__stat-divider {
    height: 60px;
  }
  .hero__badge {
    width: 143.89px;
    height: 143.89px;
    align-self: end;
    margin-top: 0;
    margin-bottom: -60.945px;
  }
  .hero__badge::before {
    width: 98.01px;
    height: 98.01px;
  }
  .hero__badge-ring text {
    font-size: 12px !important;
    letter-spacing: 1.5px;
  }
  .hero__badge-arrow {
    width: 25.7px;
    height: 51.4px;
  }
}

@media (min-width: 1440px) {
  .hero__broche {
    width: 1440px;
    clip-path: path('M 0,0 L 1440,0 L 1440,127 L 820.866,127 A 20,20 0 0 0 801.74,141.15 A 86,86 0 0 1 637.26,141.15 A 20,20 0 0 0 618.134,127 L 0,127 Z');
  }
}

@media (min-width: 1920px) {
  .hero {
    --collar-ring: 16.14;
    --collar-fillet: 23;
    min-height: 691px;
  }
  .hero__inner {
    grid-template-columns: minmax(0, 718px) 396px;
    padding: 68px var(--margin-ultrawide) 0;
  }
  .hero__watermark {
    z-index: 6;
  }
  .hero__broche {
    bottom: -203.667px;
    height: 373px;
    width: 1920px;
    clip-path: path('M 0,0 L 1920,0 L 1920,169.333 L 1076.74,169.333 A 23,23 0 0 0 1054.65,185.93 A 99.07,99.07 0 0 1 864.35,185.93 A 23,23 0 0 0 842.26,169.333 L 0,169.333 Z');
  }
  .hero__stats {
    margin-top: 15.85px;
    padding: 0 var(--margin-ultrawide);
  }
  .hero__stats-group {
    gap: 40px;
  }
  .hero__stats-group--left {
    padding-right: 55.21px;
  }
  .hero__stats-group--right {
    padding-left: 55.21px;
  }
  .hero__badge {
    width: 165.86px;
    height: 165.86px;
    margin-bottom: -71.93px;
  }
  .hero__badge::before {
    width: 114.77px;
    height: 114.77px;
  }
  .hero__badge-arrow {
    width: 29.62px;
    height: 59.24px;
  }
}

@media (min-width: 1256px) {
  .hero {
    --hero-badge-overhang: 60.945px;
    --hero-fold-gap: 15px;
    --hero-stats-lift: 15px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-h) - var(--hero-badge-overhang) - var(--hero-fold-gap));
  }
  .hero__inner {
    margin-top: auto;
    margin-bottom: calc(30.85px - var(--hero-stats-lift));
  }
  .hero__stats {
    margin-top: auto;
  }
}

@media (min-width: 1920px) {
  .hero {
    --hero-badge-overhang: 71.93px;
    min-height: calc(100vh - var(--header-h) - var(--hero-badge-overhang) - var(--hero-fold-gap));
  }
  .hero__inner {
    margin-bottom: calc(15.85px - var(--hero-stats-lift));
  }
}

@media (max-width: 1255.98px) {
  .hero {
    min-height: 100vh;
    min-height: calc(100dvh - var(--header-h));
  }
  .hero__inner {
    flex: 1 0 auto;
  }
  .hero__content {
    min-width: 0;
  }
  .hero__actions {
    gap: 24px;
  }
}

@media (max-width: 1255.98px) {
  .hero__inner {
    justify-content: center;
  }
  .hero__actions {
    gap: 14px;
  }
  .hero {
    padding-top: calc(40px + var(--header-h));
    min-height: 100vh;
    min-height: 100dvh;
  }
  .hero__btn-arrow:not(.hero__btn-arrow--diag) {
    transform: rotate(-90deg);
  }
  .hero__h1-gold {
    color: var(--color-white);
  }
  .hero__note {
    position: relative;
    top: 16px;
    align-self: stretch;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(246, 240, 234, 0.15);
    color: rgba(246, 240, 234, 0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }
  .hero__stats {
    display: none;
  }
}

.hero__stats-group--left {
  grid-area: 1 / 1;
}

.hero__stats-group--right {
  grid-area: 1 / 3;
}

