/* ==========================================================================
   Selectcredy · main.css

   Layout: creme and azul profundo "sheets" slide over one another with
   rounded top edges; content sits on asymmetric two-column splits inside a
   1240px container. Type is Montserrat Light with SemiBold verde-água
   highlights, as in the agency's applied-identity mockup.

   1. Tokens          6. Hero              11. Despachante
   2. Base            7. Sobre             12. Contato
   3. Layout          8. Soluções          13. Footer
   4. Components      9. Diferenciais      14. Floating UI
   5. Header & menu  10. Simulação         15. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand palette (from the brand presentation, FOGRA39 → sRGB) */
  --c-deep: #003E49;        /* Azul profundo */
  --c-petrol: #00515D;      /* Azul petróleo */
  --c-aqua: #00AFA9;        /* Verde-água */
  --c-cream: #F8F2E8;       /* Creme */
  --c-white: #FFFFFF;

  /* Derived tones */
  --c-deep-2: #003540;      /* deeper shade for gradients */
  --c-card-dark: #06505B;   /* raised surface on azul profundo */
  --c-sand: #EFE6D6;        /* creme, one step darker */
  --c-aqua-soft: #E2F4F2;   /* verde-água tint on light */
  --c-aqua-hover: #14C2BB;
  --c-ink: #022C35;         /* text on verde-água (5.4:1) */
  --c-aqua-text: #00958F;   /* large highlight text on light (3.3:1) */
  --c-aqua-link: #007C77;   /* small teal text on light (4.5:1) */
  --c-aqua-bright: #4CCBC5; /* small teal text on dark (6:1) */
  --c-text: #44646A;        /* body text on light (5.7:1) */
  --c-text-on-dark: #B9CDD0;/* body text on azul profundo (7.1:1) */
  --c-line: rgba(0, 62, 73, .12);
  --c-line-on-dark: rgba(255, 255, 255, .12);
  --c-error: #B42318;

  /* Contextual roles (light surfaces by default; dark surfaces override) */
  --heading: var(--c-deep);
  --accent: var(--c-aqua-text);
  --text: var(--c-text);
  --line: var(--c-line);
  --badge-text: var(--c-petrol);
  --badge-line: rgba(0, 124, 119, .45);

  /* Type (faces are declared in 2. Base) */
  --f-sans: "Montserrat", "Montserrat Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Montserrat Alternates", "Montserrat", "Montserrat Fallback", ui-sans-serif, system-ui, sans-serif;
  --fs-display: clamp(2.375rem, 1.45rem + 3.5vw, 4.375rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.1vw, 3.375rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .5vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --fs-label: .75rem;

  /* Shape & depth */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-sheet: clamp(28px, 4vw, 56px);
  --shadow-card: 0 1px 2px rgba(0, 46, 54, .05), 0 18px 40px -18px rgba(0, 46, 54, .22);
  --shadow-float: 0 30px 60px -24px rgba(0, 20, 26, .55);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --gutter-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  --header-h: 92px;
  --section-space: clamp(88px, 10vw, 152px);
}

.section--deep,
.simulate__panel,
.site-footer {
  --heading: var(--c-white);
  --accent: var(--c-aqua);
  --text: var(--c-text-on-dark);
  --line: var(--c-line-on-dark);
  --badge-text: var(--c-white);
  --badge-line: rgba(0, 175, 169, .55);
}

/* 2. Base ------------------------------------------------------------------ */
/* Fonts are served with the site (SIL Open Font License, see assets/fonts).
   Montserrat is one variable file for every weight, latin subset. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Alternates";
  src: url("../fonts/montserrat-alternates-600-italic-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/* Arial sized to Montserrat's metrics, so text doesn't jump when the font arrives */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 111.71%;
  ascent-override: 86.66%;
  descent-override: 22.47%;
  line-gap-override: 0%;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: var(--header-h);
  /* Page edges (overscroll, phone safe areas) match the hero and the footer */
  background: var(--c-deep);
}

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

/* Lenis (smooth scroll) recommended rules */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-cream);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.menu-open { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }
img { height: auto; }
/* <picture> only picks the file (WebP or JPEG); the <img> lays out as if it stood alone */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--c-aqua);
  outline-offset: 3px;
  border-radius: 6px;
}
[tabindex="-1"]:focus { outline: none; }

