/* =========================================================================
   omelhorsite Websites — marketing homepage
   Brand colour #ff930f derived from the real omelhorsite logo.svg (the orange
   quadrant of the heraldic mark). Display: Bricolage Grotesque. Body: Inter.
   Utility/mono: JetBrains Mono. Clean, modern, light — one confident accent.
   Brand wordmark: Druk Wide Super (self-hosted), matching omelhorsite.pt.
   ========================================================================= */

/* The brand wordmark uses the same Druk Wide Super as omelhorsite.pt.
   NOTE: this is the trial cut — license Druk Wide for production use. */
@font-face {
  font-family: "Druk Wide";
  src: url("/fonts/drukwide.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --brand: #ff7a00;          /* accessible orange for text/fills on white */
  --brand-logo: #ff930f;     /* the literal logo orange — tints, glows, underline */
  --brand-ink: #b85200;      /* darker orange for small links/hover on light */
  --brand-soft: #fff3e6;     /* faint orange wash for chips/cards */

  --ink: #16130e;            /* warm near-black — text + dark bands */
  --ink-2: #3f3a32;          /* secondary text */
  --muted: #6b6359;          /* tertiary / captions */

  --paper: #ffffff;
  --mist: #faf7f2;           /* barely-warm off-white band */
  --line: #ece6dc;           /* hairline borders */

  /* Type */
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --brand-font: "Druk Wide", "Bricolage Grotesque", system-ui, sans-serif;

  /* Geometry */
  --wrap: 1140px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(22, 19, 14, .04), 0 12px 34px -14px rgba(22, 19, 14, .14);
  --shadow-lg: 0 30px 70px -24px rgba(22, 19, 14, .30);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 15px 26px; font-size: 17px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 122, 0, .7); }
