/* ===================================================================================
   Isa Beauty - Contatos
   Objetivo: mesma identidade visual (header/footer) + página toda estilizada.
   =================================================================================== */

/* 01. RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  width: 100% !important;
}



body {
  background-color: #f0f0f0;
  overflow-x: hidden;
  /* Corta transbordamentos laterais em telas pequenas */
}


/* 02. CABEÇALHO (copiado/compactado do estilo existente nas páginas) */
.header-isa {
  background-color: #000000;
  color: #ffffff;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-isa {
  height: 80px;
  width: auto;
}

.nav-isa {
  flex: 1;
  display: flex;
  justify-content: center;
  height: 100%;
}

.menu-isa {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu-item-isa {
  text-decoration: none;
  color: #D4AF37;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-item-isa:hover,
.menu-item-isa.active {
  color: #ffffff;
}

.actions-isa {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-container {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cart-icon-isa {
  color: #D4AF37;
  transition: color 0.3s ease;
}

.cart-container:hover .cart-icon-isa {
  color: #ffffff;
}

.cart-badge-isa {
  background-color: #E74C3C;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -8px;
}

.search-container-isa {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 25px;
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  width: 300px;
  max-width: 100%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.search-container-isa:focus-within {
  border-color: #B8860B;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
}

.search-icon-isa {
  color: #888888;
  margin-left: 15px;
  flex-shrink: 0;
}

.search-input-isa {
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 13px;
  color: #333333;
  flex: 1;
  min-width: 0;
  background: transparent;
}

.search-input-isa::placeholder {
  color: #aaaaaa;
  font-style: italic;
}

.search-button-isa {
  background: linear-gradient(135deg, #CFB53B 0%, #B8860B 100%);
  color: #ffffff;
  border: none;
  height: 100%;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.search-button-isa:hover {
  opacity: 0.9;
}

.menu-toggle-isa {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle-isa span {
  width: 100%;
  height: 2px;
  background-color: #D4AF37;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: #0b0b0b;
  z-index: 2001;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.active .mobile-menu-drawer {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid #222;
  padding-bottom: 15px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #D4AF37;
  cursor: pointer;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-link {
  text-decoration: none;
  color: #D4AF37;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover,
.mobile-link.active {
  color: #ffffff;
  padding-left: 5px;
}

/* Select do menu categorias */
.menu-select-isa {
  background: transparent;
  color: #D4AF37;
  border: none;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease, background-image 0.3s ease;
  width: auto;
  max-width: 125px;
  display: inline-block;
  padding: 0 18px 0 0;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right center;
}

.menu-select-isa:hover {
  color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
}

.menu-select-isa option {
  background-color: #000000;
  color: #ffffff;
  font-size: 15px;
}

.menu-select-isa option:disabled {
  color: #888888;
}

/* =========================
   RESPONSIVIDADE HEADER (clonado do catálogo)
   ========================= */
@media (max-width: 991px) {
  .header-isa {
    padding: 0 30px;
    height: 85px;
  }

  .logo-isa {
    height: 60px;
  }

  .actions-isa {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .menu-toggle-isa {
    display: flex;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }


  .nav-isa {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #0b0b0b;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 120px 40px 40px 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1050;
  }

  .nav-isa.open {
    right: 0;
  }

  .menu-isa {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
  }

  .menu-item-isa {
    font-size: 19px;
    width: 100%;
    display: block;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }
}

@media (max-width: 650px) {
  .header-isa {
    padding: 0 20px;
  }

  .actions-isa {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
  }

  /* Remove peso do container de busca no mobile (mantém só o botão circular) */
  .search-container-isa {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .search-input-isa {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .search-icon-isa {
    display: none !important;
  }

  .search-button-isa {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    background: linear-gradient(135deg, #CFB53B 0%, #B8860B 100%) !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .search-button-isa .btn-text-isa {
    display: none !important;
  }

  .search-container-isa.active-search {
    width: 150px !important;
    border-radius: 25px !important;
    background-color: #ffffff !important;
    border: 1px solid #B8860B !important;
    padding-left: 15px !important;
    justify-content: flex-start !important;
  }

  .search-container-isa.active-search .search-input-isa {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: calc(100% - 50px) !important;
    padding: 0 10px !important;
  }

  .search-container-isa.active-search .search-button-isa {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
  }

  .menu-toggle-isa {
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
}



@media (max-width: 480px) {
  .header-isa {
    padding: 0 14px;
  }

  .actions-isa {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .menu-toggle-isa {
    margin-left: auto !important;
  }
}


/* 03. Preloader */
#isa-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0b0b0b;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.6s ease;
}

#isa-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo-container {
  max-width: 150px;
  height: auto;
  animation: pulseLogo 2s infinite ease-in-out;
}

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

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  border-top-color: #D4AF37;
  animation: spinLoader 1s linear infinite;
}

@keyframes spinLoader { to { transform: rotate(360deg); } }
@keyframes pulseLogo {
  0%, 100% { transform: scale(0.96); opacity: 0.8; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* 04. CONTEÚDO CONTACTOS */
.main-content-isa {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  padding-top: 120px; /* garante espaço do header fixo */
}

.contact-hero {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../img/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.contact-hero h1 {
  font-size: 2.6rem;
  color: #D4AF37;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.contact-hero p {
  font-size: 1.1rem;
  color: #e7e7e7;
  font-weight: 300;
}

.contact-form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 34px;
}

.contact-form {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 26px;
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.form-row label {
  font-weight: 600;
  color: #404040;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}

.btn-gold {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #CFB53B 0%, #B8860B 100%);
  transition: transform 0.15s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 25px rgba(184,134,11,0.25);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(184,134,11,0.32);
}

.contact-info {
  background: #0b0b0b;
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.08s;
}

.contact-info h2 {
  color: #D4AF37;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.contact-info ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.45;
  color: #eaeaea;
  font-size: 0.98rem;
}

.contact-info i {
  color: #D4AF37;
  margin-top: 3px;
}

/* 05. Estilizar imagens para não ficarem gigantes */
img {
  max-width: 100%;
  height: auto;
}

/* logo no header */
.header-isa .logo-isa {
  max-height: 80px;
  object-fit: contain;
}

/* preloader img */
#isa-preloader img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
}

/* 06. Footer (copiado do estilo existente nas páginas) */
.footer-isa {
  width: 100%;
  background: linear-gradient(to right, #ebd490 0%, #a38132 30%, #543f0e 50%, #a38132 70%, #ebd490 100%);
  position: relative;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 8% 50px 8%;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand-block {
  gap: 25px;
}

.footer-logo-wrapper {
  max-width: 180px;
  background-color: #000000;
  padding: 12px 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.footer-title {
  color: #E2C034;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 8px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #E2C034;
  transform: translateX(4px);
}

.footer-social-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  text-align: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.footer-social-section .footer-title {
  color: #ffffff;
}

.footer-social-section .footer-text {
  color: rgba(255, 255, 255, 0.95);
}

.footer-social-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.footer-social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.footer-social-links a i {
  font-size: 18px;
}

.footer-bottom-bar {
  background-color: #000000;
  width: 100%;
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-bar p {
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    padding: 50px 5%;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 25px;
    text-align: left;
  }

  .footer-logo-wrapper {
    align-self: flex-start;
  }

  .footer-links-list a:hover {
    transform: translateX(0);
  }
}

/* 07. Responsividade conteúdo */
@media (max-width: 1024px) {
  .contact-form-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 55px 15px;
  }

  .contact-hero h1 {
    font-size: 2.1rem;
  }

  .contact-form {
    padding: 18px;
  }
}

