/* === FSC LP Customizations — 2026-04-20-160206 === */

/* 1. Top ribbon */
body { padding-top: 44px !important; }
#fsc-top-ribbon {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 99999;
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
  color: #fff; text-align: center;
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-weight: 800; font-size: 14px; letter-spacing: 1.5px;
  padding: 12px 16px; line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  text-transform: uppercase;
}
@media (max-width: 640px) {
  #fsc-top-ribbon { font-size: 12px; letter-spacing: 1px; padding: 10px 12px; }
  body { padding-top: 40px !important; }
}

/* 2. Hide old inline form + "Preencha..." headline */
#e_632438_1_177627482767477272 { display: none !important; }
#e_632438_1_1717542557665f9e9d9012b816292684 {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 3. Hero entrance animation targets */
#e_632438_1_1717542557665f9e9d900e3204405686,
#fsc-hero-cta {
  opacity: 0;
  transform: translateY(24px);
}

/* 4. Hero CTA (replaces the inline form) */
#fsc-hero-cta {
  position: absolute;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5d27a 0%, #e0b73a 45%, #c99419 100%);
  color: #1a1a1a;
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(201, 148, 25, .45), 0 0 0 0 rgba(245, 210, 122, .7);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  animation: fscPulse 2.6s ease-in-out infinite;
}
#fsc-hero-cta::after {
  content: "→";
  font-size: 20px;
  transition: transform .25s ease;
}
#fsc-hero-cta:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(239, 68, 68, .5);
}
#fsc-hero-cta:hover::after { transform: translateX(4px); }

@keyframes fscPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(201, 148, 25, .45), 0 0 0 0 rgba(245, 210, 122, .65); }
  50%      { box-shadow: 0 12px 32px rgba(201, 148, 25, .55), 0 0 0 14px rgba(245, 210, 122, 0); }
}

/* 5. Headline boost (keeps original text, just better typography) */
#e_632438_1_1717542557665f9e9d900e3204405686 h2 span,
#e_632438_1_1717542557665f9e9d900e3204405686 h2 {
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  letter-spacing: -0.5px;
}

/* 6. Restyle every "Quero mais informações" anchor on the page */
a.e_botao.link_interno[data-fsc-cta] {
  background: linear-gradient(135deg, #f5d27a 0%, #e0b73a 45%, #c99419 100%) !important;
  border: 0 !important;
  color: #1a1a1a !important;
  letter-spacing: 1px !important;
  box-shadow: 0 10px 24px rgba(201, 148, 25, .4) !important;
  transition: transform .2s ease, filter .2s ease !important;
}
a.e_botao.link_interno[data-fsc-cta]:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08) !important;
}

/* 7. Popup modal */
#fsc-modal-overlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(10, 15, 25, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s ease;
}
#fsc-modal-overlay.open { display: flex; opacity: 1; }

#fsc-modal {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden;
  transform: translateY(20px) scale(.97);
  transition: transform .35s cubic-bezier(.22,.8,.3,1);
  position: relative;
}
#fsc-modal-overlay.open #fsc-modal { transform: translateY(0) scale(1); }

#fsc-modal-header {
  background: linear-gradient(135deg, #112a5a 0%, #1e4bb1 100%);
  color: #fff;
  padding: 26px 28px 22px;
  position: relative;
}
#fsc-modal-header h3 {
  margin: 0;
  font-family: 'Poppins','Open Sans',sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.25;
}
#fsc-modal-header p {
  margin: 8px 0 0;
  font-size: 14px;
  opacity: .85;
  line-height: 1.4;
}
#fsc-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff; font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
#fsc-modal-close:hover { background: rgba(255,255,255,.28); }

#fsc-modal-body { padding: 24px 28px 28px; }
.fsc-field { margin-bottom: 14px; }
.fsc-field label {
  display: block;
  font-family: 'Poppins','Open Sans',sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #112a5a;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
}
.fsc-field input,
.fsc-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7dde6;
  border-radius: 8px;
  background: #fff;
  color: #1a2233;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.fsc-field input:focus,
.fsc-field select:focus {
  outline: 0;
  border-color: #1e4bb1;
  box-shadow: 0 0 0 3px rgba(30,75,177,.18);
}
.fsc-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23666' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.fsc-error {
  color: #d92626;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
.fsc-field.has-error input,
.fsc-field.has-error select { border-color: #d92626; box-shadow: 0 0 0 3px rgba(217,38,38,.15); }
.fsc-field.has-error .fsc-error { display: block; }

#fsc-modal-submit {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5d27a 0%, #e0b73a 45%, #c99419 100%);
  color: #1a1a1a;
  font-family: 'Poppins','Open Sans',sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(201, 148, 25, .4);
  transition: transform .2s ease, filter .2s ease;
}
#fsc-modal-submit:hover { transform: translateY(-1px); filter: brightness(1.08); }
#fsc-modal-submit:disabled { opacity: .6; cursor: wait; transform: none; }

.fsc-legal {
  margin: 12px 0 0;
  font-size: 11px;
  color: #6b7588;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 480px) {
  #fsc-modal-header { padding: 22px 22px 18px; }
  #fsc-modal-header h3 { font-size: 19px; }
  #fsc-modal-body { padding: 20px 22px 24px; }
  #fsc-hero-cta { font-size: 15px; padding: 16px 22px; }
}
