/* Ribbontech — fundo branco + azul da logomarca */
:root {
  --ink: #1a1a1a;
  --ink-2: #2a2a2a;
  --slate: #5a5a5a;
  --muted: #76777b;
  --line: rgba(0, 96, 153, 0.12);
  --paper: #ffffff;
  --paper-2: #f2f2f2;
  --white: #ffffff;
  --accent: #006099;
  --accent-2: #004c7a;
  --accent-soft: rgba(0, 96, 153, 0.1);
  --brand-gray: #76777b;
  --shadow: 0 14px 40px rgba(0, 96, 153, 0.1);
  --radius: 4px;
  --container: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.section {
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
}

.section-head {
  max-width: min(48rem, 100%);
  margin-bottom: 2.25rem;
}

.section-head h2,
.quality-band h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 0.85rem;
  max-width: none;
  line-height: 1.15;
}

.about-strip h2,
.solutions-section .section-head h2 {
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  margin-bottom: 0.85rem;
  max-width: none;
  line-height: 1.2;
  font-weight: 700;
}

.about-strip .eyebrow + h2,
.quality-band .eyebrow + h2,
.section-head .eyebrow + h2 {
  margin-top: 0.1rem;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 42rem;
}

/* Top bar */
.topbar {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

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

.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(240px, 56vw);
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.site-footer .logo-img {
  height: 56px;
  background: transparent;
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  margin: 0.32rem auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
  background: var(--accent);
  color: #fff;
}

.btn-dark:hover {
  background: var(--accent-2);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero — seção azul da marca */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(0, 96, 153, 0.96) 8%, rgba(0, 76, 122, 0.92) 48%, rgba(0, 96, 153, 0.88) 100%),
    linear-gradient(160deg, #006099 0%, #004c7a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 14px,
      rgba(255, 255, 255, 0.05) 14px,
      rgba(255, 255, 255, 0.05) 15px
    );
  pointer-events: none;
  animation: drift 28s linear infinite;
}

