/**
 * aillu - the house page.
 *
 * Light ground, one violet accent, and two product colours that only ever
 * appear inside the card that owns them: orange belongs to the Farol, magenta
 * to the e-Reclamatória, and neither is allowed to paint house furniture. That
 * is the whole rule the palette below encodes.
 */

:root {
  --aillu: #5c30c2;
  --aillu-2: #7c4dff;
  --night: #151139;
  --ink: #17183c;
  --text: #4b4d6a;
  --muted: #73758d;
  --lav: #f4f1ff;
  --line: #e8e5f3;
  --paper: #fff;
  --bg: #fbfaff;

  --orange: #ef7d1c;
  --orange-soft: #fff3e7;
  --pink: #eb1877;
  --pink-soft: #fff0f6;
  --green: #13a86b;

  --shadow: 0 18px 55px rgba(30, 24, 85, 0.09);
  --shadow-soft: 0 10px 30px rgba(30, 24, 85, 0.07);
  --radius: 24px;
  --max: 1180px;

  /* `only` and not a bare `light`: Chrome's Auto Dark Mode converts any page it
   * judges convertible, and this repository has watched it invert the brand
   * violet to a near-white grey. The <meta name="color-scheme"> in the document
   * head is the other half - it is read before this file arrives. */
  color-scheme: only light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* The header is sticky and 78px tall; an anchor that lands under it has
   * landed nowhere. */
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.section { padding: 92px 0; }
.section-shell { position: relative; overflow: hidden; }

/* ============================ HEADER ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 229, 243, 0.85);
}

.nav-wrap { height: 78px; display: flex; align-items: center; gap: 30px; }
.brand img { width: 122px; height: auto; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
  color: #3e3f5d;
}
.desktop-nav a:hover { color: var(--aillu); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  transition: 0.22s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--aillu), #6843e8);
  color: white;
  box-shadow: 0 9px 22px rgba(92, 48, 194, 0.22);
}
.btn-secondary { background: white; color: var(--ink); border-color: var(--line); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-white { background: white; color: var(--aillu); padding: 0 24px; }

.header-cta { margin-left: 10px; }

/* Both are the mobile half of the header and stay hidden until the 1000px
 * breakpoint swaps them in for the inline nav. */
.menu-btn, .mobile-menu { display: none; }

/* ============================ HERO ============================ */

/* NO BOTTOM PADDING, and the grid stretched to the full height: the portrait is
 * cut at the thigh, and the only place that cut can sit without reading as a
 * mistake is on the edge of the section. With the old 54px under it the figure
 * ended in mid-air above the numbers bar. The copy carries the bottom padding
 * instead, so the text keeps the air the section used to give it. */
.hero {
  padding: 82px 0 0;
  min-height: 710px;
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { padding-bottom: 54px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  color: var(--aillu);
  margin-bottom: 18px;
}
.eyebrow span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 4px; }

.hero h1,
.section-heading h2,
.sindi-copy h2,
.cta-card h2 {
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.02;
  margin: 0;
  max-width: 720px;
  font-weight: 760;
}
.hero h1 em { font-style: normal; color: var(--aillu); }

.hero-lead { font-size: 18px; line-height: 1.7; color: var(--text); max-width: 680px; margin: 25px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d9d2f7;
  margin-right: 6px;
  vertical-align: -4px;
  background: #fff;
}
.check:after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--aillu);
  border-bottom: 2px solid var(--aillu);
  transform: rotate(-45deg) translateY(-1px);
}

.hero-visual { height: 660px; position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: end; }

.orb {
  position: absolute;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, #f2edff 44%, #e7dcff 100%);
  top: 62px;
  right: 12px;
  box-shadow: inset 0 0 50px rgba(124, 77, 255, 0.08);
}

.sindi-hero {
  height: 650px;
  width: auto;
  object-fit: contain;
  /* In a column narrower than the figure, `max-width: 100%` shrinks the box and
   * `contain` letterboxes the picture inside it. Bottom, so the spare height
   * opens above her head and never under her feet. */
  object-position: bottom;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 18px 35px rgba(44, 23, 98, 0.14));
}

.product-float {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  width: 218px;
}
.product-float strong { display: block; font-size: 13.5px; margin: 6px 0; }
.product-float small { font-size: 11.5px; color: var(--muted); }
.float-a { right: -25px; top: 128px; }
.float-b { left: -30px; top: 260px; }

