/* Global Styles */

/* Declaração @font-face para Miller Display */
@font-face {
  font-family: "Miller Display";
  src: url("https://yourdomain.com/fonts/MillerDisplay.woff2") format("woff2"),
    url("https://yourdomain.com/fonts/MillerDisplay.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #0f2648;
  --secondary-color: #0f1418;
  --accent-color: #3a5a8c;
  --light-accent-color: #4c6fa8; /* Cor mais clara derivada do accent-color */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #cccccc;
  --dark-gray: #666666;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* Fontes */
  --font-heading: "Miller Display", serif;
  --font-subheading: "Noto Serif", serif;
  --font-body: "Noto Sans", sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.btn {
  font-family: var(--font-subheading);
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-join {
  display: block;
  width: fit-content;
  margin: 2rem auto;
  padding: 1rem 2.5rem;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-subheading);
  font-weight: 600;
  text-align: center;
  border-radius: 30px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.btn-join:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Media Queries */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
  }
}

/* Adicionar classes para o comportamento do header fixo */
.scroll-padding {
  scroll-padding-top: 110px;
  /* Ajustado para a altura do header */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  /* Ajustado para o header fixo */
}

/* Media Query para Telas Grandes */
@media (min-width: 1281px) {
  .container {
    max-width: 1400px;
  }

  section {
    padding: 6rem 0;
  }

  .section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
  }

  .section-title::after {
    width: 80px;
    height: 4px;
    bottom: -1.2rem;
  }

  .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }

  .btn-join {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
  }
}

/* Media Query específica para exatamente 1280x800 */
@media (min-width: 1200px) and (max-width: 1280px) and (height: 800px) {
  .container {
    margin: 0 auto 0 10px;
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--accent-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-family: var(--font-body);
  text-align: center;
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.benefit-highlight {
  display: inline;
  font-weight: 600;
  color: var(--primary-color, #3a5a7d);
  background: none;
  position: relative;
}