::selection { background: var(--c-aqua); color: var(--c-ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Keeps a short run together, like "459 - Centro": a line may break after a hyphen even next to a no-break space. */
.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--c-aqua);
  color: var(--c-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--draw { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Subtle film grain for dark surfaces */
.grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter-l) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-space);
  scroll-margin-top: 0;
}
.section--cream { background: var(--c-cream); color: var(--c-text); }
.section--deep { background: var(--c-deep); color: var(--c-text-on-dark); }

/* A sheet slides over the previous band with rounded top corners */
.section--sheet {
  margin-top: calc(var(--radius-sheet) * -1);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  box-shadow: 0 -30px 60px -40px rgba(0, 20, 26, .35);
}

.section-head {
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px 48px;
}
.section-head--split > div { display: grid; justify-items: start; gap: 20px; }

/* Type */
.h2,
.hero__title {
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.028em;
  color: var(--heading);
  text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); max-width: 16em; }
.h2 strong,
.hero__title strong { font-weight: 600; color: var(--accent); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--heading);
  max-width: 34em;
  text-wrap: pretty;
}
.body { color: var(--text); max-width: 36em; text-wrap: pretty; }

.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* 4. Components ------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .6em 1.15em;
  border: 1px solid var(--badge-line);
  border-radius: 999px;
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--badge-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .4s;
}
.btn .icon { width: 1.3em; height: 1.3em; }
.btn--primary { background: var(--c-aqua); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-aqua-hover); box-shadow: 0 14px 30px -14px rgba(0, 175, 169, .8); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .875rem; }
.btn--block { width: 100%; }

/* Brand button: verde-água pill + round arrow (from the mockup) */
.btn-combo { display: inline-flex; align-items: center; gap: 6px; }
.btn-combo__label {
  display: inline-flex;
  align-items: center;
  height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--c-aqua);
  color: var(--c-ink);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .35s, padding .5s var(--ease-out);
}
.btn-combo__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--c-deep);
  color: var(--c-white);
  transition: transform .5s var(--ease-out), background-color .35s;
}
.btn-combo__icon .icon { width: 22px; height: 22px; transition: transform .5s var(--ease-out); }
.btn-combo--on-dark .btn-combo__icon { background: var(--c-white); color: var(--c-deep); }
.btn-combo:hover .btn-combo__label { background: var(--c-aqua-hover); padding-inline: 34px; }
.btn-combo:hover .btn-combo__icon { transform: translateX(3px); }
.btn-combo:hover .btn-combo__icon .icon { transform: rotate(-45deg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding-block: 6px;
  font-weight: 600;
  color: var(--heading);
  background: linear-gradient(currentColor, currentColor) 0 100% / 34% 1.5px no-repeat;
  transition: background-size .6s var(--ease-out), color .3s;
}
.link-arrow::after {
  content: "";
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 18l6-6M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 18l6-6M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .5s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--on-dark { color: var(--c-white); }

.float-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--c-white);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: var(--shadow-float);
}
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-aqua);
  color: var(--c-ink);
}
.float-chip__icon .icon { width: 18px; height: 18px; }
.float-chip--light {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(0, 62, 73, .06);
  color: var(--c-deep);
  box-shadow: 0 24px 50px -24px rgba(0, 46, 54, .45);
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-deep);
  color: var(--c-aqua);
}
.icon-chip .icon { width: 24px; height: 24px; }

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-cream);
  color: var(--c-petrol);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--c-sand);
  clip-path: inset(0% 0% 0% 0% round 32px);
}
.frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--landscape { aspect-ratio: 4 / 3; }

.chip-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--c-white);
  font-size: .8125rem;
  font-weight: 600;
  transition: background-color .3s, border-color .3s, color .3s;
}
.chip-link:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-deep); }

/* 5. Header & mobile menu -------------------------------------------------- */
.site-header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 100;
  /* The bar is 12px wider than the content on each side, so the logo lines up with the content */
  padding: 14px calc(var(--gutter-r) - 12px) 0 calc(var(--gutter-l) - 12px);
  pointer-events: none;
  transition: transform .6s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }

