:root {
  --red: #9f1117;
  --red-dark: #78080d;
  --ink: #151515;
  --muted: #696969;
  --soft: #f3f3f1;
  --line: #deded9;
  --paper: #fbfbf8;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(22, 22, 20, 0.12);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 255, 255, 0.95), transparent 30rem),
    linear-gradient(135deg, #f7f7f5 0%, #eeeeea 48%, #d9d9d4 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.motion-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.motion-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 92px 92px;
  transform: translate3d(calc(var(--scroll, 0) * -10px), calc(var(--scroll, 0) * -16px), 0);
}

.motion-line,
.motion-chevron {
  position: absolute;
  border: 28px solid rgba(20, 20, 20, 0.035);
  transform: translate3d(0, calc(var(--scroll, 0) * -70px), 0);
}

.line-a {
  width: 36rem;
  height: 12rem;
  right: -8rem;
  top: 10rem;
}

.line-b {
  width: 42rem;
  height: 12rem;
  right: -10rem;
  bottom: 5rem;
}

.motion-chevron {
  width: 16rem;
  height: 16rem;
  right: 6rem;
  top: 28rem;
  border-left: 0;
  border-bottom: 0;
  rotate: 45deg;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.85rem 2rem;
  background: rgba(251, 251, 248, 0.80);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.brand {
  width: 126px;
}

.brand img {
  width: 100%;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a,
.header-cta {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 650;
}

.main-nav a {
  color: var(--muted);
  transition: color 180ms var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  padding: 0.85rem 1rem;
  color: var(--white);
  background: var(--ink);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.header-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms var(--ease);
}

.section {
  width: calc(100% - 2rem);
  max-width: 1160px;
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 2rem);
  max-width: 1160px;
  margin: 0 auto;
  padding: 9rem 0 5rem;
  color: var(--white);
}

.hero-content .eyebrow {
  color: rgba(255,255,255,0.75);
}

.hero-content h1 {
  color: var(--white);
  max-width: 820px;
}

.hero-content .hero-text {
  color: rgba(255,255,255,0.78);
}

.hero-content .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}

.hero-content .btn-secondary:hover {
  background: rgba(255,255,255,0.22);
}

.hero-copy,
.hero-media {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  font-weight: 750;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: 100%;
  max-width: 700px;
  margin-bottom: 1.25rem;
  font-size: 4.2rem;
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 760;
}

h2 {
  margin-bottom: 0;
  font-size: 2.65rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 740;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 760;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.hero-media {
  position: relative;
}

.hero-photo {
  margin: 0;
  height: 620px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-strip {
  position: absolute;
  left: -1.25rem;
  bottom: 1.25rem;
  display: grid;
  gap: 0.15rem;
  min-width: 180px;
  padding: 1.1rem;
  color: var(--white);
  background: var(--red);
}

.metric-strip strong {
  font-size: 2.5rem;
  line-height: 0.9;
}

.metric-strip span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.intro-band,
.solutions,
.cases,
.contact {
  padding: 4rem 0;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 2rem;
}

.section-heading h2 {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: clamp(1.4rem, 3vw, 2.65rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.intro-lead {
  font-size: 1.7rem;
  line-height: 1.28;
  font-weight: 650;
}

.intro-text {
  color: var(--muted);
  line-height: 1.75;
}

/* Novo layout sobre centralizado */
.section-heading--center {
  text-align: center;
  max-width: 100%;
}

.intro-full {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
}

.intro-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ── Carrossel de marcas ─────────────────────────────── */
.brands-section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.brands-heading {
  margin-bottom: 1.5rem;
}

.brands-heading .eyebrow {
  text-align: center;
}

.brands-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Fade nas bordas */
.brands-track-wrapper::before,
.brands-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.brands-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--paper), transparent);
}

.brands-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--paper), transparent);
}

.brands-track {
  display: flex;
  gap: 0;
  animation: brands-scroll 40s linear infinite;
  width: max-content;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes brands-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-logo {
  width: 220px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  border-right: 1px solid var(--line);
  transition: background 200ms var(--ease);
}

.brand-logo img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 250ms var(--ease);
}

.brand-logo:hover img {
  filter: grayscale(100%) opacity(1);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
}

.pillars article,
.solution-card {
  background: rgba(251, 251, 248, 0.82);
}

.pillars article {
  min-height: 230px;
  padding: 1.5rem;
}

.pillars span,
.solution-card span,
.case-card span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 760;
}

.pillars p,
.solution-card p,
.case-card p,
.process-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
}

/* ── Depoimentos ─────────────────────────────────────── */
.depoimentos {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.depoimento-card {
  border-radius: 0;
  overflow: hidden;
}

.depoimento-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}

.depoimento-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 900px) {
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .depoimentos-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .depoimento-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }
}

/* ── Segments / Atuação ─────────────────────────────── */
.segments {
  background: #0e0e0e;
  padding: 3.5rem max(1rem, calc((100% - 1160px) / 2));
  width: 100%;
  max-width: none;
  margin: 0;
}

.segments-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.segments-heading .eyebrow {
  color: rgba(255,255,255,0.5);
}

.segments-heading h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1;
  font-weight: 820;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  white-space: normal;
  word-break: break-word;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 1160px;
  margin: 0 auto;
}

.segment-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}

.segment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 400ms var(--ease), scale 400ms var(--ease);
}

.segment-card:hover img {
  filter: grayscale(0%);
  scale: 1.04;
}

.segment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.65) 100%);
  transition: background 400ms var(--ease);
}

.segment-card:hover .segment-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
}

