/* -----------------------------
   GARANTIA - BOMVINK
   Estilo limpo, técnico e responsivo
---------------------------------- */

/* ====== VARIÁVEIS ====== */
:root {
  --primary-color: #FFD200;     /* vermelho Bomvink */
  --primary-dark: #aa8a00;
  --secondary-color: #333;
  --light-bg: #f9f9f9;
  --border-color: #e1e1e1;
  --text-color: #333;
  --font-main: 'Inter', sans-serif;
}

/* ====== GERAL ====== */
body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: #fff;
  margin: 0;
  line-height: 1.6;
}

.container {
  padding: 0;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--secondary-color);
}

.section-header p {
  color: #727272;
  margin: 0;
}

p {
  margin-bottom: 5px;
}

.section-title {
  position: relative;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

/* ====== HEADER DA PÁGINA ====== */
.page-header {
  background-color: var(--light-bg);
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.header-image {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 0px 0px 12px 12px;
  width: 100%;
}

.header-img {
  width: 100%;
  height: auto;
  display: block;
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 1.6rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}
.header-overlay p {
  margin: 0 1rem;
  text-align: center;
}
.header-image:hover .header-overlay {
  opacity: 1;
}

/* ====== PASSO A PASSO ====== */
.warranty-steps {
  background-color: var(--light-bg);
  padding: 0 10px 3rem 10px;
}

.steps-content {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.step-number {
  flex-shrink: 0;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;

}

.step-content h3 {
  margin: 0 0px 0 10px;
  color: var(--secondary-color);
}

.sub-steps {
  margin-top: 1rem;
  padding: 0 25px;
  border-left: 3px solid var(--primary-color);
}

.sub-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.sub-number {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
  text-shadow: 0px 2px 160px, rgba(255, 255, 255, 0.9) 5px 7px 13px, rgba(223, 223, 223, 0.9) 3px 3px 2px;
}

/* ====== LOCALIZAÇÃO E TELEFONE ====== */
.warranty-contact {
  padding: 3rem 0;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.contact-item p {
  margin: 0.2rem 0 1rem;
}

.map-container {
  flex: 2;
  min-width: 320px;
}

.map {
  background: #f2f2f2;
  border-radius: 10px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  text-align: center;
  color: #888;
}

.map-placeholder i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* ====== FORMULÁRIO DE CONTATO ====== */
.warranty-form {
  background-color: var(--light-bg);
  padding: 3rem 0;
}

.form-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.warranty-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input, select, textarea {
  font-family: var(--font-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(200,16,46,0.2);
}

textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

/* ====== BOTÕES ====== */
.btn-primary, .btn-secondary {
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: #ddd;
  color: #333;
}

.btn-secondary:hover {
  background-color: #ccc;
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
  .step-item {
    flex-direction: column;
    text-align: left;
  }

  .contact-content {
    flex-direction: column;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }
}
