/* =========================================================
   FONTES LOCAIS — MONTSERRAT
   ========================================================= */
@import "tailwindcss";
@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   RESET BÁSICO E CONFIGURAÇÕES GERAIS
   ========================================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #f5f7fa;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

nav a {
  font-weight: 600;
  color: #333;
  transition: color 0.2s;
}

nav a.active {
  text-decoration: underline;
}

nav a:hover {
  color: #1a73e8;
}

/* =========================================================
   TIPOGRAFIA RESPONSIVA
   ========================================================= */

h1 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  line-height: 1.3;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 1.2vw + 0.8rem, 2rem);
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: clamp(0.95rem, 0.5vw + 0.8rem, 1.1rem);
  line-height: 1.7;
  color: #333;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #fff;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  border-radius: 16px;
  object-fit: contain;
}

/* =========================================================
   BOTÕES
   ========================================================= */

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  font-size: clamp(0.9rem, 0.4vw + 0.7rem, 1rem);
  font-weight: 600;
  padding: 0.9rem 1.7rem;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-blue {
  background-color: #1a73e8;
}

.btn-green {
  background-color: #34a853;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* =========================================================
   card central
   ========================================================= */

.bg-norma-gradiente {
  background: linear-gradient(135deg, #4372b9 0%, #a2ce6c 100%);
}
/* =========================================================
   FOOTER
   ========================================================= */

footer {
  font-size: clamp(0.8rem, 0.4vw + 0.6rem, 0.95rem);
  text-align: center;
  padding: 1.5rem;
  color: #555;
}

.menu-mobile-btn {
  display: none;
}
/* =========================================================
   RESPONSIVIDADE EXTRA
   ========================================================= */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    padding: 4rem 1.2rem;
    min-height: auto;
  }

  .hero-banner {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .navbar nav ul {
    display: none;
  }
  .navbar .menu-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1a1a1a;
    cursor: pointer;
  }

  .navbar {
    position: relative;
  }
  .navbar.menu-open nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 16px;
    background: #fff;
    box-shadow: 0 2px 8px #0002;
    border-radius: 12px;
    padding: 1rem 2rem;
    z-index: 1001;
  }
  .hero-banner,
  .hero img {
    object-position: center center;
    object-fit: cover;
    height: 260px;
    max-width: 100%;
    border-radius: 16px;
  }
  .hero-buttons,
  .flex-col.sm\:flex-row {
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: center;
  }
  .hero .absolute,
  .hero .relative .absolute {
    position: static !important;
    margin-top: 1.5rem;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}
