/* ==========================================================================
   Cleanper — Suprimentos de Limpeza Profissional
   ========================================================================== */

:root {
  --blue: #4155CE;
  --blue-dark: #2E3EA6;
  --blue-deep: #1B2470;
  --blue-soft: #EDEFFB;
  --blue-softer: #F6F7FD;
  --ink: #171B33;
  --ink-soft: #4E5470;
  --line: #E3E6F2;
  --white: #fff;
  --green: #1FA855;
  --whats: #25D366;

  --font-title: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(23, 27, 51, .06);
  --shadow-md: 0 12px 32px rgba(23, 27, 51, .1);
  --shadow-lg: 0 24px 60px rgba(27, 36, 112, .16);

  --container: 1180px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Tipografia ---------- */

h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.18; color: var(--ink); }

.section__title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

.section__sub {
  color: var(--ink-soft);
  max-width: 560px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.kicker__dot {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .95rem;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(65, 85, 206, .32);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(65, 85, 206, .4);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn--outline {
  color: var(--blue);
  border: 1.5px solid var(--blue);
  background: transparent;
}
.btn--outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.btn--white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(10, 14, 45, .25);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10, 14, 45, .3); }

.btn--sm { padding: 11px 22px; font-size: .88rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ---------- Topbar ---------- */

.topbar {
  background: var(--blue-deep);
  color: #D6DCFA;
  font-size: .82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.topbar__note svg { width: 15px; height: 15px; color: #7BE3A3; }

.topbar__contacts { display: flex; gap: 22px; }
.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
}
.topbar__contacts a:hover { color: var(--white); }
.topbar__contacts svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 54px; width: auto; }
.logo__mark { width: 38px; height: 38px; }
.logo__text {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.02em;
}
.logo__text strong { font-weight: 800; color: var(--blue); }

.nav { display: flex; gap: 4px; margin-left: auto; }

.nav__link {
  position: relative;
  padding: 8px 13px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 88px;
}

/* clipping dos blobs fica aqui (e não no .hero) para não quebrar o
   position: sticky da coluna esquerda */
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.hero__blob--1 {
  width: 520px; height: 520px;
  background: var(--blue-soft);
  top: -180px; right: -120px;
  animation: blobDrift 14s ease-in-out infinite alternate;
}
.hero__blob--2 {
  width: 380px; height: 380px;
  background: #E9F5EF;
  bottom: -160px; left: -140px;
  animation: blobDrift 18s ease-in-out infinite alternate-reverse;
}

@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 30px) scale(1.08); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65, 85, 206, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 85, 206, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: stretch;
}

/* coluna estica na altura da linha; o conteúdo interno fica sticky
   e acompanha o header ao rolar, começando alinhado ao topo */
.hero__content-in {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.hero__title {
  font-size: clamp(1.9rem, 3.7vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--blue-soft);
  z-index: -1;
  border-radius: 4px;
}

.hero__lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
}
.hero__stats span:not(.counter) { font-size: .84rem; color: var(--ink-soft); max-width: 150px; line-height: 1.4; }
.hero__stats strong .counter { font-size: inherit; color: inherit; }

.hero__media { position: relative; }

.hero__form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin-left: auto;
}
.hero__form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero__form > p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.float-slow   { animation: floatY 5s ease-in-out infinite; }
.float-slower { animation: floatY 6.5s ease-in-out infinite reverse; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--blue);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.marquee__track i { color: rgba(255, 255, 255, .45); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Seções base ---------- */

.section { padding: 96px 0; }
.section--soft { background: var(--blue-softer); }

.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.section__head--split .section__sub { max-width: 380px; padding-bottom: 6px; }

/* ---------- Quem Somos ---------- */

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-areas:
    "media content"
    "media carousel";
  column-gap: 72px;
  row-gap: 30px;
  align-items: start;
}
.about__media   { grid-area: media; }
.about__content { grid-area: content; }
.about__inner .values-carousel { grid-area: carousel; margin-top: 0; }
/* permite que as colunas encolham abaixo do min-content dos filhos
   (o carrossel de valores tem cards que não encolhem e, sem isto,
   forçam a coluna a estourar a tela no mobile) */
.about__media, .about__content, .about__inner .values-carousel { min-width: 0; }

.about__media {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
}

.about__photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__photo img { width: 100%; height: 380px; object-fit: cover; }