.site-header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: calc(var(--container) + 24px);
  height: 64px;
  margin-inline: auto;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .5s, border-color .5s, box-shadow .5s, padding .5s var(--ease-out);
}
.site-header.is-scrolled .site-header__bar {
  padding-left: 22px;
  background: rgba(0, 48, 57, .74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 20px 40px -24px rgba(0, 20, 26, .6);
}
.menu-open .site-header .site-header__bar {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__logo { flex: none; }
.site-header__logo img { width: clamp(148px, 12vw, 176px); }

.nav { position: relative; margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .3s;
}
.nav__link:hover,
.nav__link.is-active { color: var(--c-white); }
.nav__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .3s;
}
.site-header__cta { margin-left: 6px; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--c-white);
}
.menu-toggle__lines { position: relative; width: 20px; height: 12px; }
.menu-toggle__lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__lines i:first-child { top: 1px; }
.menu-toggle__lines i:last-child { top: 9px; }
.menu-open .menu-toggle__lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines i:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding:
    calc(env(safe-area-inset-top, 0px) + 120px)
    var(--gutter-r)
    calc(env(safe-area-inset-bottom, 0px) + 32px)
    var(--gutter-l);
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(0, 175, 169, .35), transparent 70%),
    var(--c-deep);
  color: var(--c-white);
  overflow-y: auto;
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 52px) 46px);
  transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
}
.menu-open .mobile-menu {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 52px) 46px);
  transition: clip-path .8s var(--ease-in-out), visibility 0s;
}
.mobile-menu__nav li { overflow: hidden; border-bottom: 1px solid var(--c-line-on-dark); }
.mobile-menu__nav a {
  display: block;
  padding: 14px 0;
  font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.2;
  transform: translateY(105%);
  transition: transform .7s var(--ease-out), color .3s;
  transition-delay: 0s;
}
.menu-open .mobile-menu__nav a { transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.mobile-menu__nav a:hover { color: var(--c-aqua); }
.mobile-menu__footer { display: grid; gap: 20px; }
.mobile-menu__contact { color: var(--c-text-on-dark); font-size: var(--fs-sm); }

@media (max-width: 1100px) {
  .nav,
  .site-header__cta { display: none; }
  .menu-toggle { display: grid; }
}
@media (min-width: 1101px) {
  .mobile-menu { display: none; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(660px, 100svh, 960px);
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: calc(var(--radius-sheet) + clamp(64px, 8vw, 112px));
  background: var(--c-deep);
  color: var(--c-text-on-dark);
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute;
  right: -30vmax;
  bottom: -42vmax;
  width: 95vmax;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0, 175, 169, .5), rgba(0, 175, 169, .14) 55%, transparent 75%);
}
.hero__glow::after {
  content: "";
  position: absolute;
  left: -95%;
  top: -55%;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0, 81, 93, .9), transparent 75%);
}
.hero__watermark {
  position: absolute;
  left: -9%;
  top: 52%;
  width: min(58vw, 720px);
  height: auto;
  translate: 0 -50%;
  --sym-top: transparent;
  --sym-bottom: transparent;
  stroke: rgba(255, 255, 255, .07);
  stroke-width: .35;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}
.hero__content { display: grid; justify-items: start; gap: 28px; max-width: 660px; }
.hero__title { font-size: var(--fs-display); line-height: 1.06; }
.hero__lead { max-width: 30em; font-size: var(--fs-lead); line-height: 1.6; color: var(--c-text-on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100% - clamp(0px, 4vw, 56px), 460px);
  margin-right: clamp(0px, 4vw, 56px);
}
.hero__photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 36px;
  clip-path: inset(0% 0% 0% 0% round 36px);
  background: var(--c-petrol);
  box-shadow: var(--shadow-float);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 47, 56, .5), transparent 42%);
}

.hero__orbits { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 175, 169, .3);
  translate: -50% -50%;
  animation: spin 50s linear infinite;
}
.orbit--a { width: 128%; }
.orbit--b {
  width: 164%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .1);
  animation-duration: 90s;
  animation-direction: reverse;
}
.orbit i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--c-aqua);
  box-shadow: 0 0 0 6px rgba(0, 175, 169, .18), 0 0 18px rgba(0, 175, 169, .9);
}

.hero__float { position: absolute; z-index: 2; }
.hero__float--card { left: -20%; bottom: 8%; width: min(304px, 78%); }
.hero__float--chip { top: 7%; right: -12%; }
.hero__float--badge { right: -10%; bottom: -7%; width: 132px; }

