/* ==========================================================
   1. VARIÁVEIS — muda aqui as cores e fontes do site inteiro
   ========================================================== */
:root {
  /* Marca LSF VANG */
  --navy: #051b33;            /* azul do logótipo */
  --accent: #9cc9f0;          /* azul céu: botões e etiquetas */
  --on-accent: #051b33;       /* texto sobre o destaque */
  --dark: #051b33;            /* rodapé, botões escuros */
  --dark-2: #08223f;          /* barra do menu */
  --sand: #dbe8f5;            /* texto sobre imagens */

  /* Superfícies e texto */
  --bg: #ffffff;
  --surface: #eef3f9;
  --card: #ffffff;
  --ink: #051b33;
  --muted: #46586d;
  --line: rgba(5, 27, 51, .06);
  --border: #c9d6e4;
  --btn-ink: #051b33;
  --btn-ink-text: #ffffff;

  /* Fontes */
  --font-head: "Cabinet Grotesk", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-logo: "Anton", Impact, "Arial Narrow", sans-serif;

  /* Medidas */
  --gutter: 50px;
  --max: 1600px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Símbolo do logótipo (embutido para funcionar também em file://) */
  --mark: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAANzklEQVR4AexdX4wkRRn/qmdqdpfb8wCV87YX3BwLwUsgME0kZ3xYH4zERE1Uno0J8U1jxBgSEyPKC4oJ8cEHjYnRRzDRB4MvJPtAAgHmImhOAudx4s7hxSAey93eTs9M+fvVdM/ObPfMdPfM9PTs7aSqq7vq+1ffV/VVdVV3jyPF/imI51ROVD+hXa+NaILYClLm7cUVzw/zF1bvvUPkoRLwSQOJhCnPCxMLZoCNcmW1+gSU2FUkzlvGUWehsV4FhnIzby8qKQOOQbVN6Q3tnm8CnwaC4arNinv/43LqVIUARYlhRWYjD5XheVq73i4ilLTtG6O+B2FCReJ0UkE5Rsz39eWlgNf9TQFvEWsQGnFSjFLRmZkBoPCmVca/pQGJZ9AqTUmDt3atQVqQYSYhXwOsbSxqt3pNu55BbUuIRQmKMukVryFra4t5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EQVQDADBhgALa0cu/AAAAAElFTkSuQmCC");
}

/* ==========================================================
   2. BASE
   (sem overflow-x no html/body: quebraria fixed e sticky)
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
.display { font-size: 72px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.h2 { font-size: 54px; letter-spacing: -.02em; text-transform: uppercase; }
.h3 { font-size: 36px; line-height: 1.3; letter-spacing: -.04em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 80px; }
.section--lg { padding-block: 80px 160px; }
.clip { overflow: hidden; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Linhas verticais de fundo */
.lined { position: relative; isolation: isolate; }
.lined::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: min(100% - var(--gutter) * 2, var(--max) - var(--gutter) * 2);
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc((100% - 1px) / 6));
  background-size: 100% 100%;
  border-right: 1px solid var(--line);
  pointer-events: none;
}

/* ==========================================================
   3. ETIQUETAS, BOTÕES, CABEÇALHOS DE SECÇÃO
   ========================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 7px; /* as maiúsculas da fonte ficam acima do centro */
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font: 500 14px/1.5 var(--font-head);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; translate: 0 -1px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: var(--radius);
  background: var(--btn-ink);
  color: var(--btn-ink-text);
  font: 500 16px/1.5 var(--font-body);
  transition: filter .25s, translate .25s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.12); translate: 0 -1px; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--white { background: #fff; color: var(--navy); }
.btn--arrow { padding: 6px 6px 6px 12px; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: var(--btn-ink-text);
  color: var(--btn-ink);
  overflow: hidden;
}
.btn--accent .btn__icon { background: var(--on-accent); color: var(--accent); }
.btn__icon svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .btn__icon svg { transform: rotate(45deg); }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; margin-bottom: 48px; }
.head .h2 { max-width: 600px; }
.head p { max-width: 660px; color: var(--muted); }

