*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  color: #06132a;
  background: #f4f2ec;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vw, 72px);
  position: relative;
  overflow-x: hidden;
}

::selection {
  background: #06132a;
  color: #fff;
}

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

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

h1 {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 0;
  line-height: 0.98;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top img {
  height: 84px;
  width: auto;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 56px) 0;
}
.hero h1 {
  font-size: clamp(46px, 10vw, 132px);
}

h1 .l {
  display: block;
}

h1 .thin {
  font-weight: 400;
  color: #2a3a57;
}

.roller {
  display: inline-flex;
  overflow: hidden;
  height: 1em;
  vertical-align: top;
}
.roller ul {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.62s cubic-bezier(0.6, 0, 0.15, 1);
}
.roller li {
  height: 1em;
  display: flex;
  align-items: center;
}
.roller .w {
  color: oklch(46% 0.14 256deg);
  position: relative;
  white-space: nowrap;
}

.sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(30px, 4vw, 52px);
  flex-wrap: wrap;
}
.sub p {
  font-size: clamp(16px, 1.7vw, 20px);
  color: #2a3a57;
  max-width: 46ch;
  line-height: 1.55;
  text-wrap: pretty;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  background: #06132a;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s;
}
.mail svg {
  width: 16px;
  height: 16px;
}
.mail:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -18px rgba(6, 19, 42, 0.4);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid #e4e1d7;
  padding-top: 20px;
  font-size: 12.5px;
  color: #6b7280;
}
.foot .prog {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot .track {
  width: clamp(120px, 20vw, 200px);
  height: 5px;
  border-radius: 100px;
  background: #e7e3d9;
  overflow: hidden;
}
.foot .fill {
  height: 100%;
  width: 64%;
  border-radius: 100px;
  background: linear-gradient(90deg, oklch(55% 0.15 256deg), oklch(66% 0.12 210deg));
}

.rev {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.rev.d1 {
  animation-delay: 0.1s;
}
.rev.d2 {
  animation-delay: 0.24s;
}
.rev.d3 {
  animation-delay: 0.36s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rev {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .roller ul {
    transition: none;
  }
}
@media (max-width: 640px) {
  .top img {
    height: 66px;
  }
  .hero h1 {
    font-size: clamp(44px, 13vw, 88px);
  }
}

/* ============================================================
   Banner de consentimento (LGPD) — paleta Grupo Malba
   ============================================================ */
@keyframes cs-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.cf-consent {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: clamp(12px, 3vw, 24px);
  z-index: 50;
  width: min(680px, calc(100% - 28px));
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid #e4e1d7;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(6, 19, 42, .16);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  animation: cs-rise .4s cubic-bezier(.2, .7, .2, 1) .2s both;
}
.cf-consent[hidden] { display: none; }

.cf-consent__text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #2a3a57;
}
.cf-consent__text a { color: #06132a; text-decoration: underline; }

.cf-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }

.cf-consent__btn {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid #e4e1d7;
  background: transparent;
  color: #06132a;
  cursor: pointer;
  transition: all .2s cubic-bezier(.2, .7, .2, 1);
}
.cf-consent__btn:hover { border-color: #06132a; }
.cf-consent__btn--accept {
  background: #06132a;
  border-color: #06132a;
  color: #fff;
}
.cf-consent__btn--accept:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(6, 19, 42, .5); }

@media (max-width: 480px) {
  .cf-consent__actions { width: 100%; }
  .cf-consent__btn { flex: 1; }
}

/* ============================================================
   Página de documento (Política de Privacidade) — paleta Grupo Malba
   ============================================================ */
.cf-doc {
  min-height: 100dvh;
  background: #f4f2ec;
  color: #06132a;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  padding: 0;
}
.cf-doc__wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 32px);
}
.cf-doc__logo { width: auto; height: clamp(56px, 8vw, 72px); }
.cf-doc h1 {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1;
  margin: clamp(24px, 4vw, 36px) 0 4px;
  color: #06132a;
}
.cf-doc h2 {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 2.6vw, 24px);
  letter-spacing: -0.02em;
  margin: 32px 0 8px;
  color: #06132a;
}
.cf-doc p, .cf-doc li { font-size: 15.5px; line-height: 1.65; color: #2a3a57; }
.cf-doc ul { padding-left: 20px; margin: 8px 0; }
.cf-doc a { color: #06132a; text-decoration: underline; }
.cf-doc__meta { font-size: 13px; color: #6b7280; margin-top: 0; }
.cf-doc__back {
  display: inline-block;
  margin-top: 40px;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
}