.sim-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  color: var(--c-deep);
  box-shadow: var(--shadow-float);
}
.sim-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sim-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c-aqua-soft);
  color: var(--c-aqua-link);
}
.sim-card__icon .icon { width: 20px; height: 20px; }
.sim-card__title { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.sim-card__sub { font-size: .75rem; line-height: 1.3; color: var(--c-text); }
.sim-card__list { display: grid; gap: 8px; }
.sim-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  grid-template-areas: "bank name pick" "bank bar pick";
  align-items: center;
  gap: 5px 10px;
  padding: 9px 10px;
  border-radius: 14px;
  background: var(--c-cream);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .5s, box-shadow .5s;
}
.sim-row__bank {
  grid-area: bank;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--c-white);
  color: var(--c-petrol);
}
.sim-row__bank .icon { width: 16px; height: 16px; }
.sim-row__name { grid-area: name; white-space: nowrap; }
.sim-row__bar { grid-area: bar; height: 5px; border-radius: 99px; background: rgba(0, 62, 73, .08); overflow: hidden; }
.sim-row__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(0, 62, 73, .26);
  transform-origin: left;
  transform: scaleX(var(--w, .6));
  transition: transform 1.1s var(--ease-out), background-color .5s;
}
.sim-row__pick {
  grid-area: pick;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px 5px 7px;
  border-radius: 99px;
  background: var(--c-aqua);
  color: var(--c-ink);
  font-size: .6875rem;
  font-weight: 600;
  /* Revealed with a clip rather than a fade, so the label never sits at a low-contrast half opacity */
  clip-path: circle(0% at 50% 50%);
  scale: .8;
  transition: clip-path .45s var(--ease-out), scale .6s var(--ease-out);
}
.sim-row__pick .icon { width: 12px; height: 12px; stroke-width: 2.6; }
.sim-row.is-selected { background: var(--c-white); box-shadow: 0 0 0 1.5px var(--c-aqua), 0 12px 24px -14px rgba(0, 175, 169, .8); }
.sim-row.is-selected .sim-row__bar i { background: var(--c-aqua); }
.sim-row.is-selected .sim-row__pick { clip-path: circle(100% at 50% 50%); scale: 1; }

.spin-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-deep);
  box-shadow: 0 0 0 1px rgba(0, 175, 169, .4), var(--shadow-float);
}
.spin-badge__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.spin-badge__text text {
  fill: rgba(255, 255, 255, .85);
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.spin-badge__mark { width: 34%; height: auto; --sym-bottom: var(--c-white); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(var(--radius-sheet) + 28px);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 99px;
  translate: -50% 0;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--c-aqua);
  animation: cue 2s var(--ease-in-out) infinite;
}

/* Small laptops: two columns are tight, so the title and the card step down */
@media (min-width: 981px) and (max-width: 1180px) {
  .hero__title { font-size: calc(1rem + 3.5vw); }
  .hero__float--card { left: -16%; width: 304px; scale: .8; transform-origin: 0 100%; }
}
@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero__visual { justify-self: center; width: min(100% - 48px, 420px); margin: 0 auto; }
  .hero__float--card { left: -8%; bottom: 6%; width: 304px; scale: .9; transform-origin: 0 100%; }
  .hero__float--chip { top: 5%; right: -6%; }
  .hero__float--badge { right: -6%; bottom: -6%; width: 108px; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  /* The simulation card hangs below the photo so the person stays visible */
  .hero__visual { width: calc(100% - 36px); margin-bottom: 56px; }
  .hero__float--card { left: -5%; bottom: -14%; width: 304px; scale: .72; transform-origin: 0 100%; }
  .hero__float--chip { right: -3%; }
  .hero__float--badge { right: -4%; width: 92px; }
  .float-chip { font-size: .8125rem; padding-right: 14px; }
  .orbit--b { display: none; }
}

/* 7. Sobre ----------------------------------------------------------------- */
/* Sobre and Soluções share the cream band, so only one gap sits between them */
.about { padding-bottom: 0; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}
.about__media { position: relative; }
.about__chip { position: absolute; z-index: 2; animation: bob 6s var(--ease-in-out) infinite; }
.about__chip--a { top: 9%; right: -9%; }
.about__chip--b { bottom: 11%; left: -9%; animation-delay: -3s; }
.about__content { display: grid; justify-items: start; gap: 24px; }

