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

html {
  background-color: #fff;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #111;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ==== TOPO ==== */
.topbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(40px, 4vw, 80px);
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.logo {
  font-size: clamp(16px, 1.5vw, 18px);
  letter-spacing: 2px;
  font-weight: 600;
}

.menu {
  display: flex;
  gap: clamp(24px, 2.5vw, 32px);
}

.menu a {
  color: #ccc;
  text-decoration: none;
  font-size: clamp(12px, 1vw, 14px);
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.menu a i {
  margin-right: 6px;
  width: 14px;
  opacity: 0.8;
}

.menu a.active,
.menu a:hover {
  color: #fff;
}

.menu a.active i,
.menu a:hover i {
  opacity: 1;
}

.btn-agendar {
  position: relative;
  z-index: 1;
  background: #c81f3b;
  border: none;
  padding: 12px 24px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(11px, 0.8vw, 12px);
  letter-spacing: 1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(200, 31, 59, 0.4);
  transition: all 0.3s;
  cursor: pointer;
  font-weight: 600;
}

.btn-agendar:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(200, 31, 59, 0.6);
}

/* ==== LAYOUT PRINCIPAL ==== */
.contato-wrapper {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  min-height: calc(100vh - 140px);
  background: #000;
}

/* BLOCO BRANCO */
.contato-info {
  background: #f7f5f4;
  padding: clamp(50px, 6vw, 90px) clamp(50px, 6vw, 90px);
  position: relative;
}

.section-label {
  font-size: clamp(10px, 0.8vw, 11px);
  letter-spacing: 3px;
  color: #b8897b;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.title {
  font-size: clamp(36px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 14px;
  font-weight: 700;
}

.title span {
  font-weight: 300;
  color: #b8897b;
  font-style: italic;
}

.subtitle {
  font-size: clamp(13px, 1.2vw, 14px);
  color: #777;
  max-width: min(440px, 50vw);
  margin-bottom: 40px;
}

/* CARDS DE CONTATO */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  max-width: min(520px, 45vw);
  margin-bottom: 40px;
}

.card {
  background: #fff;
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card:hover h4 {
  color: #c81f3b;
}

.card-icon {
  width: clamp(36px, 3vw, 42px) !important;
  height: clamp(36px, 3vw, 42px) !important;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: clamp(14px, 1.4vw, 16px) !important;
  border-radius: 8px;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.card-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.card:hover .card-icon::before {
  left: 100%;
}

.card h4 {
  font-size: clamp(12px, 1vw, 13px);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: #111;
  transition: color 0.2s;
}

.card p {
  font-size: clamp(12px, 1vw, 13px);
  color: #666;
  line-height: 1.4;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  display: inline;
}

.card ul a {
  color: #666;
  text-decoration: none;
  font-size: clamp(12px, 1vw, 13px);
  line-height: 1.4;
}

.card ul a:hover {
  color: #b8897b;
}

/* REDES SOCIAIS */
.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: clamp(28px, 2vw, 32px);
  height: clamp(28px, 2vw, 32px);
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-color: #c81f3b;
  color: #c81f3b;
  background: rgba(200, 31, 59, 0.1);
}

/* BLOCO PRETO (FORMULÁRIO) */
.contato-form {
  background: #050505;
  color: #f5f5f5;
  padding: clamp(60px, 6vw, 80px) clamp(40px, 5vw, 70px);
  position: relative;
  margin-left: -40px;
  z-index: 2;
  box-shadow: -20px 0 40px rgba(0,0,0,0.3);
}

.contato-form h3 {
  font-size: clamp(20px, 2vw, 22px);
  margin-bottom: 30px;
  font-weight: 600;
}

.contato-form h3 span {
  color: #c88940;
  font-style: italic;
}

form {
  max-width: min(480px, 90vw);
}

.form-group {
  margin-bottom: clamp(14px, 1.8vw, 18px);
}

.form-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(12px, 1.5vw, 14px);
}

/* INPUTS COM ÍCONES */
.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
  transition: color 0.2s;
  display: none;
}

.input-icon input:focus + i,
.input-icon textarea:focus + i {
  color: #c81f3b;
}

.input-icon input,
.input-icon textarea {
  padding-right: 14px;
}

.input-textarea {
  padding-top: 14px;
}

.input-textarea i {
  top: 18px;
}

input,
textarea {
  width: 100%;
  padding: clamp(10px, 1.4vw, 12px) clamp(12px, 1.4vw, 14px);
  background: #111;
  border: 1px solid #222;
  color: #f5f5f5;
  font-size: clamp(12px, 1vw, 13px);
  border-radius: 6px;
  font-family: inherit;
  transition: all 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #c81f3b;
  box-shadow: 0 0 0 3px rgba(200, 31, 59, 0.1);
  background: #121212;
}

input::placeholder,
textarea::placeholder {
  color: #888;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* BOTÃO ENVIAR */
.btn-enviar {
  width: 100%;
  margin-top: clamp(6px, 1vw, 8px);
  padding: clamp(12px, 1.6vw, 14px) 20px;
  background: #c81f3b;
  border: none;
  color: #fff;
  font-size: clamp(12px, 1vw, 13px);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.btn-enviar i {
  margin-right: 8px;
  transition: transform 0.2s;
}

.btn-enviar:hover {
  background: #a81932;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(200, 31, 59, 0.4);
}

.btn-enviar:hover i {
  transform: translateX(4px);
}

.btn-enviar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.4s;
}

.btn-enviar:hover::before {
  left: 100%;
}

/* ==== RODAPÉ ==== */
.footer {
  background: #050505;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2vw, 18px) clamp(40px, 4vw, 80px);
  font-size: clamp(11px, 0.9vw, 12px);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.footer-logo {
  width: clamp(22px, 2vw, 26px);
  height: clamp(22px, 2vw, 26px);
  border: 1px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 4px;
}

.footer-menu {
  display: flex;
  gap: clamp(8px, 1vw, 10px);
}

.footer-menu a {
  color: #777;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.footer-menu a i {
  margin-right: 6px;
  width: 12px;
  opacity: 0.6;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-menu a:hover i {
  opacity: 1;
}

.footer-copy {
  opacity: 0.8;
}

/* ==== ANIMAÇÕES ==== */
@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cards-grid .card {
  animation: cardSlideIn 0.6s ease-out forwards;
}

.cards-grid .card:nth-child(1) { animation-delay: 0.1s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.2s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.3s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.4s; }

/* ==== RESPONSIVO ==== */
@media (max-width: 1024px) {
  .contato-wrapper {
    grid-template-columns: 1fr;
  }

  .contato-form {
    padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 40px);
    margin-left: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    max-width: 100%;
  }

  .topbar,
  .footer {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu {
    order: 2;
    gap: 8px;
  }

  .btn-agendar {
    order: 3;
  }
}

@media (max-width: 768px) {
  .topbar {
    height: auto;
    padding: 16px 20px;
    flex-direction: column;
    text-align: center;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    order: 2;
  }

  .logo {
    order: 1;
    margin-top: 0;
  }

  .btn-agendar {
    order: 3;
    margin-top: 8px;
  }

  .contato-info {
    padding: 40px 24px;
  }

  .contato-form {
    padding: 40px 24px;
    margin-left: 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .social {
    justify-content: center;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-menu {
    order: 1;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 28px;
  }

  .contato-info,
  .contato-form {
    padding: 30px 20px;
  }

  .cards-grid {
    gap: 16px;
  }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #c81f3b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a81932;
}