/* ==========================================================
   4. HEADER + MENU
   ========================================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding: 16px clamp(16px, 8.34vw, 120px) 0; transition: padding .4s var(--ease); pointer-events: none; }
.header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--dark-2);
  color: #fff;
  transition: background .35s, max-width .4s var(--ease);
}
body[data-header="overlay"] .header:not(.is-scrolled) { padding-inline: var(--gutter); }
body[data-header="overlay"] .header:not(.is-scrolled) .header__bar { background: transparent; max-width: var(--max); padding-inline: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; padding-left: 4px; flex: none; }
.logo__mark { display: block; width: 36px; height: 36px; flex: none; background: currentColor; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.logo__text { display: grid; }
.logo__text strong { font: 400 22px/1.15 var(--font-logo); letter-spacing: .02em; white-space: nowrap; }
.logo__text small { font-size: 10px; line-height: 1.3; opacity: .75; white-space: nowrap; }
.nav ul { display: flex; gap: 32px; }
.nav a { white-space: nowrap; display: inline-block; position: relative; font-size: 16px; font-weight: 500; color: #fff; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header .btn { background: var(--accent); color: var(--on-accent); min-width: 154px; }
body[data-header="overlay"] .header:not(.is-scrolled) .btn { background: #fff; }
.burger { display: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); position: relative; flex: none; }
.burger span { position: absolute; left: 11px; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ==========================================================
   5. HERO (home), HERO DE PÁGINA, HERO CENTRADO
   ========================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--dark); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 27, 51, .78), rgba(5, 27, 51, .2) 65%), linear-gradient(rgba(5, 27, 51, .1), rgba(5, 27, 51, .35)); }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 110px 60px; }
.hero__content .display { max-width: 560px; }
.hero__content p { max-width: 500px; font-size: 24px; line-height: 1.4; letter-spacing: -.01em; color: var(--sand); }
.hero--center { min-height: 536px; justify-content: center; text-align: center; }
.hero--center .hero__media::after { background: rgba(5, 27, 51, .6); }
.hero--center .hero__content { align-items: center; }
.hero--center .display { font-size: 48px; max-width: 800px; }
.hero--center p { font-size: 18px; max-width: 560px; }
.hero--404 { min-height: 100vh; }
.hero--404 .hero__media::after { background: rgba(5, 27, 51, .35); }
.hero--404 .display { text-transform: none; font-size: 72px; line-height: 1.1; max-width: 560px; }

/* ==========================================================
   6. HOME
   ========================================================== */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.about__main { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.about__main .h3 { max-width: 860px; }
.about__main .btn { margin-top: 28px; }
.about__side { padding-top: 44px; color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.stats strong { display: block; margin-bottom: 20px; font: 700 54px/1.2 var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.wide-media { position: relative; height: 439px; margin-top: 52px; border-radius: var(--radius); overflow: hidden; }
.wide-media img { position: absolute; left: 0; top: -164px; width: 100%; height: 603px; object-fit: cover; will-change: transform; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.feature { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 4px; align-content: start; }
.feature > span { font: 500 20px/1.5 var(--font-head); }
.feature h3 { font-size: 24px; line-height: 1.5; }
.feature p { grid-column: 2; color: var(--muted); }

/* Cartões de imagem (serviços e projetos) */
.card { display: block; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card h3 { margin-top: 12px; font-size: 24px; line-height: 1.5; }
.card p { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px; }

/* Sliders */
.slider { position: relative; }
.slider__track { display: flex; gap: 16px; transition: transform .5s cubic-bezier(.25, .1, .25, 1); touch-action: pan-y; cursor: grab; }
.slider__track > * { flex: 0 0 var(--slide, calc((100% - 32px) / 3)); min-width: 0; user-select: none; }
.slider__track img { -webkit-user-drag: none; }
.slider__nav { position: relative; display: flex; justify-content: center; align-items: center; min-height: 40px; margin-top: 20px; }
.slider__dots { display: flex; gap: 10px; padding: 8px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 10px; background: var(--ink); opacity: .5; transition: width .3s var(--ease), opacity .3s; }
.slider__dots button[aria-current="true"] { width: 28px; opacity: 1; }
.slider__arrows { position: absolute; right: 0; display: flex; gap: 10px; }
.slider__arrows button { width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center; background: var(--accent); color: var(--on-accent); transition: opacity .25s; }
.slider__arrows button:disabled { opacity: .35; cursor: default; }
.slider__arrows svg { width: 16px; height: 16px; }
.banner { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--dark); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 27, 51, .82), rgba(5, 27, 51, .5)); }
.banner > :not(img) { position: relative; z-index: 1; }
.proof { min-height: 312px; display: grid; grid-template-columns: minmax(0, 444px) minmax(0, 1fr); align-items: center; gap: 40px; padding: 48px 50px; }
.proof h2 { font-size: 36px; letter-spacing: -.04em; }
.proof p { margin: 12px 0 20px; color: var(--sand); }
.proof ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof li { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 16px; min-height: 76px; }
.proof strong { display: block; font: 700 32px/1.3 var(--font-head); color: #fff; }
.proof li > span { display: block; margin-top: 8px; font-size: 14px; color: var(--sand); }
.statement { position: relative; overflow: hidden; padding-block: 160px; text-align: center; color: #fff; background: var(--dark); }
.statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 27, 51, .58), rgba(5, 27, 51, .42) 45%, rgba(5, 27, 51, .78)); }
.statement > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.statement h2 { max-width: 860px; }
.statement p { max-width: 640px; color: var(--sand); }
.team-intro { background: var(--surface); padding-block: 80px; }
.team-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 420px); gap: 40px; margin-bottom: 40px; }
.team-intro__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.team-intro__copy h2 { max-width: 360px; }
.team-intro__copy p { margin-top: auto; color: var(--muted); font-size: 16px; }
.values { display: grid; gap: 12px; }
.value { background: var(--card); border-radius: var(--radius); padding: 24px; }
.value h3 { font-size: 22px; margin-bottom: 8px; }
.value p { font-size: 16px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 8px; border-radius: var(--radius); background: var(--btn-ink); color: var(--btn-ink-text); font-size: 12px; font-weight: 500; line-height: 1.5; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 10px; align-content: start; }
.member__photo { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover img { transform: scale(1.05); }
.member__photo span { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: var(--radius); background: rgba(0, 0, 0, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 12px; }
.member h3 { margin-top: 12px; font-size: 20px; font-weight: 500; line-height: 1.5; }
.member p { color: var(--muted); font-size: 16px; }
.member-cta { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; aspect-ratio: 3 / 4; padding: 24px; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-size: 16px; }
.link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { opacity: .7; }
.testimonials .slider { max-width: 938px; margin-inline: auto; overflow: hidden; --slide: 100%; }
.quote { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px 32px; min-height: 240px; }
.quote > img { width: 240px; height: 240px; object-fit: cover; border-radius: var(--radius); }
.quote figure { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { font-size: 22px; line-height: 1.5; }
.quote figcaption { font: 500 16px/1.5 var(--font-head); }
.quote figcaption span { display: block; font: 400 12px/1.5 var(--font-body); color: var(--muted); }
.testimonials .slider__nav { margin-top: 28px; }
.testimonials .slider__arrows button { background: var(--btn-ink); color: var(--btn-ink-text); }

/* Chamada final */
.cta { min-height: 512px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 48px 50px; }
.cta::after { background: linear-gradient(rgba(5, 27, 51, .25) 10%, rgba(5, 27, 51, .85)); }
.cta h2 { max-width: 640px; font-size: 72px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.cta p { max-width: 520px; margin-top: 20px; font-size: 16px; }

/* ==========================================================
   7. PÁGINAS INTERNAS
   ========================================================== */
.detail-head { padding-block: 130px 32px; }
.detail-head h1 { font-size: 54px; text-transform: uppercase; letter-spacing: -.02em; }
.detail-head .head { margin-bottom: 32px; gap: 14px; }
.legal { max-width: 720px; margin-inline: auto; color: var(--muted); font-size: 16px; }
.legal h2 { margin: 20px 0 8px; font: 400 16px/1.5 var(--font-body); }

/* ==========================================================
   8. RODAPÉ
   ========================================================== */
.footer {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0, transparent 56px, transparent 57px), var(--dark);
  color: #fff;
  padding-block: 80px 24px;
  font-size: 14px;
}
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto 220px 330px; gap: 48px; padding-bottom: 64px; }
.footer .logo { padding: 0; margin-bottom: 16px; }
.footer .logo__mark { width: 48px; height: 48px; }
.footer__about p { max-width: 280px; color: var(--sand); }
.contact-list svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.footer h2 { margin-bottom: 20px; font-size: 16px; font-weight: 500; }
.footer h2.big { font-size: 22px; }
.footer__links { display: grid; gap: 12px; color: #9fb3ca; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: #9fb3ca; }

/* ==========================================================
   9. ANIMAÇÕES DE ENTRADA
   Só escondem quando o JS está ativo (classe .js no <html>).
   data-reveal="up|pop|soft|left"   data-delay="0.1"
   data-split="words|chars"
   ========================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(30px) scale(.9); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal="pop"] { transform: translateY(30px) scale(.8); }
.js [data-reveal="soft"] { transform: translateY(20px) scale(.97); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] { opacity: 0; }
.js [data-split].is-split { opacity: 1; }
.word { display: inline-block; }
.js .unit { display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity .45s ease-out, transform .45s ease-out, filter .45s ease-out; transition-delay: calc(var(--i) * var(--step)); }
.js [data-split="words"] .unit { filter: blur(8px); }
.js [data-split].is-in .unit { opacity: 1; transform: none; filter: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ==========================================================
   10. RESPONSIVO
   ========================================================== */
@media (max-width: 1199px) {
  :root { --gutter: 32px; }
  .display { font-size: 56px; }
  .h2, .detail-head h1 { font-size: 43px; }
  .h3 { font-size: 28px; }
  .cta h2 { font-size: 56px; }
  .hero__content p { font-size: 20px; }
  .header { padding-inline: 16px; }
  .nav ul { gap: 20px; }
  .logo__text small { display: none; }
  .about { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .stats strong { font-size: 43px; }
  .features { grid-template-columns: 1fr 1fr; }
  .slider { --slide: calc((100% - 16px) / 2); }
  .proof { grid-template-columns: 1fr; }
  .team-intro__grid { grid-template-columns: 1fr 1fr; }
  .team-intro__copy { grid-column: 1 / -1; }
  .team-intro__copy h2 { max-width: 560px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 12px);
    padding: 24px;
    border-radius: var(--radius);
    background: var(--dark-2);
    text-align: center;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility 0s linear .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s linear 0s; }
  .nav ul { flex-direction: column; gap: 36px; }
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: 10px; }
  .logo__mark { width: 32px; height: 32px; }
  body[data-header="overlay"] .header:not(.is-scrolled) { padding-inline: 16px; }
  body[data-header="overlay"] .header:not(.is-scrolled) .header__bar { background: var(--sand); color: var(--dark); padding-inline: 8px; }
  body[data-header="overlay"] .header:not(.is-scrolled) .btn { background: var(--accent); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .display, .hero--404 .display { font-size: 42px; }
  .hero--center .display { font-size: 32px; }
  .h2, .detail-head h1, .cta h2 { font-size: 32px; }
  .h3 { font-size: 24px; }
  .section--lg { padding-block: 80px; }
  .hero { min-height: 620px; }
  .hero--404 { min-height: 100svh; }
  .hero--center { min-height: 440px; }
  .hero__content p { font-size: 16px; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__main .btn { margin-top: 4px; }
  .about__side { padding-top: 0; display: flex; flex-direction: column; }
  .stats { order: -1; margin: 0 0 20px; }
  .stats strong { font-size: 32px; margin-bottom: 8px; }
  .wide-media { height: 195px; margin-top: 40px; }
  .wide-media img { top: -40px; height: 260px; }
  .features { gap: 40px 12px; }
  .feature h3 { font-size: 18px; }
  .feature > span { font-size: 16px; }
  .slider { --slide: 100%; }
  .slider__nav { justify-content: flex-start; }
  .card h3 { font-size: 18px; }
  .proof { padding: 32px 18px; }
  .proof h2 { font-size: 24px; }
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof strong { font-size: 22px; }
  .statement { padding-block: 90px; }
  .team-intro__grid { grid-template-columns: 1fr; gap: 20px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member h3 { font-size: 17px; }
  .member p { font-size: 14px; }
  .member-cta { padding: 12px; font-size: 14px; }
  .quote { grid-template-columns: 1fr; align-content: start; }
  .quote > img { width: 84%; height: auto; aspect-ratio: 1; }
  .quote blockquote { font-size: 16px; }
  .cta { flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 360px; padding: 32px 18px; }
  .grid-3 { grid-template-columns: 1fr; }
  .detail-head { padding-block: 110px 24px; }
  .footer__grid { grid-template-columns: auto minmax(0, 1fr); gap: 40px 24px; }
  .footer__about, .footer__news { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .header .btn { min-width: 0; padding-inline: 10px; font-size: 14px; }
  .header .logo { gap: 6px; }
  .header .logo strong { font-size: 18px; }
}
@media (max-width: 360px) {
  .header .logo__text { display: none; }
}
.cta--home h2 { font-size: 54px; max-width: 560px; }
@media (max-width: 767px) {
  .cta--home h2 { font-size: 28px; }
}

/* ==========================================================
   11. COMPONENTES LSF VANG
   ========================================================== */
.hero__actions, .cta__actions, .footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__actions { justify-content: flex-end; }
.footer__actions { margin-top: 16px; }
.legal { padding-bottom: 80px; }
.stats strong { white-space: nowrap; }
.proof strong { font-size: 26px; }
.card__media .badge { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: var(--radius); background: rgba(5, 27, 51, .75); color: #fff; font-size: 12px; }
.founder { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.founder__photo { flex: 1; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-radius: var(--radius); background: var(--navy); color: var(--sand); }
.founder__photo .logo__mark { width: 140px; height: 140px; background: #fff; opacity: .9; }
.founder figcaption strong { display: block; font: 500 20px var(--font-head); }
.founder figcaption span { color: var(--muted); font-size: 16px; }
@media (max-width: 1199px) {
  .team-intro__grid .founder { grid-row: span 1; }
}
@media (max-width: 767px) {
  .cta__actions { justify-content: flex-start; }
  .hero { min-height: 700px; }
  .hero--center { min-height: 480px; }
  .hero--404 { min-height: 100svh; }
}
.footer__news p { color: var(--sand); }

/* sem palavras sozinhas na última linha (o JS reforça) */
h1, h2, h3, blockquote, figcaption, summary, .head p { text-wrap: balance; }
p, li, dd, dt, span, label { text-wrap: pretty; }
.nowrap { display: inline-block; white-space: nowrap; }
.head .h2.h2--wide { max-width: 860px; }
[id] { scroll-margin-top: 90px; }
body { scroll-margin-top: 0; }
#modelos .grid-3 { column-gap: 32px; row-gap: 56px; }
.model { display: flex; flex-direction: column; align-items: flex-start; }
.model .card__media { width: 100%; }
.model__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-block: 16px; }
.model__specs div { padding: 10px 12px; border-radius: var(--radius); background: var(--surface); }
.model__specs dt { font-size: 12px; color: var(--muted); }
.model__specs dd { font: 700 16px/1.4 var(--font-head); }
.model .btn { margin-top: auto; }
.note { max-width: 640px; margin: 40px auto 0; text-align: center; font-size: 16px; color: var(--muted); }
.faq { display: grid; gap: 8px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--radius); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font: 700 20px/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius); background: var(--btn-ink); color: var(--btn-ink-text); font: 400 20px/1 var(--font-body); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 24px 24px; font-size: 16px; color: var(--muted); }
.faq details > div p + p { margin-top: 12px; }
@media (max-width: 767px) {
  .head .h2.h2--wide { font-size: min(32px, 6.2vw); }
  .faq summary { padding: 16px; font-size: 17px; }
  .faq details > div { padding: 0 16px 16px; }
}
.nav a[aria-current="true"]::after { transform: scaleX(1); }

/* ---------- mais respiro entre secções ---------- */
@media (min-width: 768px) {
  .section { padding-block: 120px; }
  .section--lg { padding-block: 120px 160px; }
  .head { margin-bottom: 72px; gap: 24px; }
}

/* ---------- animação e scroll ---------- */
.js [data-reveal] { transition-duration: .8s; }
html.lenis { scroll-behavior: auto; }
.footer__credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cookies ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; z-index: 200; width: 100vw; max-height: 85vh; overflow: hidden auto; padding: 24px clamp(16px, 8.34vw, 120px); background: #051b33; color: #fff; border-top: 1px solid rgba(255, 255, 255, .15); }
.cookie-banner[hidden], .cookie-banner__prefs[hidden] { display: none; }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; }
.cookie-banner__text { flex: 1 1 420px; max-width: 720px; }
.cookie-banner h2 { margin-bottom: 6px; font-size: 20px; }
.cookie-banner p { font-size: 15px; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__prefs { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 14px; font-size: 15px; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 8px; }
.cookie-banner__prefs input { width: 18px; height: 18px; accent-color: #9cc9f0; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie-banner__actions .btn { min-width: 130px; justify-content: center; }
.cookie-banner__more { padding: 10px 8px; color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }

/* ---------- voltar ao topo ---------- */
.to-top { position: fixed; z-index: 90; bottom: 20px; right: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: #9cc9f0; color: #051b33; box-shadow: 0 4px 16px rgba(5, 27, 51, .3); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; transform: translateZ(0); }
.to-top.is-visible { opacity: 1; visibility: visible; transition: opacity .3s; }
.to-top svg { width: 20px; height: 20px; }
.has-cookie-banner .to-top { display: none; }

/* ---------- rodapé e páginas legais ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal button { padding: 0; color: inherit; font: inherit; }
.legal { max-width: 820px; margin-inline: auto; padding-bottom: 96px; font-size: 16px; color: var(--muted); }
.legal h2 { margin: 48px 0 16px; font-size: 24px; color: var(--ink); }
.legal p, .legal ul { margin-bottom: 14px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal button.btn { text-decoration: none; }
.legal mark { background: #ffe9a8; color: #3d2f00; padding: 0 4px; }
.legal__table { margin-bottom: 16px; overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal th { background: var(--surface); color: var(--ink); }
@media (max-width: 767px) {
  .to-top { right: auto; left: calc(100vw - 68px); }
  .footer { padding-bottom: 72px; }
  .cookie-banner { padding: 20px 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; min-width: 0; }
  .legal thead { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal tr { margin-bottom: 12px; border: 1px solid var(--border); }
  .legal td { border: 0; padding: 8px 12px; }
  .legal td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--ink); }
}

/* ==========================================================
   12. DESENHO TÉCNICO: parede, obra, acompanhamento, orçamento
   ========================================================== */

/* ---------- parede em camadas ---------- */
.parede { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.parede__texto { display: flex; flex-direction: column; gap: 20px; }
.parede__texto > p { color: var(--muted); }
.camadas { display: grid; gap: 4px; }
.camadas button { display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 14px 16px; border-radius: var(--radius); text-align: left; transition: background .25s; }
.camadas button:hover { background: var(--surface); }
.camadas button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.camadas strong { display: block; font: 700 20px/1.4 var(--font-head); }
.camadas span > span { display: block; font-size: 15px; color: var(--muted); }
.camadas button[aria-pressed="true"] span > span { color: var(--sand); }
.amostra { flex: none; width: 22px; height: 36px; margin-top: 4px; border: 1px solid var(--navy); }
.amostra--exterior { background: repeating-linear-gradient(#e4ebf3 0 8px, #8fa6bf 8px 9px); }
.amostra--isolamento { background: repeating-linear-gradient(135deg, #f2d98a 0 4px, #dcb955 4px 6px); }
.amostra--estrutura { background: linear-gradient(90deg, #8fa6bf 0 5px, #fff 5px 15px, #8fa6bf 15px); }
.amostra--interior { background: #fff; }
.camadas button[aria-pressed="true"] .amostra { border-color: #fff; }
.parede__palco { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface) linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px; }
.parede__palco figure svg { display: block; width: 100%; height: auto; max-height: 460px; overflow: visible; }
.peca { transition: transform .7s var(--ease), opacity .35s; }
.peca.is-apagada { opacity: .16; }
.peca polygon { stroke: var(--navy); stroke-width: 1.2; stroke-linejoin: round; }
.placa.f-frente { fill: #fff; } .placa.f-lado { fill: #c9d6e4; } .placa.f-topo { fill: #e4ebf3; }
.perfil.f-frente { fill: #b8c8da; } .perfil.f-lado { fill: #7891ad; } .perfil.f-topo { fill: #dbe5ef; }
.la.f-frente { fill: #f2d98a; } .la.f-lado { fill: #c9a53f; } .la.f-topo { fill: #f8e8b5; }
.reboco.f-frente { fill: #e4ebf3; } .reboco.f-lado { fill: #8fa6bf; } .reboco.f-topo { fill: #f4f7fa; }
.fibra { fill: none; stroke: #a8862a; stroke-width: 1.2; }
.junta { stroke: #8fa6bf; stroke-width: 1.2; }
.parede__controlo { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; font-size: 15px; font-weight: 500; }
.parede__controlo input { width: min(260px, 100%); height: 32px; accent-color: var(--navy); }
.parede__nota { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- a obra que avança com o scroll ---------- */
.obra { padding-block: 80px; color: #fff; background-color: var(--navy); background-image: linear-gradient(rgba(156, 201, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 201, 240, .07) 1px, transparent 1px); background-size: 40px 40px; }
.obra__topo { max-width: 720px; margin-bottom: 40px; }
.obra__topo p { max-width: 520px; margin-top: 20px; color: var(--sand); }
.obra__grelha { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.obra__desenho { position: sticky; top: 96px; display: flex; flex-direction: column; justify-content: center; gap: 16px; height: calc(100vh - 120px); max-height: 640px; }
.obra__desenho svg { display: block; width: 100%; flex: 1; min-height: 0; }
.obra__desenho figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(156, 201, 240, .3); }
.obra__desenho figcaption strong { font: 700 22px/1.3 var(--font-head); }
.obra__barra { display: flex; gap: 4px; }
.obra__barra i { width: 22px; height: 6px; background: rgba(156, 201, 240, .25); transition: background .35s; }
.obra__barra i.on { background: var(--accent); }

.camada { opacity: 0; transition: opacity .5s; }
.camada.on { opacity: 1; }
.camada line { stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.camada line.t { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease) var(--d, 0s); }
.camada.on line.t { stroke-dashoffset: 0; }
.camada line.aco { stroke: #e8f2fc; stroke-width: 2.4; }
.camada line.fino { stroke-width: 1.3; }
.camada line.cota { stroke: #fff; stroke-width: 1.2; }
.camada line.grelha { stroke: rgba(156, 201, 240, .18); stroke-width: 1; }
.terreno { fill: #0a2a4c; }
.limite { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 10 6; }
.ponto { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.fantasma { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 5 6; }
line.fantasma { stroke-dasharray: 5 6; }
.camada polygon.laje, .camada polygon.material { stroke: var(--accent); stroke-width: 1.2; }
.laje.f-frente { fill: #3d6287; } .laje.f-lado { fill: #2c4c6e; } .laje.f-topo { fill: #5c82a8; }
.material.f-frente { fill: #b8c8da; } .material.f-lado { fill: #7891ad; } .material.f-topo { fill: #e8f2fc; }
.camada polygon.muro { stroke: var(--navy); stroke-width: 1.4; }
.muro.f-frente { fill: #f4f7fa; } .muro.f-lado { fill: #c3d3e5; }
.telhado { fill: #2c557f; stroke: #fff; stroke-width: 1.4; }
.janela { fill: #ffd98a; stroke: var(--navy); stroke-width: 3; }
.caminho { fill: #6d8fb2; }
.arvore { fill: rgba(156, 201, 240, .22); stroke: var(--accent); stroke-width: 1.6; }
.camada circle.arvore, .camada circle.ponto { transition: opacity .6s .4s; }

.obra__passos { position: relative; padding-bottom: 12vh; }
.obra__passos li { position: relative; min-height: 34vh; padding: 0 0 32px 64px; }
.obra__passos li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: rgba(156, 201, 240, .25); }
.obra__passos li:last-child { min-height: 0; }
.obra__passos li:last-child::before { display: none; }
.obra__num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid rgba(156, 201, 240, .45); border-radius: 50%; font: 700 17px/1 var(--font-head); transition: background .3s, color .3s, border-color .3s; }
.obra__passos h3 { padding-top: 4px; font-size: 28px; color: #a9bdd4; transition: color .3s; }
.obra__passos p { max-width: 420px; margin-top: 8px; color: #a9bdd4; transition: color .3s; }
.obra__passos .obra__fase { margin: 0 0 4px; font: 700 15px/1.4 var(--font-head); color: var(--accent); }
.obra__passos .obra__fase + h3 { padding-top: 0; }
.obra__passos li.is-atual .obra__num { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.obra__passos li.is-atual h3 { color: #fff; }
.obra__passos li.is-atual p:not(.obra__fase) { color: var(--sand); }
html:not(.js) .obra__desenho { display: none; }
html:not(.js) .obra__grelha { grid-template-columns: 1fr; }
html:not(.js) .obra__passos li { min-height: 0; }

/* ---------- acompanhamento ---------- */
.diario__foto { position: relative; display: flex; align-items: flex-end; min-height: 520px; padding: 48px 48px 150px; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy); }
.diario__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 27, 51, .15), rgba(5, 27, 51, .88)); }
.diario__foto > div { position: relative; z-index: 1; max-width: 680px; }
.diario__foto p { margin-top: 16px; color: var(--sand); }
.diario__itens { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -100px 32px 0; border-radius: var(--radius); background: #fff; box-shadow: 0 24px 60px rgba(5, 27, 51, .18); }
.diario__itens li { padding: 28px 24px; border-left: 1px solid var(--border); }
.diario__itens li:first-child { border-left: 0; }
.diario__itens h3 { margin-bottom: 8px; font-size: 20px; }
.diario__itens p { font-size: 16px; color: var(--muted); }

/* ---------- orçamento: ponto de partida ---------- */
.inicio { background: var(--surface); }
.inicio__opcoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 1100px; margin-inline: auto; }
.inicio__opcoes button { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px 20px; border-radius: var(--radius) var(--radius) 0 0; background: #fff; font: 700 20px/1.35 var(--font-head); text-align: center; text-wrap: balance; transition: background .25s, color .25s; }
.inicio__opcoes svg { width: 72px; height: 60px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.inicio__opcoes button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.inicio__opcoes button[aria-pressed="true"] svg { stroke: var(--accent); }
.inicio__folha { max-width: 1100px; margin-inline: auto; border-radius: 0 0 var(--radius) var(--radius); color: #fff; background: var(--navy); }
.inicio__painel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding: 48px; }
.inicio__painel[hidden] { display: none; }
.inicio__painel h3 { margin-bottom: 20px; font-size: 24px; }
.inicio__lista li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.inicio__lista li::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border: 2px solid var(--accent); }
.inicio__depois { display: flex; flex-direction: column; align-items: flex-start; }
.inicio__depois > p { color: var(--sand); }
.inicio__rota { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 32px 0; counter-reset: rota; }
.inicio__rota li { position: relative; padding-top: 24px; font-size: 15px; font-weight: 500; }
.inicio__rota li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.inicio__rota li::after { content: ""; position: absolute; left: 18px; right: 6px; top: 5px; height: 2px; background: rgba(156, 201, 240, .35); }
.inicio__rota li:last-child::after { display: none; }
.inicio__depois .btn { margin-top: auto; background: var(--accent); color: var(--navy); }
.inicio__depois .btn__icon { background: var(--navy); color: var(--accent); }
.inicio__carimbo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(156, 201, 240, .35); }
.inicio__carimbo div { padding: 20px 24px; border-left: 1px solid rgba(156, 201, 240, .35); }
.inicio__carimbo div:first-child { border-left: 0; }
.inicio__carimbo dt { font-size: 13px; color: var(--accent); }
.inicio__carimbo dd { margin-top: 4px; font-size: 15px; }

@media (max-width: 1020px) {
  /* o desenho fica acima das camadas, para se ver ao tocar */
  .parede { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .parede__texto { display: contents; }
  .parede__palco { order: 1; }
  .camadas { order: 2; }
  .diario__itens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diario__itens li:nth-child(3) { border-left: 0; }
  .diario__itens li:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .obra__grelha { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* o desenho fica preso no topo e as etapas passam por baixo */
  .obra__desenho { z-index: 2; top: 0; height: calc(42vh + 76px); margin-inline: calc(var(--gutter) * -1); padding: 80px var(--gutter) 12px; gap: 8px; background: var(--navy); box-shadow: 0 16px 24px var(--navy); }
  .obra__desenho figcaption { padding-top: 10px; }
  .obra__desenho figcaption strong { font-size: 17px; }
  .obra__barra i { width: 12px; }
  .obra__passos li { min-height: 24vh; padding-left: 56px; }
  .obra__passos h3 { font-size: 22px; }
}
@media (max-width: 767px) {
  .obra { padding-block: 64px; }
  .parede__palco { padding: 12px; }
  .diario__foto { min-height: 420px; padding: 24px 20px 90px; }
  .diario__itens { grid-template-columns: minmax(0, 1fr); margin: -60px 12px 0; }
  .diario__itens li { padding: 20px; border-left: 0; }
  .diario__itens li:nth-child(n+2) { border-top: 1px solid var(--border); }
  .inicio__opcoes { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .inicio__opcoes button { flex-direction: row; justify-content: flex-start; padding: 12px 16px; border-radius: var(--radius); font-size: 17px; text-align: left; }
  .inicio__opcoes svg { width: 44px; height: 36px; flex: none; }
  .inicio__folha { margin-top: 8px; border-radius: var(--radius); }
  .inicio__painel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px 20px; }
  .inicio__carimbo { grid-template-columns: minmax(0, 1fr); }
  .inicio__carimbo div { padding: 14px 20px; border-left: 0; }
  .inicio__carimbo div + div { border-top: 1px solid rgba(156, 201, 240, .35); }
}