.connect {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  margin-top: clamp(72px, 9vw, 128px);
  padding: clamp(32px, 4.5vw, 64px) clamp(24px, 4vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.connect__lines { position: absolute; inset: 0; pointer-events: none; }
.connect__lines svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.connect__path { fill: none; stroke: rgba(0, 62, 73, .12); stroke-width: 1.5; }
.connect__flow {
  fill: none;
  stroke: var(--c-aqua);
  stroke-width: 1.5;
  stroke-dasharray: 5 15;
  stroke-linecap: round;
  animation: flow 1.4s linear infinite;
}
.connect__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-aqua);
  box-shadow: 0 0 0 5px rgba(0, 175, 169, .16), 0 0 14px rgba(0, 175, 169, .8);
  offset-anchor: center;
  offset-rotate: 0deg;
  animation: travel 3.4s var(--ease-in-out) infinite;
}
.connect__dot--back { background: var(--c-deep); box-shadow: 0 0 0 5px rgba(0, 62, 73, .12); animation-direction: reverse; }
.connect__node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}
.connect__node strong { color: var(--c-deep); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.connect__node > span:last-child { color: var(--c-text); font-size: var(--fs-xs); line-height: 1.4; }
.connect__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--c-cream);
  color: var(--c-petrol);
}
.connect__icon .icon { width: 32px; height: 32px; }
.connect__icon--hub {
  width: 108px;
  height: 108px;
  background: var(--c-deep);
  box-shadow: 0 0 0 10px rgba(0, 175, 169, .12), 0 24px 40px -20px rgba(0, 62, 73, .8);
  --sym-bottom: var(--c-white);
}
.connect__icon--hub svg { width: 42px; height: auto; }
.connect__icon--hub::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--c-aqua);
  animation: ping 2.8s var(--ease-out) infinite;
}
.connect__banks { display: grid; grid-template-columns: 48px; gap: 10px; margin-bottom: 12px; }
.connect__banks li {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-cream);
  color: var(--c-petrol);
}
.connect__banks .icon { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { width: min(100% - 40px, 460px); margin-inline: auto; }
  .about__chip--a { right: -5%; }
  .about__chip--b { left: -5%; }
}
@media (max-width: 760px) {
  .connect { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .connect__banks { grid-template-columns: repeat(4, 48px); }
}

/* 8. Soluções -------------------------------------------------------------- */
.solutions { padding-bottom: 0; }
.solutions__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }

.solution-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 32px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(0, 175, 169, .13), transparent 62%);
  opacity: 0;
  transition: opacity .5s;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -32px rgba(0, 46, 54, .45); }
