/* =========================================================
   GLOBAL (reset, fontes e layout global)
========================================================= */

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   FONTES
========================= */
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600&display=swap");

@font-face {
  font-family: "Cheri";
  src: url("../fonts/Cheri-Regular.woff2") format("woff2");
}

/* =========================
   BASE
========================= */
body {
  font-family: "Comfortaa", sans-serif;
  color: #3e3e3e;
}

/* =========================
   TIPOGRAFIA
========================= */
.title-elegant {
  font-family: "Cheri", cursive;
  font-weight: normal;
  color: #4a4a4a;
  line-height: 1.3;
}

.title-elegant span {
  color: #cfb1d1;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 8%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  transition: 0.3s;
}

.nav-menu a {
  white-space: nowrap;
}

.navbar.scrolled {
  background: #ffffff;
}

.logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #5a5a5a;
  padding: 8px 16px;
  border-radius: 20px;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  background: #cfb1d1;
  color: white;
}

.social {
  display: flex;
  gap: 15px;
  margin-left: 30px;
  position: relative;
  z-index: 10;
}

.social--mobile {
  color: #ffffff;
  display: none;
}

.social a {
  width: 38px;
  height: 38px;
  background: #e7d0e6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social a svg {
  width: 18px;
  height: 18px;
  stroke: #cfb1d1;
  fill: none;
  stroke-width: 2;
}

.social a:hover {
  background: #cfb1d1;
}

.social a:hover svg {
  stroke: white;
}

.cart-button {
  margin-left: 18px;
  background: #cfb1d1;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.cart-button svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 1.8;
}

.cart-button:hover {
  background: #b59ac9;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #cfb1d1;
  border-radius: 5px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #eadaea;
  color: white;
  padding: 70px 10%;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.footer-logo {
  background: #e9e2e8;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  height: 250px;
  width: 300px;
  margin: 0 auto;
  border-radius: 20px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-item .icon svg {
  width: 18px;
  height: 18px;
  fill: #8e44ad;
}

.footer-item p {
  margin: 0;
  line-height: 1.5;
  color: #6c6d75;
  text-align: left;
}

.footer-bar {
  background: #9f4da5;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: #fce6e2;
  font-size: 14px;
  transition: 0.3s;
  align-items: center;
}

.footer-links a:hover {
  color: white;
}

.footer hr {
  margin: 40px 0;
  border: none;
  height: 1px;
  background: #e7d0e6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 1.8;
}

.footer-social a:hover {
  background: white;
}

.footer-social a:hover svg {
  stroke: #cfb1d1;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-col {
  max-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #9f4da5;
}

.footer-col p {
  font-size: 14px;
  color: #6c6d75;
  line-height: 1.5;
}

.footer-col a {
  text-decoration: none;
  color: #6c6d75;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col a:hover {
  color: white;
}

/* =========================
   RESPONSIVO — layout global
========================= */
@media (max-width: 768px) {
  .navbar {
    padding: 18px 6%;
    gap: 12px;
  }

  .nav-menu{
    top: 110px;
  }

  .logo img {
    height: 100px;
  }

  .menu-toggle {
    display: flex;
    order: 3;
  }

  nav {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 15px;
    box-shadow: 0 12px 30px rgba(207, 177, 209, 0.2);
  }

  nav a {
    margin: 0;
  }

  nav.active {
    display: flex;
  }

  .social--desktop {
    display: none;
  }

  .social--mobile {
    display: flex;
    margin-left: 0;
    margin-top: 6px;
  }

  .social--mobile a {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e3cbe4;
  }

  .social--mobile a svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    stroke: white;
    fill: none;
    transform: scale(1.2);
  }

  .social--mobile a:hover {
    background: #9f4da5;
    transform: translateY(-2px);
  }

  .social--mobile a:hover svg {
    stroke: white;
  }

  .cart-button {
    order: 2;
    margin-left: auto;
    padding: 10px;
    border-radius: 12px;
  }

  .cart-button span {
    display: none;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-logo img {
    height: 70px;
  }

  .footer-links {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    margin-left: 0;
  }

  .footer-bottom {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-info {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-content: center;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-logo img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
  }

  .footer-item {
    display: flex;
    align-items: flex-start;  
    justify-content: center;
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-item p {
    margin: 0;
    max-width: 100%;
    text-align: center;
    line-height: 1.4;
  }

  .footer-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;

}
}
