:root {
  --ciano: #00AEEF;
  --magenta: #EC008C;
  --amarelo: #FFF200;
  --preto: #231F20;
  --cinza: #f5f5f5;
  --sombra: rgba(0, 0, 0, 0.08);
  --trans: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--preto);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  text-align: center;
  padding: 2.5rem 1rem;
  border-bottom: 4px solid var(--cinza);
  position: relative;
  overflow: hidden;
  background: radial-gradient(
  circle at 50% 30%,
  rgba(255, 255, 255, 1) 0%,
  rgba(235, 248, 255, 1) 50%,
  rgba(220, 240, 250, 1) 100%
);
  overflow: hidden;
}

.logo-wrap {
  position: relative;
  display: inline-block;
}

.logo {
  width: 200px;
  position: relative;
  z-index: 2;
}

/* Reflexo animado */
.light-reflex {
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

.headline {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--preto);
  background: linear-gradient(90deg, var(--ciano), var(--magenta), var(--amarelo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* ===== LINHA DIVISÓRIA CMYK ANIMADA ===== */
.section-divider {
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, 
    #00AEEF 0%,   /* Ciano */
    #EC008C 25%,  /* Magenta */
    #FFF200 50%,  /* Amarelo */
    #231F20 75%,  /* Preto */
    #00AEEF 100%  /* volta pro Ciano */
  );
  background-size: 300% 100%;
  animation: moveGradient 6s linear infinite;
  border: none;
  outline: none;
  margin: 0;
}

/* Animação suave do degradê se movendo */
@keyframes moveGradient {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* ===== LINHA DIVISÓRIA CMYK ANIMADA 2 ===== */
.section-divider2 {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    #00AEEF 0%,   /* Ciano */
    #EC008C 25%,  /* Magenta */
    #FFF200 50%,  /* Amarelo */
    #231F20 75%,  /* Preto */
    #00AEEF 100%  /* volta pro Ciano */
  );
  background-size: 300% 100%;
  animation: moveGradient 6s linear infinite;
  border: none;
  outline: none;
  margin: 0;
}

/* Animação suave do degradê se movendo */
@keyframes moveGradient {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* ===== REDES SOCIAIS ===== */
.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 2rem;
}

.social-icons .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Gradientes CMYK */
.icon.instagram { background: linear-gradient(135deg, #EC008C, #FF5DA2); }
.icon.whatsapp  { background: linear-gradient(135deg, #00AEEF, #00D084); }
.icon.facebook  { background: linear-gradient(135deg, #231F20, #0077BD); }

/* Efeitos de hover */
.social-icons .icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.icon.instagram:hover { box-shadow: 0 0 10px rgba(236,0,140,0.6); }
.icon.whatsapp:hover  { box-shadow: 0 0 10px rgba(0,174,239,0.6); }
.icon.facebook:hover  { box-shadow: 0 0 10px rgba(0,119,189,0.6); }

/* ===== TÍTULO ===== */
.headline {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--ciano), var(--magenta), var(--amarelo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    justify-content: center;
  }

  .social-icons {
    margin-top: 0.5rem;
  }

  .logo {
    width: 150px;
  }
}

/* ===== MAIN ===== */
.main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5rem;
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* ===== CARROSSEL ===== */
.carousel-section {
  margin-top: 100px;
  gap: 50px;
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel {
  position: relative;
  width: 500%;
  max-width: 480px;
  aspect-ratio: 1 / 1; /* 💎 Mantém proporção 1:1 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px var(--sombra);
  background: #fafafa;
}

.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.active {
  opacity: 1;
}

.carousel-dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  background: #ccc;
  cursor: pointer;
  transition: var(--trans);
}

.dot.active {
  background: linear-gradient(90deg, var(--ciano), var(--magenta));
}

/* ===== FORMULÁRIO ===== */
.form-section {
  position: relative;
  flex: 1;
  min-width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 25px var(--sombra);
  padding: 1rem;
  border-top: 4px solid var(--magenta);
  height: 100%; /* 🔹 mantém mesma altura do carrossel no desktop */
  display: flex;
  flex-direction: column;
  justify-content: center;
    background: radial-gradient(
  circle at 50% 30%,
  rgba(255, 255, 255, 1) 0%,
  rgba(235, 248, 255, 1) 50%,
  rgba(220, 240, 250, 1) 100%
);
  overflow: hidden;
}




.form-section h2 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--preto);
  font-size: 1.4rem;
}

/* ===== CAMPOS DO FORMULÁRIO ===== */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* LABELS */
.quote-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--preto);
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
}

/* SPAN DO LABEL */
.quote-form label span {
  margin-bottom: 6px;
  color: var(--ciano);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* INPUTS E TEXTAREA */
.quote-form input,
.quote-form textarea {
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
  color: #333;
}

/* EFEITO AO PASSAR O MOUSE */
.quote-form input:hover,
.quote-form textarea:hover {
  border-color: rgba(0, 174, 239, 0.4);
  background: #fff;
}

/* EFEITO DE FOCO */
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--ciano);
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 174, 239, 0.2);
}

.file-input {
  border: 2px dashed rgba(0, 174, 239, 0.4);
  border-radius: 14px;
  background: #f9f9f9;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-input:hover {
  border-color: var(--magenta);
  background: #fff;
  transform: scale(1.02);
}

.file-input input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-input::before {
  content: "Clique ou arraste seu arquivo aqui";
  font-size: 0.9rem;
  color: var(--preto);
  font-weight: 500;
}

.file-input.dragover {
  border-color: var(--amarelo);
  background: rgba(255, 242, 0, 0.05);
}

/* ===== CAMPO DE UPLOAD ===== */
.file-input {
  border: 2px dashed rgba(0, 174, 239, 0.4);
  border-radius: 14px;
  background: #f9f9f9;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-input:hover {
  border-color: var(--magenta);
  background: #fff;
  transform: scale(1.01);
}

/* TEXTO PRINCIPAL */
#fileLabel {
  font-size: 0.9rem;
  color: var(--preto);
  font-weight: 500;
  display: block;
}

/* BLOCO DE INFORMAÇÕES DO ARQUIVO */
.file-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* NOME DO ARQUIVO */
.file-name {
  font-size: 0.85rem;
  color: #888;
  word-break: break-all;
}

/* BOTÃO DE REMOVER */
.remove-file {
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.3rem;
  transition: all 0.3s ease;
}

.remove-file:hover {
  color: var(--magenta);
  transform: scale(1.2);
}

/* QUANDO O ARQUIVO ESTÁ PRESENTE */
.file-input.has-file {
  border-color: var(--ciano);
  background: linear-gradient(180deg, rgba(235,248,255,0.9), rgba(255,255,255,1));
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.2);
}

.file-input.has-file #fileLabel {
  color: var(--ciano);
  font-weight: 600;
}

