:root {
  --green: #556B2F;
  --wine: #990000;
  --beige: #D2B48C;
  --dark: #2F4F4F;
  --white: #ffffff;
  --soft: #f7f4ef;
  --text: #1f2d2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  background: var(--soft);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(47, 79, 79, 0.08);
}

.header-content {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 170px;
  border-radius: 18px;
}

/* BOTÕES */

.header-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 999px;
  font-weight: 900;
  transition: 0.3s ease;
  cursor: pointer;
}

.header-btn {
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
}

.primary-btn {
  background: var(--wine);
  color: var(--white);
  padding: 18px 30px;
  box-shadow: 0 16px 34px rgba(153, 0, 0, 0.22);
}

.secondary-btn {
  background: var(--dark);
  color: var(--white);
  padding: 18px 28px;
  min-width: 240px;
}

.header-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* ÍCONE WHATSAPP */

.whatsapp-svg {
  width: 22px;
  height: 22px;
  color: currentColor;
  flex-shrink: 0;
}

/* HERO */

.hero {
  padding: 84px 0 40px;

  background:
    radial-gradient(circle at top right,
    rgba(210, 180, 140, 0.42),
    transparent 35%),

    linear-gradient(
      135deg,
      #f7f4ef 0%,
      #eef1e7 100%
    );

  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  align-items: center;
}

.tag,
.section-tag {
  display: inline-flex;

  background: rgba(85, 107, 47, 0.12);
  color: var(--green);

  padding: 8px 14px;

  border-radius: 999px;
  font-weight: 900;

  margin-bottom: 18px;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  color: var(--dark);
  line-height: 1.02;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.7;
  color: #405653;
  max-width: 620px;
}

.hero-benefits {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  font-weight: 900;
  color: var(--dark);
}

.small-text {
  margin-top: 18px;
  font-size: 14px !important;
  color: #60706d !important;
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 540px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;

  width: 440px;
  height: 440px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(210, 180, 140, 0.72),
      transparent 68%
    );

  filter: blur(10px);

  animation: pulseGlow 3.5s ease-in-out infinite;
}

.hero-bed {
  position: relative;
  z-index: 2;

  width: min(640px, 100%);

  filter:
    drop-shadow(
      0 32px 48px rgba(0, 0, 0, 0.24)
    );

  animation:
    bedEnter 1s ease forwards,
    bedFloat 4s ease-in-out infinite 1s;
}

.hero-badge {
  position: absolute;

  left: 18px;
  bottom: 38px;

  z-index: 3;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);

  border-radius: 22px;

  padding: 16px 18px;

  border: 1px solid rgba(47, 79, 79, 0.08);

  box-shadow:
    0 18px 36px rgba(0,0,0,0.12);

  animation:
    badgeEnter 1s ease forwards 0.3s;

  opacity: 0;
}

.hero-badge span {
  display: block;

  color: var(--wine);

  font-size: 13px;
  font-weight: 900;

  margin-bottom: 4px;
}

.hero-badge strong {
  display: block;

  font-family: "Playfair Display", serif;

  color: var(--dark);

  font-size: 24px;
}

/* CARROSSEL */

.hero-carousel-section {
  margin-top: 26px;
  padding-top: 12px;
}

.carousel-title {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 20px;
}

.carousel-title span {
  font-family: "Playfair Display", serif;
  color: var(--green);

  font-size: 30px;
  font-weight: 800;
}

.carousel-title p {
  color: #52615e;
  font-size: 16px;
}

.models-carousel {
  width: 100%;
  overflow: hidden;

  mask-image:
    linear-gradient(
      to right,
      transparent,
      black 8%,
      black 92%,
      transparent
    );

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent,
      black 8%,
      black 92%,
      transparent
    );
}

.models-track {
  display: flex;
  gap: 18px;

  width: max-content;

  animation:
    modelsCarousel 32s linear infinite;
}

.models-carousel:hover .models-track {
  animation-play-state: paused;
}

.model-card {
  width: 360px;
  min-height: 150px;

  flex: 0 0 auto;

  display: grid;
  grid-template-columns: 130px 1fr;

  align-items: center;

  gap: 16px;

  background: rgba(255,255,255,0.82);

  backdrop-filter: blur(10px);

  border-radius: 28px;

  padding: 18px;

  border:
    1px solid rgba(47,79,79,0.08);

  box-shadow:
    0 16px 34px rgba(0,0,0,0.06);
}

.model-card img {
  width: 130px;
  height: 110px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 15px 20px rgba(0,0,0,0.14)
    );
}

.model-card strong {
  display: block;

  font-family: "Playfair Display", serif;

  color: var(--dark);

  font-size: 22px;

  margin-bottom: 8px;
}