.btn--primary:hover { background: #ff8c1f; box-shadow: 0 14px 30px -10px rgba(255, 122, 0, .8); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--mist); }
.btn--invert { background: var(--ink); color: #fff; }
.btn--invert:hover { background: #2a251d; }
/* Glass button: for the secondary hero CTA over the photo. */
.btn--glass {
  background: rgba(255, 255, 255, .12); color: #fff;
  border-color: rgba(255, 255, 255, .42);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease), color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(22, 19, 14, .5); }

/* Transparent over the hero photo: white logo, links and wordmark, no blur. The
   .nav--over-hero class is toggled by site.js while the hero is in view AND the
   page is still near the top; on scroll it falls back to the solid light bar. */
/* Specificity bumped (.nav.nav--over-hero) so it beats .nav.is-scrolled when
   both are briefly set (a small scroll while still over the photo). */
.nav.nav--over-hero {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent; box-shadow: none;
}
.nav--over-hero .brand__word { color: #fff; }
.nav--over-hero .brand__sub { color: var(--brand-logo); }
.nav--over-hero .brand__mark { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .92); }
.nav--over-hero .nav__links a { color: rgba(255, 255, 255, .9); }
.nav--over-hero .nav__links a:hover { color: #fff; }
.nav--over-hero .nav__login { color: #fff; }
.nav--over-hero .nav__login:hover { color: #fff; opacity: .8; }
.nav--over-hero .langdd__btn {
  background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #fff;
}
.nav--over-hero .langdd__btn:hover { background: rgba(255, 255, 255, .24); border-color: #fff; color: #fff; }

.nav__inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 40px);
  display: flex; align-items: center; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
/* Logo always in a shield (mirrors the ShieldImage component): square top,
   semicircular bottom, thin border + shadow, image cover-fit. */
.brand__mark {
  height: 34px; width: auto; aspect-ratio: 22 / 23;
  border-radius: 0 0 50% 50%;
  border: 1.5px solid rgba(0, 0, 0, .14);
  object-fit: cover; background: #fff;
  box-shadow: 0 6px 16px -5px rgba(0, 0, 0, .3);
  flex: none;
}
.brand__word {
  font-family: var(--brand-font); font-weight: 900; font-size: 18px; letter-spacing: .005em;
  color: var(--ink); line-height: 1; display: inline-flex; align-items: baseline; gap: .4em;
}
.brand__sub {
  font-family: var(--brand-font); font-weight: 900; font-size: 18px; letter-spacing: .005em;
  color: var(--brand);
}

.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a {
  text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15.5px;
  position: relative; padding: 4px 0; transition: color .15s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* "Entrar" / log-in link: text link that opens the platform dashboard. */
.nav__login {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px;
  white-space: nowrap; transition: color .15s var(--ease), opacity .15s var(--ease);
}
.nav__login:hover { color: var(--ink); }

/* Language dropdown (mirrors the lmsi langdd): pill trigger showing the current
   flag emoji + a chevron; click toggles .is-open (site.js); the menu drops down
   to the right. Same contract as the starter switcher ([data-locale-switch] +
   [data-locale] buttons; active = [aria-current="true"] / .is-active). */
.langdd { position: relative; }
.langdd__btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  background: none; color: var(--ink-2); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 999px; cursor: pointer; line-height: 1;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.langdd__btn:hover { color: var(--ink); border-color: #d8cfc1; }
.langdd__btn svg { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.langdd.is-open .langdd__btn svg { transform: rotate(180deg); }
.langdd__menu {
  position: absolute; top: calc(100% + 8px); right: 0; display: none;
  flex-direction: column; min-width: 178px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .25); overflow: hidden;
}
.langdd.is-open .langdd__menu { display: flex; }
.langdd__menu button {
  font-family: var(--body); font-size: 14px; font-weight: 600; white-space: nowrap;
  letter-spacing: .01em; border: 0; background: none; color: var(--ink-2);
  padding: 10px 16px; cursor: pointer; text-align: left;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.langdd__menu button:hover { background: var(--mist); color: var(--ink); }
.langdd__menu button.is-active, .langdd__menu button[aria-current="true"] { color: var(--brand); font-weight: 800; }

/* ---------------------------------------------------------------- eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-ink); margin: 0 0 18px;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); flex: none; }
.eyebrow--on-dark { color: #ffd9ab; }
.eyebrow--on-dark .eyebrow__dot { box-shadow: 0 0 0 4px rgba(255, 147, 15, .26); }

.section-head { max-width: 720px; margin: 0 0 clamp(36px, 6vw, 56px); }
.section-title { font-size: clamp(28px, 4.4vw, 42px); }

/* ------------------------------------------------------------------ hero */
/* Full-bleed landscape photo under a dark overlay, white copy on top. The photo
   runs to the very top edge (behind the fixed transparent navbar). A clean cut
   into the next light section (no fade-to-white mid-screen). */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(150px, 19vw, 230px) 0 clamp(76px, 11vw, 132px);
  background: #16130e;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("/img/hero.webp");
  background-size: cover; background-position: 50% 42%;
}
/* Dark scrim: stronger at the top (under the nav + headline) so white text and
   the white wordmark always read; lighter toward the lower right of the photo. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 10, 7, .72) 0%, rgba(12, 10, 7, .40) 42%, rgba(12, 10, 7, .60) 100%),
    linear-gradient(90deg, rgba(12, 10, 7, .55) 0%, rgba(12, 10, 7, .12) 62%, transparent 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero__title {
  font-size: clamp(36px, 6.6vw, 70px); font-weight: 800; letter-spacing: -.03em; margin: 0;
  color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero__title .emph {
  position: relative; color: #fff;
  background-image: linear-gradient(transparent 62%, rgba(255, 147, 15, .82) 62%);
  background-repeat: no-repeat; padding: 0 .04em;
}
.hero__sub {
  font-size: clamp(17px, 2.1vw, 21px); color: rgba(255, 255, 255, .9); max-width: 640px;
  margin: 24px 0 0; line-height: 1.55; text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ----------------------------------------------------------------- trust */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); }
.trust__inner { padding: 26px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.trust__line { font-size: 15px; color: var(--muted); max-width: 460px; font-weight: 500; }
.trust__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.trust__tag {
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}

/* ---------------------------------------------------------- how it works */
.how { padding: clamp(64px, 10vw, 110px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); }
.step {
  position: relative; padding: 30px 26px 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.step__num {
  font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--brand);
  display: inline-block; padding: 5px 11px; border-radius: 8px; background: var(--brand-soft); margin-bottom: 18px;
}
.step__title { font-size: 21px; margin-bottom: 10px; }
.step__body { color: var(--ink-2); font-size: 15.5px; }

/* -------------------------------------------------------------- features */
.features { padding: clamp(64px, 10vw, 110px) 0; background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  padding: 26px 22px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e0d8ca; }
.feature__icon {
  display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 16px;
}
.feature__icon .ico { width: 23px; height: 23px; }
.feature__title { font-size: 18px; margin-bottom: 7px; }
.feature__body { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* -------------------------------------------------------------- showcase */
/* Light section (the page rhythm keeps dark bands apart: the next band is the
   dark CTA photo). The content sits in ONE contained, framed panel with a soft
   tinted ground so the heading + mock read as a solid block, never floating. */
.showcase { padding: clamp(72px, 11vw, 124px) 0; background: var(--paper); }
.showcase__inner {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(30px, 4.5vw, 60px); align-items: center;
  padding: clamp(32px, 5vw, 60px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 147, 15, .07), transparent 60%),
    linear-gradient(180deg, var(--mist), #fbf7f1);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow);
}
.showcase__body { color: var(--ink-2); font-size: 17px; margin: 18px 0 24px; max-width: 460px; }
.ticks { display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.ticks .ico { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }

/* honest illustrative dashboard mock — no fabricated metrics */
.showcase__media { perspective: 1400px; }
.mock {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: rotateY(-5deg) rotateX(2.5deg); transform-style: preserve-3d;
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f6f2ec; border-bottom: 1px solid var(--line); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #d9d1c4; }
.mock__url {
  margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px;
}
.mock__body { display: grid; grid-template-columns: 38% 62%; min-height: 308px; }
.mock__side { padding: 16px 14px; background: #fbf8f3; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.mock__side-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; font-family: var(--display); margin-bottom: 10px; }
.mock__side-brand img { border-radius: 5px; }
.mock__nav { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); padding: 8px 9px; border-radius: 8px; font-weight: 500; }
.mock__nav .ico { width: 16px; height: 16px; color: var(--muted); }
.mock__nav.is-on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.mock__nav.is-on .ico { color: var(--brand); }
.mock__main { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.mock__h { font-family: var(--display); font-weight: 700; font-size: 19px; }
.mock__help { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.mock__label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-top: 6px; }
.mock__input { font-size: 13.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; }
.mock__input--tall { padding-bottom: 22px; }
.mock__row { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.mock__chip { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.mock__chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mock__save { margin-left: auto; font-size: 12.5px; font-weight: 600; color: #fff; background: var(--brand); border-radius: 8px; padding: 7px 14px; }

/* ------------------------------------------------------------- cta band */
.cta-band {
  background-color: var(--ink); color: #fff; position: relative; overflow: hidden;
  /* Atmospheric brand band: real landscape under a dark ink overlay so the
     copy stays legible; the ::before keeps the orange brand glow on top. */
  background-image: linear-gradient(rgba(22, 19, 14, .74), rgba(22, 19, 14, .86)), url("/img/cta.webp");
  background-size: cover; background-position: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 130% at 88% 10%, rgba(255, 147, 15, .42), transparent 55%);
}
.cta-band__inner { position: relative; padding: clamp(56px, 8vw, 88px) 0; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-band__title { font-size: clamp(28px, 4.4vw, 44px); color: #fff; }
.cta-band__body { color: rgba(255, 255, 255, .78); font-size: 18px; margin: 18px auto 30px; max-width: 520px; }
.cta-band .btn--invert { background: #fff; color: var(--ink); }
.cta-band .btn--invert:hover { background: #fff3e6; }

/* ------------------------------------------------------------- contact */
.contact { padding: clamp(64px, 10vw, 116px) 0; background: var(--mist); border-top: 1px solid var(--line); }
/* Contact on its own page: no hero before it, so add room to clear the fixed nav. */
.contact--page { min-height: 100vh; padding-top: clamp(128px, 17vw, 184px); border-top: 0; }
.contact__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.contact__lead { color: var(--ink-2); font-size: 17px; margin: 16px 0 26px; max-width: 380px; }
.contact__list { display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.contact__list .ico { width: 20px; height: 20px; color: var(--brand); flex: none; }
.contact__list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact__list a:hover { color: var(--brand-ink); text-decoration: underline; }
.contact__back { margin-top: 28px; }
.contact__back a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.contact__back a:hover { color: var(--brand); }

/* ---------------------------------------------------------------- form */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__field { display: grid; gap: 7px; }
.form__label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form__label em { color: var(--brand); font-style: normal; }
.form input[type="text"], .form input[type="email"], .form textarea {
  font: inherit; font-size: 15.5px; color: var(--ink); width: 100%;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.form input::placeholder, .form textarea::placeholder { color: #a89f92; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(255, 147, 15, .18); }
.form textarea { resize: vertical; min-height: 120px; }
.form__consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.form__consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.form__consent a { color: var(--brand-ink); text-decoration: underline; }
.form__submit { justify-content: center; margin-top: 4px; }
.form__submit.is-loading { opacity: .7; pointer-events: none; }
.form__status { font-size: 14.5px; font-weight: 600; margin: 0; }
.form__status.is-ok { color: #1c7a44; }
.form__status.is-err { color: #c0392b; }
.form__status.is-info { color: var(--muted); }
.form__note { font-size: 12.5px; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 72px) clamp(20px, 5vw, 40px) 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.brand--footer .brand__word { color: #fff; }
.brand--footer .brand__sub { color: var(--brand-logo); }
.brand--footer .brand__mark { height: 30px; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .5); }
.footer__tag { margin-top: 16px; max-width: 320px; font-size: 14.5px; color: rgba(255, 255, 255, .6); }
.footer__col h3 { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14.5px; }
.footer__col a:hover { color: var(--brand-logo); }
.footer__base {
  max-width: var(--wrap); margin: 0 auto; padding: 22px clamp(20px, 5vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: 13px; color: rgba(255, 255, 255, .5);
}
.footer__made { font-family: var(--mono); }

/* --------------------------------------------------------------- reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal-i { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .reveal.is-in .reveal-i, .reveal-i.is-in { opacity: 1; transform: none; }
  /* Hero children reveal on load (the orchestrated entrance), not on scroll. */
  .hero.reveal { opacity: 1; transform: none; }
  .hero .reveal-i { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); opacity: 0; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase__inner { grid-template-columns: 1fr; }
  .showcase__media { order: -1; }
  .mock { transform: none; max-width: 540px; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .trust__tags { margin-left: 0; }
  .trust__line { max-width: none; }
  /* Lift the hero copy higher under the photo on small screens (the fixed nav
     is ~60px; leave room for it without burying the headline). */
  .hero { padding-top: clamp(104px, 26vw, 150px); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__inner { gap: 10px; }
  /* Keep the wordmark "Websites" visible on the photo (it's part of the brand);
     drop the secondary "Falar connosco" CTA, but keep the "Entrar" link, which
     is the primary way in to the platform. */
  .nav__cta { display: none; }
  .nav__actions { gap: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .mock__body { grid-template-columns: 34% 66%; min-height: 270px; }
}

@media (max-width: 400px) {
  /* Very narrow: the wordmark sub can crowd the actions — hide it last. */
  .brand__sub { display: none; }
}
