@font-face {
  font-family: 'Raleway';
  src: url('/fonts/gilroy-bold.ttf');
}

/* IMPORTANTE: evita estouro lateral por padding/border */
*, *::before, *::after {
  box-sizing: border-box;
}

* { margin: 0; padding: 0; }

body * {
  font-family: 'Raleway', sans-serif;
  line-height: 160%;
}

/* ===== BACKGROUND ===== */
.video-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

#backgroundVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#vanta-bg {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 32px;
  height: calc(120px + 32px);
  color: rgb(7, 7, 7);
}

header img {
  width: 100%;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

header div {
  width: 120px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  padding: 4px;
  transition: transform .3s;
}
header div:hover { transform: scale(1.1); }

header h3 {
  display: inline-block;
  padding-top: 12px;
  color: #000000;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #fafafa;
}

header p {
  font-size: 12px;
  text-align: center;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #000000;
}

/* ===== MAIN ===== */
main {
  max-width: 580px;
  width: 90%;
  margin: 16px auto;
  padding-top: 24px;
}
@media (max-width: 420px){
  main { padding-top: 36px; }
}

/* ===== LINKS LIST ===== */
section div {
  background: transparent;
  padding-top: 8px;
  border-radius: 8px;
}

section ul {
  box-sizing: border-box;
  padding: 12px;
  list-style: none;
  flex-wrap: wrap;
  margin: auto;
}

/* primeiro botão mais afastado */
section ul.links-list > li:first-child {
  margin-top: 16px;
}

/* ===== BOTÕES PADRÕES ===== */
.link_button {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 8px;
  margin: 8px;
  box-shadow: 0 0 10px 0 #7ED957;
  transition: box-shadow 0.3s ease, transform .3s;
  outline: 1px solid #fdfdfd;
}
ul li a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  color: #000000;
  text-decoration: none;
  text-align: center;
}
.link_button:hover { transform: scale(1.02); }

/* ===== PRIMEIRO BOTÃO COM COR DIFERENTE ===== */
section ul.links-list > li:first-child {
  background-color: #7ED957 !important; /* verde sólido */
  outline: none !important;
  box-shadow: 0 0 12px #7ED957;
}
section ul.links-list > li:first-child a {
  color: #fff !important; /* texto branco */
  font-weight: bold;
  font-size: 16px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  font-size: 10px;
  color: #fff;
  margin: auto;
  letter-spacing: 1px;
}

/* ===== ACORDEÃO ===== */
.accordion_item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #7ED957;
  text-align: center;
  padding: 8px;
  margin: 8px;
  box-shadow: 0 0 10px 0 rgba(255,255,255,.15);
  transition: transform .3s;
}
.accordion_item:hover { transform: scale(1.02); }

.accordion_header {
  padding: 1px;
  display: table;
  width: 100%;
  cursor: pointer;
  margin: 0 auto;
}
.accordion_header span { color: #0c0c0c; }
.icon { color: #020202; }

.accordion_content {
  width: 100%;
  overflow: hidden;
  height: 0;
  transition: height .4s ease, padding .3s ease;
  font-size: 14px;
  padding: 0;
  text-align: center;
}
.accordion_content.active {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px 0 0;
  margin-top: -10px;
  border-top: 1px solid #070707;
  overflow: visible;
}

/* ===== CALCULADORA ===== */
.calc_box {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin: 8px auto;
  box-shadow: 0 0 10px rgba(0,0,0,.25);
  outline: 1px solid #fcfcfc;
  text-align: center;
  max-width: 90%;
  width: 100%;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calc_row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.calc_group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.calc_group label {
  font-size: 12px;
  color: #050505;
  font-weight: 700;
  text-align: left;
}

.calc_input {
  width: 100%;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  font-size: 16px;
}

/* botões centralizados e alinhados */
.calc_actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
  max-width: 340px;
  justify-content: center;
}

.btn-like {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .3s;
  min-height: 44px;
  width: 48%;
}

.btn-like.primary {
  background: #ffffff;
  outline: 1px solid #000000;
  color: #000000;
  font-weight: 800;
}

.btn-like.secondary {
  background: #ffffff;
  outline: 1px solid #7ED957;
  color: #000000;
}

/* tabela do simulador */
.calc_table {
  overflow: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,.25);
  margin-top: 12px;
  background: #fff;
  max-height: 42vh;
  padding-right: 6px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.calc_table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.calc_table thead th {
  background: #00294e;
  color: #7ED957;
  position: sticky;
  top: 0;
  z-index: 1;
}

.calc_table th,
.calc_table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  white-space: nowrap;
}

.calc_hint {
  text-align: center;
  font-size: 12px;
  opacity: .8;
  margin-top: 6px;
  color: #00294e;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-icon {
  position: fixed;
  font-size: 30px;
  padding: 10px;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  background-color: #25D366;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
  z-index: 9999;
  animation: pulse 1.5s infinite;
}
@media (max-width:768px){
  .whatsapp-icon {
    font-size: 35px;
    padding: 13px;
    bottom: 25px;
    right: 25px;
  }
}
@keyframes pulse{
  0%{ transform:scale(1); }
  50%{ transform:scale(1.1); }
  100%{ transform:scale(1); }
}
