/* =====================================================
   LUXE4RENT – style.css
   Mobile-first (375px base). Não há versão desktop.
   ===================================================== */

/* ─── VARIÁVEIS ─────────────────────────────────────── */
:root {
  --green-dark:    #193934;   /* fundo escuro principal (verde-floresta) */
  --green-mid:     #193934;   /* verde */
  --gold:          #CC903D;   /* dourado/ouro */
  --gold-light:    #DBA54E;   /* dourado claro (hover, accents) */
  --cream:         #FFF4E5;   /* creme / bege claro */
  --cream-dark:    #F0E3CC;   /* creme mais escuro */
  --black:         #0D0D0D;   /* preto profundo */
  --white:         #FFFFFF;
  --text-body:     #193934;   /* verde escuro para texto em fundo creme */
  --text-light:    #FFF4E5;   /* texto claro sobre fundos escuros */

  --font-display:  'Jomolhari', Georgia, serif;
  --font-body:     'Jost', sans-serif;

  --radius-card:   4px;
  --transition:    0.25s ease;
}

/* ─── RESET BÁSICO ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--black);
  max-width: 430px;     /* limite mobile */
  margin: 0 auto;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ─── UTILITÁRIOS ────────────────────────────────────── */
.dark-green  { background-color: var(--green-dark); }
.dark-bg     { background-color: var(--black); }
.cream-bg    { background-color: var(--cream); }
.gold        { color: var(--gold); }
.text-right  { text-align: right; }

.logo-script {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
  font-size: 2rem;
}
.logo-script--sm {
  font-size: 1.6rem;
}

/* ─── HERO / HEADER (Figma: BG preto 136:3, logo 136:4) ─ */
.hero {
  background-color: #000000;
  width: 100%;
  height: 175px; /* Figma: BG preto — 375×175 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.divide {
  height: 1px; /* Figma: divde 136:6 */
  background-color: #CC903D;
  opacity: 1;
}

.hero__logo {
  width: 162px;
  height: 58px;
  flex-shrink: 0;
  margin: 0 auto;
}

.hero__logo-img {
  width: 162px;
  height: 58px;
  max-width: none;
  object-fit: contain;
}

/* ─── INTRO GRID / Sessão 2 (Figma: 106:200, 106:201) ─ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
}

.intro-grid__cell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.intro-grid__cell--text,
.intro-grid__cell--text2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-grid__cell--img,
.intro-grid__cell--img2 {
  background-color: #000000;
}

.intro-grid__bag {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Figma: "Luxo inteligente" (106:200), "do seu jeito" (106:201) */
.intro-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  color: #CC903D;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

/* ─── SOBRE NÓS (Figma: Sobre 375×655, Foto Sobre, Texto Sobre) ─ */
.sobre {
  position: relative;
  width: 100%;
  height: 685px;
  background-color: #101010;
  overflow: hidden;
}

.sobre__extensao {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  max-height: 30px;
  background-color: #121918;
  z-index: 2;
}