.about__photo--overlap {
  position: absolute;
  right: -14px;
  bottom: 0;
  width: 46%;
  border: 6px solid var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.about__photo--overlap img { height: 250px; }

.about__badge {
  position: absolute;
  left: -12px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 16px 36px rgba(65, 85, 206, .38);
}
.about__badge strong { font-family: var(--font-title); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: .78rem; line-height: 1.35; opacity: .92; }

.about__content > p { color: var(--ink-soft); margin-bottom: 16px; }
.about__content > p strong { color: var(--ink); }

.values-carousel { margin-top: 30px; }

.values-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.values-carousel__track {
  display: flex;
  transition: transform .65s cubic-bezier(.45, 0, .2, 1);
}

.values-carousel__track article {
  flex: 0 0 100%;
  background: var(--blue-softer);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.values-carousel h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--blue);
}
.values-carousel h3 svg { width: 19px; height: 19px; }
.values-carousel__track p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

.values-carousel__dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.values-carousel__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  padding: 0;
  transition: width .3s ease, background .3s ease;
}
.values-carousel__dots button:hover { background: #B9C2EE; }
.values-carousel__dots button.is-active { width: 26px; background: var(--blue); }

/* ---------- Produtos ---------- */

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

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(65, 85, 206, .4);
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.product-card:hover::before { transform: scaleX(1); }

/* Mini-carrossel de produtos: duas imagens em crossfade */
.product-card__thumbs {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 76px;
  height: 76px;
}
.product-card__thumbs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(23, 27, 51, .14));
  animation: thumbSwap 7s ease-in-out infinite;
  animation-delay: var(--stagger, 0s);
}
.product-card__thumbs img + img {
  animation-delay: calc(var(--stagger, 0s) - 3.5s);
}

@keyframes thumbSwap {
  0%, 42%  { opacity: 1; transform: translateY(0); }
  50%, 92% { opacity: 0; transform: translateY(6px); }
  100%     { opacity: 1; transform: translateY(0); }
}

/* defasagem entre os cards para não trocarem todos juntos */
.products__grid .product-card:nth-child(2) { --stagger: -.9s; }
.products__grid .product-card:nth-child(3) { --stagger: -1.8s; }
.products__grid .product-card:nth-child(4) { --stagger: -2.7s; }
.products__grid .product-card:nth-child(5) { --stagger: -1.3s; }
.products__grid .product-card:nth-child(6) { --stagger: -2.2s; }
.products__grid .product-card:nth-child(7) { --stagger: -3.1s; }
.products__grid .product-card:nth-child(8) { --stagger: -4s; }

.product-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 18px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.product-card__icon svg { width: 26px; height: 26px; }
.product-card:hover .product-card__icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.06) rotate(-4deg);
}

.product-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.product-card p { font-size: .86rem; color: var(--ink-soft); line-height: 1.55; }

.products__cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.products__cta p { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; }

/* ---------- Gestão / Curva ABC ---------- */

.management__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: start;
}

