:root {
  --dark-blue: #33509D;
  --light-blue: #3F8DC4;
  --yellow: #F1BE02;
  --white: #FFFFFF;

  --navy: var(--dark-blue);
  --blue: var(--light-blue);
  --ink: #1a2c4e;
  --muted: #59718d;
  --pale: #f0f6fc;
  --line: #d2e3f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f8fc;
  color: var(--ink);
  font: 15px/1.5 Inter, Segoe UI, Arial, sans-serif;
}

.primary, .whatsapp {
  background: var(--dark-blue);
  color: var(--white);
  border: 0;
  border-radius: 9px;
  padding: 12px 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background-color .2s ease, transform .1s ease;
}

.primary:hover, .whatsapp:hover {
  background: var(--light-blue);
  color: var(--white);
}

.hero {
  background: linear-gradient(135deg, #eef5fc 0%, #ffffff 55%, #e6f1fa 100%);
  padding: 42px 0;
  border-top: 4px solid var(--yellow);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 22px;
}

.hero-logo {
  height: 65px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--dark-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff8db;
  border: 1px solid var(--yellow);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
}

h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  color: var(--dark-blue);
  margin: 10px 0 16px;
}

.hero p {
  font-size: 17px;
  max-width: 800px;
  margin: 0;
  color: #3f5b7a;
}

main {
  max-width: 1200px;
  margin: 26px auto;
  padding: 0 22px;
}

.layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: start;
}

.panel, .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(51, 80, 157, .06);
}

.panel h2, .section-title {
  font-size: 19px;
  color: var(--dark-blue);
  margin: 0 0 16px;
}

.field {
  margin: 0 0 17px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 7px;
}

.field label .req {
  color: #d32f2f;
  margin-left: 3px;
  font-weight: bold;
}

.field label .opt {
  color: var(--muted);
  font-weight: normal;
  font-size: 11px;
  margin-left: 4px;
}

.field select, .field input {
  width: 100%;
  padding: 11px;
  border: 1px solid #c5d8ea;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.field select:focus, .field input:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(63, 141, 196, .22);
}

.field select.field-error {
  border-color: #d32f2f !important;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, .18) !important;
  background: #fffaf8 !important;
}

.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0;
  font-size: 13px;
}

.check input {
  margin-top: 4px;
  accent-color: var(--dark-blue);
}

.hint {
  font-size: 12px;
  color: var(--muted);
  background: var(--pale);
  padding: 12px;
  border-radius: 9px;
  border-left: 3px solid var(--light-blue);
}

.result-head {
  background: #f0f6fc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  padding: 15px 17px;
  margin-bottom: 16px;
}

.result-head strong {
  color: var(--dark-blue);
}

.card-video-wrap {
  margin-top: 14px;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 44, 78, 0.12);
  border: 1px solid var(--line);
  background: #000;
}

.card-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.results-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0 12px;
}

.results-top p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: 0 2px 8px rgba(51, 80, 157, .04);
}

.plan.best {
  border: 2px solid var(--yellow);
  position: relative;
  box-shadow: 0 6px 20px rgba(241, 190, 2, .2);
}

.pill {
  display: inline-block;
  background: #eef5fc;
  color: var(--dark-blue);
  border: 1px solid #cde0f2;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  width: max-content;
}

.plan.best .pill {
  background: var(--yellow);
  color: #19294e;
  border: 1px solid #dfac00;
}

.plan h3 {
  margin: 0;
  color: var(--dark-blue);
  font-size: 20px;
}

.plan .product {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.meta div {
  background: #f6f9fd;
  border: 1px solid #e7eff8;
  padding: 9px;
  border-radius: 8px;
  font-size: 12px;
}

.meta b {
  display: block;
  color: var(--dark-blue);
  margin-bottom: 3px;
}

.benefits {
  font-size: 13px;
  padding-left: 18px;
  margin: 0;
}

.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}