.sobre__foto {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sobre__foto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.sobre__texto {
  position: absolute;
  top: 281px;
  left: 50%;
  transform: translateX(-50%);
  width: 305px;
  max-width: calc(100% - 70px);
  text-align: center;
  z-index: 1;
  box-sizing: border-box;
}

.sobre__titulo {
  width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -2px;
  color: #CC903D;
  text-transform: uppercase;
  text-align: center;
}

.sobre__fx {
  display: flex;
  justify-content: center;
  width: 248px;
  height: 12px;
  margin: -2px auto 0;
}

.sobre__fx svg {
  display: block;
  width: 248px;
  height: 12px;
  flex-shrink: 0;
}

.sobre__paragrafo {
  margin-top: 21px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 22px;
  color: #FFFFFF;
}

/* ─── A ESCOLHA CERTA ────────────────────────────────── */
.escolha {
  /* wrapper principal */
}

.escolha__hero {
  width: 100%;
  overflow: hidden;
}

.escolha__hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.escolha__cream {
  position: relative;
  width: 100%;
}

.escolha__divider {
  height: 21px;
  background-color: var(--cream);
}

.escolha__estrela {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  flex-shrink: 0;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}

.escolha__copy {
  width: 100%;
  height: 278px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  box-sizing: border-box;
  text-align: center;
}

.escolha__copy p {
  font-family: var(--font-body);
  font-size: 32px;
  line-height: 120%;
  letter-spacing: -0.05em;
  color: var(--text-body);
  font-weight: 300;
}

/* ─── 100% ORIGINAIS ─────────────────────────────────── */
.originais {
  width: 100%;
  overflow: hidden;
}

.originais__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ─── PRODUTOS (carrosséis) ──────────────────────────── */
.produtos {
  background-color: var(--green-dark);
  padding: 40px 0 48px;
}

.produtos__brand-label {
  text-align: center;
  padding: 28px 20px 12px;
}

.produtos__brand-label:first-child {
  padding-top: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #CC903D;
  text-align: center;
}

/* ── Carrossel ── */
.carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;  /* suavidade iOS */
  scroll-snap-type: x mandatory;
  scrollbar-width: none;              /* Firefox */
  cursor: grab;
  padding-bottom: 8px;               /* espaço para scroll em iOS */
}

.carousel::-webkit-scrollbar {
  display: none;                      /* Chrome/Safari */
}

.carousel:active {
  cursor: grabbing;
}

.carousel__track {
  display: flex;
  gap: 20px; /* Figma: ~20px entre cards de 240px */
  padding: 12px 20px 20px;
  padding-right: 48px;
}

/* Card de produto */
.carousel__card {
  flex: 0 0 auto;
  width: 145px;               /* não ocupa 100% → incentiva o swipe */
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  scroll-snap-align: start;
}

.carousel__card:active {
  transform: scale(0.97);
}

.carousel__card:hover {
  border-color: rgba(201,169,110,0.5);
}

.card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #e8dcc8; /* fallback próximo ao bege das fotos */
  overflow: hidden;
  line-height: 0;
}

.card__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.carousel__card:hover .card__img-wrap img {
  transform: scale(1.05);
}

.card__name {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-light);
  padding: 10px 8px 12px;
  font-weight: 300;
  text-align: center;
}

.card__name-extra {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  font-style: italic;
}

/* ─── CTA WHATSAPP (Figma: imagem + botão sobreposta) ─ */
.cta-whatsapp__img-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}

.cta-whatsapp__img {
  width: 100%;
  height: auto;
}

.cta-whatsapp__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

.cta-whatsapp__overlay .btn-whatsapp--cta {
  pointer-events: auto;
}

/* Botão WhatsApp */
.btn-whatsapp {
  display: inline-block;
  background-color: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background-color var(--transition), color var(--transition);
  text-align: center;
}

.btn-whatsapp:active,
.btn-whatsapp:hover {
  background-color: var(--gold);
  color: var(--black);
}

.btn-whatsapp--cta {
  background-color: #fff4e5;
  color: #1a3026;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  border-radius: 2px;
  white-space: nowrap;
}

.btn-whatsapp--cta:hover,
.btn-whatsapp--cta:active {
  background-color: #fff4e5;
  color: #1a3026;
}

/* ─── MVV ────────────────────────────────────────────── */
.mvv {
  padding: 48px 16px 56px;
}

.mvv__item + .mvv__item {
  margin-top: 32px;
}

.mvv__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: #CC903D;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mvv__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: #193934;
  letter-spacing: -0.05em;
}

.mvv__divider {
  width: 350px;
  max-width: 100%;
  height: 1px;
  margin: 32px auto 0;
  background-color: #CC903D;
  opacity: 1;
}

/* ─── FOOTER (Figma: fundo #000, logo 170×62) ───────── */
.footer.dark-bg {
  background-color: #000000;
}