.file-input.has-file .file-name {
  color: var(--preto);
  font-weight: 600;
}



/* BOTÃO */
.btn-primary {
  background: linear-gradient(90deg, var(--ciano), var(--magenta));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 10px rgba(0, 174, 239, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--amarelo), var(--ciano));
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .form-section {
    padding: 1.5rem;
  }

  .quote-form input,
  .quote-form textarea {
    font-size: 0.95rem;
  }
}

.btn-primary {
  background: linear-gradient(90deg, var(--ciano), var(--magenta));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--trans);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--amarelo), var(--ciano));
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #eee;
    background: radial-gradient(
  circle at 50% 30%,
  rgba(255, 255, 255, 1) 0%,
  rgba(235, 248, 255, 1) 50%,
  rgba(220, 240, 250, 1) 100%
);
  overflow: hidden;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .main {
    flex-direction: column;
    align-items: center;
  }

  .carousel-section,
  .form-section {
    margin-top: 50px;
    width: 100%;
    max-width: 480px;
  }



  .form-section {
    margin-top: 2rem;
    height: auto; /* 🔹 deixa o formulário fluir livre no mobile */
  }
}

/* ===== POPUP DE STATUS ===== */
#popupStatus[hidden] {
  display: none !important;
}

#popupStatus {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

#popupStatus > div {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  max-width: 300px;
}
