/* Estilos exclusivos da seção inicial. Ajuste o enquadramento em cada slide. */
.hero-carousel {
  --hero-copy-width: min(600px, 47vw);
  --hero-gutter: max(24px, calc((100vw - 1180px) / 2));
  --hero-actions-bottom: 76px;
  --hero-copy-bottom: 158px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--header-height);
  color: #fff;
  background: #080e18;
  touch-action: pan-y pinch-zoom;
  font-family: Poppins, Inter, sans-serif;
}
.hero-carousel__slides { display: grid; }
.hero-carousel__slide {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
  min-height: clamp(560px, calc(88svh - var(--header-height)), 720px);
  display: flex;
  align-items: flex-end;
  padding: 100px var(--hero-gutter) var(--hero-copy-bottom);
  visibility: hidden;
  transform: translateX(100%);
  background: #080e18;
}
.hero-carousel__slide.is-active { visibility: visible; transform: translateX(0); }
.hero-carousel__image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--desktop-position, 50% 40%);
  user-select: none;
  pointer-events: none;
}
.hero-carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080e18 0%, #080e18 42%, rgba(8,14,24,.65) 53%, rgba(8,14,24,.08) 76%), linear-gradient(0deg, rgba(8,14,24,.9), transparent 60%);
  pointer-events: none;
}
.hero-carousel__copy { position: relative; z-index: 1; width: var(--hero-copy-width); max-width: 100%; text-align: center; }
.hero-carousel__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-carousel__eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--red-cta); }
.hero-carousel .hero-carousel__title { max-width: 660px; margin: 0 auto 20px; color: #fff; font-family: Poppins, Inter, sans-serif; font-size: clamp(2.25rem, 3.7vw, 3.75rem); font-weight: 700; line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }
.hero-carousel__accent { display: block; color: #ff635d; font-family: Caveat, cursive; font-size: 1.22em; font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.hero-carousel__description { max-width: 540px; min-height: 3.2em; margin: 0 auto; color: #f1f3f7; font-size: 1rem; line-height: 1.6; text-wrap: pretty; }
.hero-carousel__actions { position: absolute; z-index: 3; bottom: var(--hero-actions-bottom); left: var(--hero-gutter); width: var(--hero-copy-width); display: flex; justify-content: center; gap: 12px; }
.hero-carousel__button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 56px; min-width: 226px; padding: 14px 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #fff; background: #d3312c; font-size: .8rem; line-height: 1.25; font-weight: 800; letter-spacing: .025em; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.hero-carousel__button--whatsapp { background: #118443; }
.hero-carousel__button:hover { background: #a9231f; transform: translateY(-2px); }
.hero-carousel__button--whatsapp:hover { background: #0d703b; }
.hero-carousel__button:active { transform: scale(.98); }
.hero-carousel__button svg { width: 23px; height: 23px; flex: 0 0 auto; }
.hero-carousel__arrow { position: absolute; z-index: 4; top: 42%; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: #fff; background: rgba(8,14,24,.55); border: 1px solid rgba(255,255,255,.4); border-radius: 50%; cursor: pointer; transition: background .2s; }
.hero-carousel__arrow:hover { background: var(--blue-dark); }
.hero-carousel__arrow--prev { left: 12px; }
.hero-carousel__arrow--next { right: 12px; }
.hero-carousel__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-carousel__controls { position: absolute; z-index: 4; bottom: 12px; left: var(--hero-gutter); right: var(--hero-gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hero-carousel__dots { display: flex; align-items: center; gap: 3px; }
.hero-carousel__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-carousel__dot::before { content: ""; width: 7px; height: 7px; border-radius: 6px; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.hero-carousel__dot[aria-current="true"]::before { width: 26px; background: #fff; }
.hero-carousel :focus-visible { outline: 3px solid #79ceff; outline-offset: 3px; }
.hero-carousel__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-carousel:not(.is-ready) .hero-carousel__arrow,
.hero-carousel:not(.is-ready) .hero-carousel__controls { display: none; }
@media (min-width: 861px) and (max-width: 1320px) {
  .hero-carousel { --hero-gutter: 76px; }
  .hero-carousel { --hero-copy-width: 48%; }
}
@media (max-width: 860px) {
  .hero-carousel { --hero-copy-width: 100%; --hero-gutter: max(24px, env(safe-area-inset-left)); --hero-actions-bottom: 66px; --hero-copy-bottom: 148px; }
  .hero-carousel__slide { min-height: clamp(570px, calc(100svh - var(--header-height)), 760px); padding-top: 190px; }
  .hero-carousel__image { width: 100%; height: calc(100% - 330px); object-position: var(--mobile-position, 50% 35%); -webkit-mask-image: linear-gradient(#000 calc(100% - 65px), transparent); mask-image: linear-gradient(#000 calc(100% - 65px), transparent); }
  .hero-carousel__slide::after { background: linear-gradient(0deg, #080e18 0%, #080e18 32%, transparent 63%); }
  .hero-carousel__copy { max-width: 100%; min-height: 182px; }
  .hero-carousel .hero-carousel__title { font-size: clamp(2rem, 4.6vw, 2.8rem); }
  .hero-carousel__description { font-size: 1rem; }
  .hero-carousel__eyebrow { margin-bottom: 14px; }
  .hero-carousel__arrow { top: 22%; }
  .hero-carousel__actions { width: auto; right: max(24px, env(safe-area-inset-right)); }
  .hero-carousel__button { flex: 1; min-width: 0; }
}
@media (max-width: 620px) {
  .hero-carousel { --hero-gutter: max(20px, env(safe-area-inset-left)); --hero-copy-bottom: 198px; }
  .hero-carousel__slide { min-height: clamp(530px, calc(100svh - var(--header-height) - 80px - env(safe-area-inset-bottom)), 760px); padding-top: 150px; }
  .hero-carousel__eyebrow { font-size: .62rem; letter-spacing: .13em; margin-bottom: 12px; }
  .hero-carousel .hero-carousel__title { margin-bottom: 12px; font-size: clamp(1.6rem, 6.7vw, 2.2rem); line-height: 1.12; }
  .hero-carousel__image { height: calc(100% - 380px); }
  .hero-carousel__description { min-height: 4.5em; font-size: .93rem; line-height: 1.5; }
  .hero-carousel__actions { right: max(20px, env(safe-area-inset-right)); flex-direction: column; gap: 10px; }
  .hero-carousel__button { min-height: 52px; padding: 12px 16px; }
  .hero-carousel__controls { bottom: 10px; }
  .hero-carousel__dot { width: 36px; }
  .hero-carousel__arrow { width: 44px; height: 44px; top: 19%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel *, .hero-carousel *::before { transition: none !important; }
}
@media (max-width: 620px) and (max-height: 700px) {
  .hero-carousel { --hero-copy-bottom: 182px; --hero-actions-bottom: 58px; }
  .hero-carousel__slide { min-height: calc(100svh - var(--header-height) - 76px - env(safe-area-inset-bottom)); padding-top: 140px; }
  .hero-carousel__eyebrow { display: none; }
  .hero-carousel .hero-carousel__title { font-size: clamp(1.35rem, 5.8vw, 1.8rem); margin-bottom: 10px; }
  .hero-carousel__copy { min-height: 144px; }
  .hero-carousel__image { height: calc(100% - 326px); }
  .hero-carousel__description { font-size: .85rem; min-height: 4.5em; }
  .hero-carousel__arrow { top: 12px; }
  .hero-carousel__controls { bottom: 5px; }
}