/* Hero light — fundo branco + textos azuis */
.hero-light {
  color: var(--accent);
  background:
    radial-gradient(ellipse 80% 60% at 12% 18%, rgba(0, 96, 153, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 82%, rgba(0, 76, 122, 0.05), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  min-height: auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-light::before {
  display: none;
}

.hero-light .hero-inner {
  padding: clamp(3.5rem, 7vw, 5.25rem) 0 clamp(3rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: min(440px, 82vw);
  height: auto;
  margin: 0 auto 0.55rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.05s forwards;
}

.hero-light .eyebrow {
  color: var(--accent);
  margin-bottom: 0.85rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-light h1 {
  max-width: none;
  width: auto;
  color: var(--accent);
  font-size: clamp(1.75rem, 0.9rem + 2.2vw, 2.75rem);
  font-weight: 700;
  margin: 0 auto 0.95rem;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

@media (min-width: 1024px) {
  .hero-light h1 {
    font-size: clamp(2.5rem, 2.8vw, 2.75rem);
  }
}

.hero-break {
  display: block;
}

.hero-light .hero-lead {
  max-width: min(34rem, 100%);
  color: var(--accent);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero-light .btn-group {
  margin-top: 1.65rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

.btn-outline-blue {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline-blue:hover {
  background: var(--accent);
  color: #fff;
}

.pillars-band {
  background: var(--accent);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

.pillars-blue {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.pillars-blue .pillar {
  background: transparent;
  color: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.55rem 1.35rem;
}

.pillars-blue .pillar strong {
  color: #fff;
}

.pillars-blue .pillar p {
  color: rgba(255, 255, 255, 0.88);
  flex: 1;
}

/* Solutions layout */
.solutions-section {
  background: var(--paper-2);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.solution-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 96, 153, 0.35);
}

.solution-card:hover .link {
  letter-spacing: 0.01em;
}

.solution-media {
  background:
    linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  aspect-ratio: 16 / 11;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.solution-media img {
  width: 100%;
  height: 100%;
  max-height: 210px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.solution-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: grid;
  gap: 0.5rem;
  flex: 1;
  grid-template-rows: auto 1fr auto;
}

.solution-body h3 {
  font-size: 1.3rem;
  color: var(--accent);
}

.solution-body p {
  color: var(--slate);
  font-size: 0.98rem;
}

.solution-body .link {
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.25rem;
  transition: letter-spacing 0.25s var(--ease);
}

.mascot-band {
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  aspect-ratio: 1191 / 398;
}

.mascot-band img {
  width: 100%;
  max-width: none;
  height: 100%;
  display: block;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(3.5rem, 8vw, 5rem);
}

.brand-signal {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.brand-signal span {
  color: rgba(255, 255, 255, 0.72);
}

.hero:not(.hero-light) h1 {
  max-width: 14ch;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero .btn-group {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-40px);
  }
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.pillar {
  background: var(--white);
  padding: 1.8rem 1.5rem;
}

.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  color: var(--accent);
}

.pillar p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-visual {
  min-height: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.about-visual img {
  width: min(100%, 520px);
  height: auto;
}

.about-visual.photo {
  padding: 0;
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.about-visual.photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

/* Home — Sobre: foto integrada à coluna de conteúdo */
.about-story {
  align-items: stretch;
}

.about-story .about-visual.photo {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  aspect-ratio: auto;
  max-height: none;
  height: auto;
  min-height: 100%;
  align-self: stretch;
  overflow: visible;
  border-radius: 0;
}

.about-story .about-visual.photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: transparent;
  filter: none;
  box-shadow: none;
  /* Máscara só no alfa: cores originais intactas, fade estreito nas bordas */
  -webkit-mask-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 4.5%,
      rgba(0, 0, 0, 1) 95.5%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 4%,
      rgba(0, 0, 0, 1) 96%,
      rgba(0, 0, 0, 0) 100%
    );
  -webkit-mask-composite: source-in;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 4.5%,
      rgba(0, 0, 0, 1) 95.5%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 4%,
      rgba(0, 0, 0, 1) 96%,
      rgba(0, 0, 0, 0) 100%
    );
  mask-composite: intersect;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.about-visual.product-shot {
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  min-height: 0;
  margin-bottom: 2.25rem;
}

.about-visual.product-shot img {
  width: 100%;
  max-width: 760px;
  max-height: 300px;
  margin-inline: auto;
  object-fit: contain;
}

.about-visual.product-shot-flush {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.35rem 0 0.5rem;
  overflow: visible;
}

.about-visual.product-shot-flush img {
  width: 100%;
  max-width: 760px;
  max-height: 300px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.about-strip .about-visual.product-shot-flush,
.portfolio-intro .about-visual.product-shot-flush {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  height: auto;
}

.about-strip .about-visual.product-shot-flush img,
.portfolio-intro .about-visual.product-shot-flush img {
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.about-strip .about-visual.product-shot,
.portfolio-intro .about-visual.product-shot {
  margin-bottom: 0;
  height: 100%;
  min-height: 260px;
}

.about-strip .about-visual.product-shot img,
.portfolio-intro .about-visual.product-shot img {
  max-height: 280px;
}

.section-copy {
  color: var(--slate);
  margin-top: 1rem;
}

.portfolio-intro {
  margin-bottom: 2.5rem;
}

.catalog-intro {
  margin-bottom: 2rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.feature-list .num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
}

.feature-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-list p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* Segments */
.segments {
  background: var(--accent);
  color: #fff;
}

.segments .section-head p {
  color: rgba(255, 255, 255, 0.8);
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.segment-item {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.2rem 1.15rem;
  font-weight: 600;
  font-size: 1rem;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.segment-item:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Stats / quality */
.quality-band {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 600;
}

.split-points {
  display: grid;
  gap: 1.25rem;
}

.split-points article {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.split-points h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.split-points p {
  color: var(--slate);
}

/* Products teaser */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.product-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 96, 153, 0.35);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(255, 255, 255, 0.96) 78%),
    linear-gradient(135deg, rgba(0, 96, 153, 0.08), transparent 55%);
}

.product-card.has-image {
  background-size: cover;
  background-position: center;
  background-color: var(--paper-2);
}

.product-card .product-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 28%;
  padding: 1.5rem 1.5rem 5.5rem;
  opacity: 0.98;
  filter: drop-shadow(0 8px 18px rgba(0, 96, 153, 0.12));
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.product-card p {
  color: var(--slate);
  margin-bottom: 1rem;
  max-width: 28rem;
}

.product-card .link {
  font-weight: 700;
  color: var(--accent);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: min(52rem, 100%);
  margin-inline: 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
  min-height: 3.25rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--slate);
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  max-width: min(28ch, 100%);
  margin: 0 auto 0.85rem;
  line-height: 1.15;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 40rem;
  margin: 0 auto;
}

.cta-band .btn-group {
  justify-content: center;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: var(--paper-2);
  color: var(--accent-2);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  padding: clamp(2.75rem, 5.5vw, 4rem) 0;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 0.7rem;
  max-width: min(24ch, 100%);
  line-height: 1.12;
}

.page-hero p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.page-hero .eyebrow,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.section-muted {
  background: var(--paper-2);
}

.catalog-section {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 18%, #ffffff 100%);
}

.catalog-section .section-head {
  max-width: min(46rem, 100%);
}

/* Product detail */
.type-grid {
  display: grid;
  gap: 1.55rem;
  padding-top: 0.35rem;
}

.type-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.55rem, 2.5vw, 1.85rem) clamp(1.2rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.2vw, 1.55rem);
  display: block;
  margin-top: 0.65rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.type-body {
  min-width: 0;
}

.type-visual {
  position: absolute;
  top: 0;
  left: clamp(1rem, 2vw, 1.35rem);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 2.5rem);
  min-height: 0;
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 96, 153, 0.1);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  z-index: 1;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .type-card:hover {
    border-color: rgba(0, 96, 153, 0.28);
    box-shadow: 0 10px 28px rgba(0, 96, 153, 0.08);
  }

  .type-card:hover .type-visual {
    transform: translateY(calc(-50% - 3px));
    box-shadow: 0 10px 22px rgba(0, 96, 153, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .type-visual {
    transition: none;
  }

  .type-card:hover .type-visual {
    transform: translateY(-50%);
  }
}

.type-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  margin-bottom: 0.65rem;
  color: var(--accent);
  line-height: 1.2;
}

.type-card ul {
  display: grid;
  gap: 0.4rem;
}

.type-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.55;
}

.type-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
  border-radius: 1px;
}

.cta-band .btn-group {
  margin-top: 1.5rem;
}

/* Contact */
.contact-section {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 0;
}

.contact-intro {
  margin-bottom: 1.5rem;
}

.contact-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.contact-intro p {
  color: var(--slate);
  max-width: 28rem;
}

.info-block {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.info-block:first-of-type {
  border-top: 1px solid var(--line);
}

.info-block h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.info-block a,
.info-block p {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.info-block a {
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.info-block a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 0.95rem;
  box-shadow: 0 12px 32px rgba(0, 96, 153, 0.06);
}

.contact-form h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.65rem);
  color: var(--accent);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 96, 153, 0.28);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 96, 153, 0.08);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: -0.2rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 700;
  border-radius: var(--radius);
}

.form-success.show {
  display: block;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Footer */
.site-footer {
  background: var(--paper-2);
  color: var(--slate);
  margin-top: 0;
  padding: 3.25rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
  align-items: start;
}

.site-footer .logo {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.site-footer .logo-img {
  height: 52px;
  background: transparent;
  padding: 0;
}

.footer-brand p {
  max-width: 22rem;
  line-height: 1.6;
}

.site-footer h4 {
  color: var(--accent);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: wa-pulse 2.8s var(--ease) infinite;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.35);
  animation: none;
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(0, 96, 153, 0.35);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

@keyframes wa-pulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 10px rgba(37, 211, 102, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

/* Image placeholder note */
.img-slot {
  background: var(--paper-2);
  border: 1px dashed rgba(0, 96, 153, 0.28);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid .solution-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 920px) {
  .about-strip,
  .quality-band,
  .product-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

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

  .segment-grid {
    grid-template-columns: 1fr 1fr !important;
  }

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

  .solutions-grid .solution-card:last-child {
    max-width: none;
  }

  .type-card {
    margin-top: 0.75rem;
  }

  .type-visual {
    left: 1rem;
    max-width: calc(100% - 2rem);
    font-size: 0.82rem;
    padding: 0.4rem 0.8rem;
  }

  .portfolio-intro {
    margin-bottom: 2rem;
  }

  .about-strip .about-visual.product-shot,
  .portfolio-intro .about-visual.product-shot {
    min-height: 200px;
  }

  .about-story {
    align-items: start;
  }

  .about-story .about-visual.photo {
    width: 100%;
    max-height: 360px;
    min-height: 0;
    aspect-ratio: 5 / 4;
    margin-bottom: 0.35rem;
  }

  .about-story .about-visual.photo img {
    min-height: 0;
    object-position: center 22%;
    filter: none;
  }

  .about-visual.photo {
    max-height: 420px;
    aspect-ratio: 5 / 4;
  }

  .about-visual.product-shot {
    min-height: 180px;
    margin-bottom: 1.5rem;
  }

  .about-visual.product-shot img {
    max-height: 240px;
  }

  .menu-toggle {
    display: block;
    z-index: 70;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto auto;
    top: 0;
    right: 0;
    width: min(84vw, 320px);
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0.35rem;
    box-shadow: var(--shadow);
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    z-index: 65;
    overflow-y: auto;
  }

  .nav a:not(.nav-cta) {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.85rem;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.35);
    z-index: 55;
  }

  /* Overlay acima do conteúdo, mas abaixo do header/nav para os links receberem o toque */
  body.nav-open .site-header {
    z-index: 80;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }

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

  .pillars-blue .pillar {
    padding: 1.25rem 1.15rem;
  }

  .hero-light .hero-inner {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0 clamp(2rem, 6vw, 3rem);
  }

  .logo-img {
    height: 40px;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-light .btn-group {
    width: min(100%, 22rem);
  }

  .hero-light .btn-group .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.15rem;
    height: 3.15rem;
  }
}

@media (max-width: 640px) {
  .segment-grid,
  .stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo {
    width: min(290px, 78vw);
  }

  .hero-light h1 {
    font-size: clamp(1.5rem, 6.2vw, 1.9rem);
    max-width: min(20rem, 100%);
  }

  .hero-break {
    display: none;
  }

  .eyebrow {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
  }

  .pillars {
    margin-top: 0;
  }

  .topbar {
    font-size: 0.78rem;
    padding: 0.45rem 0;
  }

  .topbar .container {
    flex-direction: column;
    gap: 0.25rem;
  }

  .section {
    padding: clamp(2.5rem, 8vw, 3.75rem) 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .page-hero {
    padding: clamp(2.5rem, 8vw, 3.25rem) 0;
  }

  .cta-band h2 {
    max-width: 18ch;
  }

  .mascot-band {
    padding: 0;
  }

  .site-footer {
    padding: 2.5rem 0 5.75rem;
  }

  .contact-form .btn {
    width: 100%;
    justify-self: stretch;
  }

  .footer-brand p {
    max-width: none;
  }
}