.footer {
  padding: 32px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border-top: none;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  flex-shrink: 0;
  margin-top: -8px;
}

.footer__logo-img {
  display: block;
  width: 170px;
  height: 62px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.footer__icons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
}

.footer__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity var(--transition);
}

.footer__icon-item:hover,
.footer__icon-item:active {
  opacity: 0.85;
}

.footer__icon-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer__icon-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  color: #9C9C9C;
  text-align: center;
}

.footer__divider {
  width: 270px;
  height: 1px;
  background-color: #FFFFFF;
  flex-shrink: 0;
}

.footer__copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
  color: #9C9C9C;
  text-align: center;
}

/* ─── MODAL (Figma: Pop-ups 335px) ───────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 335px;
  background-color: #00120F;
  border-radius: 4px;
  overflow: hidden;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #FFF4E5;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal__topo {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 130px;
  padding: 14px 14px 15px;
  background-color: #1B5048;
}

/* Peekaboo: grid Figma — bolsa 101px | alça 76×44 topo | texto abaixo até base da bolsa */
.modal__topo--with-extra {
  display: grid;
  grid-template-columns: 101px minmax(0, 1fr);
  grid-template-rows: 44px 57px;
  column-gap: 8px;
  row-gap: 0;
  align-items: stretch;
  min-height: 130px;
  padding: 14px 14px 15px;
}

.modal__topo--with-extra .modal__topo-img-wrap {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
}

.modal__topo--with-extra .modal__topo-extra-wrap {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: start;
}

.modal__topo--with-extra .modal__topo-text {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding-right: 22px;
}

.modal__topo-extra-wrap {
  width: 76px;
  height: 44px;
  border-radius: 8px;
  background-color: #00120F;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px 8px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.modal__topo-extra-wrap[hidden] {
  display: none !important;
}

.modal__topo-extra-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__topo-img-wrap {
  flex: 0 0 101px;
  width: 101px;
  height: 101px;
  overflow: hidden;
  border-radius: 8px;
  background: #FFF4E5;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal__topo-text {
  flex: 1;
  min-width: 0;
  padding-right: 20px;
}

.modal__topo--with-extra .modal__brand {
  margin: 0 0 4px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.modal__topo--with-extra .modal__title {
  margin: 0;
  gap: 3px;
}

.modal__topo--with-extra .modal__title-name {
  font-size: 14px;
  line-height: 1.25;
}

.modal__topo--with-extra .modal__title-note {
  font-size: 12px;
  line-height: 1.25;
}

.modal__brand {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 244, 229, 0.4);
  margin: 0 0 6px;
}

.modal__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #FFF4E5;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal__title-name,
.modal__title-note {
  display: block;
}

.modal__title-note {
  font-size: 0.75rem;
  line-height: 1.3;
}

.modal__title-note[hidden] {
  display: none !important;
}

.modal__pricing {
  padding: 16px 14px 18px;
  background-color: #00120F;
}

.modal__rent-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #FFF4E5;
  margin: 0 0 6px;
  text-align: center;
}

.modal__rent-label--sm {
  font-size: 0.62rem;
  margin-bottom: 4px;
}

.modal__price-main {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 500;
  color: #FFF4E5;
  text-align: center;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #CC903D;
  border-radius: 2px;
}

.modal__rent-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.modal__rent-col {
  flex: 1;
  text-align: center;
}

.modal__price-chip {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: #FFF4E5;
  margin: 0;
  padding: 6px 8px;
  background: #1B5048;
  border-radius: 2px;
}

.modal__market {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: rgba(255, 244, 229, 0.3);
  text-align: center;
  margin: 0;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid #0B1E1B;
  border-radius: 2px;
}

.btn-whatsapp--modal {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 18px;
  text-align: center;
}

/* ─── ACESSIBILIDADE: foco visível ───────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