.solution-card:hover::before { opacity: 1; }
.solution-card__media { margin: 10px 10px 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 24px; background: var(--c-sand); }
.solution-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.solution-card:hover .solution-card__media img { transform: scale(1.06); }
.solution-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
}
.solution-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 6px; }
.solution-card__title { color: var(--c-deep); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.solution-card__sub { color: var(--c-aqua-link); font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.solution-card__text { color: var(--c-text); max-width: 34em; }
.solution-card .link-arrow { margin-top: auto; }

.finance {
  margin-top: clamp(88px, 10vw, 144px);
  padding-block: clamp(44px, 5vw, 72px) calc(var(--radius-sheet) + clamp(44px, 5vw, 72px));
  background: var(--c-aqua);
  color: var(--c-ink);
  overflow: hidden;
}
.finance__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 40px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.finance__title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.finance__text { max-width: 40em; font-size: var(--fs-sm); font-weight: 500; }

.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.motion-ok .marquee__track { animation: marquee 48s linear infinite; }
.marquee.is-driven .marquee__track { animation: none; }
.marquee__list { display: flex; flex: none; align-items: center; }
/* Without motion the vehicles simply wrap, once */
html:not(.motion-ok) .marquee__track { width: auto; }
html:not(.motion-ok) .marquee__list { flex: 1 1 auto; flex-wrap: wrap; max-width: calc(var(--container) + var(--gutter-l) + var(--gutter-r)); margin-inline: auto; padding-inline: var(--gutter-l) var(--gutter-r); }
html:not(.motion-ok) .marquee__list + .marquee__list { display: none; }
html:not(.motion-ok) .vehicle { font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
html:not(.motion-ok) .vehicle:last-child::after { display: none; }
.vehicle {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding-inline: .5em;
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.1rem + 3.6vw, 4.5rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.vehicle::after {
  content: "";
  width: .22em;
  height: .22em;
  margin-left: .85em;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
}
.vehicle .icon { width: .82em; height: .82em; stroke-width: 1.4; }

@media (max-width: 760px) {
  .solutions__grid { grid-template-columns: minmax(0, 1fr); }
}

/* 9. Diferenciais ---------------------------------------------------------- */
.features { padding-bottom: calc(var(--section-space) + var(--radius-sheet)); }
.features__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(48px, 7vw, 120px);
}
.features__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: grid;
  justify-items: start;
  gap: 28px;
}
.features__mark {
  width: clamp(150px, 16vw, 240px);
  height: auto;
  margin-top: 28px;
  --sym-top: transparent;
  --sym-bottom: transparent;
  stroke: rgba(0, 175, 169, .4);
  stroke-width: .6;
}
.features__list { display: grid; gap: 24px; }
.feature-card {
  position: sticky;
  top: calc(var(--header-h) + 40px + var(--i) * 18px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  min-height: 210px;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0A5560 0%, var(--c-card-dark) 45%, #034953 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 -18px 40px -26px rgba(0, 0, 0, .55);
  transform-origin: 50% 0;
  --dim: 0;
}
/* Dims a card as the next one stacks over it; the card itself stays opaque */
.feature-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: #012F38;
  opacity: calc(var(--dim) * .6);
  pointer-events: none;
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(0, 175, 169, .14);
  box-shadow: inset 0 0 0 1px rgba(0, 175, 169, .32);
  color: var(--c-aqua);
}
.feature-card__icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.feature-card:hover .feature-card__icon .icon { animation: wiggle .9s var(--ease-out); }
.feature-card__title { margin-bottom: 10px; color: var(--c-white); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.feature-card p { color: var(--c-text-on-dark); max-width: 32em; }

@media (max-width: 900px) {
  .features__grid { grid-template-columns: minmax(0, 1fr); }
  .features__intro { position: static; }
  .features__mark { display: none; }
  .feature-card { top: calc(var(--header-h) + var(--i) * 14px); min-height: 0; }
}
@media (max-width: 560px) {
  .feature-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .feature-card__icon { width: 56px; height: 56px; border-radius: 18px; }
}

/* 10. Simulação ------------------------------------------------------------ */
/* Simulação and Despachante share the cream band, so only one gap sits between them */
.simulate { padding-bottom: 0; }
.simulate__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 110% at 0% 100%, rgba(0, 175, 169, .55), transparent 60%),
    linear-gradient(140deg, var(--c-petrol) 0%, var(--c-deep) 72%);
  color: var(--c-text-on-dark);
  overflow: hidden;
}
.simulate__content,
.sim-form { position: relative; z-index: 1; }
.simulate__content { display: grid; justify-items: start; gap: 24px; }
.simulate__contacts { display: grid; gap: 14px; margin-top: 8px; }
.simulate__contacts li { display: flex; align-items: center; gap: 14px; color: var(--c-white); font-weight: 500; overflow-wrap: anywhere; }
.simulate__contacts small {
  display: block;
  color: var(--c-aqua-bright);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.simulate__contact-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--c-aqua);
}

.sim-form {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: 0 40px 80px -40px rgba(0, 20, 26, .65);
}
.sim-form__group { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sim-form__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--c-deep);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.sim-form__legend label { display: inline-flex; align-items: center; gap: 10px; }
.sim-form__legend--row { justify-content: space-between; flex-wrap: wrap; }
.step {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-deep);
  color: var(--c-white);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
}

.segmented {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: var(--c-cream);
}
.segmented input,
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--c-petrol);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color .4s;
}
.segmented input:checked + label { color: var(--c-white); }
.segmented input:focus-visible + label { outline: 2px solid var(--c-aqua); outline-offset: 2px; }
.segmented__thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--c-deep);
  box-shadow: 0 8px 18px -8px rgba(0, 62, 73, .6);
  transition: transform .55s var(--ease-out);
}
.segmented input:nth-of-type(2):checked ~ .segmented__thumb { transform: translateX(100%); }

.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--c-line);
  color: var(--c-deep);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.chips label .icon { width: 20px; height: 20px; color: var(--c-petrol); }
.chips label:hover { border-color: rgba(0, 175, 169, .6); }
.chips input:checked + label { border-color: var(--c-aqua); background: var(--c-aqua-soft); }
.chips input:checked + label .icon { color: var(--c-aqua-link); animation: drive .8s var(--ease-out); }
.chips input:focus-visible + label { outline: 2px solid var(--c-aqua); outline-offset: 2px; }

