@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f4efe7;
  --bg-deep: #e6dece;
  --surface: rgba(255, 252, 247, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-dark: #181511;
  --text: #1f1b16;
  --muted: #6f675e;
  --line: rgba(31, 27, 22, 0.1);
  --line-strong: rgba(31, 27, 22, 0.2);
  --accent: #156e64;
  --accent-strong: #0c4b46;
  --warm: #c8794a;
  --mist: #97a9c9;
  --shadow-soft: 0 22px 70px rgba(29, 23, 17, 0.09);
  --shadow-strong: 0 36px 100px rgba(29, 23, 17, 0.15);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1240px;
  --pointer-x: 74%;
  --pointer-y: 14%;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(21, 110, 100, 0.13), transparent 24%),
    radial-gradient(circle at 14% 18%, rgba(200, 121, 74, 0.14), transparent 24%),
    radial-gradient(circle at 86% 78%, rgba(151, 169, 201, 0.14), transparent 24%),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 45%),
    repeating-linear-gradient(180deg, rgba(31, 27, 22, 0.018) 0, rgba(31, 27, 22, 0.018) 1px, transparent 1px, transparent 18px);
  opacity: 0.45;
}

body[data-page="app-blint"] {
  --accent: #0d7e8b;
  --accent-strong: #07525a;
}

body[data-page="app-caminhos"] {
  --accent: #996739;
  --accent-strong: #643c1e;
}

body[data-page="app-blindmessaging"] {
  --accent: #6a57d9;
  --accent-strong: #4330a3;
}

body.no-scroll {
  overflow: hidden;
}

