/* Kombi Brazil design system: tokens, type, header, footer, shared components. */
:root {
  /* Brand blues, unchanged from the current theme */
  --blue: #255caa;
  --blue-deep: #104187;
  --navy: #072f68;
  --ink: #051f47;
  --sky: #56b0f2;
  /* Journey palette, taken from the export-process wheel on the homepage */
  --sun: #ffc107;
  --tangerine: #f07d2c;
  --coral: #ff5b4b;
  --crimson: #c8102e;
  --plum: #6b3fa0;
  --leaf: #93c240;
  /* Two-tone paint: the cream roof to the blue body */
  --cream: #fbf5e9;
  --cream-2: #f3ead8;
  --paper: #fffdf9;
  --text: #0c2340;
  --muted: #5a6b82;
  --line: #e5dfd1;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(7, 47, 104, .08), 0 2px 8px rgba(7, 47, 104, .06);
  --shadow: 0 2px 4px rgba(7, 47, 104, .06), 0 14px 34px -10px rgba(7, 47, 104, .22);
  --shadow-lg: 0 30px 80px -20px rgba(5, 31, 71, .55);
  --font-display: 'Bricolage Grotesque', 'Rubik', system-ui, sans-serif;
  --font-body: 'Figtree', 'Rubik', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
  --gutter: clamp(16px, 3.2vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
img.lz { opacity: 0; transition: opacity .5s; }
img.lz.is-on { opacity: 1; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100%, 1560px); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 193, 7, .8); }
.btn--sun:hover { background: #ffcd2e; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--line { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }

/* Header */
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(7, 47, 104, .94); backdrop-filter: saturate(160%) blur(14px); color: #fff; }
.header__in { height: 100%; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.header__logo { flex: none; align-self: flex-start; position: relative; z-index: 2; width: 86px; margin-top: 6px; border-radius: 50%; filter: drop-shadow(0 6px 14px rgba(5, 31, 71, .5)); transition: transform .25s var(--ease); }
.header__logo:hover { transform: translateY(2px); }
.header__nav { display: flex; gap: clamp(2px, .7vw, 10px); margin-right: auto; min-width: 0; }
.header__nav a { padding: 9px 11px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; color: rgba(255, 255, 255, .86); transition: background .2s, color .2s; }
.header__nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.header__nav a[aria-current] { background: #fff; color: var(--navy); }
.header__social { display: flex; gap: 4px; }
.iconbtn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: inherit; transition: background .2s, transform .2s var(--ease); }
.iconbtn:hover { background: rgba(255, 255, 255, .14); }
.iconbtn svg { width: 20px; height: 20px; }
.header__burger { display: none; }

@media (max-width: 1180px) {
  .header__social { display: none; }
}
@media (max-width: 1020px) {
  :root { --header-h: 64px; }
  .header__logo { width: 70px; margin-top: 5px; }
  .header__burger { display: inline-grid; margin-left: auto; }
  .header__nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 2px; padding: 40px var(--gutter) 22px; background: var(--navy); box-shadow: var(--shadow-lg); transform: translateY(-120%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; z-index: 1; margin: 0; }
  .header__nav.is-open { transform: none; visibility: visible; }
  .header__nav a { padding: 13px 14px; font-size: 17px; }
}

/* Two-tone sweep: the curved line where roof colour meets body colour */
.sweep { display: block; width: 100%; height: clamp(40px, 7vw, 110px); }

/* Footer */
.footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: 64px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer__logo { width: 172px; }
.footer h4 { color: #fff; font: 600 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 24px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
