/* =========================
   CONTACT SECTION / FORM
   Sistema: .pl-contact
========================= */

/* Color scheme nativo */
body.theme-dark { color-scheme: dark; }
body.theme-light { color-scheme: light; }

/* =========================
   TOKENS / BASE
========================= */

.pl-panel{
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.pl-contact{
  --bg: #fff7f1;
  --text: #1f130d;
  --muted: rgba(31, 19, 13, 0.70);
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --border: rgba(31, 19, 13, 0.10);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.14);

  --shadow-a: 16px 16px 38px rgba(80, 40, 12, 0.10);
  --shadow-b: -14px -14px 28px rgba(255, 255, 255, 0.95);
  --shadow-card: 0 22px 55px rgba(80, 40, 12, 0.10);
  --shadow-btn: 0 18px 45px rgba(249, 115, 22, 0.26);

  --inset:
    inset 2px 2px 8px rgba(80, 40, 12, 0.08),
    inset -2px -2px 10px rgba(255, 255, 255, 0.88);

  background: var(--bg);
  color: var(--text);
}

body.theme-dark .pl-contact{
  --bg: #090909;
  --text: #f5f5f7;
  --muted: rgba(221, 224, 230, 0.72);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --accent: #fb923c;
  --accent-soft: rgba(251, 146, 60, 0.14);

  --shadow-a: 18px 18px 44px rgba(0, 0, 0, 0.52);
  --shadow-b: -16px -16px 40px rgba(255, 255, 255, 0.04);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-btn: 0 18px 55px rgba(251, 146, 60, 0.18);

  --inset:
    inset 2px 2px 10px rgba(0, 0, 0, 0.52),
    inset -2px -2px 12px rgba(255, 255, 255, 0.05);
}

/* =========================
   LAYOUT
========================= */

.pl-contact .pl-wrap{
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.2rem 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 992px){
  .pl-contact .pl-wrap{
    grid-template-columns: 1fr;
    padding: 4.5rem 1rem 2.5rem;
  }
}

/* =========================
   LEFT CONTENT
========================= */

.pl-left{
  max-width: 680px;
  margin-inline: auto;
}

.pl-pill{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-b), var(--shadow-a);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 800;
}

body.theme-dark .pl-pill,
html[data-theme="dark"] .pl-pill {
  color: #f5eaff;
  border-color: rgba(196, 181, 253, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.12));
  box-shadow:
    0 14px 28px rgba(76, 29, 149, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.pl-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12);
  animation: plPulse 2.4s ease-in-out infinite;
}

body.theme-dark .pl-dot{
  box-shadow: 0 0 0 6px rgba(251, 146, 60, 0.12);
}

.pl-title{
  position: relative;
  margin-top: 0.85rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.pl-title::after{
  content: "";
  display: block;
  width: min(1000px, 100%);
  height: 8px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0),
    rgba(249, 115, 22, 0.30),
    rgba(249, 115, 22, 0)
  );
  opacity: 0.9;
}

.pl-lead{
  max-width: 58ch;
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.12rem);
  color: var(--muted);
}

/* =========================
   FEATURES
========================= */

.pl-feats{
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
}

.pl-feat{
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pl-feat::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.78), rgba(249, 115, 22, 0.08));
  opacity: 0.9;
}

.pl-feat::after{
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.16), transparent 45%);
  transform: translateX(-10%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pl-feat:hover{
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: 0 28px 70px rgba(249, 115, 22, 0.12);
}

.pl-feat:hover::after{
  opacity: 1;
}

.pl-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex: 0 0 auto;
}

.pl-ico i{
  font-size: 18px;
  line-height: 1;
}

.pl-feat-title{
  margin-bottom: 0.15rem;
  font-weight: 900;
  color: var(--text);
}

.pl-feat-text{
  color: var(--muted);
}

.pl-mini{
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   RIGHT CARD
========================= */

.pl-contact .pl-card{
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-b), var(--shadow-a);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pl-contact .pl-card-top{
  position: relative;
  height: 190px;
  background: rgba(0, 0, 0, 0.10);
}

.pl-contact .pl-photo{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.pl-contact .pl-card-top::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55));
}

body.theme-light .pl-contact .pl-card-top::after{
  background: linear-gradient(180deg, rgba(31, 19, 13, 0.05), rgba(31, 19, 13, 0.38));
}

.pl-contact .pl-badge{
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 800;
}