.sim-form__value { color: var(--c-deep); font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.range {
  --p: 15%;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--c-aqua) var(--p), var(--c-sand) var(--p));
}
.range::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-aqua);
  box-shadow: 0 6px 16px -6px rgba(0, 62, 73, .6);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  -webkit-appearance: none;
  appearance: none;
}
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(0, 175, 169, .35); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--c-sand); }
.range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--c-aqua); }
.range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-aqua);
  box-shadow: 0 6px 16px -6px rgba(0, 62, 73, .6);
}
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(0, 175, 169, .35); }
.range__scale { display: flex; justify-content: space-between; gap: 12px; color: var(--c-text); font-size: var(--fs-xs); }

.sim-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field label { color: var(--c-deep); font-size: var(--fs-sm); font-weight: 600; }
.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: var(--c-cream);
  color: var(--c-deep);
  font: inherit;
  font-size: 1rem;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field input::placeholder { color: rgba(68, 100, 106, .75); }
.field input:focus { outline: none; border-color: var(--c-aqua); background: var(--c-white); box-shadow: 0 0 0 4px rgba(0, 175, 169, .16); }
.field.is-invalid input { border-color: var(--c-error); background: var(--c-white); }
.field__error { color: var(--c-error); font-size: var(--fs-xs); font-weight: 500; }

.sim-form__submit { height: 60px; margin-top: 4px; font-size: 1.0625rem; }
.sim-form__note { margin-top: -10px; color: var(--c-text); font-size: var(--fs-xs); text-align: center; }

@media (max-width: 1000px) {
  .simulate__panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .simulate__panel { padding: 24px 16px 16px; border-radius: 28px; }
  .sim-form { padding: 20px 16px; border-radius: 22px; }
  .sim-form__fields { grid-template-columns: minmax(0, 1fr); }
}

/* 11. Despachante ---------------------------------------------------------- */
.dispatcher { padding-bottom: calc(var(--section-space) + var(--radius-sheet)); }
.dispatcher__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
}
.dispatcher__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  justify-items: start;
  gap: 24px;
}
.dispatcher__photo { width: 100%; margin-top: 8px; }

.services { border-top: 1px solid var(--c-line); }
.services li { border-bottom: 1px solid var(--c-line); }
.service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-block: 6px;
  padding: 16px 12px;
  border-radius: 18px;
  color: var(--c-deep);
  transition: background-color .4s, padding .6s var(--ease-out), box-shadow .4s;
}
.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1px var(--c-line);
  color: var(--c-petrol);
  transition: background-color .4s, color .4s;
}
.service__icon .icon { width: 24px; height: 24px; }
.service__label { font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.service:hover { padding-inline: 20px; background: var(--c-white); box-shadow: var(--shadow-card); }
.service:hover .service__icon { background: var(--c-deep); color: var(--c-aqua); }

@media (max-width: 900px) {
  .dispatcher__grid { grid-template-columns: minmax(0, 1fr); }
  .dispatcher__intro { position: static; }
}
@media (max-width: 480px) {
  .service { gap: 14px; padding-inline: 4px; }
  .service__icon { width: 46px; height: 46px; border-radius: 14px; }
}

/* 12. Contato -------------------------------------------------------------- */
.contact { padding-bottom: clamp(56px, 6vw, 88px); }
.contact .container { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--c-line-on-dark);
  transition: background-color .4s, border-color .4s, transform .6s var(--ease-out);
}
.contact-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(0, 175, 169, .45); transform: translateY(-4px); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--c-aqua);
  color: var(--c-ink);
}
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__label { color: var(--c-aqua-bright); font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.contact-card__value { color: var(--c-white); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.4; overflow-wrap: anywhere; }
.contact-card__value--address { font-size: 1.0625rem; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* 13. Footer --------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--c-deep);
  color: var(--c-text-on-dark);
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-top: 48px;
  border-top: 1px solid var(--c-line-on-dark);
  font-size: var(--fs-sm);
}
.site-footer__brand { display: grid; align-content: start; gap: 18px; }
.site-footer__brand img { width: 200px; }
.site-footer__brand p { max-width: 22em; }
.site-footer__nav ul,
.site-footer__contact { display: grid; align-content: start; gap: 10px; }
.site-footer__nav a { color: var(--c-white); transition: color .3s; }
.site-footer__nav a:hover { color: var(--c-aqua); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line-on-dark);
  font-size: var(--fs-xs);
}
.site-footer__credit {
  color: var(--c-white);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
  transition: color .3s, text-decoration-color .3s;
}
.site-footer__credit:hover { color: var(--c-aqua); text-decoration-color: currentColor; }
.back-top { display: inline-flex; align-items: center; gap: 8px; color: var(--c-white); font-weight: 600; }
.back-top .icon { transition: transform .5s var(--ease-out); }
.back-top:hover .icon { transform: translateY(-3px); }

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* 14. Floating UI ---------------------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; }
.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-aqua), #6FDCD6);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.wa-float {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--c-aqua);
  color: var(--c-ink);
  box-shadow: 0 18px 40px -14px rgba(0, 62, 73, .6);
  transform: translateY(160%);
  transition: transform .7s var(--ease-out);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--c-aqua);
  animation: ping 2.8s var(--ease-out) infinite;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: max-width .6s var(--ease-out), margin .6s var(--ease-out);
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { max-width: 180px; margin-left: 10px; }
.wa-float.is-visible,
.no-js .wa-float { transform: none; }
.menu-open .wa-float { transform: translateY(160%); }