a,
button,
input,
textarea {
  color: inherit;
  font: inherit;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

code {
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(31, 27, 22, 0.06);
  font-size: 0.94em;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  top: -7rem;
  right: -8rem;
  background: rgba(21, 110, 100, 0.18);
}

.page-shell::after {
  left: -8rem;
  bottom: -8rem;
  background: rgba(200, 121, 74, 0.18);
}

.ambient {
  display: none;
}

.topbar,
.subnav,
main,
.footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(29, 23, 17, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-icon {
  position: relative;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(21, 110, 100, 0.18), rgba(200, 121, 74, 0.18));
  border: 1px solid rgba(21, 110, 100, 0.12);
  overflow: hidden;
}

.brand-icon-a,
.brand-icon-b {
  position: absolute;
  border-radius: 999px;
}

.brand-icon-a {
  inset: 0.44rem 0.94rem 0.44rem 0.5rem;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  transform: skewX(-15deg);
}

.brand-icon-b {
  inset: 0.72rem 0.5rem 0.72rem 1.42rem;
  background: linear-gradient(180deg, var(--warm), #a85d35);
}

.brand-wordmark {
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.topnav,
.subnav,
.hero-actions,
.cta-row,
.micro-nav,
.filter-row,
.tag-row,
.chip-cloud,
.hero-stats,
.footer-links,
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.topnav {
  justify-content: flex-end;
}

.topnav a,
.subnav a,
.micro-nav a,
.footer a,
.filter-row button {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.36);
  text-decoration: none;
  color: var(--muted);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.topnav a:hover,
.subnav a:hover,
.micro-nav a:hover,
.footer a:hover,
.filter-row button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(21, 110, 100, 0.14);
  color: var(--text);
}

.topnav a[aria-current="page"],
.subnav a[aria-current="page"],
.filter-row .is-active {
  background: rgba(21, 110, 100, 0.1);
  border-color: rgba(21, 110, 100, 0.16);
  color: var(--text);
}

.subnav {
  justify-content: center;
  padding: 1rem 0 0;
  margin-bottom: 0.7rem;
}

main {
  padding: 2.75rem 0 6rem;
}

.hero,
.section,
.detail-hero,
.app-hero,
.app-group,
.docs-grid,
.runway,
.statement-grid,
.credential-grid,
.journey-grid,
.project-showcase,
.place-sequence,
.editorial-grid,
.marquee-strip {
  position: relative;
  margin-bottom: 2rem;
}

.card,
.detail-panel,
.showcase-panel,
.editorial-card,
.runway-card,
.statement-panel,
.credential-card,
.journey-card,
.icon-card,
.product-card,
.timeline-card,
.gallery-item,
.app-card,
.hero-stage,
.admin-shell,
.lightbox-frame {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.card,
.detail-panel,
.showcase-panel,
.editorial-card,
.runway-card,
.statement-panel,
.credential-card,
.journey-card,
.icon-card,
.product-card,
.timeline-card,
.app-card,
.hero-stage,
.admin-shell {
  border-radius: var(--radius-xl);
  padding: 1.7rem;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
.brand-wordmark {
  text-wrap: balance;
}

h1,
h2,
h3,
.hero-quote {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.048em;
}

h1,
.hero-quote {
  font-size: clamp(3.4rem, 10vw, 7.8rem);
}

h2 {
  font-size: clamp(2.1rem, 5.2vw, 4.8rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

p,
li {
  line-height: 1.65;
}

.lede,
.gallery-note,
.support-copy,
.hero-mini {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
}

.hero-mini {
  max-width: 34rem;
  margin: 0;
}

.eyebrow,
.card-label,
.panel-kicker {
  margin: 0 0 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.accent-text {
  color: var(--accent-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.82rem 1.18rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 27, 22, 0.12);
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.button:hover,
.editorial-card:hover,
.runway-card:hover,
.journey-card:hover,
.app-card:hover,
.gallery-item:hover,
.icon-card:hover,
.product-card:hover,
.timeline-card:hover,
.statement-panel:hover,
.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 27, 22, 0.08);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--warm));
}

.hero-stats span,
.stats span,
.mini-chip,
.chip-cloud span,
.gallery-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.75rem;
  border-radius: 999px;
  background: rgba(21, 110, 100, 0.08);
  border: 1px solid rgba(21, 110, 100, 0.09);
  font-size: 0.84rem;
}

.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.94fr);
  gap: 2rem;
  align-items: center;
  min-height: 74vh;
  padding-top: 0.5rem;
}

.hero-copy {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.hero-copy .lede,
.detail-hero .lede,
.app-hero-copy .lede {
  margin: 0;
  max-width: 42rem;
}

.page-intro {
  display: grid;
  gap: 1rem;
  align-content: start;
  margin-bottom: 2.4rem;
}

.page-title {
  display: grid;
  gap: 0.04em;
  max-width: 11ch;
}

.page-title-small {
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--muted);
}

.page-intro-copy {
  max-width: 36rem;
}

.page-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-hero.hero-compact,
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.6rem;
  align-items: end;
  padding-top: 0.8rem;
}

.hero-portrait {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: end;
  min-height: 36rem;
  padding: 2.2rem 0 0;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 2rem 1.5rem 1rem auto;
  width: min(26rem, 82%);
  height: auto;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(21, 110, 100, 0.08)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.46), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: min(26rem, 82%);
  height: 100%;
  max-height: 36rem;
  margin: 0;
  padding: 0.85rem;
  border-radius: 36px 36px 140px 36px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
  overflow: hidden;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 52%;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 121, 74, 0.16), transparent 70%);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 28px 28px 128px 28px;
}

.detail-panel {
  min-height: 100%;
}

.image-panel {
  padding: 0.75rem;
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.marquee-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(31, 27, 22, 0.08);
  background: rgba(255, 255, 255, 0.36);
}

.marquee-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 800;
  color: rgba(31, 27, 22, 0.9);
}

.marquee-track span::after {
  content: "•";
  color: var(--accent);
}

.editorial-grid,
.grid,
.timeline-grid,
.product-grid,
.icon-grid,
.gallery-grid,
.docs-grid,
.showcase,
.statement-grid,
.credential-grid,
.journey-grid,
.place-sequence,
.hero-stage {
  display: grid;
  gap: 1.1rem;
}

