/* Base da LP — tokens, tipografia e componentes da masterpage. */

@font-face {
  font-family: "Maersk Text";
  src: url("../assets/fonts/MaerskText-Light.woff2") format("woff2"),
       url("../assets/fonts/MaerskText-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Maersk Text";
  src: url("../assets/fonts/MaerskText-LightItalic.woff2") format("woff2"),
       url("../assets/fonts/MaerskText-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Maersk Text";
  src: url("../assets/fonts/MaerskText-Regular.woff2") format("woff2"),
       url("../assets/fonts/MaerskText-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Maersk Text";
  src: url("../assets/fonts/MaerskText-Italic.woff2") format("woff2"),
       url("../assets/fonts/MaerskText-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Maersk Text";
  src: url("../assets/fonts/MaerskText-Bold.woff2") format("woff2"),
       url("../assets/fonts/MaerskText-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Maersk Text";
  src: url("../assets/fonts/MaerskText-BoldItalic.woff2") format("woff2"),
       url("../assets/fonts/MaerskText-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {

  --lp-deep-blue: #031859;
  --lp-deep-blue-900: #020f38;
  --lp-blue: #057dc9;

  --lp-blue-text: #0573b9;
  --lp-off-white-blue: #eff6ff;
  --lp-coral: #ff6d70;

  --lp-blue-800: #0f4c82;

  --lp-black: #111111;
  --lp-gray-900: #222222;
  --lp-gray-700: #444444;
  --lp-gray-500: #666666;
  --lp-gray-300: #aaaaaa;
  --lp-light-blue: #c1d1e8;
  --lp-white: #ffffff;

  --lp-slate: #4a5f7d;
  --lp-border-soft: #e6eef9;
  --lp-c1d1e8: #c1d1e8;
  --lp-placeholder: #757575;
  --lp-meta: #5374a2;

  --lp-success: #027a48;
  --lp-success-light: #ecfdf3;
  --lp-error: #b42318;
  --lp-error-light: #fef3f2;

  --lp-text: var(--lp-slate);
  --lp-heading: var(--lp-deep-blue);
  --lp-bg: var(--lp-white);
  --lp-bg-soft: var(--lp-off-white-blue);
  --lp-bg-softer: #f9fbff;
  --lp-border: var(--lp-light-blue);

  --lp-grad-deep: linear-gradient(100deg, #031859 0%, #073476 50%, #057dc9 100%);
  --lp-grad-banner: linear-gradient(100deg, #031859, #094f8e);
  --lp-grad-sobre: linear-gradient(100deg, #031859, #0a6cae);
  --lp-veil: rgba(255, 255, 255, 0.15);
  --lp-veil-strong: rgba(255, 255, 255, 0.35);
  --lp-shape-veil: rgba(255, 255, 255, 0.06);
  --lp-backdrop: rgba(3, 24, 89, 0.6);

  --lp-ff: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --lp-ff-heading: "Maersk Text", Arial, sans-serif;
  --lp-fs-display: 4.75rem;
  --lp-fs-h1: 3.5rem;
  --lp-fs-h2: 3rem;
  --lp-fs-h3: 2.5rem;
  --lp-fs-h4: 2rem;
  --lp-fs-h5: 1.5rem;
  --lp-fs-h6: 1.25rem;
  --lp-fs-lg: 1.25rem;
  --lp-fs-md: 1.125rem;
  --lp-fs-body: 1rem;
  --lp-fs-sm: 0.875rem;
  --lp-fs-xs: 0.75rem;

  --lp-lh-tight: 1.2;
  --lp-lh-body: 1.5;
  --lp-lh-lead: 1.75;
  --lp-lh-prose: 1.875;

  --lp-sp-1: 0.25rem;
  --lp-sp-2: 0.5rem;
  --lp-sp-3: 0.75rem;
  --lp-sp-4: 1rem;
  --lp-sp-5: 1.25rem;
  --lp-sp-6: 1.5rem;
  --lp-sp-8: 2rem;
  --lp-sp-10: 2.5rem;
  --lp-sp-12: 3rem;
  --lp-sp-16: 4rem;
  --lp-sp-20: 5rem;

  --lp-container: 74.375rem;
  --lp-gutter: 1.5rem;
  --lp-header-h: 4.5625rem;
  --lp-radius-sm: 0.25rem;
  --lp-radius: 0.5rem;
  --lp-radius-lg: 1rem;
  --lp-radius-pill: 999px;

  --lp-radius-btn: 0.7rem 0.7rem 0 0.7rem;
  --lp-radius-card: 1rem 1rem 0 1rem;

  --lp-sh-card: 0 1.25rem 4.5rem rgba(3, 24, 89, 0.2);
  --lp-sh-card-soft: 0 0.75rem 2rem rgba(3, 24, 89, 0.08);
  --lp-whatsapp: #25d366;
  --lp-whatsapp-dark: #128c44;

  --lp-dur: 0.24s;
  --lp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 768px) {
  :root {
    --lp-fs-h1: 2.5rem;
    --lp-fs-h2: 2.25rem;
    --lp-fs-h3: 2rem;
    --lp-fs-h4: 1.5rem;
    --lp-fs-h5: 1.25rem;
    --lp-fs-h6: 1.125rem;
    --lp-sp-20: 3.5rem;
  }
}

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

html { scroll-padding-top: var(--lp-header-h); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html.lenis,
html.lenis body { height: auto; }

html[data-lenis="on"] { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  font-family: var(--lp-ff);
  font-size: var(--lp-fs-body);
  line-height: var(--lp-lh-body);
  color: var(--lp-text);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--lp-heading);
  font-weight: 400;
  line-height: var(--lp-lh-tight);
}

h1, h2, h3 { font-family: var(--lp-ff-heading); }

.lp-footer__title { font-family: var(--lp-ff); }

h1 { font-size: var(--lp-fs-h1); }
h2 { font-size: var(--lp-fs-h3); }
h3 { font-size: var(--lp-fs-h4); }

p { margin: 0 0 var(--lp-sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--lp-blue-text); }

img,
svg { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--lp-blue);
  outline-offset: 2px;
}

.lp-container {
  width: 100%;
  max-width: calc(var(--lp-container) + var(--lp-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--lp-gutter);
}

.lp-section {
  padding-block: var(--lp-sp-20);
}

.lp-section__title {

  max-width: var(--lp-titulo-medida, 43.75rem);
  margin-block: var(--lp-sp-5) var(--lp-sp-4);
}

.lp-section__title strong { font-weight: 700; }

.lp-prose p {
  margin-block: 0 var(--lp-sp-5);
  line-height: var(--lp-lh-prose);
}

.lp-prose p:last-child { margin-block-end: 0; }

.lp-section__lead {
  max-width: 43.75rem;
  font-size: var(--lp-fs-body);
  line-height: var(--lp-lh-lead);
}

.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lp-skip {
  position: absolute;
  left: -9999px;
}

.lp-skip:focus {
  left: var(--lp-gutter);
  top: var(--lp-sp-2);
  z-index: 600;
  padding: var(--lp-sp-2) var(--lp-sp-4);
  background: var(--lp-white);
  border-radius: var(--lp-radius-sm);
}

.lp-eyebrow {
  display: inline-block;
  margin: 0;
  padding: 0.625rem var(--lp-sp-4);
  background: var(--lp-blue-800);
  color: var(--lp-white);
  font-size: var(--lp-fs-xs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lp-sp-5);
  min-height: 2.75rem;
  padding: var(--lp-sp-3) var(--lp-sp-6);
  border: 1px solid transparent;
  border-radius: var(--lp-radius-btn);
  font: inherit;
  font-size: var(--lp-fs-sm);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--lp-dur) var(--lp-ease), color var(--lp-dur) var(--lp-ease);
}

.lp-btn--xl {
  min-height: 4.125rem;
  padding-inline: var(--lp-sp-10);
  font-size: var(--lp-fs-md);
}

.lp-btn--lg {
  min-height: 3.75rem;
  padding-inline: var(--lp-sp-8);
  font-size: var(--lp-fs-body);
}

.lp-btn--primary {
  background: var(--lp-blue-text);
  color: var(--lp-white);
}

.lp-btn--primary:hover { background: var(--lp-deep-blue); }

.lp-btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--lp-deep-blue);
}

.lp-btn--ghost-light {
  background: transparent;
  border-color: var(--lp-veil-strong);
  color: var(--lp-white);
}

.lp-btn--ghost-light:hover { background: var(--lp-veil); }

.lp-btn--light {
  background: var(--lp-white);
  color: var(--lp-deep-blue);
}

.lp-asset {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed currentColor;
  border-radius: var(--lp-radius);
  opacity: 0.45;
}

.lp-asset__label {
  padding: var(--lp-sp-2) var(--lp-sp-4);
  border: 1px solid currentColor;
  border-radius: var(--lp-radius-sm);
  font-size: var(--lp-fs-xs);
  letter-spacing: 0.04em;
  text-align: center;
}

[data-lp-js] [data-reveal],
[data-lp-js] [data-reveal-group] > :where(*:not([data-reveal-group]):not(.lp-asset):not(.modal)) {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.7s var(--lp-ease), transform 0.7s var(--lp-ease);
}

[data-lp-js] [data-reveal].is-revealed,
[data-lp-js] [data-reveal-group] > .is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-lp-js] [data-reveal],
  [data-lp-js] [data-reveal-group] > *:not([data-reveal-group]):not(.lp-asset):not(.modal) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--lp-white);
  border-bottom: 1px solid var(--lp-border);
  transition: transform 0.3s var(--lp-ease);
}

.lp-header.is-recolhido { transform: translateY(-100%); }

@media (prefers-reduced-motion: reduce) {
  .lp-header { transition: none; }
}

.lp-header__inner {
  display: flex;
  align-items: center;
  gap: var(--lp-sp-6);
  min-height: var(--lp-header-h);
}

.lp-header__logo { display: flex; }

.lp-header__logo img { width: 7.875rem; }

.lp-header__nav { margin-inline-start: auto; }

.lp-nav {
  display: flex;
  gap: var(--lp-sp-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-nav a {
  color: var(--lp-blue-800);
  font-size: var(--lp-fs-sm);
  font-weight: 700;
  text-decoration: none;
}

.lp-nav a:hover { color: var(--lp-blue-text); }

.lp-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--lp-sp-2);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.lp-header__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lp-deep-blue);
}

.lp-drawer {
  display: flex;
  flex-direction: column;
  gap: var(--lp-sp-6);
  padding: var(--lp-sp-6) var(--lp-gutter);
  border-top: 1px solid var(--lp-border);
}

.lp-drawer[hidden] { display: none; }

.lp-nav--drawer { flex-direction: column; gap: var(--lp-sp-4); }

@media (max-width: 992px) {
  .lp-header__nav,
  .lp-header__cta { display: none; }

  .lp-header__toggle { display: flex; margin-inline-start: auto; }
}

@media (min-width: 993px) {
  .lp-drawer { display: none; }
}

.lp-footer {
  padding-block: var(--lp-sp-16) var(--lp-sp-8);
  background: var(--lp-deep-blue-900);
  color: var(--lp-light-blue);
}

.lp-footer__inner {
  display: grid;
  gap: var(--lp-sp-12);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.lp-footer__brand img { width: 7.5rem; }

.lp-footer__title {
  margin-block-end: var(--lp-sp-4);
  color: var(--lp-white);
  font-size: var(--lp-fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-footer li + li { margin-block-start: var(--lp-sp-2); }

.lp-footer a {
  color: var(--lp-light-blue);
  font-size: var(--lp-fs-sm);
  text-decoration: none;
}

.lp-footer a:hover { color: var(--lp-white); }

.lp-footer__nav .lp-nav {
  flex-direction: column;
  gap: var(--lp-sp-2);
}

.lp-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--lp-sp-2) var(--lp-sp-8);
  margin-block-start: var(--lp-sp-12);
  padding-block-start: var(--lp-sp-6);
  border-top: 1px solid var(--lp-veil);
  font-size: var(--lp-fs-xs);
}

.lp-footer__legal p { margin: 0; }

.lp-footer__legal a { font-size: inherit; }

.wpp-container {
  position: fixed;
  inset-block-end: var(--lp-sp-6);
  inset-inline-end: var(--lp-sp-6);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--lp-sp-3);
}

.btn-wpp {
  inline-size: 3.5rem;
  block-size: 3.5rem;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--lp-whatsapp) url("../assets/icons/icon-whatsapp.svg") no-repeat center / 1.875rem;
  box-shadow: var(--lp-sh-card-soft);
  transition: transform var(--lp-dur) var(--lp-ease), background-color var(--lp-dur) var(--lp-ease);
}

.btn-wpp:hover,
.btn-wpp:focus-visible {
  background-color: var(--lp-whatsapp-dark);
  transform: scale(1.06);
}

.box-wpp {
  display: none;
  inline-size: min(19rem, calc(100vw - 2 * var(--lp-sp-4)));
  padding: var(--lp-sp-5);
  border-radius: var(--lp-radius-card);
  background: var(--lp-bg);
  box-shadow: var(--lp-sh-card);
}

.wpp-container.is-aberto .box-wpp { display: block; }

.box-wpp__close {
  display: flex;
  justify-content: flex-end;
}

.box-wpp__close .icon-close {
  inline-size: 1.5rem;
  block-size: 1.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--lp-slate);
}

.box-wpp__close .icon-close::before {
  content: "×";
  font-size: var(--lp-fs-h6);
  line-height: 1;
}

.box-wpp .content-body {
  display: flex;
  align-items: center;
  gap: var(--lp-sp-3);
  margin-block: var(--lp-sp-2) var(--lp-sp-4);
}

.box-wpp .content-body img { inline-size: 3rem; flex: none; }

.box-wpp .content-body p {
  margin: 0;
  font-size: var(--lp-fs-sm);
  color: var(--lp-heading);
}

.box-wpp .content-body.red p { color: var(--lp-error); }

.box-wpp .content-btn {
  display: flex;
  gap: var(--lp-sp-3);
}

.wpp-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 5rem;
  padding: var(--lp-sp-2) var(--lp-sp-5);
  border-radius: var(--lp-radius-btn);
  background: var(--lp-blue-text);
  color: var(--lp-white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--lp-dur) var(--lp-ease);
}

.wpp-container .btn:hover { background: var(--lp-deep-blue); color: var(--lp-white); }

.wpp-container .hidden { display: none; }

.wpp-container .sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .wpp-container {
    inset-block-end: var(--lp-sp-4);
    inset-inline-end: var(--lp-sp-4);
  }
}