.management__chart {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.management__content > p { color: var(--ink-soft); }

.abc-note {
  display: flex;
  gap: 14px;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
}
.abc-note svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.abc-note p { font-size: .92rem; color: var(--ink-soft); }
.abc-note strong { color: var(--ink); }

.management__benefits { display: flex; flex-direction: column; gap: 18px; }
.management__benefits li { display: flex; gap: 14px; align-items: flex-start; }
.management__benefits svg {
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.management__benefits strong { display: block; font-family: var(--font-title); font-size: .98rem; }
.management__benefits span { font-size: .88rem; color: var(--ink-soft); }

.chart-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.chart-card header h3 { font-size: 1.15rem; font-weight: 700; }
.chart-card header p { font-size: .84rem; color: var(--ink-soft); margin-top: 4px; }

/* curva acumulada (SVG); anima quando o card ganha .is-drawn (main.js) */
.abc-curve { margin: 22px 0 0; }
.abc-curve svg { display: block; width: 100%; height: auto; }
.abc-curve text { font-family: var(--font-title); }

.abc-curve__guides line { stroke: #C9CFEA; stroke-width: 1; stroke-dasharray: 3 4; }
.abc-curve__ticks text { font-size: 11px; fill: var(--ink-soft); text-anchor: end; }
.abc-curve__axes path {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.abc-curve__axis-title { font-size: 12px; font-weight: 600; fill: var(--ink-soft); text-anchor: middle; }

.abc-curve__area { opacity: 0; transition: opacity .6s ease; }
.abc-curve__area--a { fill: var(--blue-dark); }
.abc-curve__area--b { fill: var(--blue); transition-delay: .3s; }
.abc-curve__area--c { fill: #6B7BE2; transition-delay: .6s; }

.abc-curve__divider { fill: none; stroke: var(--white); stroke-width: 2; opacity: 0; transition: opacity .4s ease .9s; }

.abc-curve__line {
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(.25, .8, .3, 1);
}

.abc-curve__label { opacity: 0; transition: opacity .5s ease; }
.abc-curve__label--a { transition-delay: .4s; }
.abc-curve__label--b { transition-delay: .7s; }
.abc-curve__label--c { transition-delay: 1s; }
.abc-curve__letter { font-size: 30px; font-weight: 700; fill: var(--white); text-anchor: middle; }
.abc-curve__pct { font-size: 14px; font-weight: 700; fill: var(--white); text-anchor: middle; }

.chart-card.is-drawn .abc-curve__area,
.chart-card.is-drawn .abc-curve__divider,
.chart-card.is-drawn .abc-curve__label { opacity: 1; }
.chart-card.is-drawn .abc-curve__line { stroke-dashoffset: 0; }



/* ---------- Diferenciais ---------- */

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* clones do carrossel: só aparecem no marquee mobile */
.adv-card--clone { display: none; }

.adv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.adv-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.adv-card__icon svg { width: 27px; height: 27px; }
.adv-card:hover .adv-card__icon { background: var(--blue); color: var(--white); }

.adv-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Segmentos ---------- */

.segments { padding-bottom: 110px; }

.segments__marquee {
  overflow: hidden;
  padding: 4px 0 8px;
}

.segments__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: segScroll 45s linear infinite;
}
/* o conteúdo é duplicado via JS; -50% menos meio gap = um conjunto completo */
@keyframes segScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}

.seg-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  width: 285px;
  height: 380px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.seg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.seg-card:hover img { transform: scale(1.07); }

.seg-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 70px 22px 22px;
  background: linear-gradient(to top, rgba(13, 17, 51, .92) 20%, rgba(13, 17, 51, .55) 60%, transparent);
  color: var(--white);
}
.seg-card__body h3 { color: var(--white); font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.seg-card__body p {
  font-size: .83rem;
  color: #C9CFF0;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .45s ease;
}
.seg-card:hover .seg-card__body p { max-height: 80px; opacity: 1; }

/* ---------- FAQ ---------- */

.faq__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head > p:not(.kicker) { color: var(--ink-soft); margin-bottom: 22px; }

.faq__list { display: flex; flex-direction: column; gap: 14px; }

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__item[open] { border-color: rgba(65, 85, 206, .45); box-shadow: var(--shadow-sm); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .97rem;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item[open] summary { color: var(--blue); }

.faq__icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  flex-shrink: 0;
  transition: background .25s ease, transform .3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background .25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--blue); transform: rotate(45deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--white); }

.faq__answer { padding: 0 22px; overflow: hidden; }
.faq__answer p { font-size: .92rem; color: var(--ink-soft); padding-bottom: 22px; max-width: 60ch; }

/* ---------- Formulário (hero) ---------- */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }

.form-field label { font-size: .85rem; font-weight: 600; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--blue-softer);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(65, 85, 206, .12);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #D64545;
  background: #FDF3F3;
}

/* ---------- Blog ---------- */

.blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.blog__head .section__title { margin-bottom: 0; max-width: 620px; }
.blog__head .btn { margin-bottom: 6px; }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.blog-card__media {
  position: relative;
  display: block;
  height: 215px;
  overflow: hidden;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.06); }

.blog-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}
.blog-card__body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card__body h3 a { transition: color .2s; }
.blog-card__body h3 a:hover { color: var(--blue); }
.blog-card__body > p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: .82rem;
  color: var(--ink-soft);
}
.blog-card__meta span { display: inline-flex; align-items: center; gap: 7px; }
.blog-card__meta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- Footer ---------- */

.footer {
  background: #10143A;
  color: #A9B0D6;
  font-size: .9rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.logo--footer img { width: 250px; height: auto; display: block; }

.footer__brand > p { margin: 18px 0 22px; line-height: 1.7; max-width: 300px; }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #C6CCEC;
  transition: all .25s ease;
}
.footer__social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__brand > .footer__group { margin: 0; font-size: .92rem; }
.footer__group strong { color: var(--white); }
.footer__group-link { display: inline-block; margin: 8px 0 22px; transition: transform .25s ease; }
.footer__group-link:hover { transform: translateY(-2px); }
.footer__group-logo { height: 26px; width: auto; opacity: .95; transition: opacity .25s ease; }
.footer__group-link:hover .footer__group-logo { opacity: 1; }

.footer__col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  padding: 5px 0;
  transition: color .2s, transform .2s;
}
.footer__col a:hover { color: var(--white); transform: translateX(4px); }
.footer__col p { margin-top: 8px; line-height: 1.7; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  font-size: .82rem;
}
.footer__bottom strong { color: #C6CCEC; }

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #8A91B8;
  transition: color .2s ease;
}
.footer__credit:hover { color: var(--white); }
.footer__credit span { font-size: .82rem; }
.footer__credit img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform .25s ease;
}
.footer__credit:hover img { transform: translateY(-2px); }

