/* ===========================================================
   Living Full 25h — Landing Page (Hero)
   Estilos principais. Responsividade em mobile.css.
   Escala tipográfica em fontes.css.
   =========================================================== */

/* -----------------------------------------------------------
   1. Design tokens
   ----------------------------------------------------------- */
:root {
  /* Paleta */
  --c-brown-900: #5c3f29;   /* marrom escuro (canto inferior esq.) */
  --c-brown-700: #8a6444;   /* marrom médio */
  --c-brown-500: #b1865b;   /* marrom claro */
  --c-beige-300: #ffffff;   /* bege quente */
  --c-beige-100: #ddcbb5;   /* bege do card */
  --c-terracota: #bd7a5a;   /* marrom/terracota do botão */
  --c-terracota-dark: #a8664a;
  --c-pin: #ac785a;         /* marrom do pin de localização */
  --c-olive: #7c7a52;       /* verde oliva (barra inferior) */
  --c-olive-dark: #6f6d49;
  --c-white: #ffffff;
  --c-white-70: rgba(255, 255, 255, 0.72);
  --c-white-45: rgba(255, 255, 255, 0.45);

  /* Fontes */
  --font-sans: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  /* Layout */
  --form-h: 140px;                 /* altura da barra oliva (desktop) */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -----------------------------------------------------------
   2. Reset leve / base
   ----------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-white);
  background: var(--c-brown-700);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* -----------------------------------------------------------
   3. Hero — estrutura geral
   ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(90deg, #90623B 14%, #E3DED5 100%);
}

.hero__inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 3vh;
  padding-bottom: 3vh;
}

.hero .row { width: 100%; }

/* -----------------------------------------------------------
   4. Coluna esquerda — conteúdo
   ----------------------------------------------------------- */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 2.6vh, 2.3rem);
  max-width: 560px;
}

.hero__logo {
  width: clamp(220px, 20vw, 290px);
  height: auto;
}

/* Ajuste da logo apenas no desktop */
@media (min-width: 992px) {
  .hero__logo {
    width: clamp(300px, 27vw, 400px);
    margin-top: -7rem;
  }
}

/* Título principal */
.hero__title {
  margin: 0;
  width: clamp(300px, 42vw, 618px);
  height: auto;
}
.hero__title strong { font-weight: 700; }