.model-card span {
  color: #52615e;
  line-height: 1.45;
  font-size: 15px;
}

/* SECTIONS */

.section {
  padding: 80px 0;
}

.why {
  background: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 22px;

  margin-top: 30px;
}

.card {
  background: var(--soft);

  border:
    1px solid rgba(47,79,79,0.08);

  border-radius: 28px;

  padding: 32px;

  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 36px rgba(0,0,0,0.08);
}

.card h3,
.locations h3 {
  font-family: "Playfair Display", serif;

  color: var(--green);

  font-size: 28px;

  margin-bottom: 10px;
}

.card p,
.offer p,
.locations p,
.final-cta p {
  line-height: 1.7;
  color: #52615e;
  font-size: 18px;
}

/* OFFER */

.offer {
  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--dark)
    );
}

.offer-box {
  background: rgba(255,255,255,0.95);

  border-radius: 36px;

  padding: 44px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

/* LOCATIONS */

.locations {
  background: var(--soft);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 22px;

  margin-top: 28px;
}

.locations-grid > div {
  background: var(--white);

  padding: 32px;

  border-radius: 28px;

  border:
    1px solid rgba(47,79,79,0.08);

  transition: 0.3s ease;
}

.locations-grid > div:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 34px rgba(0,0,0,0.06);
}

/* FINAL CTA */

.final-cta {
  background: var(--wine);

  color: var(--white);

  text-align: center;

  padding: 90px 0;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  color: rgba(255,255,255,0.84);

  margin-bottom: 30px;
}

.final-cta .primary-btn {
  background: var(--beige);
  color: #2b231b;
}

/* FLOATING */

.floating-whatsapp {
  position: fixed;

  right: 22px;
  bottom: 22px;

  background: #25D366;
  color: white;

  font-weight: 900;

  padding: 15px 22px;

  border-radius: 999px;

  box-shadow:
    0 16px 34px rgba(0,0,0,0.24);

  z-index: 999;

  transition: 0.3s ease;

  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
}

/* ANIMAÇÕES */

@keyframes bedEnter {

  from {
    opacity: 0;
    transform:
      translateY(35px)
      scale(0.94);
  }

  to {
    opacity: 1;
    transform:
      translateY(0)
      scale(1);
  }
}

@keyframes bedFloat {

  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseGlow {

  0%, 100% {
    opacity: 0.55;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes badgeEnter {

  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modelsCarousel {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* RESPONSIVO */

@media (max-width: 980px) {

  .hero-grid,
  .cards,
  .locations-grid,
  .offer-box {
    grid-template-columns: 1fr;
  }

  .offer-box {
    display: grid;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-bed {
    width: 100%;
  }

  .hero-badge {
    left: 12px;
    bottom: 10px;
  }

  .carousel-title {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {

  .header-content {
    height: auto;

    padding: 14px 0;

    gap: 14px;

    flex-direction: column;
  }

  .logo {
    width: 140px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-text p,
  .card p,
  .offer p,
  .locations p,
  .final-cta p {
    font-size: 17px;
  }

  .cards,
  .locations-grid {
    gap: 18px;
  }

  .card,
  .locations-grid > div {
    padding: 24px;
  }

  .offer-box {
    padding: 28px;
  }

  .section {
    padding: 58px 0;
  }

  .model-card {
    width: 310px;
    grid-template-columns: 110px 1fr;
  }

  .model-card img {
    width: 110px;
    height: 95px;
  }

  .floating-whatsapp {
    left: 18px;
    right: 18px;

    justify-content: center;
  }
}

@media (max-width: 560px) {

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .primary-btn,
  .secondary-btn,
  .header-btn {
    width: 100%;
  }

  .hero-badge strong {
    font-size: 20px;
  }

  .hero-glow {
    width: 280px;
    height: 280px;
  }

  .carousel-title span {
    font-size: 26px;
  }

  .model-card {
    width: 280px;
    min-height: 132px;

    grid-template-columns: 96px 1fr;

    border-radius: 22px;

    padding: 14px;
  }

  .model-card img {
    width: 96px;
    height: 82px;
  }

  .model-card strong {
    font-size: 19px;
  }

  .model-card span {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .header {
    display: none;
  }

  .hero {
    padding: 0 0 42px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    min-height: auto;
    padding: 32px 0 10px;
  }

  .hero-bed {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-glow {
    width: 260px;
    height: 260px;
  }

  .hero-badge {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
  }

  .hero-text {
    text-align: left;
  }

  h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .hero-text p {
    font-size: 17px;
  }

  .primary-btn {
    width: 100%;
  }

  .floating-whatsapp {
    left: 18px;
    right: 18px;
    justify-content: center;
  }
}