/* Intro, on the first page view of a visit (html.intro, set in the <head>).
   About a second, all CSS, so it never waits for a script: the symbol's two
   arrows turn into place, the curtain lifts and the hero comes in.
   The hero is drawn in full under the curtain from the first frame, so the
   page counts as loaded at once; the title, lead and photo only hide when
   their own animation starts, while the curtain still covers them.
   Later views in the same visit, reduced motion and no JavaScript skip it. */
.preloader { display: none; }
.intro .preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--c-deep);
  animation: curtain .55s cubic-bezier(.87, 0, .13, 1) .55s forwards;
}
.preloader__mark { position: relative; width: 84px; aspect-ratio: 122.5 / 158.2; }
.preloader__arrow { position: absolute; inset: 0; width: 100%; height: 100%; --sym-bottom: var(--c-white); }
.intro .preloader__mark { animation: mark-out .3s ease-in .5s forwards; }
.intro .preloader__arrow--top { animation: turn-top .6s cubic-bezier(.16, 1, .3, 1) both; }
.intro .preloader__arrow--bottom { animation: turn-bottom .6s cubic-bezier(.16, 1, .3, 1) both; }

.intro .hero__title { animation: rise 1.1s var(--ease-out) .6s forwards; }
.intro .hero__lead { animation: rise 1s var(--ease-out) .62s forwards; }
.intro .hero__actions { animation: rise 1s var(--ease-out) .7s both; }
.intro .hero__photo { animation: photo-in 1.3s var(--ease-in-out) .6s forwards; }
.intro .hero__photo img { animation: photo-zoom 1.8s var(--ease-out) .6s forwards; }
.intro .hero__orbits { animation: orbits-in 1.6s var(--ease-out) .7s both; }
.intro [data-hero="float"] { animation: float-in 1s var(--ease-out) .85s both; }
.intro .float-chip[data-hero="float"] { animation-delay: .95s; }
.intro .spin-badge[data-hero="float"] { animation-delay: 1.05s; }
.intro .site-header__bar { animation: bar-in .9s var(--ease-out) .75s both; }
.intro .scroll-cue { animation: fade-in .8s ease 1.2s both; }

/* 15. Motion --------------------------------------------------------------- */
@keyframes spin { to { rotate: 360deg; } }
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(1.3); opacity: 0; }
}
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drive {
  0% { transform: none; }
  35% { transform: translateX(4px) rotate(-4deg); }
  65% { transform: translateX(-2px); }
  100% { transform: none; }
}
@keyframes wiggle {
  0%, 100% { transform: none; }
  30% { transform: rotate(-10deg) scale(1.1); }
  60% { transform: rotate(6deg); }
}
@keyframes turn-top { from { rotate: -150deg; scale: .5; opacity: 0; } }
@keyframes turn-bottom { from { rotate: 150deg; scale: .5; opacity: 0; } }
@keyframes mark-out { to { scale: 1.12; opacity: 0; } }
@keyframes curtain { from { clip-path: inset(0% 0% 0% 0%); } to { clip-path: inset(0% 0% 100% 0%); visibility: hidden; } }
@keyframes rise { from { translate: 0 36px; opacity: 0; } }
@keyframes photo-in { from { clip-path: inset(100% 0% 0% 0% round 36px); } to { clip-path: inset(0% 0% 0% 0% round 36px); } }
@keyframes photo-zoom { from { scale: 1.3; } }
@keyframes orbits-in { from { scale: .75; opacity: 0; } }
@keyframes float-in { from { translate: 0 40px; scale: .92; opacity: 0; } }
@keyframes bar-in { from { translate: 0 -24px; opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .connect__dot { display: none; }
}
