/* ==========================================================================
   SKR · Munir Abbud — LP Breve Lançamento
   ========================================================================== */

/* ---- Fontes ----
   Luxora Grotesk é a tipografia oficial do design (paga). Os arquivos
   .woff2 devem ser colocados em assets/fonts/. Enquanto não estiverem
   disponíveis, Outfit (Google Fonts) é usada como fallback de mesmas
   proporções. */

@font-face {
  font-family: "Luxora Grotesk";
  src: url("../fonts/LuxoraGrotesk-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Luxora Grotesk";
  src: url("../fonts/LuxoraGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --primary: #0d0d0d;
  --white: #ffffff;
  --light: #eaeaea;
  --secondary: #f0f0ef;
  --dark: #3b3b3c;
  --black-64: rgba(0, 0, 0, 0.64);
  --dark-16: rgba(59, 59, 60, 0.16);
  --error: #c43232;

  --shadow-default: 0 16px 32px rgba(0, 0, 0, 0.16);

  --font-display: "Luxora Grotesk", "Outfit", system-ui, sans-serif;

  --container-max: 1366px;
  --side-pad-mobile: 16px;
  --side-pad-desktop: 64px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--primary);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

input,
button,
textarea {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Tipografia base
   ========================================================================== */
.eyebrow {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.heading-3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.heading-2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Header (aparece só após o primeiro scroll, fixo no topo)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 16px var(--side-pad-desktop);
  background: rgba(13, 13, 13, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 400ms var(--ease-out), opacity 400ms var(--ease-out);
  display: none;
}

@media (min-width: 768px) {
  .site-header {
    display: block;
  }
}

.site-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  width: 272px;
  height: 32px;
  flex: 0 0 auto;
  transition: opacity 250ms var(--ease-out);
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-header__logo:hover {
  opacity: 0.85;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__link {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: opacity 250ms var(--ease-out);
}

.site-header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}

.site-header__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (min-width: 768px) {
  .site-header__nav {
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: opacity 0.01ms !important;
    transform: none;
  }
  .site-header:not(.is-visible) {
    opacity: 0;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero__video {
  position: absolute;
  inset: -10% 0 -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
  pointer-events: none;
  background: #0d0d0d;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.3) 70%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.25) 0%, rgba(13, 13, 13, 0.55) 100%);
  z-index: -1;
}

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

.hero__eyebrow {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__title,
.hero__subtitle {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.hero__divider {
  width: 160px;
  height: 1px;
  background: var(--white);
  display: block;
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 48px;
  }
  .hero__headline {
    flex-direction: row;
    gap: 24px;
  }
  .hero__divider {
    width: 1px;
    height: 24px;
  }
  .hero__title,
  .hero__subtitle {
    white-space: nowrap;
  }
}

/* ==========================================================================
   Localização
   ========================================================================== */
.localizacao {
  background: var(--white);
}

.localizacao__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.localizacao__map {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--light);
  overflow: hidden;
  order: -1;
}

.localizacao__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.localizacao__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--primary);
}

.localizacao__paragraph {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.16px;
  color: var(--dark);
}

.localizacao__address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.localizacao__address .heading-2 {
  flex: 1;
  min-width: 0;
}

.icon--location {
  width: 23px;
  height: 28px;
  flex: 0 0 23px;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .localizacao__inner {
    padding: 64px var(--side-pad-desktop);
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .localizacao__text {
    flex: 0 0 515px;
    max-width: 515px;
    gap: 32px;
  }
  .localizacao__map {
    flex: 1 1 auto;
    aspect-ratio: 667 / 374;
    order: 0;
  }
  .localizacao__address {
    align-items: center;
  }
}

/* ==========================================================================
   Carousel
   ========================================================================== */
.carousel {
  background: var(--secondary);
}

.carousel__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.carousel__title {
  color: var(--primary);
}

.carousel__wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__track {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.carousel__btn {
  display: none;
}

@media (min-width: 768px) {
  .carousel__inner {
    padding: 72px var(--side-pad-desktop);
  }
  .carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 190px;
    flex: 0 0 44px;
    transition: opacity 250ms var(--ease-out);
  }
  .carousel__btn[disabled] {
    opacity: 0.25;
    cursor: not-allowed;
  }
  .carousel__btn-circle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 250ms var(--ease-out), background-color 250ms var(--ease-out);
  }
  .carousel__btn:not([disabled]):hover .carousel__btn-circle {
    transform: scale(1.08);
    background: #1f1f1f;
  }
  .carousel__btn-circle img {
    width: 14px;
    height: 14px;
  }
  .carousel__btn--prev .carousel__btn-circle img {
    transform: rotate(180deg);
  }
  .carousel__track {
    gap: 32px;
  }
}

/* Card */
.card {
  flex: 0 0 calc(100% - 24px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card__media {
  width: 100%;
  aspect-ratio: 300 / 200;
  overflow: hidden;
  background: var(--light);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.card__name {
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: var(--primary);
}

.card__time {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.16px;
  color: var(--dark);
  white-space: nowrap;
}

.card__actions {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  transition: opacity 250ms var(--ease-out);
}

.card__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 300ms var(--ease-out);
}

.card__link:hover {
  opacity: 0.8;
}

.card__link:hover::after {
  width: calc(100% - 22px);
}

.card__link img {
  width: 14px;
  height: 14px;
  transform: rotate(-90deg);
}

@media (min-width: 768px) {
  .card {
    flex: 0 0 calc((100% - 32px * 3) / 4);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .card {
    flex: 0 0 calc(50% - 8px);
  }
}

/* ==========================================================================
   Form
   ========================================================================== */
.form {
  background: var(--white);
}

.form__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--primary);
}

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

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 14px 18px 0;
  border: 1px solid var(--dark-16);
  background: var(--white);
  transition: border-color 250ms var(--ease-out);
  cursor: text;
}

.field:focus-within {
  border-color: var(--dark);
}

.field.has-error,
.field.has-error:focus-within {
  border-color: var(--error);
}

.field__error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.12px;
  color: var(--error);
}

.field__error:empty {
  display: none;
}

.field__label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.16px;
  color: var(--dark);
  pointer-events: none;
  transition: top 200ms var(--ease-out), font-size 200ms var(--ease-out),
              transform 200ms var(--ease-out);
}

.field__input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.16px;
  background: transparent;
  color: var(--primary);
}

.field__input::placeholder {
  color: transparent;
}

.field:focus-within .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field:has(.field__input:not(:placeholder-shown)) .field__label {
  top: 5px;
  transform: translateY(0);
  font-size: 12px;
  letter-spacing: 0.12px;
  line-height: 1.4;
}

/* Browsers without :has — fallback via JS class .is-filled */
.field.is-filled .field__label {
  top: 5px;
  transform: translateY(0);
  font-size: 12px;
  letter-spacing: 0.12px;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background-color 250ms var(--ease-out), transform 250ms var(--ease-out);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: #1f1f1f;
  transform: translateY(-1px);
}

.btn--primary.is-success,
.btn--primary.is-success:hover {
  background: #2e7d32;
  transform: none;
}

@media (min-width: 768px) {
  .form__inner {
    padding: 64px var(--side-pad-desktop) 72px;
  }
  .form__row {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .form__fields {
    flex-direction: row;
    gap: 8px;
  }
  .field-group {
    flex: 1;
    min-width: 0;
  }
  .btn--primary {
    flex: 0 0 auto;
    height: 52px;
    padding: 16px 32px;
  }
}

/* ==========================================================================
   Drawer (Atendimento exclusivo)
   ========================================================================== */
.drawer[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 350ms var(--ease-out);
  cursor: pointer;
}

.drawer__panel {
  position: relative;
  width: min(455px, 100vw);
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 350ms var(--ease-out);
  overflow-y: auto;
}

.drawer.is-open .drawer__overlay {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.drawer__close {
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer__close img {
  display: block;
  width: 100%;
  height: 100%;
}

.drawer__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: flex-end;
  padding: 24px;
  width: 100%;
}

.drawer__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--primary);
}

/* Override do form dentro do drawer: sempre em coluna, btn full width */
.drawer__form {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.drawer__form .form__fields {
  flex-direction: column;
  gap: 8px;
}

.drawer__form .field-group {
  flex: initial;
  min-width: 0;
}

.drawer__form .btn--primary {
  width: 100%;
  flex: initial;
  height: 52px;
}

body.drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .drawer__overlay,
  .drawer__panel {
    transition: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--primary);
  color: var(--white);
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

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

.footer__eyebrow {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
}

.footer__logo {
  width: 100%;
  max-width: 336px;
  aspect-ratio: 336 / 40;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

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

.footer__disclaimer {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.12px;
  color: var(--secondary);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer__copyright {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.12px;
  color: var(--secondary);
}

.footer__copyright strong {
  font-weight: 400;
  color: var(--white);
}

.footer__link {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.12px;
  color: var(--white);
  position: relative;
  transition: opacity 250ms var(--ease-out);
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}

.footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__seal {
  width: 156px;
  aspect-ratio: 156 / 53;
}

.footer__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .footer__inner {
    padding: 64px var(--side-pad-desktop);
    gap: 48px;
  }
  .footer__legal {
    flex-direction: row;
    gap: 24px;
  }
  .footer__seal {
    width: 144px;
    aspect-ratio: 144 / 49;
  }
}

/* ==========================================================================
   Chat float
   ========================================================================== */
.chat-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--light);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-default);
  z-index: 50;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}

.chat-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.2);
}

.chat-float img {
  width: 28px;
  height: 28px;
}

@media (min-width: 768px) {
  .chat-float {
    right: 24px;
    bottom: 24px;
  }
}