body.theme-light .pl-contact .pl-badge{
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

/* =========================
   FORM
========================= */

.pl-contact .pl-form{
  padding: 1.1rem 1.1rem 1.2rem;
}

.pl-contact .pl-form-head{
  margin-bottom: 0.8rem;
}

.pl-contact .pl-form-title{
  font-weight: 950;
  font-size: 1.15rem;
}

.pl-contact .pl-form-sub{
  color: var(--muted);
  font-size: 0.92rem;
}

.pl-contact .pl-label{
  display: block;
  margin: 0.75rem 0 0.35rem;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.85rem;
}

.pl-contact .pl-input{
  width: 100%;
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--inset);
  outline: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.pl-contact .pl-input::placeholder{
  color: rgba(148, 163, 184, 0.95);
}

.pl-contact .pl-input:focus{
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow:
    var(--inset),
    0 0 0 1px rgba(249, 115, 22, 0.18);
  transform: translateY(-1px);
}

.pl-contact .pl-textarea{
  resize: vertical;
  min-height: 110px;
}

/* Select dark */
body.theme-dark select.pl-input,
body.theme-dark .pl-input[type="text"],
body.theme-dark .pl-input[type="email"],
body.theme-dark .pl-input[type="tel"],
body.theme-dark textarea.pl-input{
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 244, 237, 0.92);
  border: 1px solid rgba(255, 244, 237, 0.10);
}

body.theme-dark select.pl-input option{
  background: #140d08;
  color: rgba(255, 244, 237, 0.92);
}

body.theme-dark select.pl-input option:disabled{
  color: rgba(255, 244, 237, 0.45);
}

body.theme-dark select.pl-input option:checked{
  background: #2a170d;
  color: rgba(255, 244, 237, 0.98);
}

/* =========================
   CHECK
========================= */

.pl-contact .pl-check{
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.85rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pl-contact .pl-check input{
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

/* =========================
   SEND OPTIONS
========================= */

.pl-send{
  margin: 0.9rem 0 1rem;
}

.pl-send-title{
  font-weight: 900;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.pl-send-options{
  display: flex;
  gap: 0.6rem;
}

.pl-send-opt{
  flex: 1;
  cursor: pointer;
  user-select: none;
}

.pl-send-opt input{
  display: none;
}

.pl-send-opt span{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 0.8rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--inset);
  color: var(--text);
  font-weight: 900;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.pl-send-opt input:checked + span{
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.16);
  transform: translateY(-1px);
}

/* =========================
   BUTTON / NOTE
========================= */

.pl-contact .pl-btn{
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 1rem;
  font-weight: 950;
  letter-spacing: 0.2px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), rgba(249, 115, 22, 0.68));
  box-shadow: var(--shadow-btn);
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

body.theme-dark .pl-contact .pl-btn{
  background: linear-gradient(135deg, #f97316, rgba(251, 146, 60, 0.58));
}

.pl-contact .pl-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.pl-contact .pl-btn:active{
  transform: translateY(0);
}

.pl-contact .pl-note{
  margin-top: 0.85rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* =========================
   VISUAL STAGE
========================= */

.pl-visual{
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  margin-top: 14px;
}

.pl-visual-card{
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--surface);
  transform: translateZ(0);
  animation: plFloat 6s ease-in-out infinite;
}

.pl-visual-card img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

.pl-orb{
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.35;
  pointer-events: none;
  animation: plDrift 10s ease-in-out infinite;
}

.pl-orb-a{
  width: 180px;
  height: 180px;
  left: -30px;
  top: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.30), transparent 60%);
}

.pl-orb-b{
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: -20px;
  background: radial-gradient(circle at 30% 30%, rgba(251, 146, 60, 0.26), transparent 62%);
  animation-duration: 12s;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes plPulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.15); opacity: 0.9; }
}

@keyframes plFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

@keyframes plDrift{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(12px, -10px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce){
  .pl-dot,
  .pl-visual-card,
  .pl-orb{
    animation: none !important;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 992px){
  .pl-left{
    margin-inline: 0;
  }

  .pl-feats{
    max-width: 520px;
  }
}

@media (max-width: 992px){
  .pl-visual{
    margin-top: 18px;
  }

  .pl-visual-card{
    max-width: 100%;
  }
}

@media (max-width: 991px){
  .pl-pill{
    justify-content: center;
  }

  .pl-title,
  .pl-lead{
    text-align: center;
    margin-inline: auto;
  }
}