.editorial-grid,
.gallery-grid,
.icon-grid,
.product-grid,
.timeline-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.editorial-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  min-height: 19rem;
  padding: 2rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.editorial-card::before {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 110, 100, 0.2), transparent 66%);
}

.editorial-card:nth-child(2)::before,
.journey-card:nth-child(2)::before {
  background: radial-gradient(circle, rgba(200, 121, 74, 0.22), transparent 66%);
}

.editorial-card:nth-child(3)::before,
.journey-card:nth-child(3)::before {
  background: radial-gradient(circle, rgba(151, 169, 201, 0.22), transparent 66%);
}

.editorial-card:nth-child(1) {
  grid-column: span 7;
}

.editorial-card:nth-child(2) {
  grid-column: span 5;
}

.editorial-card:nth-child(3) {
  grid-column: span 4;
}

.editorial-card:nth-child(4) {
  grid-column: span 8;
}

.editorial-card p:last-child,
.runway-card p:last-child,
.statement-panel p:last-child,
.journey-card p:last-child,
.card p:last-child,
.detail-panel p:last-child,
.showcase-panel p:last-child {
  margin-bottom: 0;
}

.runway {
  display: grid;
  gap: 1rem;
}

.runway-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.45fr);
  gap: 1rem;
  align-items: end;
  min-height: 15rem;
  padding: 2rem;
}

.runway-card:nth-child(2n) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.62), rgba(248, 241, 232, 0.8));
}

.runway-card:nth-child(3n) {
  background: linear-gradient(150deg, rgba(24, 21, 17, 0.92), rgba(37, 31, 24, 0.86));
  color: #f7f2eb;
  border-color: rgba(255, 255, 255, 0.08);
}

.runway-card:nth-child(3n) .eyebrow,
.runway-card:nth-child(3n) .gallery-note,
.runway-card:nth-child(3n) p {
  color: rgba(247, 242, 235, 0.72);
}

.runway-card h2 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
}

.runway-card .gallery-note {
  text-align: right;
  max-width: 15rem;
  justify-self: end;
}

.statement-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.statement-panel {
  min-height: 20rem;
}

.statement-panel.is-dark,
.story-panel.is-dark {
  background: linear-gradient(160deg, rgba(24, 21, 17, 0.98), rgba(37, 33, 27, 0.92));
  color: #f8f4ee;
  border-color: rgba(255, 255, 255, 0.08);
}

.statement-panel.is-dark .hero-mini,
.statement-panel.is-dark .lede,
.statement-panel.is-dark .card-label,
.statement-panel.is-dark .gallery-note,
.story-panel.is-dark .lede,
.story-panel.is-dark .card-label,
.story-panel.is-dark .gallery-note {
  color: rgba(248, 244, 238, 0.74);
}

.statement-panel h2,
.statement-panel h3 {
  max-width: 14ch;
}

.credential-grid,
.grid-3,
.timeline-grid,
.product-grid,
.icon-grid,
.journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-card {
  min-height: 13rem;
}

.journey-card {
  position: relative;
  min-height: 24rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.journey-card::before {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 110, 100, 0.2), transparent 66%);
}

.journey-card:nth-child(2) {
  min-height: 26rem;
}

.journey-card:nth-child(3) {
  min-height: 21rem;
}

.place-sequence {
  gap: 1.4rem;
}

.place-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: stretch;
}

.place-copy {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 25rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.place-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(24, 21, 17, 0.26)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 32%);
}

.place-copy > * {
  position: relative;
  z-index: 1;
}

