:root {
  --color-primary: #e0dede;
  --color-accent: #f07e26;
  /* Orange for 'Garagem' */
  --color-bg-dark: #111111;
  --color-form-bg: #e2e1d7;
  --color-form-btn-bg: #1e1b18;
  --color-form-text: #333333;
  --font-body: 'Lora', serif;
  --font-logo-top: 'Pacifico', cursive;
  --font-logo-main: 'Pacifico', cursive;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background Slider */
.bg-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-color: #000;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-layer.active {
  opacity: 1;
}

.bg-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* Escurecimento mantido para legibilidade */
  z-index: 0;
}

.container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

/* Logo */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.22rem;
  width: 100%;
}

.logo-image {
  max-width: 450px;
  width: 90%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.02);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Copytext */
.copytext h2 {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 3.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  font-weight: 400;
}

/* Form */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.form-group {
  display: flex;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-field {
  flex-grow: 1;
  padding: 0 1.5rem;
  border: none;
  background-color: var(--color-form-bg);
  color: var(--color-form-text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  outline: none;
}

.input-field::placeholder {
  color: #777;
}

.submit-btn {
  padding: 0 2rem;
  background-color: var(--color-form-btn-bg);
  color: #e0d0b8;
  /* slightly golden text */
  border: none;
  border-left: 1px solid #3a332a;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #2a2522;
  color: #fff;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  color: #4ade80;
}

.form-message.error {
  display: block;
  color: #f87171;
}

/* Footer Section */
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
  opacity: 0.8;
}

.social-icons a:hover {
  color: var(--color-accent);
  opacity: 1;
  transform: translateY(-2px);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .logo-top {
    font-size: 1.8rem;
    margin-left: -3rem;
  }

  .logo-main {
    font-size: 4rem;
  }

  .copytext h2 {
    font-size: 1.15rem;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-image {
    max-width: 320px;
  }

  .form-group {
    flex-direction: column;
    height: auto;
    border-radius: 0;
    gap: 10px;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .input-field {
    height: 50px;
    border-radius: 6px;
    text-align: center;
  }

  .submit-btn {
    height: 50px;
    width: 100%;
    border-radius: 6px;
    border-left: none;
  }
}