/* variables */
:root {
  --bg-color: #F5ECE4;
  --primary-color: #734425;
  --secondary-color: #c25719;
  --black: #2E2E2E;
  --heading-font: "Outfit", sans-serif;
}

/* global properties */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.btn {
  color: #fff;
  padding: 8px 20px;
  font-weight: 500;
}

.radius {
  border-radius: 10px;
}

a {
  text-decoration: none;
  display: inline-block;
}

img {
  width: 100%;
}

.w-full {
  width: calc(100vw - 10rem) !important;
  max-width: 1440px;
  margin: auto;
}

/* for all headings */
.heading {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 6.5vw;
  color: var(--primary-color);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1.4rem;
}

/* local properties */

/* header */

header {
  padding: 1rem 0;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 1;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  max-width: 132px;
}

header .btn {
  background-color: var(--secondary-color);
}

#main {
  overflow: hidden;
}

#chinelo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1.3%;
  width: 50vw;
  max-width: 660px;
  filter: drop-shadow(8px 35px 6px #00000025);
  will-change: transform;
  z-index: 9;
}

/* section 1 */

#section1 {
  height: 100vh;
  width: 60vw;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#section1 h1 {
  font-size: 11.5vw;
  line-height: 0.85;
  margin-bottom: 0;
}

/* section 2 */

#section2 {
  min-height: 100vh;
  padding-top: 4vw;
}

#section2 .btn {
  background-color: var(--black);
  margin-top: 1.8rem;
}

#section2 .content-wrapper {
  max-width: 500px;
}

.feature-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 8vw;
}

.feature-box {
  border: 2px solid var(--black);
  padding: 1.2vw 1.4vw;
}

.feature-name {
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* section 3 */

#section3 {
  min-height: 100vh;
  padding-top: 4vw;
  padding-bottom: 4vw;
}

#section3 .heading {
  font-size: clamp(2rem, 12.5vw, 13.5rem);
  text-align: center;
  text-wrap: balance;
  margin-bottom: 3vw;
}

#section3 video {
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 30px #73442536;
}

#section3 .content {
  max-width: 500px;
  margin-left: auto;
}

#section3 p {
  margin-top: 1rem;
}

/* section 4 */

#section4 {
  min-height: 100vh;
  position: relative;
}

#section4 img {
  border: 10px solid #fff;
  box-shadow: 0 0 30px #73442536;
  position: absolute;
}

#section4 .img1 {
  max-width: 260px;
  top: 12%;
  left: 3%;
  transform: rotate(15deg);
}

#section4 .img2 {
  max-width: 470px;
  right: 4%;
  top: 22%;
  transform: rotate(14deg);
}

#section4 .img3 {
  max-width: 340px;
  left: 10%;
  bottom: 12%;
  transform: rotate(-12deg);
}

/* section 5 */

#section5 {
  text-align: center;
  padding-top: 4vw;
  padding-bottom: 8vw;
  min-height: 94vh;
}

#section5 .product-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
}

#section5 img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(6px 15px 5px #00000018);
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
}

.product .name {
  font-size: 24px;
  font-weight: 500;
}

.product .price {
  font-size: 24px;
  font-weight: 700;
}

/* section 6 */

#section6 {
  min-height: 10vh;
  display: flex;
  align-items: start;
  gap: 5vw;
  padding-bottom: 8vw;
}

#section6 img {
  box-shadow: 0 0 30px #73442536;
}

#section6 p {
  margin-bottom: 1rem;
}

/* footer */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 2px solid var(--primary-color);
}

footer .logo {
  max-width: 132px;
}

footer .social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================
   RESPONSIVO — MOBILE FIRST
   ========================== */

/* Por padrão: imagem oculta no desktop */
.mobile-image-wrapper {
  display: none;
}
/* ---------- DESKTOP ---------- */
.header-mobile {
  display: none;
}

.header-desktop .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ---------- MOBILE ---------- */
@media (max-width: 991px) {

  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--bg-color);
    z-index: 100;
  }

  .nav-wrapper-mobile {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
  }

  .logoReal-mobile {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .whatsapp-btn-mobile {
    background-color: var(--secondary-color);
    font-size: 14px;
    padding: 6px 14px;
  }

  /* ⚠️ remover o conflito que quebrava o layout */
  header nav {
    flex-direction: row !important;
    gap: 0 !important;
  }
}
/* Mobile */
@media (max-width: 991px) {

  #section1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  #section1 .heading {
    font-size: 13vw !important;
  }

  .mobile-image-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .desktop-image-wrapper {
    display: none;
  }

  #havaianasTeste {
    width: 78vw;
    max-width: 380px;
    margin-top: 0.5rem;
    filter: drop-shadow(8px 30px 6px #00000025);
  }
}

/* ========= MENU / NAV BAR ========= */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo-text {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
}

.whatsapp-btn {
  background-color: var(--secondary-color);
  font-size: 16px;
  padding: 10px 22px;
  transition: .25s;
}

.whatsapp-btn:hover {
  transform: scale(1.04);
}


@media (max-width: 991px) {

  .w-full {
    width: calc(100vw - 2.4rem) !important;
  }



  header .btn {
    font-size: 14px;
    padding: 6px 16px;
  }


  /* HAVAIANAS PRINCIPAL */
  #chinelo {
    display: none;
  }


  /* SECTION 2 */
  #section2 {
    padding-top: 7rem;
  }

  #section2 .heading {
    font-size: 9vw !important;
  }

  #section2 .content-wrapper {
    max-width: 100%;
  }

  .feature-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 3rem;
  }

  .feature-box {
    padding: 1rem;
  }

  /* SECTION 3 */
  #section3 {
    padding-top: 7rem;
  }

  #section3 .heading {
    font-size: 10vw !important;
  }

  #section3 video {
    max-width: 100%;
  }

  #section3 .content {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  /* SECTION 4 — GALERIA */
  #section4 {
    min-height: auto;
    padding: 5rem 0;
  }

  #section4 img {
    position: static;
    display: block;
    max-width: 100%;
    margin: 1rem 0;
    transform: none !important;
    border-width: 6px;
  }

  /* SECTION 5 — MODELOS */
  #section5 {
    padding-top: 6rem;
  }

  #section5 .product-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #section5 img {
    max-width: 70vw;
  }

  .product .name {
    font-size: 20px;
  }

  .product .price {
    font-size: 16px;
  }

  /* SECTION 6 FINAL */
  #section6 {
    flex-direction: column;
    gap: 2rem;
    padding-top: 5rem;
  }

  #section6 img {
    width: 100%;
  }

  #section6 .heading {
    font-size: 9vw !important;
  }

  /* FOOTER */
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* animações mobile */
@media (max-width: 991px) {
  .fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}