.place-copy-brazil {
  background: linear-gradient(140deg, #0d5c54, #167a68 56%, #4d937d 100%);
  color: #f8f4ee;
}

.place-copy-france {
  background: linear-gradient(140deg, #8b5c34, #c1784a 58%, #d8a57f 100%);
  color: #f8f4ee;
}

.place-copy-us {
  background: linear-gradient(140deg, #445c8f, #6781b0 60%, #9cb0cf 100%);
  color: #f8f4ee;
}

.place-copy .eyebrow,
.place-copy .hero-mini {
  color: rgba(248, 244, 238, 0.78);
}

.place-copy h2 {
  max-width: 10ch;
}

.place-gallery-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.place-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.place-gallery-grid > .gallery-item,
.place-gallery-grid > .gallery-item:nth-child(4n + 1),
.place-gallery-grid > .gallery-item:nth-child(4n + 2),
.place-gallery-grid > .gallery-item:nth-child(4n + 3),
.place-gallery-grid > .gallery-item:nth-child(4n + 4) {
  grid-column: span 1;
}

.place-gallery-grid .gallery-open img,
.place-gallery-grid .gallery-embed iframe,
.place-gallery-grid .gallery-item:nth-child(4n + 1) .gallery-open img,
.place-gallery-grid .gallery-item:nth-child(4n + 1) .gallery-embed iframe {
  aspect-ratio: 4 / 3;
}

.gallery-shell {
  display: grid;
  gap: 1rem;
}

.filter-row button {
  cursor: pointer;
}

.gallery-item {
  grid-column: span 4;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-grid > .gallery-item:nth-child(4n + 1) {
  grid-column: span 5;
}

.gallery-grid > .gallery-item:nth-child(4n + 2) {
  grid-column: span 7;
}

.gallery-grid > .gallery-item:nth-child(4n + 3) {
  grid-column: span 7;
}

.gallery-grid > .gallery-item:nth-child(4n + 4) {
  grid-column: span 5;
}

.gallery-open {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  text-align: left;
}

.gallery-open img,
.gallery-embed iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  background: rgba(31, 27, 22, 0.05);
}

.gallery-item:nth-child(4n + 1) .gallery-open img,
.gallery-item:nth-child(4n + 1) .gallery-embed iframe {
  aspect-ratio: 5 / 6;
}

.gallery-meta {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem 0.9rem;
}

.gallery-meta strong,
.app-logo-text strong,
.product-card strong,
.timeline-card strong,
.icon-card strong {
  display: block;
  font-size: 1.02rem;
}

.gallery-meta em {
  color: var(--muted);
  font-style: normal;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 1.1rem 1rem;
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 1.5rem;
}

.icon-grid {
  grid-auto-rows: minmax(140px, auto);
}

.icon-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 12rem;
}

.icon-card:nth-child(1),
.icon-card:nth-child(4),
.icon-card:nth-child(7) {
  grid-column: span 5;
}

.icon-card:nth-child(2),
.icon-card:nth-child(3),
.icon-card:nth-child(5),
.icon-card:nth-child(6) {
  grid-column: span 3;
}

.icon-mark,
.product-icon,
.timeline-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(21, 110, 100, 0.1);
}

.icon-mark svg,
.product-icon svg,
.timeline-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: var(--accent-strong);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card,
.timeline-card {
  grid-column: span 4;
  min-height: 15rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:nth-child(1),
.product-card:nth-child(4) {
  grid-column: span 5;
}

.product-card:nth-child(2),
.product-card:nth-child(3),
.product-card:nth-child(5) {
  grid-column: span 3;
}

.app-card {
  display: grid;
  gap: 1rem;
  min-height: 14rem;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-card-blint {
  background: linear-gradient(160deg, rgba(13, 126, 139, 0.13), rgba(255, 252, 247, 0.76));
}

.app-card-caminhos {
  background: linear-gradient(160deg, rgba(153, 103, 57, 0.14), rgba(255, 252, 247, 0.76));
}

.app-card-message {
  background: linear-gradient(160deg, rgba(106, 87, 217, 0.12), rgba(255, 252, 247, 0.76));
}

.app-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
}

.app-logo-mark {
  position: relative;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.app-logo-mark::before,
.app-logo-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.app-logo-mark::before {
  left: 0.72rem;
  top: 0.7rem;
  width: 0.5rem;
  height: 1.2rem;
}

.app-logo-mark::after {
  right: 0.72rem;
  top: 0.48rem;
  width: 0.5rem;
  height: 1.65rem;
}

.app-card-caminhos .app-logo-mark {
  background: linear-gradient(135deg, #996739, #643c1e);
}

.app-card-blint .app-logo-mark {
  background: linear-gradient(135deg, #0d7e8b, #07525a);
}

.app-card-message .app-logo-mark {
  background: linear-gradient(135deg, #6a57d9, #4330a3);
}

.app-logo-text span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.app-group .editorial-card:nth-child(3) {
  grid-column: span 12;
  min-height: 15rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 1.4rem;
  align-items: start;
}

.project-preview {
  position: sticky;
  top: 7.1rem;
  min-height: 40rem;
  padding: 0.8rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(31, 27, 22, 0.12);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.project-preview-surface {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 1rem;
  min-height: calc(40rem - 1.6rem);
  padding: 2rem;
  border-radius: 24px;
  color: #f8f4ee;
  background: linear-gradient(160deg, #0d7e8b, #07525a 60%, #0a3641 100%);
}

.project-preview[data-theme="caminhos"] .project-preview-surface {
  background: linear-gradient(160deg, #996739, #643c1e 60%, #3d2415 100%);
}

.project-preview[data-theme="message"] .project-preview-surface {
  background: linear-gradient(160deg, #6a57d9, #4330a3 60%, #29196f 100%);
}

.project-preview[data-theme="juntos"] .project-preview-surface {
  background: linear-gradient(160deg, #17695c, #0c4b46 60%, #082d2a 100%);
}

.project-preview[data-theme="partixu"] .project-preview-surface {
  background: linear-gradient(160deg, #5671a7, #31466f 60%, #182540 100%);
}

.project-preview .card-label,
.project-preview .hero-mini {
  color: rgba(248, 244, 238, 0.76);
}

.project-preview h2 {
  max-width: 10ch;
}

.project-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.project-preview-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.74rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
}

.project-preview-link[hidden] {
  display: none;
}

.project-preview-mark {
  position: absolute;
  right: 1.4rem;
  bottom: 1rem;
  z-index: 0;
  max-width: 72%;
  color: rgba(255, 255, 255, 0.11);
  font-family: "Fraunces", serif;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: right;
  pointer-events: none;
}

.project-list {
  border: 1px solid rgba(31, 27, 22, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.46);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.project-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.12fr) 150px 95px;
  align-items: center;
  gap: 1rem;
  padding: 1.45rem 1.35rem;
  border: 0;
  border-bottom: 1px solid rgba(31, 27, 22, 0.12);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.project-row:last-child {
  border-bottom: 0;
}

.project-row:hover,
.project-row:focus-visible,
.project-row.is-active {
  background: rgba(21, 110, 100, 0.07);
  outline: none;
}

.project-row-title strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.project-row-title em {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.project-row-summary,
.project-row-meta,
.project-row-year {
  color: var(--muted);
}

.project-row-meta,
.project-row-year {
  justify-self: end;
  white-space: nowrap;
}

.app-hero-copy {
  display: grid;
  gap: 1rem;
  align-content: end;
}

.showcase,
.docs-grid,
.grid-2,
.split-section,
.story-grid,
.metrics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-panel strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.simple-list,
.doc-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.metrics-grid {
  gap: 0.8rem;
}

.metric-card {
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(31, 27, 22, 0.08);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.metric-card span {
  color: var(--muted);
}

.story-grid {
  display: grid;
  gap: 1rem;
}

.story-panel {
  border-radius: var(--radius-xl);
  padding: 1.7rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
}

.hero-stage {
  padding: 1.6rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(15, 12, 9, 0.58);
  backdrop-filter: blur(18px);
}

.lightbox-frame {
  position: relative;
  width: min(980px, 100%);
  border-radius: 30px;
  padding: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.lightbox-body {
  display: grid;
  gap: 1rem;
}

.lightbox-body iframe,
.lightbox-body img {
  width: 100%;
  max-height: 72vh;
  border: 0;
  border-radius: 22px;
  object-fit: contain;
  background: rgba(31, 27, 22, 0.05);
}

.lightbox-copy {
  padding: 0 0.2rem 0.3rem;
}

.admin-form {
  display: grid;
  gap: 1.1rem;
}

.checkbox-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 27, 22, 0.08);
}

textarea {
  width: 100%;
  min-height: 13rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(31, 27, 22, 0.12);
  background: rgba(255, 255, 255, 0.8);
  resize: vertical;
}

.admin-status {
  margin: 0;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1040px) {
  .hero-editorial,
  .detail-hero.hero-compact,
  .app-hero,
  .project-showcase,
  .statement-grid,
  .place-stage,
  .showcase,
  .docs-grid,
  .story-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .editorial-card:nth-child(1),
  .editorial-card:nth-child(2),
  .editorial-card:nth-child(3),
  .editorial-card:nth-child(4),
  .gallery-grid > .gallery-item,
  .icon-card,
  .product-card,
  .timeline-card {
    grid-column: span 6;
    margin-top: 0;
    transform: none;
  }

  .runway-card:nth-child(2n),
  .journey-card:nth-child(2),
  .journey-card:nth-child(3) {
    transform: none;
  }

  .snapshot-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .hero-portrait {
    min-height: 30rem;
    justify-items: center;
    padding: 1rem 0 0;
  }

  .hero-portrait::before,
  .portrait-frame {
    width: min(24rem, 88%);
  }

  .project-preview {
    position: relative;
    top: auto;
    min-height: 26rem;
  }

  .project-preview-surface {
    min-height: calc(26rem - 1.6rem);
  }

  .project-row {
    grid-template-columns: minmax(0, 1fr) 140px 90px;
  }

  .project-row-summary {
    grid-column: 1 / -1;
    max-width: 36ch;
  }
}

@media (max-width: 760px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 28px;
  }

  .subnav {
    justify-content: flex-start;
  }

  main {
    padding: 2.2rem 0 4.5rem;
  }

  .editorial-grid,
  .gallery-grid,
  .icon-grid,
  .product-grid,
  .timeline-grid,
  .grid-3,
  .journey-grid,
  .checkbox-row,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .editorial-card:nth-child(1),
  .editorial-card:nth-child(2),
  .editorial-card:nth-child(3),
  .editorial-card:nth-child(4),
  .gallery-grid > .gallery-item,
  .icon-card,
  .product-card,
  .timeline-card {
    grid-column: span 1;
  }

  .runway-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-preview {
    min-height: 22rem;
  }

  .project-preview-surface {
    min-height: calc(22rem - 1.6rem);
    padding: 1.4rem;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.15rem 1rem;
  }

  .project-row-meta,
  .project-row-year {
    justify-self: start;
  }

  .runway-card .gallery-note {
    max-width: none;
    text-align: left;
    justify-self: start;
  }

  .hero-portrait {
    min-height: 24rem;
    justify-items: stretch;
  }

  .hero-portrait::before,
  .portrait-frame {
    width: 100%;
  }

  .portrait-frame {
    max-height: none;
    padding: 0.6rem;
    transform: none;
  }

  .portrait-frame img {
    aspect-ratio: 4 / 5;
  }

  .page-meta {
    line-height: 1.7;
  }

  .place-copy {
    min-height: 22rem;
  }

  .place-gallery-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .detail-panel,
  .showcase-panel,
  .editorial-card,
  .runway-card,
  .statement-panel,
  .credential-card,
  .journey-card,
  .icon-card,
  .product-card,
  .timeline-card,
  .app-card,
  .hero-stage,
  .admin-shell,
  .story-panel {
    padding: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