.hero__title-serif {
  display: block;
  margin-top: 0.28em;
  font-family: "aw-conqueror-didot", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.015em;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

/* Bloco destaque: Studios e 2 quartos */
.hero__highlight {
  padding-left: 1.05rem;
  border-left: 3px solid var(--c-white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.22;
  letter-spacing: 0.01em;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
}

/* Pill "Um projeto Airbnb-friendly*" — em fluxo, alinhada com os demais elementos da coluna */
.hero__airbnb {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0.8rem 0 0;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  background: #A56C4D;
  color: var(--c-white);
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
}

/* Botão/pill de localização */
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: flex-start;
  padding: 0;
  background: transparent;
  color: var(--c-white);
  border: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: clamp(0.72rem, 0.95vw, 0.9rem);
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.35s var(--ease);
}
.hero__location:hover {
  opacity: 0.8;
  color: var(--c-white);
}
.hero__location-icon {
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

/* Disclaimer legal abaixo do endereço */
.hero__disclaimer {
  margin: 3.4rem 0 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}
.hero__location-icon svg { width: 0.9rem; height: 0.9rem; }

/* Airbnb-friendly */
.hero__note {
  margin: 0;
  color: var(--c-white-70);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
}

/* -----------------------------------------------------------
   4b. Seção 25H / Transcender o tempo
   ----------------------------------------------------------- */
.tempo {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: clamp(4rem, 12vh, 8rem) 0;
}

.tempo__img {
  position: absolute;
  left: 0;
  top: 70%;
  transform: translateY(-50%);
  height: clamp(300px, 60vh, 620px);
  width: auto;
  opacity: 1;
  filter: saturate(1.12) contrast(1.08);
}

.tempo__inner {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-left: clamp(0.5rem, 1.5vw, 1.2rem);
}

.tempo__text {
  flex: 0 0 auto;
  width: clamp(240px, 26vw, 376px);
  height: auto;
}

/* Galeria / carrossel */
.tempo__gallery {
  flex: 1 1 auto;
  max-width: 640px;
  margin-left: auto;
}

.tempo__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 834 / 625;
  overflow: hidden;
}
.tempo__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.tempo__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tempo__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Navegação — Group 83: barras terracota centralizadas abaixo das imagens */
.tempo__nav {
  width: 100%;
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.tempo__arrow {
  flex: 0 1 150px;
  background: var(--c-terracota);
  border: none;
  padding: 0.28rem 1rem;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  transition: opacity 0.3s var(--ease);
}
.tempo__arrow:hover { opacity: 0.85; }
.tempo__arrow svg {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------
   5. Coluna direita — imagem + radial + card
   ----------------------------------------------------------- */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
}

/* Endereço abaixo da imagem */
.hero__visual .hero__location {
  position: relative;
  z-index: 1;
  align-self: center;
}

/* Elemento radial (SVG gerado via JS) */
.hero__radial {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 148%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.2s;
}
.hero__radial.is-visible { opacity: 1; }
.hero__radial svg { width: 100%; height: 100%; display: block; }

/* Moldura da imagem */
.hero__frame {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  border-radius: 10px;
  overflow: visible;
}
.hero__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  /* box-shadow: 0 30px 60px rgba(52, 30, 16, 0.4); */
}

/* Card sobreposto "5 min do parque olímpico" */
.hero__badge {
  position: absolute;
  right: 4%;
  bottom: -22px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
  background: var(--c-beige-100);
  color: #4b3a2a;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 0.92vw, 0.9rem);
  box-shadow: 0 14px 30px rgba(52, 30, 16, 0.3);
}
.hero__badge-icon {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-pin);
  color: var(--c-white);
}
.hero__badge-icon svg { width: 0.95rem; height: 0.95rem; }

/* -----------------------------------------------------------
   6. Barra inferior oliva + formulário
   ----------------------------------------------------------- */
.hero__formbar {
  position: relative;
  left: 0;
  right: 0;
  min-height: var(--form-h);
  padding: 1.2rem 0 0.6rem;
  background: var(--c-olive);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.form-lead {
  display: flex;
  align-items: flex-end;
  gap: clamp(1.2rem, 3vw, 3rem);
  width: 100%;
}

.form-lead__field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.form-lead__field label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white-70);
}
.form-lead__field input {
  width: 100%;
  padding: 0.35rem 0;
  color: var(--c-white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-white-45);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.3s var(--ease);
}
.form-lead__field input::placeholder { color: transparent; }
.form-lead__field input:focus {
  outline: none;
  border-bottom-color: var(--c-white);
}

