/* style.css */
:root {
  --primary-color: #c13476; /* pink from button */
  --primary-hover: #a12962;
  --text-color: #373737;
  --title-color: #000000;
  --bg-color: #ffffff;
  --font-family:
    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --container-width: 1400px;
}

/* Previne FOUT (Flash of Unstyled Text) */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 95%;
  descent-override: 27%;
  line-gap-override: 0%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reserva espaço para imagens antes do carregamento */
.tab-image img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.logo img {
  width: auto;
  height: 80px;
  max-width: 200px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Classe para ocultar visualmente mas manter acessível para leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 40px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 50px;
  font-size: 18px;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: var(--primary-hover);
}

/* Botao flutuante do WhatsApp */
.whatsapp-float-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background-color: #1ebe5d;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.whatsapp-float-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
}
