/* Reset e Variáveis Globais */
:root {
  --primary-color: #9d7a5b;
  --primary-dark: #7a5d45;
  --primary-light: #c8a97e;
  --secondary-color: #6c757d;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #28a745;
  --error-color: #dc3545;
  --transition-speed: 0.4s;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark-color);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: #efe6dc;
  line-height: 1.6;
}

/* Efeito de Partículas */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.3;
}

/* Floating Shapes */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(157, 122, 91, 0.1);
  filter: blur(30px);
  animation: float-shapes 15s infinite linear;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: 15%;
  right: 10%;
  animation-delay: 3s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 20%;
  animation-delay: 6s;
}

@keyframes float-shapes {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-100px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/* Background */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/Background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  opacity: 0.08;
  filter: grayscale(30%);
}

/* Header */
.header-normal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: rgba(255, 255, 255, 0.98);
  position: relative;
  width: 100%;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all var(--transition-speed) ease;
  background-color: transparent;
}

.logo {
  width: 150px;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(var(--text-shadow));
  background-color: transparent;
}

.logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Menu de Navegação */
.menu {
  position: relative;
}

.menu ul {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 16px;
  transition: all var(--transition-speed) ease;
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.5px;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  transition: width var(--transition-speed) ease, opacity 0.3s ease;
  opacity: 0;
}

.nav-link:hover::before {
  width: 100%;
  opacity: 1;
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link.active::before {
  width: 100%;
  opacity: 1;
}

.menu-line {
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: left center;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-menu .bar {
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Intro Section */
.intro-section {
  padding: 100px 5% 60px;
  background-color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.intro-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  line-height: 1.2;
  text-align: center;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--dark-color);
}

/* Products Section */
.products-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  width: 350px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: 8px 8px 0 0;
  background: #f8f8f8;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  padding: 10px;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #333;
}

.product-description {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-info p {
  margin-bottom: 15px;
  flex-grow: 1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-social {
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.social-link:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.social-link i {
  font-size: 1.2rem;
}

/* Form Section */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: var(--text-shadow);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 2px;
}

.form-subtitle {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.96);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: perspective(1000px) rotateX(0deg);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.6s ease;
}

.form-container:hover {
  transform: perspective(1000px) rotateX(5deg);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form input[type="date"],
form select,
form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: all var(--transition-speed) ease;
  background-color: rgba(255, 255, 255, 0.8);
}

form input[type="text"]:focus,
form input[type="tel"]:focus,
form input[type="email"]:focus,
form input[type="date"]:focus,
form select:focus,
form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(157, 122, 91, 0.2);
  outline: none;
}

form select {
  appearance: none;
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      var(--primary-color) 50%
    ),
    linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form label[for="Aceito Termos"] {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

form label[for="Aceito Termos"] input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

form label[for="Aceito Termos"] a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

form label[for="Aceito Termos"] a:hover {
  text-decoration: underline;
}

form button[type="submit"] {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(157, 122, 91, 0.4);
}

form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(157, 122, 91, 0.6);
}

form button[type="submit"]:active {
  transform: translateY(-1px);
}

/* Estilos específicos para os novos campos de endereço */
.number-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.number-container .number-input {
  flex: 1;
}

.no-number-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--secondary-color);
  cursor: pointer;
}

.no-number-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}

.same-address-container {
  margin-bottom: 15px;
}

.same-address-container label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.same-address-container input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color), #2c3e50);
  color: white;
  padding: 40px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-logo .logo {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
  background-color: transparent;
}

.footer-logo:hover .logo {
  transform: scale(1.05) rotate(-5deg);
}

.footer-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-social {
  display: flex;
  justify-content: center;
  width: 100%;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
}

.social-icon:hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  transform: scale(1.1) translateY(-3px);
}

/* Responsividade */
@media (max-width: 1200px) {
  .intro-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .products-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .menu li {
    margin: 15px 0;
  }

  .intro-title {
    font-size: 2.2rem;
  }

  .intro-content p {
    font-size: 1rem;
  }

  .form-container {
    padding: 25px;
  }

  .product-card {
    width: 100%;
    max-width: 350px;
  }

  .number-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 1.2rem;
  }

  .intro-title {
    font-size: 1.8rem;
  }
}

/* Thank You Page Styles */
.thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.thank-you-card {
  background-color: rgba(255, 255, 255, 0.96);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  max-width: 600px;
  width: 100%;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.thank-you-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.check-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.thank-you-card h1 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.thank-you-card p {
  color: var(--dark-color);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(157, 122, 91, 0.4);
}

.back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(157, 122, 91, 0.6);
}

.back-btn:active {
  transform: translateY(-1px);
}

/* Instagram Float Button - Estilo Personalizado */
.instagram-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 5px 20px rgba(157, 122, 91, 0.4);
  z-index: 999;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.instagram-float.visible {
  opacity: 1;
  transform: translateY(0);
}

.instagram-float:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-color)
  );
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(157, 122, 91, 0.6);
}

.instagram-float:active {
  transform: scale(0.98) translateY(0);
}

.instagram-float i {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.instagram-float:hover i {
  transform: scale(1.1);
}

/* Animação pulsante quando visível */
@keyframes pulse-gentle {
  0% {
    box-shadow: 0 0 0 0 rgba(157, 122, 91, 0.4);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(157, 122, 91, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(157, 122, 91, 0);
  }
}

.instagram-float.visible {
  animation: pulse-gentle 2s infinite;
}

/* Responsividade */
@media (max-width: 768px) {
  .thank-you-card {
    padding: 30px;
  }

  .thank-you-card h1 {
    font-size: 1.8rem;
  }

  .thank-you-card p {
    font-size: 1rem;
  }
}
