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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-offwhite);
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.italic-serif {
  font-family: var(--font-subheading);
  font-style: italic;
  font-weight: normal;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BOTÕES GLOBAIS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-offwhite) !important;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-primary:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 148, 58, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
}

/* SECTION LABEL */
.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}

/* CARD PADRÃO */
.card {
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: 0 20px 50px rgba(26, 60, 43, 0.1);
  transform: translateY(-4px);
  border-color: var(--color-secondary);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}
.header.scrolled {
  background: var(--color-white);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.header.solid-header {
  background: var(--color-white);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  line-height: 1;
  transition: color 0.3s ease;
}
.header.scrolled .logo, .header.solid-header .logo {
  color: var(--color-primary);
}
.logo-span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-top: 4px;
}

.header .nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.header .nav a {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}
.header.scrolled .nav a, .header.solid-header .nav a {
  color: var(--color-text-dark);
}
.header .nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}
.header .nav a:hover::after {
  width: 100%;
}
.header .btn-contact {
  color: var(--color-white);
  border-color: var(--color-white);
}
.header.scrolled .btn-contact, .header.solid-header .btn-contact {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.header.scrolled .btn-contact:hover, .header.solid-header .btn-contact:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
}
.header.scrolled .mobile-menu-btn, .header.solid-header .mobile-menu-btn {
  color: var(--color-primary);
}

/* FOOTER */
.footer {
  background: var(--color-primary);
  color: #FAFAF8;
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer p, .footer li, .footer a {
  color: rgba(250, 250, 248, 0.8);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer ul { padding: 0; }
.footer ul a:hover {
  color: var(--color-gold);
}
.footer-bottom {
  border-top: 1px solid rgba(250, 250, 248, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(250, 250, 248, 0.6);
}
.footer .social-icons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.footer .social-icons a {
  color: var(--color-white);
  font-size: 20px;
  transition: color 0.3s;
}
.footer .social-icons a:hover {
  color: var(--color-gold);
}

input[type="email"], input[type="text"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 16px;
  background: var(--color-white);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form input {
  margin-bottom: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
}
.newsletter-form button {
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-form button:hover {
  background: #B6852F;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: transform 0.3s;
  animation: bounceIn 0.8s ease 3s both;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .header .nav.open {
    display: flex;
  }
  .header .nav a, .header .nav .btn-contact {
    color: var(--color-text-dark);
  }
  .header .btn-contact {
    border-color: var(--color-primary);
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* SECTION PADDINGS GLOBAIS */
section {
  padding: var(--spacing-12) 0;
}
@media (max-width: 768px) {
  section {
    padding: var(--spacing-8) 0;
  }
}
