@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  /* Azul */
  --blue-700: #1245bd;
  --blue-600: #1d5ee0;
  --blue-500: #2f7bf2;
  --blue-400: #5b9bff;
  --blue-100: #e3eeff;

  /* Amarelo (destaque) */
  --yellow: #ffbe3d;
  --yellow-600: #f5a000;
  --yellow-100: #fff0cc;

  /* Bege e neutros */
  --cream: #fff6ea;
  --cream-2: #ffe9cf;
  --white: #ffffff;
  --navy: #0b1f4b;
  --muted: #5d6a85;
  --brown: #2b1d12;
  --line: #f0dfc8;

  --gradient-blue: radial-gradient(
      120% 90% at 85% 30%,
      var(--blue-400) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 45%, var(--blue-500) 100%);

  --font-title: "Fredoka", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --container-width: 1240px;
  --radius-card: 28px;
  --radius-button: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(var(--container-width), calc(100% - 48px));
  margin: 0 auto;
}

/* TEXTOS */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-lead {
  margin-top: 18px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.hl {
  color: var(--yellow);
  text-decoration: underline wavy;
  text-decoration-color: rgba(255, 190, 61, 0.7);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}

.hl-dark {
  color: var(--yellow-600);
  text-decoration: underline wavy;
  text-decoration-color: rgba(245, 160, 0, 0.55);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}

/* BOTÕES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: var(--radius-button);
  border: 2px solid transparent;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  background: #ffca5c;
}

.btn-blue {
  background: var(--blue-600);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-500);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn-outline {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue-100);
}

.btn-small {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 10;
  padding-top: 22px;
}

.site-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}

.logo img {
  width: auto;
  height: 48px;
  border-radius: 16px;
}

.logo span em {
  font-style: normal;
  color: var(--yellow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.nav-menu a {
  padding: 10px 20px;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--white);
  color: var(--blue-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* TOPO DAS PÁGINAS INTERNAS */

.page-top {
  position: relative;
  overflow: hidden;
  padding-bottom: 150px;
  background: var(--gradient-blue);
  border-radius: 0 0 56px 56px;
}

.page-top::before,
.page-top::after,
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-top::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -80px;
  background: rgba(255, 255, 255, 0.08);
}

.page-top::after {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: 6%;
  background: rgba(255, 190, 61, 0.18);
}

.page-top-title {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  color: var(--white);
}

.page-top-title h1 {
  font-family: var(--font-title);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 700;
}

.page-top-title p {
  margin-top: 14px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* FOOTER */

.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--brown);
  border-radius: 56px 56px 0 0;
  padding: 72px 0 36px;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer .logo {
  margin-bottom: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-about p {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 14px;
}

/* RESPONSIVO */

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .logo {
    font-size: 22px;
  }

  .logo img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .header-actions .btn-glass {
    display: none;
  }

  .header-actions .btn {
    padding: 0 16px;
    min-height: 42px;
    font-size: 14px;
    white-space: nowrap;
  }

  .page-top {
    padding-bottom: 110px;
    border-radius: 0 0 36px 36px;
  }

  .site-footer {
    border-radius: 36px 36px 0 0;
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-danger {
  background: #d93a2b;
  color: var(--white);
}

.btn-danger:hover {
  background: #c22f21;
}

.btn-outline-danger {
  border-color: #d93a2b;
  color: #d93a2b;
  background: transparent;
}

.btn-outline-danger:hover {
  background: #ffe6e3;
}
