/********** RESET **********/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background:  #f5f0f0;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("/src/img/fundoGeom.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* deixa o fundo suave */

}

/********** HEADER **********/
header {
  width: 100%;
  height: 85px;
  padding: 0 48px;
  background-image: url("/src/img/fundoGeom.png");

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Espaço pro header fixo */
body {
  padding-top: 85px;
}

/********** LOGO **********/
.logo {
  height: 70px;
  width: auto;
  cursor: pointer;
}

/********** NAV **********/
nav#menu {
  display: flex;
  align-items: center;
}

/* links */
nav#menu a {
  margin-left: 28px;
  color: #0570eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

/* linha animada */
nav#menu a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F66B0E;
  transition: 0.3s;
}

nav#menu a:hover::after {
  width: 100%;
}

/********** CARRINHO **********/
.cart-icon img {
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.cart-icon img:hover {
  transform: scale(1.15);
}

/********** DROPDOWN **********/
.dropdown {
  position: relative;
}

.dropbtn {
  margin-left: 28px;
  cursor: pointer;
}

/* caixa do dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;

  background: #fff;
  min-width: 190px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  overflow: hidden;
  z-index: 50;
}

.dropdown-content a {
  display: block;
  padding: 10px 18px;
  font-size: .95rem;
}

.dropdown-content a:hover {
  background: #f0f0f0;
  color: #F66B0E;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/********** HAMBURGER **********/
/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #0f55d8;
  border-radius: 3px;
  transition: 0.3s;
}

/* ANIMAÇÃO */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 1100;
  }

  nav#menu {
    display: none;
    position: fixed;
    top: 75px;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
  }

  nav#menu a {
    margin: 15px 0;
    font-size: 1.1rem;
  }

  nav#menu.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }
}



/********** CONTATO **********/
.contato-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contato-info,
.contato-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.contato-info h2,
.contato-form h2 {
  color: #0f55d8;
  margin-bottom: 15px;
}

.contato-info p {
  color: #444;
  margin-bottom: 6px;
}

.contato-itens a {
  display: block;
  margin-top: 10px;
  color: #0f55d8;
  font-weight: 600;
  text-decoration: none;
}

.contato-itens a:hover {
  text-decoration: underline;
}

/********** FORM **********/
.contato-form input,
.contato-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;

  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.contato-form textarea {
  height: 120px;
  resize: none;
}

.contato-form button {
  width: 100%;
  padding: 14px;
  background: #0f55d8;

  color: #fff;
  font-size: 16px;
  font-weight: bold;

  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contato-form button:hover {
  background: #093b9c;
}

/********** MAPA **********/
.mapa-contato {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.mapa-contato h2 {
  text-align: center;
  color: #0f55d8;
  margin-bottom: 20px;
}

.mapa-box {
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.mapa-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/********** FOOTER **********/
.footer {
  background: #111;
  color: #eee;
  padding: 40px 20px 10px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 250px;
  margin: 15px;
}

.footer-section h3,
.footer-section h4 {
  color: #0dcaf0;
  margin-bottom: 10px;
}

.footer-section p,
.footer-section li {
  opacity: .8;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  font-size: .9rem;
  opacity: .6;
}
/* =================================================
   ✅ NOTEBOOKS MÉDIOS (até 1200px)
================================================= */
@media (max-width: 1200px) {
  .contato-container {
    max-width: 1000px;
    gap: 30px;
  }

  header {
    padding: 0 32px;
  }
}

/* =================================================
   ✅ TABLETS (até 1024px)
================================================= */
@media (max-width: 1024px) {
  .contato-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
  }

  .contato-info,
  .contato-form {
    padding: 25px;
  }

  .mapa-box {
    height: 330px;
  }

  header {
    height: 80px;
  }

  body {
    padding-top: 80px;
  }
}

/* =================================================
   ✅ SMARTPHONES GRANDES (até 768px)
================================================= */
@media (max-width: 768px) {
  header {
    padding: 0 20px;
    height: 75px;
  }

  body {
    padding-top: 75px;
  }

  .logo {
    height: 58px;
  }

  .contato-container {
    padding: 15px;
  }

  .contato-info h2,
  .contato-form h2 {
    font-size: 1.3rem;
  }

  .mapa-box {
    height: 300px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* =================================================
   ✅ SMARTPHONES PEQUENOS (até 480px)
================================================= */
@media (max-width: 480px) {
  header {
    padding: 0 15px;
    height: 70px;
  }

  body {
    padding-top: 70px;
  }

  .logo {
    height: 52px;
  }

  nav#menu {
    width: 210px;
  }

  .contato-info,
  .contato-form {
    padding: 20px;
  }

  .contato-form input,
  .contato-form textarea {
    font-size: 14px;
    padding: 12px;
  }

  .contato-form button {
    font-size: 15px;
    padding: 12px;
  }

  .mapa-box {
    height: 260px;
  }

  .footer {
    padding: 30px 15px 10px;
  }
}