.float-kicker { font-size: 11px; font-weight: 850; text-transform: uppercase; }
.orange { color: var(--orange); }
.pink { color: var(--pink); }

.sindi-bubble {
  position: absolute;
  z-index: 6;
  bottom: 30px;
  right: -5px;
  width: 274px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  gap: 11px;
  box-shadow: var(--shadow-soft);
}
/* The aillu mark, drawn in CSS: a ring with the dot offset by a spread-negative
 * shadow rather than a second element. */
.sindi-bubble .brand-dot {
  width: 18px;
  height: 18px;
  border: 5px solid var(--aillu-2);
  border-radius: 50%;
  flex: 0 0 18px;
  margin-top: 1px;
  box-shadow: 6px 6px 0 -5px var(--aillu);
}
.sindi-bubble strong { font-size: 13px; }
.sindi-bubble small { font-size: 11.5px; color: var(--muted); line-height: 1.45; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.22; }
.hero-glow-a { width: 420px; height: 420px; background: #c5b0ff; right: -190px; top: -120px; }
.hero-glow-b { width: 280px; height: 280px; background: #e9ddff; left: -120px; bottom: -40px; }

/* ============================ NÚMEROS ============================ */

.numbers-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 38px 0; }

/* Three steps, read in this order: the figure, its unit, what it counts. The
 * figure is the reason the bar exists, so it is the largest thing in it; the
 * description is body text, not a caption, because a number nobody can label is
 * not an indicator. */
.number-card { padding: 4px 28px; border-right: 1px solid var(--line); }
.number-card:first-child { padding-left: 0; }
.number-card:last-child { border-right: 0; }
.number-card strong {
  display: block;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(36px, 3.5vw, 46px);
  font-weight: 760;
  line-height: 1.05;
  color: var(--aillu);
  letter-spacing: -0.045em;
  /* The count-up passes through narrower and wider digits on its way; without
   * this the whole bar twitches sideways while it runs. */
  font-variant-numeric: tabular-nums;
}
.number-card strong small { font-size: 0.45em; font-weight: 700; letter-spacing: -0.01em; }
.number-card > span { display: block; font-size: 14.5px; line-height: 1.4; font-weight: 550; color: var(--text); margin-top: 9px; }

/* ============================ COMO PENSAMOS ============================ */

.section-heading { max-width: 780px; margin-bottom: 38px; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2 { font-size: clamp(34px, 4vw, 51px); line-height: 1.07; margin: 0 0 16px; }
.section-heading p { font-size: 16.5px; line-height: 1.7; color: var(--text); margin: 0; }

.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.principle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 245px;
  position: relative;
  transition: 0.25s;
}
.principle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #dcd2ff; }
.principle-card > span { position: absolute; top: 24px; right: 24px; color: #b0abc3; font-size: 12px; font-weight: 800; }
.principle-card h3 { font-size: 19px; line-height: 1.28; margin: 0 0 10px; }
.principle-card p { font-size: 13.5px; line-height: 1.62; color: var(--muted); margin: 0; }

/* Four line icons drawn entirely from the two pseudo-elements of one tile, so
 * the set costs no request and inherits the accent colour. */
.line-icon {
  position: relative;
  height: 44px;
  width: 44px;
  border: 1px solid #ded7fa;
  background: var(--lav);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--aillu);
  font-size: 22px;
  margin-bottom: 24px;
}
.line-icon:before, .line-icon:after { content: ""; position: absolute; }

.icon-monitor:before { width: 19px; height: 13px; border: 2px solid var(--aillu); border-radius: 3px; top: 12px; left: 11px; }
.icon-monitor:after { width: 10px; height: 2px; background: var(--aillu); left: 16px; top: 28px; box-shadow: 0 3px 0 -1px var(--aillu); }

.icon-calc:before { width: 17px; height: 21px; border: 2px solid var(--aillu); border-radius: 3px; left: 12px; top: 9px; }
.icon-calc:after { width: 3px; height: 3px; background: var(--aillu); left: 17px; top: 16px; box-shadow: 6px 0 0 var(--aillu), 0 6px 0 var(--aillu), 6px 6px 0 var(--aillu); }

.icon-source:before { width: 18px; height: 22px; border: 2px solid var(--aillu); border-radius: 3px; left: 11px; top: 9px; }
.icon-source:after { width: 10px; height: 2px; background: var(--aillu); left: 16px; top: 17px; box-shadow: 0 6px 0 var(--aillu); }

.icon-decision:before { width: 18px; height: 18px; border: 2px solid var(--aillu); border-radius: 50%; left: 11px; top: 11px; }
.icon-decision:after { width: 8px; height: 4px; border-left: 2px solid var(--aillu); border-bottom: 2px solid var(--aillu); transform: rotate(-45deg); left: 17px; top: 17px; }

/* ============================ SOLUÇÕES ============================ */

.solutions { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  margin-top: 26px;
  box-shadow: 0 12px 36px rgba(20, 15, 70, 0.055);
}

.solution-copy { padding: 48px; }
.product-label { font-size: 11px; font-weight: 850; letter-spacing: 0.1em; margin-bottom: 15px; }
.product-logo { max-width: 180px; margin-bottom: 18px; }
.farol-logo { height: 49px; width: auto; object-fit: contain; object-position: left center; }
.solution-copy h3 { font-family: Sora, Inter, sans-serif; font-size: 35px; line-height: 1.09; letter-spacing: -0.04em; margin: 0 0 16px; }
.solution-copy p { font-size: 15.5px; line-height: 1.65; color: var(--text); margin-bottom: 22px; }

.feature-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.feature-list li { font-size: 13px; color: #454761; padding-left: 23px; position: relative; }
/* The bullet takes its colour from the card, which is how one list serves both
 * products without a second rule per item. */
.feature-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.solution-farol .feature-list li:before { color: var(--orange); }
.solution-erec .feature-list li:before { color: var(--pink); }

.card-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.text-link { font-size: 13px; font-weight: 750; color: var(--orange); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.product-demo { min-height: 520px; display: grid; place-items: center; padding: 42px; }
.farol-demo { background: linear-gradient(145deg, #fff8f1, #fff2e5); }
.erec-demo { background: linear-gradient(145deg, #fff8fb, #fff0f7); }

.demo-window {
  width: 100%;
  max-width: 470px;
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.demo-top { height: 42px; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.demo-top span { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }
.demo-top b { font-size: 11px; margin-left: 8px; }
.demo-body { padding: 17px; }

.demo-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ece8e1;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  color: #555;
}
.demo-search button { border: 0; background: var(--orange); color: #fff; border-radius: 7px; padding: 8px 11px; font-weight: 700; }

.demo-cct { margin-top: 13px; padding: 13px; background: #fff8f2; border-radius: 12px; display: grid; gap: 4px; }
.demo-cct small { font-size: 9px; color: var(--orange); font-weight: 800; }
.demo-cct strong { font-size: 13px; }
.demo-cct span { font-size: 10px; color: #777; }

.changes { margin-top: 10px; border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.changes > div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  font-size: 10px;
  align-items: center;
}
.changes > div:last-child { border-bottom: 0; }
.changes b { font-size: 10px; }
.changes em { font-style: normal; color: var(--green); font-weight: 800; }

.impact { margin-top: 11px; padding: 13px; border-radius: 12px; background: #fff4eb; display: flex; align-items: center; justify-content: space-between; }
.impact span { font-size: 9px; color: #777; }
.impact strong { font-size: 16px; color: var(--orange); }

.erec-wordmark { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.erec-mark {
  height: 37px;
  width: 37px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 22px;
}
.erec-wordmark strong { font-size: 22px; color: #28134b; }
.erec-wordmark small { font-size: 10px; color: #777; align-self: flex-end; margin-bottom: 3px; }

.workflow-panel { width: 100%; max-width: 455px; display: grid; gap: 11px; }
.workflow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #f1dce7;
  border-radius: 15px;
  padding: 14px 16px;
  box-shadow: 0 8px 22px rgba(90, 15, 60, 0.05);
  transition: 0.2s;
}
.workflow-step:hover { transform: translateX(5px); }
.workflow-step b {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.workflow-step span { font-size: 13px; font-weight: 700; }

/* ============================ SINDI ============================ */

/* Same framing as the hero, for the same reason: the portrait ends at the thigh,
 * so it stands on the bottom edge of the section and the cut becomes the edge.
 * `.section` would put 92px under it, which is what left the legs sliced off in
 * the middle of the violet; the copy takes that padding over. */
.sindi-section {
  background: linear-gradient(135deg, #1b1140 0%, #37127b 60%, #5c30c2 100%);
  color: #fff;
  overflow: hidden;
}
/* Both classes, so the 650px `.section` padding further down cannot put the gap
 * back under the portrait. */
.section.sindi-section { padding-bottom: 0; }
.sindi-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 72px; min-height: 570px; }
.sindi-copy { padding-bottom: 92px; }

.sindi-portrait { height: 520px; position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: end; }
.portrait-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #8b6af0 0, #6a45d4 45%, rgba(92, 48, 194, 0) 72%);
  filter: blur(2px);
  bottom: 20px;
}
.sindi-portrait img { position: relative; z-index: 2; height: 520px; width: auto; object-fit: contain; object-position: bottom; }

.sindi-copy .eyebrow { color: #cfc2ff; }
.sindi-copy h2 { font-size: 56px; margin: 0 0 2px; }
.sindi-copy h3 { font-size: 24px; margin: 0 0 20px; font-weight: 550; color: #d9d1f3; }
.sindi-copy p { font-size: 16.5px; line-height: 1.72; color: #e3dff1; max-width: 600px; }
.sindi-copy blockquote {
  margin: 28px 0;
  font-size: 22px;
  font-family: Sora, Inter, sans-serif;
  font-weight: 650;
  letter-spacing: -0.025em;
  border-left: 3px solid #bcaaff;
  padding-left: 20px;
}
.sindi-tags { display: flex; gap: 9px; flex-wrap: wrap; }
.sindi-tags span {
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.07);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
}

/* ============================ POR QUE AILLU ============================ */

.why { background: #faf9fe; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
/* Same lift as `.principle-card`: they are the same kind of card two sections
 * apart, and only one of them used to answer the pointer. */
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 23px; transition: 0.25s; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #dcd2ff; }
.why-card b { font-size: 16px; }
.why-card p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 9px 0 0; }

/* ============================ CHAMADA FINAL ============================ */

.cta-section { padding: 80px 0; background: #fff; }
.cta-card {
  border-radius: 28px;
  background: linear-gradient(135deg, #2b1764, #5c30c2 70%, #7146df);
  color: #fff;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
/* The ring bleeding off the top-right corner: one thick border on an oversized
 * circle, clipped by the card's own overflow. */
.cta-card:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 70px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  right: -90px;
  top: -100px;
}
.eyebrow.light { color: #cfc2ff; }
.cta-card h2 { font-size: 38px; line-height: 1.08; margin: 0 0 10px; max-width: 680px; }
.cta-card p { margin: 0; color: #ddd6f4; max-width: 650px; line-height: 1.6; }
.cta-card .btn { position: relative; z-index: 2; white-space: nowrap; }

/* ============================ CONTATO ============================ */

/* The commercial form, and the reason it is markup on this page rather than a
 * link somewhere else: every "Fale com um especialista" here is a `[data-sales]`
 * anchor whose click opens the assistant when there is one and otherwise takes
 * the href. Under RD Station there is never one - its popups publish nothing a
 * page can call - so the href is the only path, and it used to be a mailto that
 * does nothing at all on a machine with no mail client. This section is where
 * those anchors now point. */
.contact { background: var(--bg); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
.contact-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-soft); }
.contact-field { display: grid; gap: 6px; }
.contact-field label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.contact-field input,
.contact-field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 13px;
  width: 100%;
}
.contact-field textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.contact-field input:focus-visible,
.contact-field textarea:focus-visible { outline: 2px solid var(--aillu); outline-offset: 1px; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-problem { margin: 0; font-size: 13px; font-weight: 700; color: #b3261e; }
.contact-done { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.contact-done b { color: var(--ink); }
.contact-aside { display: grid; gap: 22px; align-content: start; }
.contact-aside p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--text); }
.contact-aside b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.contact-aside a { color: var(--aillu); font-weight: 600; }
.contact-aside a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================ RODAPÉ ============================ */

.site-footer { background: #f7f5fc; border-top: 1px solid var(--line); padding: 55px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
/* `height: auto` is not decoration here. The <img> carries width/height
 * attributes so the footer does not jump while it loads, and those attributes
 * are presentational hints that any author rule beats - but only for the
 * property it actually declares. Every other image on the page pins both axes;
 * this one pinned width alone, so the attribute's height won and the mark came
 * out 110x127 instead of 110x35. */
.footer-logo { width: 110px; height: auto; margin-bottom: 15px; }
.footer-grid p { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 310px; }
.footer-grid strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 13px; }
.footer-grid a { display: block; font-size: 13px; color: #5d5f76; margin: 9px 0; }
.footer-grid a:hover { color: var(--aillu); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 20px;
  display: flex;
  /* WRAPPING, and the gap that goes with it. Three items share this bar since
     the legal line joined it, and the legal line alone is wider than the bar
     between 650px - where the rule below stacks them - and roughly 1000px.
     Without wrapping they overlap instead of moving down, and the copyright
     reads as the first words of the company name. */
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
  font-size: 11px;
  color: #8b8ca0;
}

/* ------------------------------ COOKIE BANNER ------------------------------
 * Built by consent.js; the same bar the products carry. `ck-` on every class
 * because `.btn` is taken and brings a 52px pill and a hover lift with it.
 *
 * ABOVE THE "Ajuda" LAUNCHER (z-index 2147483000) ON PURPOSE: the launcher sits
 * in the bottom right corner, which is exactly where the two buttons land. The
 * bar goes away with the first click; the launcher is there for good. */
.ck {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 2147483600;
  display: flex; align-items: center; gap: 16px 24px;
  padding: 14px 18px;
  background: var(--paper); color: var(--text);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 13.5px; line-height: 1.5;
}
.ck-text { flex: 1; min-width: 0; margin: 0; }
.ck-text a { color: var(--aillu); text-decoration: underline; text-underline-offset: 2px; }
.ck-actions { display: flex; gap: 10px; flex-shrink: 0; }
/* Same box for both answers: refusing must not look like the lesser option. */
.ck-btn {
  min-width: 136px; padding: 10px 16px; cursor: pointer;
  font: inherit; font-weight: 650; line-height: 1.2; text-align: center; white-space: nowrap;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px;
}
.ck-btn:hover { background: var(--lav); }
.ck-btn-primary { color: #fff; background: var(--aillu); border-color: var(--aillu); }
.ck-btn-primary:hover { background: #4b26a3; border-color: #4b26a3; }
.ck-btn:focus-visible { outline: 2px solid var(--aillu); outline-offset: 2px; }
@media (max-width: 720px) {
  .ck { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; }
  .ck-actions .ck-btn { flex: 1; min-width: 0; }
}

/* ============================ ENTRADA ============================ */

/* Off until the observer in app.js sees the element. With scripting off the
 * <noscript> block in the document cancels the whole thing, so a failed script
 * can never leave the page blank. */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* ============================ RESPONSIVO ============================ */

/* Under the full container width the hero column is narrower than the figure,
 * so she shrinks and her face comes down to where the Farol card floats. The
 * card moves up beside her hair instead of across her glasses. */
@media (min-width: 1001px) and (max-width: 1180px) {
  .float-a { top: 34px; right: -8px; }
  /* The same squeeze on the other side: at her elbow the e-Reclamatória card
   * covered her hair and her left arm, because the column ends where her arm
   * does. Beside her head there is room for a narrower card, a step below the
   * Farol one so the two do not read as a pair of ears. The bubble drops to the
   * foot of the figure, off her hand and onto the cut of the image. */
  .float-b { top: 112px; left: -30px; width: 176px; }
  .sindi-bubble { bottom: 12px; }
}

@media (max-width: 1000px) {
  .desktop-nav, .header-cta { display: none; }

  .menu-btn { display: block; margin-left: auto; border: 0; background: none; padding: 10px; }
  .menu-btn span { display: block; width: 23px; height: 2px; background: var(--ink); margin: 5px 0; }

  .mobile-menu { padding: 14px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu.open { display: grid; gap: 12px; }
  .mobile-menu a:not(.btn) { font-size: 14px; font-weight: 650; padding: 5px 0; }

  .hero { padding-top: 55px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .hero-copy .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-visual { height: 520px; }
  .sindi-hero { height: 520px; }
  /* Stacked, the figure is centred in the column, so the disc behind her is
   * centred too instead of hanging off the right edge. */
  /* Measured from the bottom, where the figure stands: under 760px the cards
   * leave the overlay and become a row above her, so the visual's top is no
   * longer the figure's top. */
  .orb { width: 440px; height: 440px; right: calc(50% - 220px); top: auto; bottom: 20px; }
  /* THE CARDS STAND BESIDE HER, NOT ON HER. Stacked, the figure is centred and
   * about 260px of the column is her body; at 6% and 5% from the edges the
   * Farol card sat on her right shoulder and the e-Reclamatória card on her
   * left elbow. They are placed from the CENTRE now, their inner edge 142px out,
   * which is past her arms at every width of this layout, so they overlap the
   * rim of the disc and nothing else; the bubble starts past her forearm
   * instead of on her hand. */
  .float-a { right: max(0px, calc(50% - 360px)); }
  .float-b { left: max(0px, calc(50% - 360px)); }
  .sindi-bubble { left: calc(50% + 112px); right: auto; width: min(274px, calc(50% - 112px)); bottom: 28px; }

  /* Two by two. The left column is the one flush with the container now, not
   * just the first card, and the rules only run BETWEEN cells: a line under the
   * last row doubled the bar's own border. */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); padding: 12px 0; }
  .number-card { padding: 22px 28px; border-bottom: 1px solid var(--line); }
  .number-card:nth-child(odd) { padding-left: 0; }
  .number-card:nth-child(even) { border-right: 0; }
  .number-card:nth-last-child(-n+2) { border-bottom: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  .principles-grid { grid-template-columns: repeat(2, 1fr); }

  .solution-card { grid-template-columns: 1fr; }
  .product-demo { min-height: 460px; }

  /* Stacked, the portrait goes UNDER the copy: it is the one block that can
   * stand on the section's bottom edge, and above the copy its cut edge landed
   * in the middle of the section again. */
  .sindi-grid { grid-template-columns: 1fr; gap: 28px; }
  .sindi-portrait { order: 2; }
  .sindi-copy { text-align: center; padding-bottom: 0; }
  .sindi-copy .eyebrow { justify-content: center; }
  .sindi-copy p { margin-left: auto; margin-right: auto; }
  .sindi-tags { justify-content: center; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-card { align-items: flex-start; flex-direction: column; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* NO ROOM BESIDE HER. Under 760px the gutters on either side of the figure are
 * narrower than a card, so any position over the visual is a position over
 * Sindi: on a phone the two product cards covered both arms and the bubble her
 * hands. The cards leave the overlay and become a row of two ABOVE her, in the
 * flow, and the bubble lies across the bottom, over the cut of the image, which
 * is the one part of the picture that gains from being covered. She still
 * stands on the section's edge. */
@media (max-width: 760px) {
  .hero-visual {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 218px));
    justify-content: center;
    align-items: stretch;
    gap: 10px;
  }
  .product-float { position: static; width: auto; text-align: left; }
  .float-b { order: -1; }
  .sindi-hero { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }
  .sindi-bubble { left: 50%; right: auto; transform: translateX(-50%); width: min(100%, 340px); bottom: 12px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 78px; }

  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { height: 66px; }
  .brand img { width: 100px; }

  .hero { padding: 46px 0 0; min-height: auto; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { gap: 10px 14px; }
  .hero-visual { margin-top: 16px; }
  .sindi-hero { height: 435px; }
  .orb { width: 330px; height: 330px; right: calc(50% - 165px); bottom: 50px; }

  .product-float { padding: 10px 11px; }
  .product-float strong { font-size: 12px; }
  .product-float small { font-size: 10.5px; }

  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number-card { padding: 18px 14px !important; }
  .number-card strong { font-size: 31px; }
  .number-card > span { font-size: 13.5px; }

  .section { padding: 68px 0; }
  .section-heading h2 { font-size: 37px; }
  .principles-grid { grid-template-columns: 1fr; }

  .solution-copy { padding: 30px 22px; }
  .solution-copy h3 { font-size: 31px; }
  .product-demo { padding: 22px; min-height: 390px; }
  .changes > div { grid-template-columns: 1fr; }

  .sindi-portrait { height: 410px; }
  .sindi-portrait img { height: 410px; }
  .sindi-copy h2 { font-size: 43px; }
  .sindi-copy h3 { font-size: 20px; }

  .why-grid { grid-template-columns: 1fr; }

  .cta-card { padding: 34px 25px; }
  .cta-card h2 { font-size: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* The entrance, the counters and every hover lift are decoration. Asked to stop
 * moving, the page shows its final state and stops. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .principle-card:hover, .why-card:hover, .workflow-step:hover { transform: none; }
}