.segment-name {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  margin: 0;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.numbers-band {
  width: 100%;
  max-width: none;
  padding: 3rem max(1rem, calc((100% - 1160px) / 2));
  color: var(--white);
  background: var(--red);
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.numbers article {
  min-height: 164px;
  padding: 1.3rem;
  background: var(--red);
}

.numbers strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2.7rem;
  line-height: 1;
}

.numbers span {
  display: block;
  max-width: 150px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ── Solution Blocks ────────────────────────────────── */
.solution-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 0;
}

.solution-block {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.solution-block--light {
  background: var(--white);
  border: 1px solid var(--line);
}

.solution-block--dark {
  background: var(--ink);
  color: var(--white);
}

.solution-block-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 760;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--red);
  color: inherit;
}

.solution-block--dark .solution-block-title {
  color: var(--white);
}

.solution-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.solution-items li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
}

.solution-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--red);
}

.solution-block--dark .solution-icon {
  color: rgba(255,255,255,0.7);
}

.solution-items p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.solution-block--dark .solution-items p {
  color: rgba(255,255,255,0.72);
}

.solution-items strong {
  color: var(--ink);
}

.solution-block--dark .solution-items strong {
  color: var(--white);
}

.solution-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.solution-cta .btn {
  padding: 1rem 2.5rem;
  font-size: 0.82rem;
}

.solution-grid {
  display: none; /* legado removido */
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
  padding: 3rem;
  color: var(--white);
  background: var(--ink);
}

.process h2,
.process .eyebrow {
  color: var(--white);
}

.process-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.accordion-trigger {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 0.9rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--white);
}

.acc-num {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 760;
}

.acc-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}

.acc-arrow {
  color: rgba(255, 255, 255, 0.5);
  transition: transform 300ms var(--ease);
  justify-self: end;
}

.accordion-trigger[aria-expanded="true"] .acc-arrow {
  transform: rotate(180deg);
  color: var(--white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease);
}

.accordion-body p {
  padding: 0 0 1.25rem 3.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Cases Grid ─────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.cases-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
}

.cases-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 400ms var(--ease), scale 400ms var(--ease);
}

.cases-card:hover img {
  filter: grayscale(0%);
  scale: 1.04;
}

.cases-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.72) 100%);
  transition: background 400ms var(--ease);
}

.cases-card:hover .cases-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 40%, rgba(0,0,0,0.55) 100%);
}

.cases-name {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  margin: 0;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.cases-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.cases-cta .btn {
  padding: 1rem 2rem;
  font-size: 0.82rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 8rem;
}

.contact-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-links a,
.contact-links span {
  color: var(--ink);
  font-size: 0.96rem;
  text-decoration: none;
}

.contact-links a {
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(251, 251, 248, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.7rem;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0.9rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(159, 17, 23, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 1rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(251, 251, 248, 0.76);
}

.site-footer img {
  width: 150px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ── Blog post list (compartilhado entre index e blog.html) ── */
.blog-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.post-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.post-card-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 72px;
  overflow: hidden;
  background: var(--soft);
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 350ms var(--ease), scale 350ms var(--ease);
  display: block;
}

.post-card:hover .post-card-thumb img {
  filter: grayscale(0%);
  scale: 1.06;
}

.post-card-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--line);
}

.post-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.post-card-title {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  transition: color 180ms var(--ease);
}

.post-card:hover .post-card-title {
  color: var(--red);
}

.post-card-read {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
  white-space: nowrap;
}

.post-card-read:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.blog-preview-cta {
  margin-top: 1.25rem;
}

@media (max-width: 540px) {
  .post-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .post-card-thumb {
    width: 80px;
    height: 60px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

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

/* ── WhatsApp ───────────────────────────────────────── */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.whatsapp-link svg {
  flex-shrink: 0;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ── Social links ───────────────────────────────────── */
.social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .segments-heading h2 {
    font-size: 2.5rem;
  }

  .site-header {
    grid-template-columns: auto 44px;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
  }

  .brand {
    width: 112px;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 86px 1rem auto 1rem;
    display: none;
    grid-column: 1 / -1;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu-open .main-nav {
    display: grid;
    gap: 0.2rem;
  }

  .main-nav a {
    padding: 1rem 0.4rem;
    color: var(--ink);
  }

  .header-cta {
    display: none;
  }

  .solution-blocks,
  .intro-grid,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-content {
    padding: 8rem 0 4rem;
  }

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

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .segments-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .segments-heading h2 {
    font-size: 1.9rem;
  }

  .segment-name {
    font-size: 1.1rem;
  }

  .section {
    width: calc(100% - 1.25rem);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }

  .site-header {
    left: 0;
    right: 0;
    width: 100%;
    top: 0;
    min-height: 66px;
    padding: 0.75rem 1rem;
  }

  .hero-content {
    padding: 7rem 0 3rem;
  }

  .hero-content h1,
  .hero-content .hero-text {
    width: min(320px, calc(100vw - 1.25rem));
    max-width: min(320px, calc(100vw - 1.25rem));
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-text,
  .intro-text,
  .process-copy p,
  .contact-copy p {
    font-size: 0.98rem;
  }

  .intro-lead {
    font-size: 1.32rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }
  h1 {
    font-size: 1.72rem;
    line-height: 1.02;
  }

  .intro-band,
  .solutions,
  .cases,
  .contact {
    padding: 2.5rem 0;
  }

  .numbers-band {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .numbers,
  .solution-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .numbers article,
  .solution-card {
    min-height: auto;
  }

  .process {
    padding: 1.25rem;
  }

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

  .cases-name {
    font-size: 1rem;
  }


  .motion-line,
  .motion-chevron {
    opacity: 0.55;
  }
}