.links a {
  color: var(--light-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(63, 141, 196, .4);
  overflow-wrap: anywhere;
}

.links a:hover {
  color: var(--dark-blue);
  text-decoration-color: var(--dark-blue);
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 5px;
}

.actions a, .actions button {
  flex: 1;
  font-size: 12px;
  min-width: 130px;
}

.outline {
  background: var(--white);
  color: var(--dark-blue);
  border: 1.5px solid var(--light-blue);
  border-radius: 9px;
  padding: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all .2s ease;
}

.outline:hover {
  background: #f0f6fc;
  border-color: var(--dark-blue);
  color: var(--dark-blue);
}

.empty {
  padding: 25px;
  background: var(--white);
  border: 1px dashed #b8cee2;
  border-radius: 12px;
  color: var(--muted);
}

.footerband {
  margin: 32px 0;
  background: var(--yellow);
  border: 1px solid #e0b000;
  border-radius: 14px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  box-shadow: 0 4px 18px rgba(241, 190, 2, 0.22);
}

.footerband b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footerband .small {
  color: #2b3a4a;
  font-size: 12px;
  line-height: 1.45;
  display: block;
}

footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 24px 20px;
  text-align: center;
  font-size: 13px;
  border-top: 3px solid var(--yellow);
}

.small {
  font-size: 11px;
  color: var(--muted);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 44, 78, .65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.open {
  display: flex;
}

.modalbox {
  background: var(--white);
  border-radius: 14px;
  border-top: 4px solid var(--yellow);
  padding: 23px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
}

.modalbox h2, .modalbox h3 {
  color: var(--dark-blue);
  margin-top: 0;
}

.modalbox h3 {
  font-size: 15px;
  margin: 16px 0 6px;
}

.close {
  float: right;
  border: 0;
  background: #eef4f8;
  color: var(--dark-blue);
  font-weight: bold;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .2s;
}

.close:hover {
  background: #dceaf6;
}

@media(max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footerband {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 480px) {
  .hero {
    padding: 30px 0;
  }
  .hero-inner, main {
    padding: 0 15px;
  }
  .hero-logo {
    height: 52px;
    margin-bottom: 10px;
  }
  .panel, .card {
    padding: 16px;
  }
  .footerband {
    grid-template-columns: 1fr;
  }
  .meta {
    grid-template-columns: 1fr 1fr;
  }
}

/* Redes Sociais Flutuantes (Canto inferior direito) */
.floating-social {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(26, 44, 78, 0.16);
  border: 1px solid #d2e3f3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-social .social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.floating-social .social-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.floating-social .social-btn:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  filter: brightness(1.08);
}

.floating-social .social-btn:active {
  transform: scale(0.95);
}

.floating-social .social-btn.facebook {
  background: #1877f2;
}

.floating-social .social-btn.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.floating-social .social-btn.youtube {
  background: #ff0000;
}

/* Tooltips laterais no hover (desktop) */
.floating-social .social-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #1a2c4e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-social .social-btn::before {
  content: "";
  position: absolute;
  right: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  border: 5px solid transparent;
  border-left-color: #1a2c4e;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.floating-social .social-btn:hover::after,
.floating-social .social-btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 480px) {
  .floating-social {
    bottom: 16px;
    right: 16px;
    padding: 6px;
    gap: 8px;
  }
  .floating-social .social-btn {
    width: 38px;
    height: 38px;
  }
  .floating-social .social-btn svg {
    width: 19px;
    height: 19px;
  }
  .floating-social .social-btn::after,
  .floating-social .social-btn::before {
    display: none;
  }
}

@media print {
  .floating-social,
  .card-video-wrap {
    display: none !important;
  }
}

.file-protocol-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12px;
  line-height: 1.45;
  padding: 9px 14px;
}

.file-protocol-notice a {
  color: #1e40af;
  font-weight: 700;
  text-decoration: underline;
}

