:root {
  --title-font-family: "Cinzel Decorative", sans-serif;
  --bg: #fcf9f8;
  --brown: #775a19;
  --gray: #78716c;
  --light-pink: #ffdea5;
  --dark: #1c1b1b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  background: var(--bg);
  font-family: "Poppins", sans-serif;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: clip;
}

section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  width: 100%;
  min-height: 100vh;
}

.hero {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  background: url("https://images.unsplash.com/photo-1640685270311-49830c7a64e9?q=80&w=327&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center bottom / cover no-repeat;
}

.hero-left-bg,
.hero-right-bg {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 576px;
  height: fit-content;
}

.hero-left-bg {
  gap: 1.5rem;
}

/* Conteúdo do Hero */
.hero-left-bg .overlay {
  font-size: 1rem;
  color: var(--light-pink);
  letter-spacing: 0.3rem;
  line-height: 1.5rem;
  width: 100%;
}

h1 {
  width: 100%;
  font-family: var(--title-font-family);
  font-size: 4rem;
  line-height: 5rem;
  color: #fff;
  letter-spacing: -0.08rem;
}

.hero-subtitle {
  width: 100%;
  color: #dcd9d9;
  font-size: 1.125rem;
  line-height: 1.8rem;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  height: fit-content;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}

.fa-circle-down {
  width: auto;
  font-size: 2.5rem;
  color: var(--brown);
}

.inst {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

/* Card com temporizador */
.hero-right-bg {
  justify-content: center;
  align-items: center;
}
.hero-right-card {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: solid 1px rgba(197, 160, 89, 0.2);
  backdrop-filter: blur(12px);
  aspect-ratio: 1 / 1;
  width: fit-content;
  max-width: 400px;
  height: fit-content;
  border-radius: 12px;
  margin-top: -0.6rem;
  gap: 2rem;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  height: fit-content;
}

.t-menos {
  padding: 0.25rem 1rem;
  background: var(--brown);
  color: #fff;
  text-align: center;
  font-size: 0.625rem;
  position: relative;
  z-index: 2;
}

.number {
  font-family: var(--title-font-family);
  color: var(--light-pink);
  font-size: 3rem;
}

.two-point {
  font-family: var(--title-font-family);
  color: var(--light-pink);
  font-size: 3rem;
  margin-top: -1.6rem;
}

.text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.details {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Segunda seção */
.goals-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.goals-title .subtitle {
  font-size: 1rem;
  color: var(--brown);
  text-transform: uppercase;
}

h2 {
  font-family: var(--title-font-family);
  font-weight: 600;
  font-size: 3rem;
  color: var(--dark);
}

.goals-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 24rem);
  width: 100%;
  height: fit-content;
  gap: 1.5rem;
}

.goals-container div {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 2rem;
  object-fit: cover;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.card1 {
  background: url("https://images.unsplash.com/photo-1701308356218-7d2de87e9de7?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center center / cover no-repeat;
  grid-column: span 2;
}
.card2 {
  background: url("https://images.unsplash.com/photo-1542744173-05336fcc7ad4?q=80&w=802&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center center / cover no-repeat;
  grid-column: span 1;
  grid-column-start: 3;
}
.card3 {
  background: url("https://images.unsplash.com/photo-1532619675605-1ede6c2ed2b0?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center center / cover no-repeat;
  grid-column: span 1;
}
.card4 {
  background: url("https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?q=80&w=876&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center center / cover no-repeat;
  grid-column: span 2;
}

/* Terceira Seção */
.desires {
  min-height: fit-content !important;
}

.desires h2 {
  align-self: start;
}

.desires-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  height: auto;
}

.desires-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: fit-content;
  height: fit-content;
  aspect-ratio: 140 / 229;
  max-width: 280px;
  padding-bottom: 2rem;
}

.desires-base {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: cover;
}

.desires-card h5 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
}

.desires-subtitle {
  font-size: 0.785rem;
  height: fit-content;
  margin-top: -1.25rem;
}

/* Quarta Seção */
.message {
  background: #313030;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.star {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: fit-content;
  height: fit-content;
  aspect-ratio: 1 / 1;
  border-radius: 99px;
  color: #313030;
  font-size: 1rem;
  padding: 0.5rem;
  background: var(--light-pink);
}

.message-title {
  max-width: 800px;
  width: 100%;
  color: #fff;
  font-size: 3rem;
  font-family: var(--title-font-family);
  line-height: 3.6rem;
}

.message-subtitle {
  color: var(--light-pink);
  font-size: 1rem;
  letter-spacing: 0.2rem;
}

.sign {
  margin-top: -2rem;
  color: #fff;
  font-size: 1.125rem;
}

footer {
  background: var(--bg);
  padding: 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--title-font-family);
  font-size: 1.7rem;
  color: var(--dark);
}

footer h6 {
  margin: 0;
  font-weight: 600;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

footer img {
  height: 30px;
  width: auto;
}

/* Responsividade */
/* Mobile */
@media (max-width: 767px) {
  h1 {
    font-size: 3rem;
    line-height: 3.2rem;
  }

  h2,
  .message-title {
    font-size: 1.8rem;
    line-height: 2rem;
  }

  .goals-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 50vw);
  }

  .card1 {
    grid-column: 1;
    grid-row-start: 1;
  }

  .card2 {
    grid-column: 1;
    grid-row-start: 2;
  }

  .card3 {
    grid-column: 1;
    grid-row-start: 3;
  }

  .card4 {
    grid-column: 1;
    grid-row-start: 4;
  }

  footer img {
    display: none;
  }
}

/* Ajustes de Fontes */
@media (min-width: 320px) {
  :root {
    font-size: 11px;
  }
}
@media (min-width: 375px) {
  :root {
    font-size: 12px;
  }
}
@media (min-width: 425px) {
  :root {
    font-size: 13px;
  }
}
@media (min-width: 768px) {
  :root {
    font-size: 14px;
  }
}
@media (min-width: 1024px) {
  :root {
    font-size: 15px;
  }
}
@media (min-width: 1440px) {
  :root {
    font-size: 16px;
  }
}
