@font-face {
  font-family: "Avenir Next LT Pro";
  src: url("../styles/fonts/avenir-next-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Avenir Next Bold";
  src: url("../styles/fonts/AvenirNext-Bold.ttf");
  font-weight: bold;
}

:root{
  --bg: #000;
  --text: #fff;
  --muted: #cfcfcf;
  --gold: #DAA521;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next LT Pro", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f1f1f1;
  color: #ffffff;
  overflow-x: hidden;
}

html{
  scroll-behavior: smooth;
}

html, body{
  background: #000;
}

.stack-scroll{
  background: #000;
}

#insights{
  scroll-margin-top: 110px;
}

a, a:visited, a:hover, a:focus, a:active {
  color: inherit;
  text-decoration: none;
}

.page {
  background: #e5e5e5;
}

.hero-video{
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-video-inner{
  position: relative;
  width: 100%;
  height: calc(100vh - 92px);
  min-height: 520px;
  overflow: hidden;
  margin: 0;
  max-width: none;
}

.hero-video-player{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  filter: contrast(1.2) brightness(0.6) saturate(0.6) sepia(0.25);
}

.hero-video-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;

  padding: 54px 24px 62px;
  text-align: center;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.95) 100%
  );
}

.hero-video-overlay p{
  max-width: 980px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
}

.authority-main {
  background: #000;
  padding: 120px 40px 110px;
}

.authority-main-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.authority-line{
  position: absolute;
  height: auto;
  width: 280px;
  z-index: 2;
  pointer-events: none;
}

.authority-line--left{
  top: -24px;
  left: 0;
}

.authority-line--right{
  top: 92px;
  right: 0;
  width: 320px;
}



.authority-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.authority-column-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.authority-callout {
  background: #f1f1f1;
  color: #000;
  min-height: 360px;
  padding: 44px 34px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.65;
}

.authority-callout p{
  max-width: 34ch;
  margin: 0 auto;
  text-wrap: balance;
}

.authority-description {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.9;
}

.authority-description p + p {
  margin-top: 12px;
}

.authority-cta-text {
  font-weight: 500;
}

.authority-button {
  margin-top: 22px;
  padding: 14px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f4b73b;
  color: #000000;
}

.authority-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}

.authority-card{
  background: #111;
  border: none;
  overflow: hidden;
  cursor: pointer;

  transition: transform .35s ease, box-shadow .35s ease;
  transform: translateZ(0);
}


.authority-card img{
  width: 100%;
  display: block;
  height: 290px;
  object-fit: cover;
  object-position: center;

  transition: transform .45s ease, filter .45s ease;
  filter: brightness(.88);
}

.authority-card:hover{
  transform: scale(1.04);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  z-index: 5;
}

.authority-card:hover img{
  transform: scale(1.06);
  filter: brightness(1);
}

.authority-events {
  background: #e7e6e6;
  padding: 120px 0 140px; 
}

.authority-events-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;        
  width: 100%;
}

.events-intro {
  margin-bottom: 52px;
}

.events-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.events-logos-strip{
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 26px;
  padding: 18px 0 52px; 
}

.events-logos{
  display: flex;
  align-items: center;

  width: min(760px, 100%);
  margin: 0 auto;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  gap: 56px;

  scroll-snap-type: x mandatory;
}

.events-logos::-webkit-scrollbar{ 
  display:none; 
}

.events-logo-item{
  flex: 0 0 190px;
  width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.events-logo-item img{
  height: 50%;
  max-height: 150px;
  width: auto;
  max-width: 170px;
  display: block;
}

#Aumentar{
  height: 70%;
  max-height: 300px;
  max-width: 300px;
}

.events-logo-item.is-active {
  opacity: 1;
}

.events-arrow {
  background: none;
  border: none;
  color: #d4a52b;
  font-size: 36px;
  cursor: pointer;
  padding: 8px 10px;
}

.events-panel{
  background:#000;
  color:#fff;

  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);

  padding: 0; 
}

.events-panel-inner{
  width: 100%;
  margin: 0;
  --pad-l: clamp(20px, 3vw, 56px); 
  --pad-r: clamp(60px, 7vw, 120px);
  padding: 64px var(--pad-r) 54px var(--pad-l);
  justify-items: stretch;

  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(360px, 520px);
  column-gap: clamp(24px, 3vw, 44px);
  row-gap: 22px;

  align-items: start;
  grid-template-areas:
    "text photo"
    "buttons buttons";
}