/* Botão enviar */
.form-lead__submit {
  flex: 0 0 auto;
  padding: 0.95rem 2rem;
  background: var(--c-terracota);
  color: var(--c-white);
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.form-lead__submit:hover {
  background: var(--c-terracota-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(52, 30, 16, 0.32);
}

/* Crédito — linha própria abaixo do formulário */
.hero__credit {
  width: 100%;
  margin: 0.9rem 0 0;
  padding-right: clamp(1rem, 4vw, 3rem);
  text-align: right;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__credit strong { color: var(--c-white); font-weight: 700; }

/* Ajustes só de desktop */
@media (min-width: 768px) {
  /* endereço fica na coluna esquerda (some a versão mobile) */
  .hero__location--mob { display: none; }
  .hero__location--desk { margin-top: -0.8rem; }   /* desce o endereço no desktop */

  /* disclaimer: versão desktop fica em 1 linha na 2ª frase; versão mobile some */
  .hero__disclaimer--mob { display: none; }
  .hero__disclaimer--desk { white-space: nowrap; }

  /* separa um pouco o título (Group 9) do "Studios..." */
  .hero__highlight { margin-top: 0.7rem; }

  /* sem "Handmade by Sensorial" no desktop */
  .hero__credit { display: none; }

  /* sem o sunburst (Group.png / radial) no desktop */
  .hero__radial { display: none; }

  /* arrasta a imagem p/ a direita e sobe um pouco (margin/transform são bloqueados) */
  .hero__frame { left: 4.5rem; top: 0.5rem; }

  /* espaçamentos mais compactos → seção cabe sem scroll */
  .hero__inner { padding-top: 1.2vh; padding-bottom: 1.2vh; }
  .hero__content { gap: 1rem; }

  /* logo sobe mais e ganha distância própria até o título (Group 9) */
  .hero__logo { margin-top: -8.5rem; margin-bottom: 1.6rem; }

  /* seção acompanha a altura do conteúdo (imagem), sem sobra até 100vh */
  .hero { min-height: auto; }
}

/* Desktop (2 colunas): Group 85 dimensionada pela ALTURA → cabe em ~1 tela */
@media (min-width: 992px) {
  /* A primeira dobra desktop cabe inteira na viewport. */
  .hero {
    height: 92vh;
    height: 92svh;
    min-height: 0;
  }
  .hero__inner {
    position: relative;
    top: 2.5rem;
    height: 100%;
    flex: 0 0 auto;
  }
  .hero__content {
    position: relative;
    top: 1rem;
  }
  .hero__airbnb {
    margin: 1.6rem 0 0;
    padding: 0.75rem 1.5rem;
    font-size: 1.45rem;
  }
  .hero__logo {
    position: relative;
    top: -1rem;
    left: -0.5rem;
    margin-top: clamp(-9rem, -16vh, -3rem);
  }
  .hero__title {
    width: clamp(270px, 34vw, 510px);
    margin-top: -0.7rem;
  }
  .hero__highlight {
    position: relative;
    top: 1.5rem;
    margin-top: 0.7rem;
    font-size: clamp(1rem, 1.6vw, 1.4rem);
  }
  .hero__location--desk {
    position: relative;
    top: 2.5rem;
    margin-top: -0.8rem;
    font-size: clamp(0.65rem, 0.85vw, 0.8rem);
  }
  .hero__frame {
    width: min(46vw, 720px);
    max-width: none;
    flex-shrink: 0;
    /* Desce em telas amplas e reduz o deslocamento nos desktops menores. */
    top: clamp(0.5rem, 1.5vw, 2rem);
  }
  .hero__img {
    width: 100%;
    height: auto;
    max-width: none;
  }
}

/* Telas desktop baixas (janela pouco alta): o conteúdo não cabe de jeito nenhum
   em 92vh — solta a altura fixa e deixa rolar em vez de cortar */
@media (min-width: 992px) and (max-height: 700px) {
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: visible;
  }
  .hero__inner {
    position: static;
    height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .hero__content { position: static; }
  .hero__logo { position: static; margin-top: 0; }
  .hero__highlight { position: static; }
  .hero__location--desk { position: static; margin-top: 1rem; }
  .hero__frame { top: 0; }
}

/* -----------------------------------------------------------
   7. Animações de entrada (fade up/left/right)
   ----------------------------------------------------------- */
[data-anim] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
[data-anim="up"]    { transform: translateY(34px); }
[data-anim="left"]  { transform: translateX(-40px); }
[data-anim="right"] { transform: translateX(40px); }

[data-anim].is-visible {
  opacity: 1;
  transform: none;
}

/* Atrasos escalonados */
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }
[data-delay="5"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  [data-anim], .hero__radial { transition: none; opacity: 1; transform: none; }
}

/* -----------------------------------------------------------
   9. Footer (Handmade by Sensorial + logo)
   ----------------------------------------------------------- */
.site-footer {
  background: #A56C4D;
  padding: 1rem 0;
}

.site-footer__inner {
  text-align: center;
}

.site-footer__credit {
  margin: 0;
  font-size: clamp(7px, 0.9vw, 8px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.site-footer__credit a {
  color: var(--c-white);
  font-weight: 400;
  text-decoration: none;
}
.site-footer__credit a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .site-footer { padding: 1.2rem 0; }
  .site-footer__inner {
    text-align: right;
    padding-right: 3vw;
  }
}