/* ---------- WhatsApp flutuante ---------- */

.whats-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whats);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whats-float:hover { transform: scale(1.1); box-shadow: 0 16px 38px rgba(37, 211, 102, .55); }
.whats-float svg { width: 28px; height: 28px; }
.whats-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whats);
  animation: whatsPulse 2.2s ease-out infinite;
}

@keyframes whatsPulse {
  from { transform: scale(1); opacity: .8; }
  to   { transform: scale(1.55); opacity: 0; }
}

/* ---------- Reveal (scroll) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.reveal[data-delay="6"] { transition-delay: .6s; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .product-card__thumbs img { animation: none; }
  .product-card__thumbs img + img { opacity: 0; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1100px) {
  .products__grid, .advantages__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    margin-left: 0;
    flex-direction: column;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
    z-index: 99;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: 12px 10px; font-size: 1rem; }
  .nav__link::after { display: none; }

  .menu-toggle { display: flex; }
  .header__actions .btn { display: none; }

  .hero { padding: 52px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content-in { position: static; top: auto; }
  .hero__form { margin-left: 0; max-width: 560px; }
  .hero__lead { max-width: none; }
  .hero__stats { gap: 26px; flex-wrap: wrap; }

  .management__inner, .faq__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .about__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media"
      "carousel";
    row-gap: 40px;
  }
  .about__media { max-width: 560px; position: relative; top: 0; padding-bottom: 0; }
  .management__chart { position: static; }
  .faq__head { position: static; }

  .section__head--split { flex-direction: column; align-items: flex-start; gap: 12px; }

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

  .blog__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .blog__grid { grid-template-columns: 1fr; max-width: 560px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 68px 0; }

  .topbar__contacts { gap: 14px; font-size: .78rem; }

  .products__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Diferenciais viram carrossel infinito no mobile */
  .advantages > .container { overflow: hidden; }
  .advantages__grid {
    display: flex;
    grid-template-columns: none;
    width: max-content;
    gap: 16px;
    padding: 6px 0;
    animation: advScroll 28s linear infinite;
  }
  .adv-card {
    width: 240px;
    flex-shrink: 0;
    padding: 24px 22px;
  }
  .adv-card__icon { width: 50px; height: 50px; margin-bottom: 14px; }
  .adv-card__icon svg { width: 24px; height: 24px; }
  .adv-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
  .adv-card p { font-size: .85rem; }
  .adv-card--clone { display: flex; flex-direction: column; }

  @keyframes advScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - 8px)); }
  }

  .products__cta { flex-direction: column; align-items: stretch; text-align: center; }
  .products__cta .btn { width: 100%; }

  /* CTAs de seção ocupam 100% no mobile */
  .faq__head .btn, .blog__head .btn { width: 100%; }

  .hero__form { padding: 26px 20px; }
  .hero__stats { display: none; }
  .hero__title { font-size: 2.3rem; }

  .about__photo img { height: 280px; }
  .about__photo--overlap { display: none; }
  .about__badge { display: none; }
  .about__media { padding-bottom: 0; }

  .seg-card { width: 250px; height: 330px; }

  .footer__inner { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 42px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  .whats-float { width: 52px; height: 52px; right: 18px; bottom: 18px; }
}

/* ---------- Página de obrigado (obrigado.html) ---------- */

.thanks {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h) - 120px);
  display: flex;
  align-items: center;
}
.thanks__inner {
  position: relative;
  max-width: 640px;
  text-align: center;
}
.thanks__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: 0 0 0 10px var(--blue-softer);
}
.thanks__icon svg { width: 40px; height: 40px; }
.thanks .section__sub { margin: 0 auto 34px; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

@media (max-width: 620px) {
  .thanks__actions .btn { width: 100%; }
}

/* ---------- Aviso de cookies (LGPD) — montado por js/cookies.js ---------- */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  width: min(440px, calc(100% - 48px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner[hidden],
.cookie-banner [hidden] { display: none !important; }

.cookie-banner__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cookie-banner__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  flex-shrink: 0;
}
.cookie-banner__icon svg { width: 21px; height: 21px; }
.cookie-banner__title { font-family: var(--font-title); font-size: 1.02rem; color: var(--ink); }
.cookie-banner__text { font-size: .86rem; color: var(--ink-soft); line-height: 1.6; }

.cookie-banner__prefs { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.cookie-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--blue-softer);
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.cookie-opt.is-locked { cursor: default; }
.cookie-opt strong {
  display: block;
  font-family: var(--font-title);
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.cookie-opt input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-banner__actions .btn { flex: 1 1 auto; }

.footer__cookies {
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
}
.footer__cookies:hover { color: var(--white); }

@media (max-width: 620px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
}