.events-panel-text{
  grid-area: text;
  max-width: 700px;

  padding-top: clamp(200px, 10vh, 200px);
  margin-left: clamp(260px, 18vw, 460px);
}

.events-panel-text p{
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.7;
  max-width: 34ch;
  text-wrap: balance;
}

.events-panel-photo::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;

  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.68) 18%,
      rgba(0,0,0,0.30) 38%,
      rgba(0,0,0,0.00) 62%
    ),

    linear-gradient(180deg,
      rgba(0,0,0,0.00) 52%,
      rgba(0,0,0,0.55) 78%,
      rgba(0,0,0,0.92) 100%
    );
}

.events-panel-photo{
  grid-area: photo;
  position: relative;

  height: min(700px, 78vh);
  align-self: stretch;

  overflow: hidden;
  min-width: 0;

  margin-right: calc(-1 * var(--pad-r));
  width: calc(100% + var(--pad-r));

  margin-left: 0;
  transform: none;
}

.events-panel-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: 56% 16%;
}

.events-panel-buttons{
  grid-area: buttons;

  width: min(1100px, 100%); 
  margin: 18px auto 0;
  padding: 0 40px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  box-sizing: border-box;
}

.events-panel-buttons button{
  overflow-wrap: anywhere;
  word-break: break-word;
}

.events-panel-buttons button{
  width: 100%;
  min-width: 0;

  min-height: clamp(58px, 4.2vw, 76px);
  padding: 18px 22px;

  font-size: clamp(12px, 1.05vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;

  border: 1px solid #f4b73b;
  background: transparent;
  color: #ffffff;

  white-space: normal;
  line-height: 1.25;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.events-panel-buttons button:hover{
  background: #f4b73b;
  color: #000000;
}

.events-quote-block {
  background: #e7e6e6;
  padding: 72px 0 90px;
  margin-top: 56px;
}

.events-quote-line-top img,
.events-quote-line-bottom img {
  max-width: 260px;
}

.events-quote-text {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 26px;
  max-width: 900px;
}

.events-quote-mark {
  color: #f4b73b;
  font-size: 40px;
  line-height: 1;
}

.events-quote-mark--right {
  align-self: flex-end;
}

.events-quote-text p {
  font-size: 20px;
  line-height: 1.75;
  color: #000000;
  max-width: 820px;
}

.events-quote-block{
  display: flex;
  justify-content: center;
}

.events-quote-block .events-quote-inner,
.events-quote-block .events-quote-content,
.events-quote-block .events-quote-text{
  width: 100%;
}

.events-quote-text{
  max-width: 900px;
  margin: 0 auto;
}

.events-quote-text{
  justify-content: center;
}

.events-quote-text p,
.events-quote-author{
  text-align: center;
}

.events-quote-author {
  margin-top: 16px;
  font-size: 15px; 
  color: #555555;
}

.events-quote-line-bottom {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.events-quote-line-bottom img {
  max-width: 260px;
  height: auto;
  display: block;
}

.stats-band{
  background: #000000;
  color: #ffffff;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 78px 0;
  margin-top: 0px;
}

.stats-band-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.stats-badge{
  position: relative;
  width: 260px;
  max-width: 100%;
}

.stats-badge img{
  width: 100%;
  height: auto;
  display: block;
}

.stats-badge-number{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;

  color: #ffffff;
  font-weight: 500;
  font-size: clamp(40px, 4vw, 60px);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.stats-title{
  font-size: 18px;
  line-height: 1.85;
  max-width: 720px;
}

.stats-sub{
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.70);
  max-width: 720px;
}

.stats-source{
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

.stats-source span{
  color: #f4b73b;
  font-weight: 500;
}

.final-quote{
  background: #e7e6e6;
  color: #000;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  position: relative;
  left: auto;
  transform: none; 

  margin-top: 0;
  border-radius: 0 0 110px 110px;

  overflow: visible;
  z-index: 5;
  padding: 0;
}

.final-quote-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 74px 40px 92px;
}

.final-quote-line{
  display: flex;
  width: 100%;
}

.final-quote-line--top{
  justify-content: flex-start;
  margin-bottom: 22px;
}

.final-quote-line--bottom{
  justify-content: flex-end;
  margin-top: 26px;
}

.final-quote-line img{
  max-width: 260px;
  height: auto;
  display: block;
}

.final-quote-text{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.final-quote-mark{
  color: #f4b73b;
  font-size: 40px;
  line-height: 1;
}

.final-quote-mark--right{
  align-self: flex-end;
}

.final-quote-body p{
  font-size: 16px;
  line-height: 1.9;
  color: #000000;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}


.final-quote-body p + p{
  margin-top: 12px;
}

.final-quote-author{
  margin-top: 14px;
  font-size: 14px;
  color: #555555;
  text-align: center;
}

.authority-quote{
  background: #e7e6e6;
  color: #000;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 72px 0 84px;
}

.authority-quote-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.authority-quote-line{
  display: flex;
  width: 100%;
}

.authority-quote-line--top{
  justify-content: flex-start;
  margin-bottom: 22px;
}

.authority-quote-line--bottom{
  justify-content: flex-end;
  margin-top: 26px;
}

.authority-quote-line img{
  max-width: 260px;
  height: auto;
  display: block;
}

.authority-quote-content{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.authority-quote-mark{
  color: #f4b73b;
  font-size: 40px;
  line-height: 1;
}

.authority-quote-mark--right{
  align-self: flex-end;
}

.authority-quote-body p{
  font-size: 16px;
  line-height: 1.9;
  color: #000000;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.authority-quote-author{
  margin-top: 14px;
  font-size: 14px;
  color: #555555;
  text-align: center;
}

.trend-band{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  margin-top: -30px;
  padding-top: 40px;

  padding-bottom: 160px;
  z-index: 1;
}

.trend-bg{
  position: absolute;
  top: 0;
  left: 0;

  width: 55%;
  height: 100%;

  object-fit: cover;
  display: block;
  z-index: 0;
}

.trend-band::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;

  background: rgba(0,0,0,0.35);
}

.trend-band::after{
  content:"";
  position:absolute;
  top: 0;
  left: 0;

  width: 55%;
  height: 100%;

  z-index: 2;
  pointer-events:none;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.25) 45%,
    rgba(0,0,0,0.70) 78%,
    rgba(0,0,0,0.95) 100%
  );
}

.trend-band-inner{
  position: relative;
  z-index: 3;

  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.trend-left{
  max-width: 900px;
}

.trend-left h3{
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  color: #fff;
}

.trend-source{
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
}

.trend-source span{
  color: #DAA521;
  font-weight: 500;
}

.trend-right{
  width: min(920px, 100%);
  margin-top: 56px;

  display: grid;
  gap: 34px;

  text-align: left;
}

.trend-item{
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  align-items: center;
}

.trend-badge{
  width: 160px;
  height: auto;
}

.trend-badge img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.trend-item p{
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
}

.cases-section{
  background: #000;
  color: #fff;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 74px 0 74px;
}

.cases-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.cases-title{
  color: #DAA521;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 40px;
}

.cases-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.case-card{
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  border: none;
  background: transparent;

  aspect-ratio: 1 / 1;
}

.case-card--living-jardim-sul img{
  object-position: 50% 5%;
}

.case-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.02);
  filter: brightness(0.78);
}

#Bright{
  filter: brightness(0.3) !important;
}

.case-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}

.case-label{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

.case-name{
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255,255,255,0.92);
}

.case-sub{
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
}

.stack-scroll { position: relative; }

.stack-section{
  position: sticky;
  top: 0;
  min-height: auto;
  margin: 0;
}

.stack-1{ z-index: 1; }
.stack-2{ z-index: 2; }
.stack-3{ z-index: 3; }
.stack-4{ z-index: 4; }
.stack-5{ z-index: 5; }
.stack-6{ z-index: 6; }
.stack-7{ z-index: 7; }
.stack-8{ z-index: 8; }
.stack-9{ z-index: 9; }

.events-stage{
  background:#000;
  color:#fff;

  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);

  padding: 0;
}

.events-stage-inner{
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.events-stage .events-panel{
  width: 100%;
  margin: 0;
}

.events-panel-buttons .events-tab{
  cursor: pointer;
  user-select: none;
}

.events-panel-buttons .events-tab.is-active{
  background: #f4b73b;
  color: #000000;
}

.events-details{
  width: 100%;
  margin-top: 18px;

  display: flex;
  justify-content: center;
}

.events-detail{
  border: 1px solid #f4b73b;
  padding: 18px 22px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  background: transparent;

  display: none;

  width: min(760px, 100%);
  max-width: 760px;
}

.events-detail p{ margin: 0; }

.events-detail.is-open{
  display: block;
}

@media (max-width: 960px) {
  .hero-video,
  .authority-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .authority-grid {
    grid-template-columns: 1fr;
  }

  .authority-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .authority-events-inner {
    padding: 0 20px;
  }

  .events-panel-inner{
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "photo"
      "buttons";
    row-gap: 18px;
    padding: 22px 0 0;
  }

  .events-stage-inner{
    padding: 28px 0px 44px;
  }

  .events-panel-text{
    padding-top: 0;
  }

  .events-panel-text p{
    font-size: 20px;
    line-height: 1.65;
    max-width: none;
  }

  .events-panel-photo{
    width: 100%;
    height: 340px;
    justify-self: stretch;
  }

  .events-panel-buttons{
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 4px;
    padding-bottom: 14px;
  }

  .events-panel-buttons button{
    min-height: 52px;
    padding: 14px 16px;
    font-size: 12px;
  }

  .stack-section{
    position: sticky;
    top: 0;
    min-height: auto;
  }

  .stack-2{
    position: relative;
    top: auto;
    min-height: auto;
  }

  .authority-main{
    padding: 80px 20px 84px;
  }

  .authority-intro-text{
    margin-bottom: 34px;
  }

  .authority-callout{
    min-height: auto;
    padding: 34px 22px;
  }

  .authority-cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stats-band{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
  }

  .stats-band-inner{
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    align-items: center;
  }

  .stats-badge,
  .stats-badge img{
    width: 140px;
  }

  .stats-title{
    font-size: 15px;
    line-height: 1.65;
  }

  .stats-sub{ font-size: 12px; }

  .stats-source{
    font-size: 11px;
  }

  .final-quote{
    border-radius: 0 0 44px 44px;
  }

  .final-quote-inner{
    padding: 44px 20px 56px;
  }

  .final-quote-line img{
    max-width: 160px;
  }

  .final-quote-mark{
    font-size: 34px;
  }

  .final-quote-body p{
    font-size: 15px;
  }

  .trend-band{
    padding: 56px 0 60px;
  }

  .trend-band-inner{
    padding: 0 20px;
  }

  .trend-item{
    grid-template-columns: 86px 1fr;
  }

  .trend-badge{
    width: 86px;
    height: 86px;
  }

  .cases-inner{
    padding: 0 20px;
  }

  .cases-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .authority-quote-inner{ padding: 0 20px; }
  .authority-quote{ padding: 44px 0 56px; }
  .authority-quote-line img{ max-width: 160px; }
  .authority-quote-mark{ font-size: 34px; }
  .authority-quote-body p{ font-size: 15px; }

  .cases-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .cases-title{
    font-size: 18px;
    margin-bottom: 24px;
  }

  .case-label{
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .case-name{ font-size: 9px; }
  .case-sub{ font-size: 10px; }

  .events-panel-photo{
    height: 300px;
  }

  .events-stage-inner{
    padding-bottom: 28px;
  }

  .events-detail{
    padding: 14px 16px;
  }

  .events-panel-text{
    margin-left: 0 !important;
    text-align: center;
    max-width: none;
    justify-self: center;
  }

  .events-panel-text p{
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-video{
    padding: 0;
  }

  .hero-video-inner{
    max-width: none;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-video-player{
    height: 240px;
  }

  .hero-video-overlay{
    padding: 44px 18px 34px;
    text-align: center;
  }

  .authority-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .authority-events{
    padding: 140px 0 110px;
  }

  .events-intro{
    margin-bottom: 34px;
  }

  .events-intro p{
    font-size: 18px;
    line-height: 1.75;
    text-align: left;
    margin: 0;
  }

  .events-logos-strip{
    margin-top: 42px;
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    padding: 22px 0 34px;
    align-items: center;
  }

  .events-logos{
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    gap: 26px;
    padding-left: 2px;
  }

  .events-logo-item{
    flex: 0 0 160px;
    width: 160px;
  }

  .events-logo-item img{
    height: 30%;
    max-height: 100px;
    max-width: 170px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  #Diminuir{
    height: 40px;
  }



  .events-arrow{
    font-size: 42px;
    padding: 6px 8px;
  }

  .cases-inner{
    padding: 0 16px;
  }

  .cases-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .case-label{
    left: 6px;
    right: 6px;
    bottom: 6px;
  }
  .case-name{ font-size: 8px; }
  .case-sub{ font-size: 9px; line-height: 1.25; }

  .stats-band-inner{
    width: min(520px, 100%);
    padding: 0 16px;
    grid-template-columns: 120px 1fr;
    gap: 12px;
  }

  .stats-badge,
  .stats-badge img{
    width: 120px;
  }

  .stats-title{ font-size: 14px; }
  .stats-sub{ font-size: 11px; }

  .stats-band{
    padding: 32px 0;
  }
}

    .stack-2{
      position: relative;
      top: auto;
      min-height: auto;
    }

.hero-video-mobile-intro{
  display: none;
}

@media (max-width: 640px) {

  .authority-grid{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .authority-cards{ order: 1; }
  .authority-column-left{ order: 2; }

  .authority-callout{
    display: none;
  }

  .authority-column-left{
    gap: 0;
  }

  .authority-description{
    margin-top: 14px;
    text-align: center;
  }

  .authority-button{
    display: inline-block;
    margin-top: 16px;
  }

  .authority-line--right{
    top: 120px;
  }

  .hero-video{
    padding: 0;
  }

  .hero-video-inner{
    max-width: none;
    margin: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;
  }

  .hero-video-mobile-intro{
    display: block;
    background: #000;
    padding: 22px 18px 14px;
    text-align: center;
    order: 1;
  }

  .hero-video-mobile-intro p{
    margin: 0 auto;
    max-width: 340px;
    font-size: 14px;
    line-height: 1.75;
    color: #fff;
  }

  .hero-video-player{
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    order: 2;
    background: #2d2d2d;
  }

  .hero-video-overlay{
    padding: 18px 18px 26px;
    text-align: center;
    order: 3;
  }

  .authority-intro-text{
    display: none;
  }

  .authority-line--left{
    top: 22px;
  }

  .authority-line--right{
    top: 140px; 
  }

  .authority-card:hover{
    transform: scale(1.02);
  }
}

.hero-mobile-extra{
  display: none;
}

@media (max-width: 640px){
  .hero-video{
    background: #000;
    padding: 0;
  }

  .hero-video-inner{
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .hero-video-overlay{
    position: static;
    order: 1;
    background: #000;
    padding: 44px 18px 34px;
    text-align: center;
  }

  .hero-video-overlay .hero-text-main{
    font-size: 24px !important;
    line-height: 1.45 !important;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-video-overlay .hero-mobile-extra{
    display: block;
    margin-top: 42px;
  }

  .hero-video-overlay .hero-mobile-extra p{
    font-size: 14px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
    color: rgba(255,255,255,0.92);
  }

  .hero-mobile-line{
    display: block;
    width: 170px;
    height: auto;
    margin: 12px 0 0 auto;
  }

  .hero-mobile-line--top{
    margin: 0 0 16px auto;
  }

  .hero-video-player{
    position: static;
    order: 2;
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    display: block;
    background: #000;
  }

  .hero-mobile-extra{
    display: block;
    margin-top: 80px;
  }

  .hero-mobile-extra p{
    margin: 0 auto;
    max-width: 340px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
  }

  .hero-mobile-line{
    display: block;
    width: 160px;
    height: auto;
    margin: 10px 0 0 auto; 
  }

  .authority-intro-text{
    display: none;
  }

  .authority-line{
    display: none;
  }

  .hero-video-overlay .hero-mobile-extra p{
    font-size: 18px;
    line-height: 1.55;
  }

  .hero-video-overlay .hero-mobile-extra p{
    max-width: none;
    margin: 0;
    text-align: center;
  }

  .stack-1{
    position: relative !important;
    top: auto !important;
  }

  .stack-1.hero-video{
    min-height: auto !important;
  }

  .hero-video-overlay{
    padding: 72px 18px 52px !important;
  }

  .hero-mobile-line--top{
    margin: 0 auto 16px 0 !important;
  }

  .hero-mobile-line:not(.hero-mobile-line--top){
    margin: 12px 0 0 auto !important;
  }

}

.trend-item{
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  align-items: center;
}

.trend-badge{
  position: relative;
  width: 160px;
  display: block;
}

.trend-badge img{
  width: 100%;
  height: auto;
  display: block;
}

.trend-badge-number{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: none;

  font-weight: 700;
  color: #fff;
  font-size: 40px;  
  line-height: 1;
  white-space: nowrap;
}

.hero-video-overlay .hero-text-main{
  font-size: 20px !important;
  line-height: 1.6 !important;
}

.hero-text-main{
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 auto;
  text-wrap: balance;
}

.authority-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 22px;
  padding: 16px 28px;

  border-radius: 2px;
  border: none;

  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  background: #f4b73b;
  color: #000000;

  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.events-details{
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 18px;

  display: none;
  justify-content: center;
  justify-self: stretch;
}

.events-details.is-open{
  display: flex;
}

.events-detail{
  display: none;
  width: min(760px, 100%);
  max-width: 760px;

  border: 1px solid #f4b73b;
  padding: 18px 22px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  background: transparent;
}

.events-detail.is-open{
  display: block;
}

.authority-intro{
  background: #e7e6e6;
  padding: 80px 40px 60px;
}

.authority-intro-inner{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.authority-card{
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  border: 1px solid rgba(255,255,255,0.35);
  transition: transform .35s ease, box-shadow .35s ease;
}

.authority-card .card-img{
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center;
  display: block;

  transform: scale(1.03);

  filter: brightness(.92);
  transition: transform .45s ease, filter .45s ease;
}

.authority-card:hover{
  transform: scale(1.02);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  z-index: 5;
}

.authority-card:hover .card-img{
  transform: scale(1.06);
  filter: brightness(1);
}

.card-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 14px 14px 12px;
  color: #fff;

  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.20) 45%,
      rgba(0,0,0,0.65) 100%
    );

  pointer-events: none;
}

.card-title{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}

.card-sub{
  margin: 4px 0 0;
  font-size: 11px;
  opacity: .95;
}

.card-small{
  margin: 8px 0 0;
  font-size: 10px;
  opacity: .75;
}

@media (max-width: 640px){
  .authority-card .card-img{ height: 240px; }
  .card-desc{ max-width: 26ch; }
}

.card-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 14px 14px 12px;
  color: #fff;

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.12) 45%,
    rgba(0,0,0,0.00) 100%
  );

  pointer-events: none;
}

.card-bottom{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.authority-card:hover .card-bottom,
.authority-card:focus-within .card-bottom{
  opacity: 1;
  transform: translateY(0);
}

.authority-card:hover .card-overlay,
.authority-card:focus-within .card-overlay{
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.20) 45%,
    rgba(0,0,0,0.70) 100%
  );
}

.card-title{ font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.card-sub{ margin: 4px 0 0; font-size: 11px; opacity: .95; }
.card-small{ margin: 8px 0 0; font-size: 10px; opacity: .75; }

.card-desc{
  margin: 0;
  font-size: 10.5px;
  line-height: 1.35;
  max-width: 22ch;
  opacity: .92;
}

.card-tag{
  margin: 6px 0 0;
  font-size: 10px;
  color: var(--gold);
  opacity: .95;
}

.authority-card .card-overlay{
  opacity: 1 !important;
  visibility: visible !important;
}

.authority-card .card-bottom{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.authority-card:hover .card-bottom,
.authority-card:focus-within .card-bottom{
  opacity: 1;
  transform: translateY(0);
}

.authority-card:hover .card-overlay,
.authority-card:focus-within .card-overlay{
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.20) 45%,
    rgba(0,0,0,0.70) 100%
  );
}

.authority-card { position: relative; }

.authority-card .card-overlay{
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3 !important;
}

.authority-card .card-img{
  position: relative;
  z-index: 1;
}

@media (max-width: 960px){
  .events-panel-photo{ height: 340px; }
  .events-panel-photo img{ 
    object-position: 50% 12%;
    width: 89%;
    height: 95%;
    margin: auto;
    display: block;
    object-fit: cover;
    margin-left: 20%;
    margin-top: -21px;
  }
}

.cursos-grid{
  display: grid;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;

  padding: 0 40px;
  grid-template-columns: repeat(3, 280px);
  gap: 18px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.curso-card{
  position: relative;
  background: transparent;
  border: 1px solid rgba(244,183,59,.95);
  border-radius: 8px;

  padding: 18px 18px 16px;
  min-height: auto;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.curso-card h4{
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.curso-detail{ display: none; }
.curso-short{ display: none; } 

.curso-footer{
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

.curso-more{
  appearance: none;
  border: 1px solid rgba(244,183,59,.95);
  background: transparent;
  color: #fff;

  padding: 10px 14px;
  border-radius: 999px;

  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;

  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.curso-more:hover{
  background: #f4b73b;
  color: #000;
  transform: translateY(-1px);
}
.curso-more:active{ transform: translateY(0); }

.curso-close{
  position: absolute;
  top: 12px;
  right: 12px;

  width: 28px;
  height: 28px;

  display: none;
  place-items: center;

  border: 1px solid rgba(244,183,59,.95);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.curso-card.is-open{
  grid-column: 1 / -1;
  background: #000;
  padding: 26px 26px 22px;
}

.curso-card.is-open .curso-detail{ display: block; margin-top: 10px; }
.curso-card.is-open .curso-short{ display: block; margin-top: 10px; }
.curso-card.is-open .curso-close{ display: grid; }

.curso-card.is-open .curso-detail p{
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
}
.curso-card.is-open .curso-detail p + p{ margin-top: 10px; }

@media (max-width: 960px){
  .cursos-grid{
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

.events-panel-inner > .cursos-grid{
  grid-column: 1 / -1;
  justify-self: center;
}

.hero-video,
.events-panel,
.events-stage,
.stats-band,
.trend-band,
.cases-section{
  background: #000;
}
.authority-events,
.events-quote-block,
.stats-band,
.final-quote,
.authority-quote{
  position: relative;
}

.authority-events::before,
.events-quote-block::before,
.stats-band::before,
.final-quote::before,
.authority-quote::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: inherit;
  pointer-events: none;
}

.authority-card .card-img{
  filter: none !important;
}

.authority-card .card-overlay{
  background: transparent !important;
}

.authority-card:hover .card-overlay,
.authority-card:focus-within .card-overlay{
  background: transparent !important;
}

@media (max-width: 640px){
  .hero-video-inner{
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .hero-video-overlay{
    position: static;
    order: 1;
    background: #000;
  }

  .hero-video-player{
    position: static;
    order: 2;
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    display: block;
  }

  .hero-mobile-extra{
    display: block;
    order: 3;
    background: #000;
    padding: 22px 18px 34px;
    text-align: center;
  }
  .authority-intro{
    display: none;
  }

  .events-panel-inner{
    justify-items: center;
  }

  .events-panel-text{
    width: 100%;
    margin-left: 0 !important;
    padding-top: 0 !important;
    text-align: center;
  }

  .events-panel-text p{
    width: min(320px, 100%);
    margin: 0 auto;
  }
  .trend-band{
    overflow: visible;
    padding-bottom: 140px;
  }

  .trend-band{
    overflow: visible !important;
    padding-bottom: 240px !important;
    margin-top: 0 !important;
  }

  .trend-right{
    padding-bottom: 16px;
    gap: 18px !important;
    margin-top: 28px !important;
  }

  .trend-badge{
    position: relative;
  }

  .trend-badge-number{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;

    line-height: 1;
    margin: 0;
    padding: 0;
    transform: none !important;
    text-align: center;
  }

  .trend-item{
    align-items: start;
  }
  .trend-badge{
    margin-top: 4px;
  }
  .cases-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {

  .hero-section{
    min-height: 100vh;
  }

  .hero-right{
    padding: 32px 44px 44px 64px;
  }

  .hero-right h1{
    font-size: 44px;
    letter-spacing: 3px;
    margin-bottom: 20px;
  }

  .hero-right p{
    font-size: 18px;
    line-height: 1.75;
    max-width: 560px;
  }
}

.authority-intro{
  background: #e7e6e6;
  padding: 80px 40px 60px;
}

.authority-intro-inner{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  color: #000;
}

.authority-intro-text{
  margin: 0 auto;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.6;
  color: #000;
  max-width: 1200px;
  text-wrap: balance;
}

.authority-intro-text .line1,
.authority-intro-text .line2{
  display: block;
}

@media (min-width: 900px){
  .authority-intro-text .line1{
    white-space: nowrap;
  }

  .authority-intro-text .line2{
    margin-top: 6px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 700px) and (max-width: 899px){
  .authority-intro-inner{ max-width: 980px; }
  .authority-intro-text .line1{ white-space: normal; }
  .authority-intro-text .line2{ max-width: 920px; margin: 6px auto 0; }
}

/* ========= SOCIALS TOP (replicar igual em todas as páginas) ========= */

.site-footer .socials.socials-left.socials-top{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;

  width: fit-content;
  margin-left: 0;
  padding-left: 0;

  margin-top: -80px;
  margin-bottom: 25px;

  position: relative;
  z-index: 20;
}

.site-footer .socials.socials-left.socials-top .social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  padding: 0;

  background: transparent;
  border: none;
  text-decoration: none;

  cursor: pointer;
  position: relative;
  z-index: 21;
  -webkit-tap-highlight-color: transparent;
}

.site-footer .socials.socials-left.socials-top .social-img{
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  max-width: none;
  pointer-events: none;
}

/* evita pseudo-elementos decorativos bloquearem clique */
.site-footer::before,
.site-footer::after{
  pointer-events: none;
}

@media (max-width: 900px){
  .site-footer .socials.socials-left.socials-top{
    margin-top: 14px;
    margin-bottom: 20px;
  }

  .site-footer .socials.socials-left.socials-top .social-icon{
    width: 58px;
    height: 58px;
  }

  .site-footer .socials.socials-left.socials-top .social-img{
    width: 42px;
    height: 42px;
  }
}

.audio-toast{
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 99999;

  display: flex;
  align-items: center;
  gap: 12px;

  background: rgba(0,0,0,.75);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 14px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  font-size: 14px;
  line-height: 1;
  max-width: calc(100vw - 32px);
  white-space: nowrap;
}

.audio-toast-btn{
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
}

.audio-toast-close{
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 4px 6px;
  opacity: .85;
}

.audio-toast-close:hover{ opacity: 1; }

@media (max-width: 900px){
  .audio-toast{ bottom: 18px; font-size: 13px; }
}

.audio-toast { pointer-events: auto; }
.audio-toast * { pointer-events: auto; }

.audio-toast[hidden]{
  display: none !important;
}

.authority-intro{
  position: relative;
  z-index: 50;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-video{
  position: sticky;
  top: 0;
  z-index: 1;
}

.events-panel-inner > .cursos-grid{
  margin-top: -140px !important;
  position: relative;
  z-index: 50;
}

.stack-section:has(.cursos-grid .curso-card.is-open){
  z-index: 9999 !important;
}

.stack-section:has(.cursos-grid .curso-card.is-open){
  position: relative !important;
  top: auto !important;
}

.events-panel-inner:has(.curso-card.is-open){
  padding-bottom: 240px !important;
}

.events-stage,
.events-panel,
.events-panel-inner{
  overflow: visible !important;
}

@media (max-width: 1024px){
    .hero-mobile-line{
    display: none !important;
  }
}

@supports (height: 100svh){
  .hero-video-inner { height: 100svh; }
}


/* ===== iPhone SE / telas pequenas e BAIXAS ===== */
/* SE 2/3: 375x667. Também cobre 360x640 e parecidos */
@media (max-width: 760px){

  /* HERO: no SE 100dvh fica exagerado e mata a proporção */
  .hero-video-inner{
    height: auto !important;
    min-height: 0 !important;
  }

  .hero-video-player{
    /* em vez de 100dvh */
    height: 72vh !important;
    min-height: 420px;        /* segura proporção sem esmagar */
    max-height: 520px;        /* evita virar “paredão” */
    aspect-ratio: 9 / 16;     /* mantém o look do Pro Max */
    object-fit: cover;
  }

  .hero-video-overlay{
    padding: 44px 16px 36px !important;
  }

  .hero-video-overlay .hero-text-main{
    font-size: 18px !important;
    line-height: 1.55 !important;
    max-width: 34ch;
  }

  .hero-video-overlay .hero-mobile-extra{
    margin-top: 34px !important;
  }

  .hero-video-overlay .hero-mobile-extra p{
    font-size: 15px !important;
    line-height: 1.5 !important;
  }


  /* EVENTS: corta “respiros” verticais que no SE viram buraco */
  .authority-events{
    padding: 110px 0 86px !important;
  }

  .events-logos-strip{
    margin-top: 26px !important;
    padding: 18px 0 22px !important;
    gap: 10px !important;
  }

  .events-intro p{
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .events-panel-inner{
    padding: 0px 0 0 !important;
    row-gap: 0px !important;
  }

  .events-panel-photo{
    height: 260px !important;
  }

  .events-panel-text p{
    font-size: 18px !important;
    line-height: 1.6 !important;
  }

  .events-panel-buttons{
    gap: 10px !important;
    padding-bottom: 10px !important;
  }


  /* TREND: reduz altura e espaçamento */
  .trend-band{
    padding: 44px 0 70px !important;
    margin-top: 0 !important;
  }

  .trend-right{
    margin-top: 20px !important;
    gap: 14px !important;
  }

  .trend-item{
    grid-template-columns: 76px 1fr !important;
    gap: 14px !important;
  }

  .trend-badge{
    width: 76px !important;
    height: 76px !important;
  }

  .trend-badge-number{
    font-size: 30px !important;
    margin-bottom: 20px;
  }

  .trend-item p{
    font-size: 14px !important;
    line-height: 1.65 !important;
  }


  /* CASES: no SE 2 colunas fica mais “Pro Max-like” (menos miúdo) */
  .cases-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 16px !important;
  }


  /* QUOTES / STATS: corta padding vertical */
  .stats-band{
    padding: 24px 0 !important;
  }

  .final-quote-inner{
    padding: 36px 16px 46px !important;
  }

  .authority-quote{
    padding: 36px 0 46px !important;
  }
}

